Chapter 14 Signal conditioning

Example 14.2 Page no 508

In [9]:
#Given
Va=2                                   #Volts
Vb=1                                   #Volts
Vc=3                                   #Volts
R=3000.0                                 #ohm
Rf=1000                                #ohm
Rom=270                                #ohm

#Calculation
V0=-(Rf/R)*(Va+Vb+Vc)

#Result
print"The output voltage is ", V0,"Volts"
The output voltage is  -2.0 Volts

Example 14.3 Page no 519

In [13]:
#Given
R1=2.2*10**3                                 #ohm
Rf=10*10**3                                  #ohm
R=120.0*10**3                                   #ohm
E=5                                           #volts
a=-1000                                          
T1=-25                                        #degree C
T=100                                         #degree C

#Calculation
R0=a*T1
V0=-((R0*E)/(2.0*(2*R+R0)))*(Rf/R1)
R2=a*(T+T1)
V1=-((R2*E)/(2.0*(2*R+R2)))*(Rf/R1)

#Result
print" The output voltage is at 0 degree C is ", round(V0,2),"Volts","\n The output Voltage at 100 Degree C is ",round(V1,2),"volts"
 The output voltage is at 0 degree C is  -1.07 Volts 
 The output Voltage at 100 Degree C is  5.17 volts

Example 14.4 Page no 521

In [16]:
#Given
V0=1.5                                   #Volts
E=10                                     #Volts
R=100                                     #ohm
Rf=100                                    #ohm

#Calculation
R0=(V0*R)/(E*Rf)

#Result
print"The change in resistance of each gauge element is ", R0,"ohm"
The change in resistance of each gauge element is  0.15 ohm