ccapte 3hapter 13 linear-digital icsdartec.com/mic4120/chap13a.pdf · linear digital ics...

28
Chapter 13 Linear-Digital ICs

Upload: others

Post on 23-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Chapter 13C apte 3Linear-Digital ICs

Page 2: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Linear Digital ICsLinear Digital ICs

ComparatorsComparatorsDigital/analog convertersDigital/analog converters

TimersTimersVoltageVoltage--controlled oscillatorscontrolled oscillators

PhasePhase--locked loop circuitslocked loop circuitsInterface circuits Interface circuits

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

22

Page 3: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Comparator CircuitComparator Circuit

The operation is a basic comparison. The output swings between its maximum and minimum voltage, depending upon whether oneminimum 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/eRobert L. Boylestad and Louis Nashelsky

33

Page 4: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Noninverting OpNoninverting Op--Amp ComparatorAmp Comparator

For a noninverting op-amp comparator:

• The output goes to +VSAT when input Vi is greater than the reference voltage. Th V h• The output goes to –VSAT when input Vi is less than the reference voltage.

Example:Example:

• Vref in this circuit is +6V (taken from the voltage divider)• +V = +V or +12V• +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 output is at 12V 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/eRobert L. Boylestad and Louis Nashelsky

When Vi is less than +6V the output is at –12V and the LED goes off.

44

Page 5: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Inverting OpInverting Op--Amp ComparatorAmp Comparator

For an inverting op-amp comparator:

• The output goes to –VSAT when input Vi is greater than the reference voltage. Th V h• The output goes to +VSAT when input Vi is less than the reference voltage.

Example:Example:

• Vref in this circuit is +6V (taken from the voltage divider)• +V = +V or +12V• +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 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/eRobert L. Boylestad and Louis Nashelsky

When Vi is less than +6V the output is at +12V and the LED goes on.

55

Page 6: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Comparator ICsComparator 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/eRobert L. Boylestad and Louis Nashelsky

66

Page 7: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

DigitalDigital--Analog ConvertersAnalog Converters

Types: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/eRobert L. Boylestad and Louis Nashelsky

77

Page 8: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

DigitalDigital--to Analog Converter:to Analog Converter:Ladder Network VersionLadder Network Version

Output Voltage, VOutput Voltage, Voo::

ref4

33

22

11

00

o V2

2D2D2D2DV

×+×+×+×=

4ref

2

VVoltage Resolution:Voltage Resolution:

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

88

Page 9: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

AnalogAnalog--toto--Digital ConvertersDigital 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/eRobert L. Boylestad and Louis Nashelsky

99

Page 10: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

AnalogAnalog--toto--Digital ConversionDigital ConversionDual Slope ConversionDual 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/eRobert L. Boylestad and Louis Nashelsky

1010

Page 11: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Dual Slope ConversionDual Slope ConversionRising SlopeRising Slope

For a fixed interval the analogFor 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 orintegrator input to a fixed input or reference voltage.

Falling SlopeFalling 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 control logic stops the counter The digital

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

the reference level of the comparator, control logic stops the counter.The digital counter output is the digital conversion of the analog input.

1111

Page 12: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Ladder Network ConversionLadder Network Conversion

A digital counter advances from zero while a ladder network converts the digital count to a staircase analog voltage.analog voltage.

When the staircase voltage into the comparator equals h l i lthe analog input voltage,

the counter stops.

The last count is the digital gconversion 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/eRobert L. Boylestad and Louis Nashelsky

1212

Page 13: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Resolution of AnalogResolution of Analog--toto--Digital ConvertersDigital ConvertersThe resolution depends on the amount of voltage per step (digital bit):

nref

2

V

where n is the number of digital bits

2.4mV10VV12

ref ==

Example:Example: A 12-bit ADC with a 10V reference level has the following resolution:

22 12n

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

1313

Page 14: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

AnalogAnalog--toto--Digital Conversion Time Digital Conversion Time

