320 likes | 460 Views
Analog Circuit Design Lesson 12. Mixer. A mixer is a circuit which multiplies two signals and . That is, if the inputs are and , output will be. M 3 accepts V 2 which is a signal with low
E N D
A mixer is a circuit which multiplies two signals and . That is, if the inputs are and , output will be
M3 accepts V2 which is a signal with low frequency, probably human voice signal or music signal. Its amplitude, on the other hand, is rather large. V1 is a signal with high frequency and small amplitude.
mixer • .protect • .lib 'c:\mm0355v.l' TT • .unprotect • .op • .options post • +nomod acct list • VDD 8 0 1.5v • VSS 2 0 -1.5v • R1 8 6 130k • R2 8 7 130k • .param W1=120u • .param L1=6u • M1 6 4 3 3 nch L='L1' W='W1' m=1 • .param W2=120u • .param L2=6u • M2 7 5 3 3 nch L='L2' W='W2' m=1 • .param W3=100u • .param L3=2u • M3 3 1 2 2 nch L='L3' W='W3' m=1 • VG2 1 0 SIN(-0.98v 0.06v 500k) • ViP 4 0 SIN(0v 0.005v 10Meg) • ViN 0 5 SIN(0v 0.005v 10Meg) • .tran 0.01us 10000ns • .plot V(6,7) V(4,5) • .end
V1 V2 Vout
V1=0 • V2=SIN(-0.98v 0.06v 500k)
mixer .protect .lib 'c:\flexlm\model\tsmc\MIXED035\mm0355v.l' TT .unprotect .op .options post nomod acct list VDD 8 0 1.5v VSS 2 0 -1.5v R1 8 6 130k R2 8 7 130k R3 3 3_3 0k .param W1=120u .param L1=6u M1 6 4 3 3 nch L='L1‘ W='W1' m=1 .param W2=120u .param L2=6u M2 7 5 3 3 nch L='L2‘ W='W2' m=1 .param W3=100u .param L3=2u M3 3_3 1 2 2 nch L='L3‘ W='W3' m=1 VG2 1 0 SIN(-0.98v 0.06v 500k) ViP 4 0 0 ViN 0 5 0 .tran 0.01us 10000ns .plot V(3) V(6,3) V(7,3) V(4,3) V(5,3) .end
V2 VDS1 VDS2 VGS1 VGS2
mixer .protect .lib 'c:\flexlm\model\tsmc\MIXED035\mm0355v.l' TT .unprotect .op .options post nomod acct list VDD 8 0 1.5v VSS 2 0 -1.5v R1 8 6 130k R2 8 7 130k R3 3 3_3 0k .param W1=120u .param L1=6u M1 6 4 3 3 nch L='L1‘ W='W1' m=1 .param W2=120u .param L2=6u M2 7 5 3 3 nch L='L2‘ W='W2' m=1 .param W3=100u .param L3=2u M3 3_3 1 2 2 nch L='L3‘ W='W3' m=1 VG2 1 0 SIN(-0.98v 0.06v 500k) ViP 4 0 0 ViN 0 5 0 .tran 0.01us 10000ns .plot V(3) I(R1) I(R2) I(R3) .end
V2 IDS1 IDS2 IDS3
The above result shows that V2 causes the VDS’s of all transistors to be sinusoidal. • Even the VGS’s of M1 and M2 are now sinusoidal.
In the following, we make both V1 and V2 • sinusoidal. • V1=SIN(0v 0.005v 10Meg) • V2=SIN(-0.98v 0.06v 500k)
mixer .protect .lib 'c:\flexlm\model\tsmc\MIXED035\mm0355v.l' TT .unprotect .op .options post nomod acct list VDD 8 0 1.5v VSS 2 0 -1.5v R1 8 6 130k R2 8 7 130k R3 3 3_3 0k .param W1=120u .param L1=6u M1 6 4 3 3 nch L='L1‘ W='W1' m=1 .param W2=120u .param L2=6u M2 7 5 3 3 nch L='L2‘ W='W2' m=1 .param W3=100u .param L3=2u M3 3_3 1 2 2 nch L='L3‘ W='W3' m=1 VG2 1 0 SIN(-0.98v 0.06v 500k) ViP 4 0 SIN(0v 0.005v 10Meg) ViN 0 5 SIN(0v 0.005v 10Meg) .tran 0.01us 10000ns .plot V(3) V(6,3) V(7,3) V(4,3) V(5,3) V(6,7) .end
V2 VDS1 VDS2 VGS1 VGS2 Vout
We can see that • VDS1=V2-V1 and VGS1=-(V2-V1). • VDS2=V2+V1 and VGS2=-(V2+V1). • In other words, M1 and M2 are influenced by both V2 and V1.
mixer .protect .lib 'c:\flexlm\model\tsmc\MIXED035\mm0355v.l' TT .unprotect .op .options post nomod acct list VDD 8 0 1.5v VSS 2 0 -1.5v R1 8 6 130k R2 8 7 130k R3 3 3_3 0k .param W1=120u .param L1=6u M1 6 4 3 3 nch L='L1‘ W='W1' m=1 .param W2=120u .param L2=6u M2 7 5 3 3 nch L='L2‘ W='W2' m=1 .param W3=100u .param L3=2u M3 3_3 1 2 2 nch L='L3‘ W='W3' m=1 VG2 1 0 SIN(-0.98v 0.06v 500k) ViP 4 0 SIN(0v 0.005v 10Meg) ViN 0 5 SIN(0v 0.005v 10Meg) .tran 0.01us 10000ns .plot V(3) V(6) V(7) V(6,7) .end
V2 V6 V7 Vout
V6 V7
mixer .protect .lib 'c:\flexlm\model\tsmc\MIXED035\mm0355v.l' TT .unprotect .op .options post nomod acct list VDD 8 0 1.5v VSS 2 0 -1.5v R1 8 6 130k R2 8 7 130k R3 3 3_3 0k .param W1=120u .param L1=6u M1 6 4 3 3 nch L='L1‘ W='W1' m=1 .param W2=120u .param L2=6u M2 7 5 3 3 nch L='L2‘ W='W2' m=1 .param W3=100u .param L3=2u M3 3_3 1 2 2 nch L='L3‘ W='W3' m=1 VG2 1 0 SIN(-0.98v 0.06v 500k) ViP 4 0 SIN(0v 0.005v 10Meg) ViN 0 5 SIN(0v 0.005v 10Meg) .tran 0.01us 10000ns .plot I(R1) I(R2) I(R3) .end
IDS1 IDS2 IDS3
Note that With both V1 and V2, we have Thus, we have
mixer5 • .protect • .lib 'c:\mm0355v.l' TT • .unprotect • .op • .options post nomod acct list • VDD 8 0 1.5v • VSS 2 0 -1.5v • R1 8 6 130k • R2 8 7 130k • R3 3 3_3 0k • .param W1=120u • .param L1=6u • M1 6 4 3 2 nch L='L1' W='W1' m=1 • .param W2=120u • .param L2=6u • M2 7 5 3 2 nch L='L2' W='W2' m=1 • .param W3=100u • .param L3=2u • M3 3_3 1 2 2 nch L='L3' W='W3' m=1 • VG2 1 0 SIN(-0.98v 0.06v 500k) • ViP 4 0 SIN(0v 0.005v 10Meg) • ViN 0 5 SIN(0v 0.005v 10Meg) • .tran 0.01us 10000ns • .plot V(3) V(6,3) V(7,3) V(4,3) V(5,3) V(6,7) • .end
V1 V2 V3 VDS1 VDS2 VGS1 VGS2 VDS3 Vout
-V1 V2 VDS1
V1 V2 VDS2
mixer1 • .PROTECT • .LIB "C:\mm0355v.l" TT • .UNPROTECT • VDD 1 0 1.5V • VSS 12 0 -1.5V • Rm 1 11 65k • M1 11 2 3 3 NCH W=120U L=6U • M3 3 4 12 12 NCH W=100U L=2U • V1 2 0 SIN(0v 0.005v 10Meg) • V2 4 0 SIN(-0.98v 0.06v 500k) • .plot V(11,3) V(2,3) V(3,12) I(Rm) • .tran 0.1ns 4us • .END
V1 V2 VDS1 VGS1
mixer1 • .PROTECT • .LIB "C:\mm0355v.l" TT • .UNPROTECT • .op • VDD 1 0 1.5V • VSS 12 0 -1.5V • Rm 1 11 65k • M1 11 2 3 0 NCH W=100U L=6U • M3 3 4 12 0 NCH W=100U L=6U • V1 2 0 SIN(0v 0.005v 10Meg) • V2 4 0 SIN(-0.95v 0.06v 500k) • .plot V(11,3) V(2,3) V(3,12) I(Rm) • .tran 0.1ns 5us • .END
V1 V2 V3 VDS1 VGS1 VDS3