Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear
- clc
- close all
- %%variables needed
- Beta=100;
- VCC=16;
- Rl=5000;
- RC=3000;
- R1=10000;
- R2=2500;
- RE=1000;
- Vt=.025;
- Gain=1;
- Swing=1;
- VCE=1;
- ICQ=1;
- VB=1;
- VC=1;
- VE=1;
- ib=1;
- ic=1;
- ie=1;
- VBE=.65;
- %DC analysis
- VB=VCC*R2/(R1+R2);
- VE=VB-VBE;
- ie=(VE-0)/RE;
- ib=ie/(Beta+1);
- ic=ie*(Beta+1)/Beta;
- VC=16-RC*ic;
- VCE=VC-VE;
- %DCLL and ACLL
- %(RC+RE)ic+VCE=16;
- icq = ic;
- VCEq = VCE;
- icdc = 16/(RC+RE)
- VCEdc = 16;
- %(rc^-1+rl^-1)^(-1)*ict+vcet = (rc^-1+rl^-1)^(-1)*icq+Vceq;
- QQQ=(RC^-1+Rl^-1)^(-1)*icq+VCEq;
- ict=QQQ/(RC^-1+Rl^-1)^(-1);
- Vct = QQQ;
- Swing = abs(Vct-VCEdc)*2;
- %%%AC Analysis
- %%gain
- Rpi= 100*Vt/ic;
- Av = -Beta*(RC^-1+Rl^-1)^(-1)/Rpi
- Ri = (R1*R2)/(R1+R2);
- Ro = RC;
- %power
- Swing
- iccmax = .2/VCC
- icc = abs(ic)+abs((VCC-VB))/R1
Advertisement
Add Comment
Please, Sign In to add comment