The conversion time depends on the clock frequency of the counter.

f2T

nconv =

hwhere

Tconv = conversion time (seconds)n = number of binary bitsf l k f f th tf = clock frequency for the counter

Example:Example: A 12bit ADC with a 1MHz clock has a maximum conversion time.

4.1ms1MHz

1212 =⎟⎠⎞

⎜⎝⎛

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

1414

Page 15: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

555 Timer Circuit555 Timer Circuit

The 555 Timer is anThe 555 Timer is an example of a versatile Timer IC.

Astable OperationAstable 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/eRobert L. Boylestad and Louis Nashelsky

1515

Page 16: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

555 Timer Circuit555 Timer Circuit

Monostable OperationMonostable 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/eRobert L. Boylestad and Louis Nashelsky

1616

Page 17: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

VoltageVoltage--Controlled OscillatorControlled 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/eRobert L. Boylestad and Louis Nashelsky

1717

Page 18: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

566 Voltage566 Voltage--Controlled OscillatorControlled 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/eRobert L. Boylestad and Louis Nashelsky

1818

Page 19: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked LoopLocked Loop

The input signal is a frequency and the output signal is a voltageoutput signal is a voltage representing the difference in frequency between the input and pthe internal VCO.

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

1919

Page 20: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Basic Operation of the PhaseBasic Operation of the Phase--Locked Loop Locked Loop

Three operating modes:p g

LockLockfi = fVCO

TrackingTracking

fi ≠ fVCO, but the fVCO adjusts until fVCO= fii VCO VCO VCO i

OutOut--ofof--LockLock

f ≠ f and they never will be the samefi ≠ 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/eRobert L. Boylestad and Louis Nashelsky

2020

Page 21: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked Loop: Lock ModeLocked Loop: Lock ModeThe input frequency and the internal VCO output frequency are applied to thefrequency are applied to the phase comparator.

If they are the same, the phase comparator output voltage indicates no error.

This no-error voltage isThis 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/eRobert L. Boylestad and Louis Nashelsky

2121

Page 22: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked Loop: Tracking ModeLocked Loop: Tracking Mode

If the input frequency does notequal the VCO frequency then theequal the VCO frequency then the phase comparator outputs an error voltage.

Thi l i fil d dThis 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/eRobert L. Boylestad and Louis Nashelsky

2222

Page 23: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked Loop: OutLocked Loop: Out--ofof--Lock ModeLock Mode

If the input frequency does notequal 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/eRobert L. Boylestad and Louis Nashelsky

2323

Page 24: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked Loop: Frequency RangesLocked Loop: Frequency Ranges

Lock RangeLock Range—The range of input frequencies forLock RangeLock Range The range of input frequencies for which the VCO will track.

Capture RangeCapture 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/eRobert L. Boylestad and Louis Nashelsky

2424

Page 25: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

PhasePhase--Locked LoopLocked 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/eRobert L. Boylestad and Louis Nashelsky

2525

Page 26: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Interface CircuitryInterface 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/eRobert L. Boylestad and Louis Nashelsky

2626

Page 27: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

Interface Circuitry: Dual Line DriversInterface Circuitry: Dual Line Driversyy

The input is TTL digital logic signal levels.levels.

The output is capable of driving TTL or gCMOS devise circuits.

Copyright ©2009 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458 • All rights reserved.

Electronic Devices and Circuit Theory, 10/eRobert L. Boylestad and Louis Nashelsky

2727

Page 28: CCapte 3hapter 13 Linear-Digital ICsdartec.com/MIC4120/CHAP13a.pdf · Linear Digital ICs Comparators Digital/analog converters Timers VoltageVoltage--controlled oscillatorscontrolled

RSRS--232232--toto--TTL ConverterTTL Converter

The input is RS-232 electronic industryelectronic 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/eRobert L. Boylestad and Louis Nashelsky

2828