blob: 7454b90f7d152657f400f71ec6e469b0b6bad50d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Example5.28 // To determine the compensated capacitance of an op-amp
clc;
clear;
close;
Slewrate = 10 ; // V/u sec
Ic = 1*10^-3 ; // mA // capacitor current
Vt = 0.7 ; // V // threshold voltage
// the slew rate of an op-amp is defined as
// Slew rate = (dVo/dt)
// the unity frequency f is
f =(Slewrate/(8*3.14*Vt));
f = f*10^6; // *10^6 because Slew rate is V/uV
disp('the unity frequency f is = '+string(f)+' Hz ');
// The compansated capacitance Cm is
gm = (Ic/Vt);
Cm = (gm)/(4*3.14*f) ;
disp('The compansated capacitance Cm value is = '+string(Cm)+' F ');
|