SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Chapter 13 
Linear-Digital ICs
Linear Digital ICs 
Comparators 
Digital/analog converters 
Timers 
Voltage-controlled oscillators 
Phase-locked loop circuits 
Interface circuits 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
2
Comparator Circuit 
The operation is a basic comparison. The 
output swings between its maximum and 
minimum voltage, depending upon whether one 
input (Vin) is greater or less than the other (Vref). 
The output is always a square wave where: 
• The maximum high output voltage is +VSAT. 
• The minimum low output voltage is –VSAT. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
3
Noninverting Op-Amp Comparator 
For a noninverting op-amp comparator: 
• The output goes to +VSAT when 
input Vi is greater than the 
reference voltage. 
• The output goes to –VSAT when 
input Vi is less than the 
reference voltage. 
Example: 
• Vref in this circuit is +6V (taken from the voltage divider) 
•• +VSAT = +V, or +12V 
• −VSAT = −V or –12V 
When Vi is greater than +6V the output swings to +12V and the LED goes on. 
When V is less than +6V the 12V off 
Vi output is at –and the LED goes off. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
4
Inverting Op-Amp Comparator 
For an inverting op-amp comparator: 
• The output goes to –VSAT when 
input Vi is greater than the 
reference voltage. 
• The output goes to +VSAT when 
input Vi is less than the reference 
voltage. 
Example: 
• Vref in this circuit is +6V (taken from the voltage divider) 
•• +VSAT = +V, or +12V 
• −VSAT = −V or –12V 
When Vi is greater than +6V the output swings to –12V and the LED goes off. 
When V is less than +6V the on 
Vi output is at +12V and the LED goes on. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
5
Comparator ICs 
Advantages: 
• Faster switching 
• Built-in noise immunity 
• Outputs capable of directly driving loads 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
6
Digital-Analog Converters 
Types: 
• Digital-to-analog converters (ADCs) 
• Analog-to-digital converters (DACs) 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
7
Digital-to Analog Converter: 
Ladder Network Version 
Output Voltage, Vo: 
3 
D 2 D 2 D 2 D 2 
3 
2 
2 
4 ref 
1 
1 
0 
0 
o V 
2 
V 
× + × + × + × 
= 
ref 
2 
4 
V 
Voltage Resolution: 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
8
Analog-to-Digital Converters 
Types: 
• Dual Slope Conversion 
• Ladder Network Conversion 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
9
Analog-to-Digital Conversion 
Dual Slope Conversion 
The analog input voltage is applied to an integrator or ramp-generator 
circuit. 
The digital output is obtained from a digital counter that is operated during 
both positive and negative slope (ramp) intervals of the integrator. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
10
Dual Slope Conversion 
Rising Slope 
For a fixed interval the analog 
voltage is applied to the integrator. 
The integrator output rises to some 
positive level. This positive voltage is 
applied to a comparator. At the end of 
the fixed interval, the counter is reset 
to 0. An electronic switch connects the 
integrator input to a fixed input or 
reference voltage. 
Falling Slope 
The integrator output decreases at a fixed rate. The counter advances during this 
time. When the integrator output (connected to the comparator input) falls below 
the reference level of the comparator comparator, control logic stops the counter counter.The digital 
counter output is the digital conversion of the analog input. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
11
Ladder Network Conversion 
A digital counter advances 
from zero while a ladder 
network converts the 
digital count to a staircase 
analog voltage. 
When the staircase voltage 
into the comparator equals 
the analog input voltage, 
the counter stops. 
The last count is the digital 
conversion of the analog 
input. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
12
Resolution of Analog-to-Digital Converters 
The resolution depends on the amount of voltage per step (digital bit): 
ref 
2 
n 
V 
where n is the number of digital bits 
Example: A 12-bit ADC with a 10V reference level has the following 
resolution: 
V 
ref = 10V = 
2.4mV 2n 212 
12 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
13
Analog-to-Digital Conversion Time 
The conversion time depends on the clock frequency of the counter. 
T 2 
n 
f 
conv = 
where 
Tconv = conversion time (seconds) 
n = number of binary bits 
f = clock frequency for the counter 
Example: A 12bit ADC with a 1MHz clock has a maximum conversion time. 
4.1ms 
212 ⎛ 
1 ⎞ 
1MHz 
⎟⎠ 
= ⎜⎝ 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
14
555 Timer Circuit 
The 555 Timer is an 
example of a versatile 
Timer IC. 
Astable Operation 
The timer output is a 
repetitive square wave. 
The output frequency 
can be calculated as 
shown here. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
15
555 Timer Circuit 
Monostable Operation 
The timer output is a one shot pulse. When an input is received it triggers a 
one shot pulse. The time for which the output remains high can be calculated 
as shown. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
16
Voltage-Controlled Oscillator 
The oscillator output is a variable frequency square wave or 
triangular wave. The output frequency depends on the modulation 
input voltage (VC). 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
17
566 Voltage-Controlled Oscillator 
The output frequency can 
be calculated as shown in 
the graph. 
Note that the formula also 
indicates other circuit 
parameters that affect the 
output frequency. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
18
Phase-Locked Loop 
The input signal is a 
frequency and the 
output signal is a voltage 
representing the 
difference in frequency 
between the input and 
the internal VCO. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
19
Basic Operation of the Phase-Locked Loop 
Three operating modes: 
Lock 
fi = fVCO 
Tracking 
fi ≠ fVCO, but the fVCO adjusts until fVCO= fi 
Out-of-Lock 
fi ≠≠ fVCO, and they never will be the same 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
20
Phase-Locked Loop: Lock Mode 
The input frequency and the 
internal VCO output 
frequency are applied to the 
phase comparator. 
If they are the same, the phase 
comparator output voltage 
indicates no error. 
This no-error voltage is 
filtered and amplified before it 
is made available to the 
output. 
The no-error voltage is also applied to the internal VCO input to maintain the 
VCO’s output frequency. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
21
Phase-Locked Loop: Tracking Mode 
If the input frequency does not 
equal the VCO frequency then the 
phase comparator outputs an 
error voltage. 
This error voltage is filtered and 
amplified and made available to 
the output. 
The error voltage is also applied to 
the VCO input. This causes the 
VCO to change output frequency. 
This looping continues until the VCO has adjusted to the new input frequency 
and they are equal again. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
22
Phase-Locked Loop: Out-of-Lock Mode 
If the input frequency does not 
equal the VCO frequency and 
the resulting error voltage 
does not cause the VCO to 
catch up to the input 
frequency, then the system is 
out of lock. The VCO will 
never equal the input 
frequency. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
23
Phase-Locked Loop: Frequency Ranges 
Lock Range—The range of input frequencies for 
which the VCO will track. 
Capture Range —A narrow range of frequencies 
into which the input frequency must fall before the 
VCO can track. If the input frequency falls out of 
the lock range it must first enter into the capture 
range. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
24
Phase-Locked Loop 
Applications: 
• FM demodulator 
• Frequency Synthesizer 
• FSK decoder 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
25
Interface Circuitry 
Interface circuitry: 
• Driving loads 
• Producing output signals at proper voltage 
or current levels 
• Impedance matching 
• Strobing or timing signals 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
26
Interface Circuitry: Dual Line Drivers 
The input is TTL 
digital logic signal 
levels. 
The output is capable 
of driving TTL or 
CMOS devise 
circuits. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
27
RS-232-to-TTL Converter 
The input is RS-232 
electronic industry 
standard for serial 
communications. 
The output will drive 
TTL circuitry. 
Copyright ©2009 by Pearson Education, Inc. 
Upper Saddle River, New Jersey 07458 • All rights reserved. 
Electronic Devices and Circuit Theory, 10/e 
Robert L. Boylestad and Louis Nashelsky 
28

