Activity for disha

  • disha disha posted a comment on discussion ngspice-users

    Why does the adc_bridge not work when we have an input dc value? The plot for v(1) appears but v(cmp) is blank. .model adc_buff adc_bridge(in_low=0.5 in_high=0.5) v7 1 0 5 Aad1 [1][cmp] adc_buff .control tran 0.02u 7u plot v(1) plot v(cmp) .endc .end

  • disha disha posted a comment on discussion ngspice-users

    Is this netlist correct for a sample and hold application? S/H .include UA741.MOD .model P1 PMOS .model N1 NMOS .model adc_buff adc_bridge(in_low = 0.8 in_high=2) .model dac_buff dac_bridge(out_high = 5) x1 5 out 2 3 out UA741 x2 out1 out2 2 3 out2 UA741 x3 out2 output 2 3 cmp1 UA741 vcc 2 0 dc 15v vee 3 0 dc -15v vin 5 0 sin (0 5v 1k 0 0) Vclk1 13 0 PULSE(1 -1 1PS 1PS 1PS 0.25us 0.5us) Vclk 14 0 PULSE(-1 1 1PS 1PS 1PS 0.25us 0.5us) M1 out1 14 out out P1 M2 out1 13 out out N1 c1 out1 0 1n .control...

  • disha disha posted a comment on discussion ngspice-users

    Thank you so much fo your help!!!

  • disha disha posted a comment on discussion ngspice-users

    I'm using ngspice-27 on ubuntu OS.

  • disha disha posted a comment on discussion ngspice-users

    Comparator Including the predefined op-amp subcircuit file .include UA741.MOD Connections as mentioned in subcircuit file x1 5 1 2 3 4 UA741 vcc 2 0 dc 15v vee 3 0 dc -15v v1 1 0 dc 7v v5 5 0 dc 5v .control run tran 0.02ms 6ms plot v(4) .endc .end That fixed the error. However, when I change v1 to 7v the same error persists.

  • disha disha posted a comment on discussion ngspice-users

    I'm trying to simulate a comparator on ngspice. It's giving me a strange error. Comparator *Including the predefined op-amp subcircuit file .include UA741.MOD x1 5 1 2 3 4 UA741 vcc 2 0 dc 15v vee 3 0 dc -15v v1 1 0 dc 5v v5 5 0 dc 1v .tran 0.02ms 6ms .control run plot v(4) .endc .end Error: buffer overflow detected : ngspice terminated Aborted (core dumped) Opamp Model: (REV N/A) SUPPLY VOLTAGE: +/-15V CONNECTIONS: NON-INVERTING INPUT | INVERTING INPUT | | POSITIVE POWER SUPPLY | | | NEGATIVE POWER...

  • disha disha posted a comment on discussion ngspice-users

    Thank you!

  • disha disha posted a comment on discussion ngspice-users

    Thanks for the help!

  • disha disha posted a comment on discussion ngspice-users

    Here is the 741 subcircuit: CONNECTIONS: NON-INVERTING INPUT | INVERTING INPUT | | POSITIVE POWER SUPPLY | | | NEGATIVE POWER SUPPLY | | | | OUTPUT | | | | | .SUBCKT UA741 1 2 3 4 5 * C1 11 12 4.664E-12 C2 6 7 20.00E-12 DC 5 53 DX DE 54 5 DX DLP 90 91 DX DLN 92 90 DX DP 4 3 DX EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5 FB 7 99 POLY(5) VB VC VE VLP VLN 0 10.61E6 -10E6 10E6 10E6 -10E6 GA 6 0 11 12 137.7E-6 GCM 0 6 10 99 2.574E-9 IEE 10 4 DC 10.16E-6 HLIM 90 0 VLIM 1K Q1 11 2 13 QX Q2 12 1 14 QX R2 6 9 100.0E3...

  • disha disha posted a comment on discussion ngspice-users

    Here is the 741 subcircuit: CONNECTIONS: NON-INVERTING INPUT | INVERTING INPUT | | POSITIVE POWER SUPPLY | | | NEGATIVE POWER SUPPLY | | | | OUTPUT | | | | | .SUBCKT UA741 1 2 3 4 5 * C1 11 12 4.664E-12 C2 6 7 20.00E-12 DC 5 53 DX DE 54 5 DX DLP 90 91 DX DLN 92 90 DX DP 4 3 DX EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5 FB 7 99 POLY(5) VB VC VE VLP VLN 0 10.61E6 -10E6 10E6 10E6 -10E6 GA 6 0 11 12 137.7E-6 GCM 0 6 10 99 2.574E-9 IEE 10 4 DC 10.16E-6 HLIM 90 0 VLIM 1K Q1 11 2 13 QX Q2 12 1 14 QX R2 6 9 100.0E3...

  • disha disha modified a comment on discussion ngspice-users

    I'm trying to simulate an opamp buffer circuit in ngspice. It's giving me an error. This is my code along with the error. BUFFER .include UA741.MOD x1 1 out 3 4 out UA741 vcc 3 0 dc 15v vee 4 0 dc -15v Vin 1 0 sin (0 1v 1k 0 0) .control tran 25ns 1m plot v(out) .endc end Error: Circuit: Reducing trtol to 1 for xspice 'A' devices Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Fatal error: instance end is a shorted VCVS doAnalyses: operation not supported tran simulation(s) aborted Error:...

  • disha disha posted a comment on discussion ngspice-users

    I'm trying to simulate a buffer circuit in ngspice. It's giving me an error. This is my code along with the error. BUFFER .include UA741.MOD x1 1 out 3 4 out UA741 vcc 3 0 dc 15v vee 4 0 dc -15v Vin 1 0 sin (0 1v 1k 0 0) .control tran 25ns 1m plot v(out) .endc end Error: Circuit: Reducing trtol to 1 for xspice 'A' devices Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Fatal error: instance end is a shorted VCVS doAnalyses: operation not supported tran simulation(s) aborted Error: no such...

1
MongoDB Logo MongoDB