Академический Документы
Профессиональный Документы
Культура Документы
Kevin Johnson
Minh Vo
Lam Duong
Wye-Chi Chok
Kevin Johnson
Outline
DAC
What is a DAC?
Types of DAC
Specifications
Diodes
What are diodes?
P-N Junction Diode
Real vs. Ideal
Types of Diodes & Applications
Triacs
What are thyristors?
What are triacs?
Applications
Kevin Johnson
What is a DAC?
Convert digital signal (number) to
analog signal (voltage or current)
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011
Digital Input Signal
Kevin Johnson
DAC
Smoothing
Piece-wise Analog
Digital Input Continuous Output Continuous Output
0 bit
011010010101010100101
101010101011111100101
000010101010111110011
010101010101010101010
n bit DAC Filter
111010101011110011000
100101010101010001111
nth bit
Kevin Johnson
Applications.
Audio/Video Signal Generators
MP3 players Sine wave generation
Square wave generation
Cellphones
Triangle wave generation
Television Random noise generation
(well, old ones)
implementations
Binary Weighted Resistor
R-2R Ladder
Pulse Width Modulator (not covered)
Oversampling DAC, aka Delta Sigma
(used internally in HCS12)
Kevin Johnson
Bn 1 Bn 2 B1 B0
Vout IRf Rf Vref ... n 2 n-1
R 2R 2 R 2 R
Kevin Johnson
http://www.msbtech.com/support/How_DACs_Work.php
Kevin Johnson
R-2R Ladder
Advantages:
Only 2 resistor values
Lower precision resistors acceptable
Disadvantages
Slightly slower conversion rate
Op-amp must still handle very small
currents at high bit numbers.
Kevin Johnson
Delta-sigma DAC
Now all cups are
the same size (or
more precisely, he
uses the same cup
over and over).
Cup size is
1/(2^n).
He must add this
amount the proper
number of times
(pulse-count
modulation).
http://www.msbtech.com/support/How_DACs_Work.php
Kevin Johnson
General comments
Circuits as shown produce only
unipolar output
Replacing ground with Vref will
allow Vout to be positive or
negative
Minh Vo
Specifications of a DAC
Reference Voltage
Resolution
Sampling Rate
Settling Time
Linearity
Errors
Minh Vo
Vref (2 N 1)
Vfs N
2
Minh Vo
Resolution
The resolution is the amount of output
voltage change in response to a least
significant bit (LSB) transition.
Vref
Resolution N VLSB
2
Smaller resolution results in a smoother
output
A common DAC has a 8 - 16 bit resolution
Minh Vo
Settling Time
DAC needs time to reach the actual
expected analog output voltage
The time required for the output
voltage to settle within +/- of VLSB
of the expected voltage
Minh Vo
Linearity
The difference between the desired
analog output and the actual output
over the full range of expected values
Linear (Ideal) Non-Linear
Minh Vo
Errors
Gain Error
Offset Error
Full Scale Error
Non Linearity
Non-Monotonic
Resolution Errors
Settling Time and Overshoot
Minh Vo
Gain Error
Deviation in the slope of the ideal
curve and with respect to the actual
DAC
High Gain output
Error: Step
amplitude is higher than
the desired output
Low Gain Error: Step
amplitude is lower than
the desired output
Offset Error
Occurs when there is an offset in the
output voltage in reference to the
ideal output
This error may be
detected when all
input bits are low
(i.e. 0).
Minh Vo
Differential Non-Linearity
Voltage step size changes vary with
as digital input increases. Ideally
each step should be equivalent.
Minh Vo
Integral Non-Linearity
Occurs when the output voltage is
non linear. Basically an inability to
adhere to the ideal slope.
Minh Vo
Non-Monotonic
Occurs when the an increase in
digital input results in a lower output
voltage.
Minh Vo
Resolution Errors
Does not accurately approximate the
desired output due large voltage
divisions.
Settling Time and
Minh Vo
Overshoot
Any change in the input time will not
be reflected immediately due to the
lag time.
Overshoot occurs when the output
voltage overshoots the desired
analog output voltage.
Lam Duong
What is a Diode?
A diode is a two terminal electric component
which conducts current more easily in one
direction than in the opposite direction.
The most common usage of a diode is as an
electronic valve which allows current to flow in
one direction but not the opposite direction.
Lam Duong
A bit of history
Diodes were known as rectifiers
until 1919, when a physicist by the
name of William Eccles coined the
term diode, which from its Greek
roots means through-path.
In 1873 Fredrick Guthrie discovered
thermionic diodes (vacuum tube
diodes) . Heating the cathode in
forward bias permitted electrons to
be transmitted into the vacuum,
but in reverse bias the electrons
were not easily release from the
unheated anode.
35
Lam Duong
A bit of history
In 1874 Karl Braun discovered
the first solid state diode
(crystal diode). It consists of
using Galena crystals as the
semiconducting material.
In 1939 Russell Ohl discovered
the first P-N junction at Bell
Labs.
Today, the majority of diodes are
made of semiconductor silicon
P-N junctions.
36
Lam Duong
Schottky Diode
Unlike P-N junction diodes, Schottky diodes
are based on a metal and semiconductor
junction.
An advantage of Schottky diodes over P-N
junction diodes is that Schottky diodes have
no recovery time when switching from
conducting to non-conducting state and
vice versa.
The main disadvantage of Schottky diodes
are that they operate in low voltage Metal N-Type
compare to P-N junction diodes (up to 50V).
Another significant difference is that the
on-voltage for a Schottky diode is around .
3V while it is .7V for a P-N junction diode.
Lam Duong
Flyback Diode
Schottky diodes are often used as Flyback
diodes due to their quick recovery and low
forward voltage drop.
A Flyback diode is a diode used to eliminate
the sudden voltage spike that occurs across
an indicutive load when voltage is abruptly
reduced or removed.
Lenzs law - if the current through an
inductance changes, this inductance
induces a voltage so the current will go on
flowing as long as there is energy in the
magnetic field.
Flyback diodes are important in
mechatronics applications where one may
want to vary the voltage of an inductive load
to control its operation.
Lam Duong
44
Wye-Chi Chok
What are Thyristors?
Class of semiconductor components that
can only go in 1 direction.
Wide range of devices, SCR (silicon
controlled rectifier), SCS (silicon
controlled switch), Diacs, Triacs, and
Shockley diodes
Used in high power switching applications
i.e. hundreds of amps / thousands of
watts
45
Wye-Chi Chok
Thyristors contd.
47
Wye-Chi Chok
Triac Operation
5 layer device
Region between MT1 and MT2 are parallel switches (PNPN and NPNP)
Allows for positive or negative gate triggering
Wye-Chi Chok
Triacs
Pros:
Better than a transistor as it has much better current
surge rating it can handle more current as it simply
turns on more
Inexpensive compared to relays
Cons:
Can't manually control turn-off with the gate; must turn
off by stopping current through the device via the
terminals.
Specs to buy one:
Gate signal requirements
Voltage drop
Steady-state/holding current (continuously handle)
Peak current (maximum amount to handle surge)
Wye-Chi Chok
Triac Applications
High Power TRIACS
Switching for AC circuits, allowing the control
of very large power flows with milliampere-
scale control currents
Can eliminate mechanical wear in a relay
Triac Applications
Come in various
shapes and sizes
Essentially all
the same
operationally
Different
mounting
schemes
QUESTIONS?
56