Contenu connexe

Tendances

Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
Shiwam Isrie
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
Shiwam Isrie
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
Shiwam Isrie
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
Shiwam Isrie
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
Shiwam Isrie
 
differential amplifier for electronic
differential amplifier for electronicdifferential amplifier for electronic
differential amplifier for electronic
Faiz Yun
 

Tendances (20)

Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-3
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-4
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-9
 
Chapter17
Chapter17Chapter17
Chapter17
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-2
 
Ch_6 Regulated Power Supply (1).ppt
Ch_6 Regulated Power Supply (1).pptCh_6 Regulated Power Supply (1).ppt
Ch_6 Regulated Power Supply (1).ppt
 
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-5
 
Ch02
Ch02Ch02
Ch02
 
電路學Chapter5
電路學Chapter5電路學Chapter5
電路學Chapter5
 
Gain parameters of BJT
Gain parameters of BJTGain parameters of BJT
Gain parameters of BJT
 
power system analysis lecture 1
power system analysis lecture 1power system analysis lecture 1
power system analysis lecture 1
 
dc biasing of bjt
dc biasing of bjtdc biasing of bjt
dc biasing of bjt
 
09 bjt & fet frequency response
09 bjt & fet frequency response09 bjt & fet frequency response
09 bjt & fet frequency response
 
