Presentation on theme: "C H A P T E R 12 Signal Generators and Waveform- Shaping Circuits."— Presentation transcript:
C H A P T E R 12 Signal Generators and Waveform- Shaping Circuits
2 Introduction In the design of electronic systems the need frequently arises for signals having prescribed standard waveforms. There are 2 distinctly different approaches for the generation of sinusoids, most commonly used for the standard waveforms. Employing a positive-feedback loop that consists an amplifier and an RC or LC frequency-selective network. It generates sine waves utilizing resonance phenomena, are known as linear oscillators (circuits that generate square, triangular, pulse waveforms are called non-linear oscillators or function generators.) A sine wave is obtained by appropriate shaping a triangular waveform.
3 The Oscillator Feedback Loop A basic structure of a sinusoidal oscillator consists of an amplifier and a frequency-selective network connected in a positive-feedback loop. The condition for the feedback loop to provide sinusoidal oscillations of frequency w 0 is Barkhausen Criterion : At w 0 the phase of the loop gain should be zero. At w 0 the magnitude of the loop gain should be unity. Figure 12.1 The basic structure of a sinusoidal oscillator. A positive-feedback loop is formed by an amplifier and a frequency-selective network. In an actual oscillator circuit, no input signal will be present; here an input signal x s is employed to help explain the principle of operation.
5 Nonlinear Amplitude Control Suppose we make Aβ=1 at w=w 0, If the temperature changes, Aβ <1 and oscillation will cease. If Aβ>1, the oscillations will grow in amplitude. We therefore need a nonlinear circuit for gain control to force Aβ to remain equal at the desired value of output amplitude. The function of gain-control mechanism is as follows: To ensure that oscillation will start, Aβ is designed greater than unity. As the oscillation grow in amplitude and reaches the desired level, the nonlinear network reduces the loop gain to exactly unity (poles will be pulled back to jw axis. If the loop gain is reduced below unity, the amplitude will diminish and the nonlinear network increases the loop gain to exactly unity.
Figure 12.3 (a) A popular limiter circuit. (b) Transfer characteristic of the limiter circuit; L − and L + are given by Eqs. (12.8) and (12.9), respectively. ( c) When R f is removed, the limiter turns into a comparator with the characteristic shown.
7 Limiter Circuit for Amplitude Control A frequently employed limiter circuit is shown below. For small v I, D 1 /D 2 off slope= As v I continues to go positive, v O goes negative. D 1 on/D 2 off As v I continues to go negative, v O goes positive. D 1 off/D 2 on
8 The Wien-Bridge Oscillator Circuits One of the simplest oscillator is based on the Wein bridge. For L=1, w 0 = (RC) -1. R 2 /R 1 =2. To ensure the oscillations will start, R 2 /R 1 =2 + δ Figure 12.4 A Wien-bridge oscillator without amplitude stabilization.
9 The Wien-Bridge Oscillator with A Limiter The amplitude of oscillation can be determined and stabilized using a nonlinear control network. The positive output peak can be calculated by setting v b =v 1 +V D2 and writing the node equation at node b while neglecting the current through D 2. Figure 12.5 A Wien-bridge oscillator with a limiter used for amplitude control.
Figure 12.6 A Wien-bridge oscillator with an alternative method for amplitude stabilization.
11 The Phase Shifter Oscillator The phase-shifter consists of a negative gain amplifier (-K) with a third order RC ladder network in the feedback. The circuit will oscillate at the frequency for which the phase shift of the RC network is 180 o. Only at the frequency will the total phase shift around the loop be 0 o or 360 o. The minimum number of RC sections is 3 because it is capable of producing a 180 o phase shift at a finite frequency.
12 The Phase Shifter Oscillator with a Limiter To start oscillations, R f has to be made slightly greater than the minimum required value. (Practice exercise 12.5 and 12.6) Figure 12.8 A practical phase-shift oscillator with a limiter for amplitude stabilization.
14 The Quadrature Oscillator The quadrature oscillator is another type of phase-shift oscillator, but the three RC sections are configured so that each section contributes 90° of phase shift. The outputs are sine and cosine (quadrature) because there is a 90° phase shift between op amp outputs. R f is made equal to 2R, and thus –R f cancels 2R. Figure 12.9 (a) A quadrature-oscillator circuit. (b) Equivalent circuit at the input of op amp 2.
15 Negative Impedance Converter The negative impedance converter (NIC) is a configuration of an operational amplifier which acts as a negative load. source: excerpted from wikipedia
18 Figure 12.12 Two commonly used configurations of LC-tuned oscillators: (a) Colpitts and (b) Hartley. LC and crystal Oscillator For higher freq. (> 1MHz) (a) 容串 (b) 感串
19 Figure 12.13 Equivalent circuit of the Colpitts oscillator of Fig. 12.12(a). To simplify the analysis, C and r are neglected. We can consider C to be part of C 2, and we can include r o in R. Equivalent circuit of the Colpitts oscillator Node equation at C
Figure 12.14 Complete circuit for a Colpitts oscillator.
21 Figure 12.15 A piezoelectric crystal. (a) Circuit symbol. (b) Equivalent circuit. (c) Crystal reactance versus frequency [note that, neglecting the small resistance r, Z crystal = jX( )]. 通常 L 很大, Cs 小, Cs <
"name": "21 Figure 12.15 A piezoelectric crystal.(a) Circuit symbol.",
"description": "(b) Equivalent circuit. (c) Crystal reactance versus frequency [note that, neglecting the small resistance r, Z crystal = jX( )]. 通常 L 很大, Cs 小, Cs <
22 Figure 12.16 A Pierce crystal oscillator utilizing a CMOS inverter as an amplifier. C2 C1 Crystal oscillator = L 串 Cs
23 Bistable Multivibrator Another type of waveform generating circuits is the nonlinear oscillators or function generators which uses multivibrators. A bistable multivibrator has 2 stable states. The circuit can remain in either state indefinitely and changes to the other one only when triggered. Metastable state: v + =0 and v O =0. The circuit cannot exist in the mestastable state for any length of time since any disturbance causes it to switch to either stable state. Figure 12.17 A positive-feedback loop capable of bistable operation. Figure 12.18 A physical analogy for the operation of the bistable circuit. The ball cannot remain at the top of the hill for any length of time (a state of unstable equilibrium or metastability); the inevitably present disturbance will cause the ball to fall to one side or the other, where it can remain indefinitely (the two stable states).
25 Bistable Circuit with Inverting Transfer Characteristics Assume that v O is at one of its 2 possible levels, say L +, and thus v + =βL +. As v I increases from 0 and then exceeds βL +, a negative voltage developes between input terminals of the op amp. This voltage is amplified and v O goes negative. The voltage divider causes v + to go negative, increasing the net negative input and keeping the regenerative process going. This process culminates in the op amp saturating, that is, v O =L -. The circuit is said to be inverting. Trigger signal
26 Bistable Circuit with Noninverting Transfer Characteristics A bistable circuit implementing the noninverting transfer characteristics. The circuit is said to be noninverting.
28 Application of the Bistable Circuit as a Comparator To design a circuit that detects and counts the zero crossings of an arbitrary waveform, a comparator whose threshold is set to 0 can be used. The comparator provides a step change at its output every time zero crossing occurs. Figure 12.22 Illustrating the use of hysteresis in the comparator characteristics as a means of rejecting interference.
29 Bistable Circuit with More Precise Output Level Limiter circuits are used to obtain more precise output levels for the bistable circuit. L+ = V Z + V D1 + V D2 and L– = –(V Z + V D3 + V D4 ). L+ = V Z1 + V D and L– = –(V Z2 + V D ), where V D is the forward diode drop.
31 Operation of the Astable Multivibrator (1) Connecting a bistable multivibrator with inverting transfer characteristics in a feedback loop with an RC circuit results in a square- wave generator. Figure 12.24 (a) Connecting a bistable multivibrator with inverting transfer characteristics in a feedback loop with an RC circuit results in a square-wave generator. (b) The circuit obtained when the bistable multivibrator is implemented with the circuit of Fig. 12.19(a). (c) Waveforms at various nodes of the circuit in (b). This circuit is called an astable multivibrator.
32 Operation of the Astable Multivibrator (2) The circuit for astable multivibrator. Figure 12.24 (a) Connecting a bistable multivibrator with inverting transfer characteristics in a feedback loop with an RC circuit results in a square-wave generator. (b) The circuit obtained when the bistable multivibrator is implemented with the circuit of Fig. 12.19(a). (c) Waveforms at various nodes of the circuit in (b). This circuit is called an astable multivibrator.
33 Generation of Triangular Waveforms Triangular waveforms can be obtained by replacing the low-pass RC circuit with an integrator. Since the integrator is inverting, the inverting characteristics of the bistable circuit is required. Figure 12.25 A general scheme for generating triangular and square waveforms.
34 Generation of a Standard Pulse (1) In the stable state, V A =L+ (why?), V B =V D1, V C =βL+ (D2: ON and R4>>R1). When a negative-going step applies at the trigger input: D2 conducts heavily and pulls node C down (lower than V B ). The output of the op amp switch to L- and cause V C to go toward βL-. D2 OFF and isolates the circuit from changes at the trigger input. D1 OFF and C1 begins to discharge toward L-. When V B < V C, the output of the op amp switch to L+. Figure 12.26 (a) An op-amp monostable circuit. (b) Signal waveforms in the circuit of (a).
35 Generation of a Standard Pulse (2) Figure 12.26 (a) An op-amp monostable circuit. (b) Signal waveforms in the circuit of (a).
36 The 555 Circuit Commercially available integrated-circuit package such as 555 timer exists that contain the bulk of the circuitry needed to implement monostable and astable multivibrator. 2/3 V CC 1/3 V CC Figure 12.27 A block diagram representation of the internal circuit of the 555 integrated-circuit timer.
37 A Monostable Multivibrator Using the 555 IC (1) In the stable state the flip-flop will be in the reset state (why?). As trigger goes below V TL, output of comparator 2 goes high and Output of flip-flop goes high and Q1 OFF. Capacitor C begins to charge toward Vcc. When V C exceeds V TH, output of flip-flop goes low and Q1 ON. Q1 rapidly discharges C and V C go to 0V.
38 A Monostable Multivibrator Using the 555 IC (2) Figure 12.28 (a) The 555 timer connected to implement a monostable multivibrator. (b) Waveforms of the circuit in (a).
40 An Astable Multivibrator Using the 555 IC (1) Assume that initially C is discharged and the flip-flop is set (It is fine to start from reset state). V O is high and Q1 is OFF and then V C charges through R A and R B toward Vcc. When it exceeds V TH, output of comparator 1 is high and V O is low (Q1 is ON). V C begins to discharge through R B, when it is below V TL, output of comparator 2 is high and V O is high. Figure 12.29 (a) The 555 timer connected to implement an astable multivibrator. (b) Waveforms of the circuit in (a).
41 An Astable Multivibrator Using the 555 IC (2) Figure 12.29 (a) The 555 timer connected to implement an astable multivibrator. (b) Waveforms of the circuit in (a).
44 Nonlinear Waveform-Shaping Circuits The Breakpoint Method Diodes or transistors can be combined with resistors to synthesize network having arbitrary nonlinear transfer characteristics which can be used in waveform shaping. The breakpoint method. Figure 12.31 (a) A three-segment sine-wave shaper. (b) The input triangular waveform and the output approximately sinusoidal waveform.
45 Nonlinear Waveform-Shaping Circuits The Nonlinear-Amplification Method This nonlinear amplification method is based on feeding the triangular wave to the input of an amplifier having a nonlinear transfer characteristics that approximates the sine function. Figure 12.32 A differential pair with an emitter degeneration resistance used to implement a triangular- wave to sine-wave converter. Operation of the circuit can be graphically described by Fig. 12.30.
46 Precision Half-Wave Rectifier Superdiode For instrumentation applications, if the signal to be rectified is 0.1V, it is impossible to employ conventional rectifier circuit. Superdiode shown below could solve this problem. Disadvantages of the superdioide When v I goes negative and v O =0, the entire magnitude of v I appears in the op input terminal. The op will be damaged if it is not equipped with over-voltage protection. When v I is negative, the op will be saturated and slows its operation. Figure 12.33
47 Precision Half-Wave Rectifier An Alternative Circuit An improved version of the precision half-wave rectifier. The circuit operates in the following manner: v I >0, D2: ON (virtual ground appears) and output of op amp is clamped at one diode drop below ground, D1: OFF v O =0. v I <0, D1: ON (virtual ground appears), D2: OFF v O = -v I (R 2 /R 1 ). The feedback loop around the op amp remains closed at all times. Hence the op amp remains in its linear operating region (no saturation occurs). Figure 12.34 (a) An improved version of the precision half-wave rectifier: Diode D 2 is included to keep the feedback loop closed around the op amp during the off times of the rectifier diode D 1, thus preventing the op amp from saturating. (b) The transfer characteristic for R 2 = R 1.
48 Measuring AC Voltages A circuit that could measure the AC voltage is shown below. It consists of a half-wave rectifier and a first-order low pass filter. The DC component of V 1 is (V P /π)(R 2 /R 1 ). The corner frequency of the low-pass filter should be chosen much smaller than the lowest expected frequency w min of the input sine wave (CR 4 ) -1 << w min. V 2 = - (V P /π)(R 2 /R 1 )(R 4 /R 3 ). Figure 12.35 A simple ac voltmeter consisting of a precision half-wave rectifier followed by a first-order low-pass filter.
50 Precision Full-Wave Rectifier (1) The principle of full-wave rectifier. Figure 12.36 Principle of full-wave rectification.
51 Precision Full-Wave Rectifier (2) Precision full-wave rectifier based on the above conceptual circuit. V I >0, D2:ON, V I =V O, no current through R 1 /R 2, V- of A1= V I, D1:OFF. V I <0, V- of A1 is negative, D1 ON. V O = -V I (R 2 /R 1 ). D2:OFF. Figure 12.37 (a) Precision full-wave rectifier based on the conceptual circuit of Fig. 12.36. (b) Transfer characteristic of the circuit in (a).
Figure 12.38 Use of the diode bridge in the design of an ac voltmeter.
53 Precision Peak Rectifier Including the diode of the peak rectifier inside the negative-feedback loop of an op amp results in a precision peak rectifier. A buffered precision peak detector shown in the right circuit can hold the value of the peak for a long time. Figure 12.40 A buffered precision peak rectifier. Figure 12.39 A precision peak rectifier obtained by placing the diode in the feedback loop of an op amp.