* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download 2 Properties of Digital Circuits_I
Survey
Document related concepts
Flip-flop (electronics) wikipedia , lookup
Control system wikipedia , lookup
Voltage optimisation wikipedia , lookup
Alternating current wikipedia , lookup
Pulse-width modulation wikipedia , lookup
Mains electricity wikipedia , lookup
Electronic engineering wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Oscilloscope history wikipedia , lookup
Schmitt trigger wikipedia , lookup
Buck converter wikipedia , lookup
Power electronics wikipedia , lookup
Analog-to-digital converter wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Transcript
Properties of Digital Circuits • F = f(A, B, C, …) The output is a function of all inputs • The output values are quantized The output takes specific values (0 or 1) • The inputs take two values (0 or 1) and for each value, a certain range of signal amplitude exists. Vin Vout 1 1 VIH VIL 0 Digital Electronics ELE 450 0 VOH VOL Dr. Idrees Al-Kofahi 1 Properties of Digital Circuits (Cont.) • The voltage transfer curves for the inverting and non-inverting Digital Circuit. Vout Vout VOH VOH VOL VOL VIL VIH Vin Non-Inverting Circuit Digital Electronics ELE 450 VIL VIH Vin Inverting Circuit Dr. Idrees Al-Kofahi 2 Voltages • VOH – Minimum Output Voltage considered to be High. • VOL – Maximum Input Voltage considered to be Low. • VIH – Minimum Input Voltage considered to be High. • VIL – Maximum Input Voltage considered to be low. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 3 Logic Swing and Transition Width • Logic Swing – Magnitude of voltage difference between the output high and low voltage levels. – VLS = VOH – VOL • Transition Width – Amount of voltage change that is required to cause a change in the output voltage. – VTW = VIH – VIL Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 4 The Ideal Digital Circuit Element • Operates from a single power source (Vcc) VCC Vin • Vout The two binary levels (0 and 1) are at 0 V and Vcc. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 5 The Ideal Digital Circuit Element • • • Negligible current drawn from supply source Output impedance is low => large fan-out is possible. Vout Transition between logic states occurs VCC abruptly at Vin = Vcc/2 Vin VCC 2 Digital Electronics ELE 450 VCC Dr. Idrees Al-Kofahi 6 The Ideal Digital Circuit Element • There is negligible delay between input transition and resulting output transition. Vin t Vout t Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 7 Noise • • Noise :- A transient un-wanted variation of voltage or current. If the magnitude of the noise is large enough, it can cause logic errors. VIL VOL Digital Electronics ELE 450 At this point, the output is no longer 0 from the view of the next input Dr. Idrees Al-Kofahi 8 Noise (Cont.) • If the noise amplitude at the input of a logic gate is smaller than its “Noise Margin”, the noise signal will be sharply reduced between the input and the output. • In digital systems, noise does not accumulate from one logic gate to the next. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 9 Noise Margins • “Noise Margin” is the amplitude below which the noise signal will not cause logic errors. Vout – NML (Low Noise Margin) VOH NML = VIL - VOL – NMH (High Noise Margin) NMH = VOH - VIH Vin VOL VOL VIL NML Digital Electronics ELE 450 VIH VOH NMH Dr. Idrees Al-Kofahi 10 Typical Inverting Gate Characteristics Vout In this area, the digital circuit behaves like an analog circuit VOH VOL VOL VIL NML Digital Electronics ELE 450 VIH VOH Vin NMH Dr. Idrees Al-Kofahi 11 Typical Inverting Gate Characteristics • NOTE: – In the area between VIL and VIH, the digital inverter behaves like an analog device. In that range, the output voltage is a linear amplification of the input voltage. – The amount of time the circuit spends in this range must be minimized as much as possible. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 12 Fan-in and Fan-out • Fan-in – Number of inputs of a particular gate. – Depends on the technology and the functionality of the gate. • Fan-out – Maximum number of inputs that can be connected to a particular output. – Depends on the output’s logic level and the input and output currents. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 13 Fan-out • Logic High Fan-out. • The ratio of the output high current IOH (the current at the output of the gate when the output is high) to the input high current IIH (the current at the input of the gate when the input is high). N HIGH • Logic Low Fan-out. • The ratio of IOL to IIL N LOW • I OH I IH I OL I IL Maximum Fan-out is the minimum of the two values. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 14 Current Directions • Both the input and output currents can flow either into or out of the gate – both in the low and high states. • For fan-out to be possible, the current directions must be complementary. – Fan-out can only be possible if the current flows out of one terminal and into the other. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 15 Rise Time and Fall Time Vout VOH 90% VLS 10% VOL t tr Digital Electronics ELE 450 tf Dr. Idrees Al-Kofahi 16 Rise Time and Fall Time • Rise Time (tr): – Amount of time it takes the signal to change from 10% maximum signal value to 90% maximum signal value. • Fall Time (tf): – Amount of time it takes the signal to change from 90% maximum signal value down to 10% maximum signal value. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 17 Propagation Delays Vin 50% Vout tPHL t tPLH 50% t Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 18 Propagation Delays • High to Low Propagation Delay (tPHL) and Low to High Propagation Delay (tPLH) – The delay between the time when the input signal passes through 50% of maximum signal value and the output signal passes through the corresponding 50% of the maximum value. • Average Propagation Delay (tP(avg)) (t PHL t PLH ) t p (avg) 2 Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 19 Power Dissipation • • • For the ideal gate, the current drawn from the supply is 0. Therefore, the power usage is also 0. Practically speaking, every gate has a certain amount of power usage. Moreover, most gates use different amounts of power during transitions (dynamic power dissipation) and during idle states (static power dissipation. The power dissipation also differs based on the state and the direction of transition. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 20 Power Dissipation (Cont.) • The power consumption is specified as an average PCC (OH ) PCC (OL ) PCC (avg) 2 or PCC (avg) I CC (OH ) I CC (OL ) VCC 2 • Some logic families use two power supplies. So, the average power dissipation would be the sum of the average dissipation from each supply. PDISP(avg) = PCC(avg) + PEE(avg) Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 21 Power-Delay Product • A measure of the quality of the digital circuit is the product of its power dissipation and the average delay. PD = PDISS(avg) * tP(avg) Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 22 Important Factors • Three important factors in the design of any digital circuit: – Physical Size – Determines manufacturing cost. – Power Consumption – Determines operating cost. – Delay – Determines overall performance. • All three need to be as small as possible. However, practically, it is impossible to minimize all three. Therefore, digital circuit design becomes a trade off between the different factors. Digital Electronics ELE 450 Dr. Idrees Al-Kofahi 23