diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /53/CH3/EX3.3/example_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '53/CH3/EX3.3/example_3.sce')
-rwxr-xr-x | 53/CH3/EX3.3/example_3.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/53/CH3/EX3.3/example_3.sce b/53/CH3/EX3.3/example_3.sce new file mode 100755 index 000000000..f486a0341 --- /dev/null +++ b/53/CH3/EX3.3/example_3.sce @@ -0,0 +1,27 @@ + +disp("given:") +disp("The voltage generated by an transducer which is connected to differential amplifier is Vdm=50mV ") +Vdm=50*(1/1000)//Vdm in volts +disp("Vcm=5V") +Vcm=5 +disp("Vout should be equal to 10V") +Vout=10 +disp("The unwanted output component owing to the common-mode input is to be less than 1% of the wanted component i.e Voutcm=1% of Voutdm") +Voutcm=(1/100)*10 +printf(" Voutcm=%f",Voutcm) +disp("Let amplifier differential-mode gain be Adm") +disp("Vout,Admand Vdm are related as") +disp("Vout=Adm*Vdm------(1)") +disp("Adm=Vout/Vdm") +Adm=Vout/Vdm +printf(" Therefore amplifier differential-mode gain(Adm)=%d",Adm) +disp("Equation (1)can also be used for calculating unwanted output component") +disp("Unwanted components arise when operating in common-mode") +disp("Acm=Voutcm/Vcm") +Acm=Voutcm/Vcm +printf(" Common-mode gain Acm=%f",Acm) +disp("Now CMRR can be calculated using relation") +disp("CMRR=Adm/Acm") +CMRR=Adm/Acm +printf(" There fore CMRR of amplifier should be greater than or equal to %f",CMRR) +printf(" CMRR>=%d",CMRR) |