design inverting amplifier -凯发k8网页登录
this example shows how to model an inverting amplifier circuit using the operational amplifier block and the linear circuit wizard block.
inverting amplifier
the inverting amplifier circuit contains an op-amp and a feedback network consisting of passive resistors. in this example, the linear circuit wizard block is used to model the feedback network. the linear circuit wizard uses a spice netlist describing the feedback stage from the output of the op-amp to its input.
open the model inverting_amplifier
attached to this example.
open_system('inverting_amplifier');
operational amplifier
the op-amp used in this example is a double pole circuit defined from the circuit parametes. in this example, the input offset voltage (v) is set to 0
, the output resistance (ohms) is set to 80
, and the open loop gain (v/v) is set to 855e3
. the unity gain bandwidth (hz) is 1e8
hz and the maximum tail current (a) is 100e-6
.
linear circuit wizard
the linear circuit wizard block uses a spice netlist to generate a linear circuit block. you can specify the spice netlist file name and click on the build/modify block button to create a circuit block that models the spice netlist. the netlist attached to this example is invertingamplifier.sp.
operation
the inverting amplifier circuit is designed with an op-amp and a feedback network consisting of two resistors r2 and r1.
the feedback from op-amp output to the input terminal is modeled in the attached spice file (r2 = 20kohms, r1 = 2kohms).
the closed loop gain of the inverting amplifier is -r2/r1, which is equal to -10. the input stimulus applied to this model has a sample rate of 1e-8
. the same sample rate is used in the operational amplifier.
an input signal of 0.1v sine wave with 1khz frequency is provided to the circuit model. the input and corresponding output are seen on the scope.
see also
|