Problem 7.8 - Ideal Op-Amp Noninverting Weighted Summing Circuit
*
* Design the input voltage divider using superposition. Set one source
* equal to zero and solve for the voltage division ratio needed to get
* the desired gain. Then set the other source to zero and repeat the
* process. You now have two equations in two unknowns to solve for R1
* and R2. Also calculate a value for R4 for a noninverting op-amp
* overall circuit gain of +10.
*
* Complete the two parts of the program listing below.
*
V1 1 0 SIN(0 2.5 ??? ??? ???) ;Enter sine wave parameters.
V2 2 0 0
EAMP 5 0 3 4 1E10
R1 1 3 ???
R2 2 3 ???
R3 4 0 10K
R4 4 5 ???
RL 5 0 4.7K
.TRAN .20 6 0 .05 UIC
.PROBE
.END
Problem 7.8, Part 2. Ideal Op-Amp Noninverting Weighted Summing Circuit
*
* Use SIN and PWL function input waveforms to summing circuit.
* Verify that the calculated gains for each input are correct.
*
V1 1 0 SIN(0 2.5 ??? ??? ???)
V2 2 0 PWL(0 0 1 ??? ??? ???)
EAMP 5 0 3 4 1E10
R1 1 3 ???
R2 2 3 ???
R3 4 0 10K
R4 4 5 ???
RL 5 0 4.7K
.TRAN .20 6 0 .05 UIC
.PROBE
.END