• No results found

SPICE CIRCUIT FILE PROGRAM LABORATORIO --- 1ª EXERCISE

N/A
N/A
Protected

Academic year: 2021

Share "SPICE CIRCUIT FILE PROGRAM LABORATORIO --- 1ª EXERCISE"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

LABORATORIO --- 1ª Lezione --- 1.1 EXERCISE 5-13

* R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Exercise 5-13, Fig. 5-36, pag. 249.

VS 1 0 DC 10 R1 1 2 1K R2 2 0 2K R3 2 3 3K R4 3 4 4K VA 4 0 DC 0 .DC VS 10 10 1

.PRINT DC V(2) V(3) I(VS) I(VA) .END

PROBLEM 5-13

* R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Problem 5-13, Fig. P5-6, pag. 267.

IS1 0 1 DC 100M IS2 4 0 DC 100M R1 1 4 1K R2 2 1 1K R3 2 3 1K R4 3 4 1K R5 2 0 2K R6 3 0 2K .DC IS1 100M 100M 1 .PRINT DC V(2,3) I(R1) V(1) V(0,4)

* La tensione Vx è data da: Vx = V(2,3) * La corrente Ix è data da: Ix = I(R1)

* La potenza totale è data da: P_total = V(1)*IS1 + V(0,4)*IS2 .END

PROBLEM 5-15

* R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Problem 5-15, Fig. P5-8, pag. 267.

V1 1 0 DC 10 V2 2 1 DC 10 V3 4 0 DC 10 R1 1 3 10K R2 3 0 20K R3 3 2 30K R4 2 4 40K .DC V1 10 10 1

.PRINT DC V(3) I(R3) I(V1) I(V2) I(V3) * Vx = V(3) --- Ix = I(R3)

* P_total = - V1*I(V1) - V2*I(V2) - V3*I(V3) .END

(2)

PROBLEM 5-7

* R .E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Problem 5-7, Fig. P5-7, pag. 266. VS 0 3 DC -10 R1 3 1 10K R2 3 2 20K R3 1 0 30K R4 2 0 40K RX 1 2 3K .DC VS -10 -10 1 .PRINT DC V(1,2) I(VS) V(3,2)

* La tensione Vx è data da: Vx = V(1,2) * La corrente Ix è data da: Ix = I(Vs)

* La potenza assorbita da R2 vale: P_R2 = [V(3,2)]2/R2 .END

PROBLEM 5-9

*R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Problem 5-9, Fig. P5-9, pag. 266. VS 4 0 DC 100 IS 1 2 DC 275M R1 4 1 1K R2 2 1 2K R3 2 3 1K R4 1 0 3K R5 3 0 1K RX 1 3 3K .DC IS 275M 275M 1 .PRINT DC V(1) I(RX) V(2,1)

* La tensione Vx è data da: Vx = V(1) * La corrente Ix è data da: Ix = I(RX)

* La potenza del generatore è data da: P_IS = V(2,1)*IS .END

(3)

LABORATORIO --- 2ª Lezione --- 2.1

Generatori Dipendenti o Pilotati

EXAMPLE 3.6

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 3.6, Fig. 3.14a & 3.14b, p. 109. I1 0 4 DC 2E-3 VS 1 0 DC 10M F1 0 3 V2 2 V2 1 2 DC 0 E1 3 4 4 5 3 V3 5 0 DC 0 R1 2 3 1K R2 4 5 500 .DC VS 10M 10M 1M .PRINT DC I(V3) V(2,3)

* La tensione V è data da: V = V(2,3) * La corrente I è data da: I = I(V3) .END

EXAMPLE 3.7

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 3.7, Fig. 3.15a & 3.15b, pp. 109-111. VS 1 0 DC 1 I1 4 1 DC 2 V3 3 4 DC 0 F1 0 4 V2 6 V2 5 0 DC 0 R1 1 2 1 R2 2 5 3 R3 2 3 2 .DC VS 1 1 1 .PRINT DC I(V3)

* La corrente Ix è data da: Ix = I(V3) .END

(4)

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 3.8, Fig. 3.16a & 3.16b, pp. 111-112.

* Computation of voltage V, as Vin is varied from -10 V to +30 V.

VS 1 0 DC 1 G1 2 0 1 4 1M H1 0 4 V2 700 V2 3 4 0DC R1 1 2 500 R2 2 3 500 R3 1 4 1K .DC V1 -10 30 1

* To save output data in .OUT file

.PRINT DC V(1,4) * V = V(1,4)

* Generate .DAT file for the waveform analyzer

.PROBE .END

EXAMPLE 3.9

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 3.9, Fig. 3.17b, pp. 112-113. * Plot of output voltage Vo for an op amp, as Vin is varied * from 1 mV to 500 mV. V1 2 0 DC 1 V2 1 0 DC 100M E1 5 0 3 4 100K R1 2 4 500 R2 1 3 5K R3 3 0 10K R4 4 3 100K R5 4 6 1K R6 5 6 1K R7 6 0 1K .DC V1 1M 500M 1M .PRINT DC V(6)

* La tensione Vo è determinata come Vo = V(6) .PROBE

(5)

LABORATORIO --- 2ª Lezione --- 2.3

Generatori Dipendenti o Pilotati

EXAMPLE 3.10

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 3.10, Fig. 3.18b, pp. 114-115.

