Lec 17
Lec 17
Temperature Displacement
Pressure Level
Light Electric
signals
Force ON/OFF switch
Transducers and Actuators
محوالت الطاقة والمشغالت الميكانيكية
Vin
Neglecting VIO, the (-) +
and (+) terminals are at _
the same voltage, Vin. IL RL
Therefore, VR1 = Vin. I=0
Since I = 0, I1 R1
IL = I1 = Vin/R1
Current independent
of RL
Floating load
1st Voltage to Current Conversion V/I
ICVS (Transconductance Amplifier)
R1 R2
Vin + Vo
_
For grounded load R3 R4
If R2/R1 = R4/R3
RL IL
V-IN
IL Ii
R3
Constant-Current Source
IL
Ri RL
For the basic constant- _
current circuit, the op- Ii
amp has a very high VIN +
Zin, thus, IL = Ii.
If RL changes, IL
remains constant as VIN
IL Ii
long as VIN and Ri are Ri
held constant.
ICVS Example
IL
Load Given: Vin = 2 V, R1 = 2 k
I1 R1 Vo(max) = 10 V
_
+ Find: iL , gm and RL(max)
Vin +
_ Solution:
IL = I1 = Vin/R1 = 2 / 2000 = 1 mA
Note: gm = Io/Vin = 1/R1 = 1 / 2000
If RL > RL(max) the op amp = 0.5 mS
will saturate
The output current, iL is
RL(max) = Vo(max)/iL = 10 V / 1 mA
independent of the load = 10 k
resistance.
2nd Current to Voltage Conversion I/V
VCIS (Transresistance Amplifier)
V0=I R
I should not be too large otherwise offset voltage will be too high.
IF
RF
General Equations: Iin
IF = Iin
_
A V0
Vo = -IFRF +
Rm = Vo/Iin = RF
VCIS (Transresistance Amplifier) Summary
Given: Iin = 10 mA
_
RF = 200
+
Iin + VO Find: IF , Vo and Rm
-
Solution:
IF = Iin = 10 mA
Vo = -IFRF = 10 mA * 200
=2V
Rm = Vo/Iin = RF = 200
Current to Voltage Converter I/V
Rf
Ii
Since the inverting Vin If
_
terminal is at virtual Vout
ground, +
Vout = -If Rf = -Ii Rf
As the amount of light
changes, the current
through the photocell Circuit for sensing light level
changes; thus and converting it to a
proportional output voltage
Vout = | Ii| Rf
3rd Digital to Analog converter (D/A)
Multiplying DAC
- reference source is external to the DAC
package
Non-multiplying DAC
- reference source is inside the DAC package
DAC Circuit Types
1. Binary weighted
2. R-2R ladder
The binary weighted resistor network
R
MSB
2R RL VL
4-bit
registe 4R
r
8R
LSB
Buffering the resistor network
2R I2 If
4-bit register
4R I3 -
S I
LSB 8R I4 +
Vo
N
bi
I 0 VR i 1
i 12 R
I 0 sum of currents leaving junction
R resistance corresponding to MSB
N number of input bits
b1 MSB
Principles Cont’d
V0 = -Rf I0
V0 = voltage output from amplifier
Rf = feedback resistance
Resolution= VR / 2N
I i
Vo
8R 4R 2R R
VR
Solution Cont’d
10 V 1 0 0 1
Io
2 *10 2 *10 2 *10 23 *104
0 4 1 4 2 4
I 0 - 0.001125 A
V0 - R f I 0
V0 (5 )(0.001125 A) 5.625 V
3
Solution Cont’d
R1
The R-2R Ladder Resistor Network
2R 2R 2R
I1 I2
Rf
+
Vo
4-bit register
MSB
LSB
I R R R
Vs 2R 2R 2R 2R 2R
Rf
+
Vo
4-bit register
MSB
LSB
N
VR bi
Ii 2R
i 1 2
i 1 ; where b1 is MSB
VR
Resolution N ; where N is number of bits
2
1
Vo fs VR 1 N ; where N is number of bits
2
Principles of Operation
Resolution:
Increases (improves) as number of bits increases
Most microcontrollers use 8 bit DAC
Some 12 bit DAC used in high end applications
Overshoot & Settling Time:
Time for DAC to come w/in 0.5 LSB {Vo ± 0.5*(VR /2N)} of new voltage
after binary change
Typical current output of DAC’s conversion times is (10 ns to 1 μs)
Absolute Accuracy Error:
Difference between theoretical and actual output
Conversion Speed:
Rapidly fluctuating inputs require high conversion speed to be interpreted
accurately
DAC Errors Cont’d
Saturation:
Use of op-amps requires that input voltage and scaling voltages be bounded to the
specifications of the op-amp.
Non-Monotonicity:
Certain conditions where increased input results in decrease V o
Differential Non-Linearity:
Deviation of actual converter step size from the ideal predicted wave step
Gain Error:
Gain too low = same analog output; gain too high = too large an output
Offset Error:
Constant error of DAC
Reference Voltage
Internal / external
Applications of DAC
Control Systems
Digital Audio
Digital Telephones
Cruise Control
Waveform Generation
وآخر دعوانا ان الحمد
هلل رب العالمين