Download ECE1250F14_HWC2new

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Electrification wikipedia , lookup

Electric power system wikipedia , lookup

Power over Ethernet wikipedia , lookup

Electrical substation wikipedia , lookup

Three-phase electric power wikipedia , lookup

Control system wikipedia , lookup

Electrical ballast wikipedia , lookup

Decibel wikipedia , lookup

Resistive opto-isolator wikipedia , lookup

Variable-frequency drive wikipedia , lookup

Islanding wikipedia , lookup

Stray voltage wikipedia , lookup

Pulse-width modulation wikipedia , lookup

Power inverter wikipedia , lookup

Audio power wikipedia , lookup

History of electric power transmission wikipedia , lookup

Power engineering wikipedia , lookup

Power MOSFET wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Integrating ADC wikipedia , lookup

Voltage regulator wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Rectifier wikipedia , lookup

Alternating current wikipedia , lookup

Power electronics wikipedia , lookup

Voltage optimisation wikipedia , lookup

Schmitt trigger wikipedia , lookup

Opto-isolator wikipedia , lookup

Buck converter wikipedia , lookup

Mains electricity wikipedia , lookup

Power supply wikipedia , lookup

AC adapter wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Transcript
1250
F 14
1.
Homework Circuit System Design Cards 2
In this problem, you will design a level-shifter that translates voltages coming out of a
comparator with power supplies of ±15V to levels appropriate for driving a logic gate
input with power supplies of +5V and 0V, as in the (partial) circuit shown below.
According to datasheets, we have the following voltage levels for a LM324 output when
used as a comparator and for a 74HC00 NAND gate input:
LM324*
Characteristic
Symbol Min
VOH
3.3
Typ
3.5
V
Output Voltage-High Limit
(VCC = 30 V)
VOH
26
28
V
Output Voltage-Low Limit
(VCC = 5 V)
VOL
5.0
20
mV
Output Voltage-High Limit
(VCC = 5 V)**
Max
Unit
*LM324 datasheet: http://www.digikey.com/product-search/en?vendor=0&keywords=lm324ngos
**Power supplies are V+ = VCC and V- = 0V
74HC00*
Characteristic
High-level input voltage
(VCC = 4.5 V)
Symbol Min
VIH
3.15
Absolute Min VIN
VIN
Low-level input voltage
(VCC = 4.5 V)
VIL
Typ
Max
V
–0.5
Absolute Max VIN
VIN
*74HC00 datasheet: http://www.digikey.com/productsearch/en?x=0&y=0&lang=en&site=us&keywords=tc74hc00
Unit
V
1.35
V
5
V
Use the above data to determine, as well as possible, values for output high (vTh<Hi) and
output low (vTh<Low) from the comparator and input high (vThHi) and input low
(vThLow) for the logic gate. Use these values in the equations on the "Op-amp LevelShifter" card (see below) to find resistor values to shift from vTh<Hi to vThHi and from
vTh<Low to vThLow. That is, calculate vTh<, vTh, vTh< , and vTh , and then use these
values to calculate G1 and G2, from which ratios of resistor values may be obtained.
Assume RTh< = 0 Ω, V+ = 15V and V– = –15V for level shifter, and V– is used on the
bottom of Rs. Also, use resistors that are as large as possible without exceeding 1 MΩ.
ANS:
1. vTh<Hi = 13 V (shift 28 V down by 15V since power supplies are ±15V instead of +30V
and 0V).
vTh<Low ≈ –15V (shift 20 mV, which is almost zero, down by 15V since power supplies
are ±15V instead of +30V and 0V).
3.15 * 5V/4.5V = 3.5 V ≤ vThHi ≤ 5 V * 5V/4.5V = 5.56 V (since we use power supply
of 5V instead of 4.5V). A practical choice might be to choose vThHi = 5 V = power
supply voltage and subtract 0.5 V to give a margin of error in case resistor values are
slightly off. So my choice would be vThHi = 4.5 V. Your choice might be different.
–0.5 V ≤ vThLow ≤ 3.15 V * 5V/4.5V = 3.5 V (since we use power supply of 5V instead
of 4.5V). A practical choice might be to choose vThLow = 0 V = power supply voltage
and add 0.5 V to give a margin of error in case resistor values are slightly off. So my
choice would be vThLow = 0.5 V. Your choice might be different.
DvTh< = 28V,
G2 =
, vTh< = -1V , vTh = 2.5V
(4)(-1) - (2.5)(28)
4
= 0.176 , G1 =
= 0.121
(-15)(28)
28(1+ 0.176)
Rs = 1 MΩ, Rf = 176 kΩ or 180 kΩ, Ra = 1 MΩ, Rb = 137 kΩ or 130 kΩ
Check: vTh = 0.121(1+ 0.176)13V - 0.176(-15V) = 4.49V or 4.5 V (correct for 18V in)
vTh = 0.121(1+ 0.176)(-15V) - 0.176(-15V) = 0.505V or 0.5 V (correct for -15V in)