* Computation of the input resistance of a bipolar transistor amplifier. I1 0 1 DC 1 E1 3 5 4 5 1E-4 F1 4 5 V1 100 V1 1 2 DC 0 R1 1 0 150K R2 2 3 250 R3 4 5 10K R4 4 0 5K R5 5 0 500 .DC I1 1 1 1 .PRINT DC V(1)

* La resistenza equivalente è determinata dalla relazione: Req = V(1)/I1 = V(1) .END

EXAMPLE 4.2

* C. R. Paul, "Analysis of Linear Circuits", McGraw-Hill, Inc., * New York, 1989.

* Example 4.2, Fig. 4.7a & 4.8, pp. 131-133. VS 1 0 DC 10 I1 1 3 DC 2 I2 2 0 DC 8 H1 3 2 V2 4 V2 4 0 DC 0 R1 3 4 3 R2 2 1 2 .DC VS 10 10 1 .PRINT DC V(2,1) I(V2)

* La tensione è determinata tramite la considerazione: V = V(2,1) * La corrente è valutata tramite la relazione seguente : I = I(V2) .END

(6)

EXERCISE 5-14

* R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Exercise 5-14, Fig. 5-39, p. 252. VS 1 0 DC 1 FX 3 0 VX 50 VX 5 0 DC 0 VA 4 0 DC 0 R1 1 2 8K R2 2 5 1K R3 2 3 40K R4 3 4 4K

* If .DC and .PRINT commands are not specified, all node-to-datum voltages, * and currents through voltages sources are reported in the .OUT file

.END

EXAMPLE 5-16

* R. E. Thomas, A. J. Rosa, "The Analysis and Design of Linear Circuits", * 1st Ed., Prentice Hall, Inc., Englewood Cliffs, NJ, 1994.

* Example 5-16, Fig. 5-41, pp. 257-258.

* Evaluation of the input-output relationship of the circuit. VS1 1 0 DC 0 VS2 2 0 DC 0 G1 3 5 1 5 3M G2 4 5 2 5 3M R1 1 0 500K R2 2 0 500K R3 3 0 8K R4 4 0 8K RDS1 5 3 40K RDS2 5 4 40K .DC VS1 1 1 1 .PRINT DC V(4) * K1 = V(4) if VS1 = 1, VS2 = 0 * K2 = V(4) if VS1 = 0, VS2 = 1

* .DC command is used to switch on the selected source. .END

(7)

LABORATORIO --- 2ª Lezione --- 2.5

Generatori Dipendenti o Pilotati

SIMULAZIONE .TF

SORGENTE VS IN TENSIONE – USCITA IN TENSIONE

PROVA ISTRUZIONE TF VS 1 0 DC 10V VB 5 4 DC 0V F1 3 4 VB 100 RS 1 2 1K RP 2 5 1K RF 2 3 100K RE 4 0 1K RC 3 0 10K .TF V(4) VS .END *--- *V(4)/VS = 8.937E-01

*INPUT RESISTANCE AT VS = 1.026E+04 *OUTPUT RESISTANCE AT V(4) = 9.821E+01 *---

SORGENTE IS IN CORRENTE – USCITA IN TENSIONE

PROVA ISTRUZIONE TF IS 0 1 DC 10A VB 5 4 DC 0V F1 3 4 VB 100 RS 1 2 1K RP 2 5 1K RF 2 3 100K RE 4 0 1K RC 3 0 10K .TF V(4) IS .END *--- *v(4)/IS = 9.167E+03

*INPUT RESISTANCE AT IS = 1.026E+04 *OUTPUT RESISTANCE AT V(4) = 9.167E+02 *---

(8)

SIMULAZIONE .TF

SORGENTE VS IN TENSIONE – USCITA IN CORRENTE

PROVA ISTRUZIONE TF VS 0 1 DC 10V VB 5 4 DC 0V F1 3 4 VB 100 VC 4 6 DC 0V RS 1 2 1K RP 2 5 1K RF 2 3 100K RE 6 0 1K RC 3 0 10K .TF I(VC) VS .END *--- * I(VC)/VS = -8.937E-04

* INPUT RESISTANCE AT VS = 1.026E+04

* OUTPUT RESISTANCE AT I(VC) = 1.109E+03

References

Related documents

Abstract: Based on facts that the composite action in semi-precast and strengthened structural system depends on the bond strength of the interface between concrete faces of

Means is a typical clustering algorithm in Data Mining which is widely used for clustering large set of data’s. In 1967, Mac Queen firstly proposed the K-Means algorithm, it

Results in Fig 1A show that, as expected [ 16 ], COX-2 and mPGES-1 expression was increased in AAA samples and that 15-PGDH mRNA was also significantly higher in AAA than in

Dance Arrangements by Zane Mark & August Eriksmoen New Orchestrations & Arrangements by August Eriksmoen.. Music Preparation by

Since utilizing the GILS algorithm, method will decrease the effect of baseline shifts because it can select certain combination of wavelengths, which have maximum

For the broadcast safety applications, we are interested in the performance metrics of normalized throughput, average channel access delay and successful message delivery ratio..

W:www.humanservices.gov.au/customer/information/centrelink-website Child Care Fact Sheets 2012-2013 - The fact sheet kit provides you with information about a range of

You can use ISO Subrogation Advisor together with ISO Liability Advisor® — COA’s tool to help you evaluate accident- related comparative liability claims — to create a complete