Unit 2 bjt numerical problems
Unit 2 bjt numerical problemsUnit 2 bjt numerical problems
Unit 2 bjt numerical problems
 
Rec101 unit iii operational amplifier
Rec101 unit iii operational amplifierRec101 unit iii operational amplifier
Rec101 unit iii operational amplifier
 
Basic op amp circuits
Basic op amp circuitsBasic op amp circuits
Basic op amp circuits
 
differential amplifier for electronic
differential amplifier for electronicdifferential amplifier for electronic
differential amplifier for electronic
 
10 operational amplifiers
10 operational amplifiers10 operational amplifiers
10 operational amplifiers
 
RF Circuit Design - [Ch2-1] Resonator and Impedance Matching
RF Circuit Design - [Ch2-1] Resonator and Impedance MatchingRF Circuit Design - [Ch2-1] Resonator and Impedance Matching
RF Circuit Design - [Ch2-1] Resonator and Impedance Matching
 
Eca unit 2
Eca unit 2Eca unit 2
Eca unit 2
 

Similaire à Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-13

electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptxelectronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
AbdullahTanweer1
 

Similaire à Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-13 (20)

13 linear digital i cs
13 linear digital i cs13 linear digital i cs
13 linear digital i cs
 
15 power supplies (voltage regulators)
15 power supplies (voltage regulators)15 power supplies (voltage regulators)
15 power supplies (voltage regulators)
 
Chapter 4 Boylstead DC Biasing-BJTs.pptx
Chapter 4 Boylstead DC Biasing-BJTs.pptxChapter 4 Boylstead DC Biasing-BJTs.pptx
Chapter 4 Boylstead DC Biasing-BJTs.pptx
 
Bem (4)
Bem (4)Bem (4)
Bem (4)
 
electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptxelectronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
electronic-devices-and-circuit-theory-10th-edition-boylestad-louis-.pptx
 
BJT AC Analysis - Gdlc.pdf
BJT AC Analysis - Gdlc.pdfBJT AC Analysis - Gdlc.pdf
BJT AC Analysis - Gdlc.pdf
 
Bem (8)
Bem (8)Bem (8)
Bem (8)
 
11 op amp applications
11 op amp applications11 op amp applications
11 op amp applications
 
Bem (7)
Bem (7)Bem (7)
Bem (7)
 
Lecture_02_Diode_Applications.ppt
Lecture_02_Diode_Applications.pptLecture_02_Diode_Applications.ppt
Lecture_02_Diode_Applications.ppt
 
Bem (1)
Bem (1)Bem (1)
Bem (1)
 
Bem (6)
Bem (6)Bem (6)
Bem (6)
 
12 power amplifirs
12 power amplifirs12 power amplifirs
12 power amplifirs
 
