Home> >

006_op-amp_bandwidth : OP AMP Bandwidth

006_op-amp_bandwidth : OP AMP Bandwidth

006_op-amp_bandwidth : OP AMP Bandwidth

Requires: SmartSpice & Smartview

Minimum Versions: SMARTSPICE 4.6.5.R

The input deck for an Operational Amplifier circuit with mixed analysis of .AC, .TRAN and .MEASURE. Rubberband “.param DCGAIN to see effect on output bandwidth response.

  • AC (.AC statement)
  • transient (.TRAN statement)
  • MEASURE (.MEASURE statement)

Graphics

initial_waveforms.png

Input Files

rubberband_example_06.in

* OPAMP Bandwidth
* Rubberband parameters:
* .PARAM DCGAIN

.PARAM DCGAIN=100k

VS	1	0	AC 1V	PWL(0US 0V   0.01US 1V  100US 1V)

*
* NON-INVERTING AMPLIFIER
R1	2	0	10K
R2	2	4	10K
XOP1	1 2	4	OPAMP1
*
* INVERTING AMPLIFIER
R_1	1	12	10K
R_2	12	14	10K
XOP2	0 12	14	OPAMP1	
*
*
* OPAMP MACRO MODEL, SINGLE-POLE 
* connections:      non-inverting input
*                   |   inverting input
*                   |   |   output
*                   |   |   |
.SUBCKT OPAMP1      1   2   6
* INPUT IMPEDANCE
RIN	1	2	10MEG
* DCGAIN =100K AND POLE1=1/(2*PI*RP1*CP1)=100HZ
* GBP = DCGAIN X POLE1 = 10MHZ
EGAIN	3 0	1 2	DCGAIN
RP1	3	4	1000
CP1	4	0	1.5915UF
* OUTPUT BUFFER AND RESISTANCE
EBUFFER	5 0	4 0	1
ROUT	5	6	10
.ENDS
*
*
* ANALYSIS
.AC 	DEC 	5 10 100MEG
.TRAN 	0.01US  0.5US

.param point0='0.707*2'
.measure  ac  crosscutoff   cross v(4)   val='point0'

.param    point1=0.2  point2=1.6
.measure  ac  slope1  cross  v(4)   val='point1'
.measure  ac  slope2  cross  v(4)   val='point2'
.measure  ac  slope3  expr   val='abs((point2-point1)/(slope1-slope2))' 

.save tran v(4) v(14)
.save ac v(4) v(14)

.end

Related Articles