summaryrefslogtreecommitdiff
path: root/3760/CH4/EX4.85/Ex4_85.sce
blob: f8a4ca7d2dad9303308cb35fd9b8098f9d149db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;
g1=1.5; // gain factor of amplifier
g2=80; // gain factor of generator
vo=250; // output voltage at no load
s=0.2; // feedback potentiometer setting
// for generated voltage= 80V field current is 1 A
ifl=vo/g2; // field current for generated voltage= 250V
vi=ifl/g1; // amplifier input voltage for field current corresponding to generated voltage= 250V
vfb=s*vo; // feedback voltage
vr=vfb+vi;
printf('Reference voltage for given potentiometer setting is %f V\n',vr);
printf('When feedback setting is zero, reference voltage is %f V',vi);