87690-0135046920_pp5Chapter 5: Field-Effect Transistors.ppt
87690-0135046920_pp5Chapter 5:Field-Effect Transistors.ppt87690-0135046920_pp5Chapter 5:Field-Effect Transistors.ppt
87690-0135046920_pp5Chapter 5: Field-Effect Transistors.ppt
 
14 feedback & oscillator circuits
14 feedback & oscillator circuits14 feedback & oscillator circuits
14 feedback & oscillator circuits
 
FET Amplifiers.ppt
FET Amplifiers.pptFET Amplifiers.ppt
FET Amplifiers.ppt
 
Electronic Devices Ninth Edition Floyd thired e
Electronic Devices Ninth Edition Floyd thired eElectronic Devices Ninth Edition Floyd thired e
Electronic Devices Ninth Edition Floyd thired e
 
Ripple factor
Ripple factorRipple factor
Ripple factor
 
B stad_BJT
B stad_BJTB stad_BJT
B stad_BJT
 
1- Bipolar Junction Transistors-2.ppt
1- Bipolar Junction Transistors-2.ppt1- Bipolar Junction Transistors-2.ppt
1- Bipolar Junction Transistors-2.ppt
 

Electronic devices-and-circuit-theory-10th-ed-boylestad-chapter-13

  • 2. Linear Digital ICs Comparators Digital/analog converters Timers Voltage-controlled oscillators Phase-locked loop circuits Interface circuits Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 2
  • 3. Comparator Circuit The operation is a basic comparison. The output swings between its maximum and minimum voltage, depending upon whether one input (Vin) is greater or less than the other (Vref). The output is always a square wave where: • The maximum high output voltage is +VSAT. • The minimum low output voltage is –VSAT. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 3
  • 4. Noninverting Op-Amp Comparator For a noninverting op-amp comparator: • The output goes to +VSAT when input Vi is greater than the reference voltage. • The output goes to –VSAT when input Vi is less than the reference voltage. Example: • Vref in this circuit is +6V (taken from the voltage divider) •• +VSAT = +V, or +12V • −VSAT = −V or –12V When Vi is greater than +6V the output swings to +12V and the LED goes on. When V is less than +6V the 12V off Vi output is at –and the LED goes off. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 4
  • 5. Inverting Op-Amp Comparator For an inverting op-amp comparator: • The output goes to –VSAT when input Vi is greater than the reference voltage. • The output goes to +VSAT when input Vi is less than the reference voltage. Example: • Vref in this circuit is +6V (taken from the voltage divider) •• +VSAT = +V, or +12V • −VSAT = −V or –12V When Vi is greater than +6V the output swings to –12V and the LED goes off. When V is less than +6V the on Vi output is at +12V and the LED goes on. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 5
  • 6. Comparator ICs Advantages: • Faster switching • Built-in noise immunity • Outputs capable of directly driving loads Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 6
  • 7. Digital-Analog Converters Types: • Digital-to-analog converters (ADCs) • Analog-to-digital converters (DACs) Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 7
  • 8. Digital-to Analog Converter: Ladder Network Version Output Voltage, Vo: 3 D 2 D 2 D 2 D 2 3 2 2 4 ref 1 1 0 0 o V 2 V × + × + × + × = ref 2 4 V Voltage Resolution: Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 8
  • 9. Analog-to-Digital Converters Types: • Dual Slope Conversion • Ladder Network Conversion Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 9
  • 10. Analog-to-Digital Conversion Dual Slope Conversion The analog input voltage is applied to an integrator or ramp-generator circuit. The digital output is obtained from a digital counter that is operated during both positive and negative slope (ramp) intervals of the integrator. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 10
  • 11. Dual Slope Conversion Rising Slope For a fixed interval the analog voltage is applied to the integrator. The integrator output rises to some positive level. This positive voltage is applied to a comparator. At the end of the fixed interval, the counter is reset to 0. An electronic switch connects the integrator input to a fixed input or reference voltage. Falling Slope The integrator output decreases at a fixed rate. The counter advances during this time. When the integrator output (connected to the comparator input) falls below the reference level of the comparator comparator, control logic stops the counter counter.The digital counter output is the digital conversion of the analog input. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 11
  • 12. Ladder Network Conversion A digital counter advances from zero while a ladder network converts the digital count to a staircase analog voltage. When the staircase voltage into the comparator equals the analog input voltage, the counter stops. The last count is the digital conversion of the analog input. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 12
  • 13. Resolution of Analog-to-Digital Converters The resolution depends on the amount of voltage per step (digital bit): ref 2 n V where n is the number of digital bits Example: A 12-bit ADC with a 10V reference level has the following resolution: V ref = 10V = 2.4mV 2n 212 12 Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 13
  • 14. Analog-to-Digital Conversion Time The conversion time depends on the clock frequency of the counter. T 2 n f conv = where Tconv = conversion time (seconds) n = number of binary bits f = clock frequency for the counter Example: A 12bit ADC with a 1MHz clock has a maximum conversion time. 4.1ms 212 ⎛ 1 ⎞ 1MHz ⎟⎠ = ⎜⎝ Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 14
  • 15. 555 Timer Circuit The 555 Timer is an example of a versatile Timer IC. Astable Operation The timer output is a repetitive square wave. The output frequency can be calculated as shown here. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 15
  • 16. 555 Timer Circuit Monostable Operation The timer output is a one shot pulse. When an input is received it triggers a one shot pulse. The time for which the output remains high can be calculated as shown. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 16
  • 17. Voltage-Controlled Oscillator The oscillator output is a variable frequency square wave or triangular wave. The output frequency depends on the modulation input voltage (VC). Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 17
  • 18. 566 Voltage-Controlled Oscillator The output frequency can be calculated as shown in the graph. Note that the formula also indicates other circuit parameters that affect the output frequency. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 18
  • 19. Phase-Locked Loop The input signal is a frequency and the output signal is a voltage representing the difference in frequency between the input and the internal VCO. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 19
  • 20. Basic Operation of the Phase-Locked Loop Three operating modes: Lock fi = fVCO Tracking fi ≠ fVCO, but the fVCO adjusts until fVCO= fi Out-of-Lock fi ≠≠ fVCO, and they never will be the same Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 20
  • 21. Phase-Locked Loop: Lock Mode The input frequency and the internal VCO output frequency are applied to the phase comparator. If they are the same, the phase comparator output voltage indicates no error. This no-error voltage is filtered and amplified before it is made available to the output. The no-error voltage is also applied to the internal VCO input to maintain the VCO’s output frequency. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 21
  • 22. Phase-Locked Loop: Tracking Mode If the input frequency does not equal the VCO frequency then the phase comparator outputs an error voltage. This error voltage is filtered and amplified and made available to the output. The error voltage is also applied to the VCO input. This causes the VCO to change output frequency. This looping continues until the VCO has adjusted to the new input frequency and they are equal again. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 22
  • 23. Phase-Locked Loop: Out-of-Lock Mode If the input frequency does not equal the VCO frequency and the resulting error voltage does not cause the VCO to catch up to the input frequency, then the system is out of lock. The VCO will never equal the input frequency. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 23
  • 24. Phase-Locked Loop: Frequency Ranges Lock Range—The range of input frequencies for which the VCO will track. Capture Range —A narrow range of frequencies into which the input frequency must fall before the VCO can track. If the input frequency falls out of the lock range it must first enter into the capture range. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 24
  • 25. Phase-Locked Loop Applications: • FM demodulator • Frequency Synthesizer • FSK decoder Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 25
  • 26. Interface Circuitry Interface circuitry: • Driving loads • Producing output signals at proper voltage or current levels • Impedance matching • Strobing or timing signals Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 26
  • 27. Interface Circuitry: Dual Line Drivers The input is TTL digital logic signal levels. The output is capable of driving TTL or CMOS devise circuits. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 27
  • 28. RS-232-to-TTL Converter The input is RS-232 electronic industry standard for serial communications. The output will drive TTL circuitry. Copyright ©2009 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 • All rights reserved. Electronic Devices and Circuit Theory, 10/e Robert L. Boylestad and Louis Nashelsky 28