9 Harmonic oscillators (low Q)

In stable systems, the loop gain A()β() does not encircle the point “-1” in the complex plane in the clockwise These stable systems are usually linear, except when explicitly using non-linear components or when running into some limit like clipping to the voltage supply. Because these systems are linear(-ish),:

If the “-1” point in the complex plane is encircled in the clockwise direction by the loop gain A()β(), then that system is unstable. Such an unstable system may be in a meta-stable state or it goes to or stays in either of the extreme states — possibly periodically changing its state. Usually these extreme states correspond to an output voltage equal to the positive or negative supply voltage. Theoretically a system can stay in a meta stable point indefinitely62 ; in actual circuits any disturbance (noise, interference, birds flying by) will make the system leave the meta-stable point and go to either of the stable extreme states. These fundamentally unstable systems behave non-linearly and hence cannot be analyzed in frequency domain: they can only be analyzed in time domain. As interesting and as useful as they may be, we’re not going to analyze, introduce or show these unstable circuits63 .

Exactly between the stable systems and the unstable systems are systems for which the loop gain A()β() crosses the –1 point in the Nyquist plot. Systems for which the loop gain curve crosses the “-1” point will be shown to oscillate harmonically (sinusoidal) at the frequency corresponding at which the Nyquist plot crosses that – 1 point.

9.1 Introduction into harmonic oscillators

Harmonic oscillators are systems for which the Nyquist plot crosses the “ 1” point for one specific (non-zero, finite) frequency. The hows and whys for this are briefly introduced below. After that, a variety of harmonic oscillators are discussed. Although the basics are identical, the actual circuit implementation of oscillators can be very different, all with their specific advantages and disadvantages.

As starting point, let’s assumed the negative feedback configuration shown in Figure 9.1a, having a forward gain A() and feedback gain β(. Using this configuration, it will be shown that harmonic oscillators can be constructed by ensuring that the Nyquist factor A()β() = 1. for one specific non-zero and finite frequency ω = ωosc. Originally the Nyquist factor is defined as A()β(), for a negative feedback to (hence) the inverting input of the amplifier as shown in Figure 9.1a. This negative feedback arrangement is common practice for amplifier circuits and other stable systems, but it is not necessary for oscillator circuits.

pict
Figure 9.1: (a) to the “–”-input of the amplifier (b) = 1 fed to the “+”–input of the amplifier.

Harmonic oscillators from systems with negative feedback

The signal transfer – or closed loop gain – of the system with negative feedback in Figure 9.1a, is

H() = vout vin = A() 1 + A() β1().

Assuming that the Nyquist plot crosses the –1-point, for the specific (radian) frequency ω0 where the Nyquist curve actually crosses the –1-point, the denominator of the closed loop transfer function of the inverting configuration in Figure 9.1a is zero. The transfer for that frequency then goes to infinity:

A(jω0) β1(jω0) = 1 H(jω0) = vout vin = A(jω0) 1 + A(jω0) β1() ,

which implies that the circuit can create an output signal with a finite and non-zero magnitude at ω0 from nothing. An output signal for one non-zero finite frequency is a harmonic signal (a sine): we have a harmonic oscillator and the circuit consequently behaves as a sine generator. Note that this happens under two very specific conditions that both should be satisfied for the same ω0:

Harmonic oscillators from systems with positive feedback

Stable circuits rarely use positive feedback; for oscillators it can however be useful. Above, is was stated that for an infinite closed loop gain at a single frequency, that system can oscillate harmonically. Assuming the configuration with positive feedback shown in Figure 9.1b, it can readily be derived that the closed loop gain is

H() = vout vin = A() 1 A() β2()

This closed loop gain goes to infinity for A(jω0)β2(jω0) = 1, for which case harmonic oscillation is achieved at ω = ω0. Compared to the case with feedback to the inverting input of the amplifier, this oscillation condition is different by a factor 1:

A(jω0) β1(jω0) = 1 H(jω0) = vout vin = 1A(jω0) 1 A(jω0) β1(jω0) .

Harmonic oscillators: general formulation

Oscillation requires feedback. As shown above, both systems with feedback to the negative input of an amplifier and systems with feedback to the non-inverting input of an amplifier can be used for harmonic oscillators. In both cases, the total loop gain including any (inversion) sign must equal 1 for one single (non-zero and finite) frequency, to get harmonic oscillation. This condition is usually referred to as the oscillation condition or Barkhausen’s stability criterion.

Harmonic oscillation requires a total loop gain equal to 1, meaning that the modulus of the loop gain is 1, and the loop phase is 0 ± k 2π rad. Under this condition, after passing the loop any integer number of times, an initially present sine is unchanged in magnitude and in phase. This implies that the sine is sustained indefinitely for loop gain=1.
pict
Harmonic oscillation: total loop gain 1, as a result
an initial sine remains unchanged after any N times looping through the system.

The Nyquist plot nicely shows (the degree of) stability for systems where the feedback is explicitly to the inverting input of the amplifier. The condition for stability is then that the –1-point is not net encircled in a clockwise direction by the Nyquist contour. This Nyquist contour starts at ω = 0, goes to ω and thereafter goes via ω back to ω = 0.

Oscillators must oscillate in a stable manner; according to feedback theory that does not corresponds to a stable circuit. Moreover, whereas the Nyquist contour and the Nyquist criterion for stability assumes feedback to the inverting input of an amplifier, for oscillators there is no need to assume negative or positive feedback: only the Barkhausen-criterion must be satisfied. This Barkhausen-criterion states that Aloop() = 1 for one specific frequency. For that reason, in this chapter, typically the loop gain Aloop() is plotted across all positive frequencies in a polar plot. This typically looks like a 180-rotated version of (half) the Nyquist plot, where that 180 is due to explicitly including the “-1” of an inverting amplifier input in the loop gain.

9.2 Harmonic oscillators and quality factor Q

To make the loop gain curve cross the “1” point in a polar plot, we need an amplifier and a suitable feedback circuit that combined yield a suitable Aloop(). Many variations on this are possible that each neatly oscillates at a specific frequency. Within this book, we categorize these oscillators based on the so-called quality factor Q. The quality factor Q of a system is a measure for the loss of energy during one oscillation period. The definition of the quality factor Q is

Q ω Etotal Pdissipationperiod

where the Etotal term is the total energy within the oscillator and Pdissipationperiod the dissipated power in one period; the ω is the oscillation (angular) frequency. This relation can be rewritten into an equation relating the total energy in the oscillator and the decrease in energy per oscillation period:

Q ω Etotal ΔEperiod Tperiod = 2π Etotal |ΔEperiod| (9.1)

A higher value of Q corresponds to less energy loss per oscillation cycle which usually translates into relatively power efficient oscillators. These are also (for the same reason) the preferred harmonic oscillators for generating sine waves at high frequencies. Alternatively, low-Q harmonic oscillators are relatively power hungry but typically have advantages in terms of tunability. Low-Q oscillators are covered in this chapter while high-Q oscillators are covered in chapter 10.

9.3 Harmonic oscillators with a low Q

Harmonic oscillators with a low quality factor dissipate a relatively large amount of energy per oscillation period. Because of this dissipation, the circuit must, by definition, contain dissipating components: resistors. A number of implementations of these harmonic oscillators, on a high level and assuming one amplifier with frequency independent gain A, is given in Figure 9.2.

pict
Figure 9.2: Possible implementations of a harmonic oscillator using one amplifier: a) feedback to the inverting amplifier input b) feedback to the non-inverting input c) feedback to both inputs of the amplifier.

Assuming the amplifier to be ideal (for simplicity reasons), with a frequency independent gain A, infinite input impedance and zero output impedance, then the feedback circuit must ensure there is only one non-zero finite frequency for which the loop gain is exactly 1. Hence, the β circuit must have a frequency-dependent transfer function. For the three oscillator concepts in Figure 9.2:

All these principles, concerning harmonic oscillators with a low Q, can be found in many examples in literature or in any old stow away box with electronic junk. A few interesting harmonic oscillators with low Q will now be discussed.

9.3.1 Wien bridge oscillator

A well known implementation of a harmonic oscillator which uses the principle of Figure 9.2b — feedback to the non-inverting input node of an amplifier — is the so-called Wien bridge oscillator. The original circuit is given in Figure 9.3 and originates from bridge measurement equipment.

pict
Figure 9.3: Wien bridge oscillator example

This oscillator circuit schematic may be viewed as an amplifier (with gain A) and a feedback network implemented by the resistors and capacitors. For oscillators, only the loop gain is important and splitting up this loop gain in forward and feedback gain is not required although it may be done intuitively.

In this specific case it may seem natural to split the loop gain Aloop() into an explicit feedback path formed by the circuitry in the gray rectangle and into an amplification part. Then the input of the β network is connected to the output of the amplifier, while the output of the β network is connected to the non-inverting input of the amplifier. The signal transfer of the hereby defined β-network in the Wien bridge oscillator in Figure 9.3 is then:

β() = βout βin vout = vin (ZR2ZC2) (ZR1 + ZC1) + (ZR2ZC2) = vin R2 1 C2 R2+ 1 C2 R1 + 1 C1 + R2 1 C2 R2+ 1 C2 = vin R2 1+R2C2 R1 + 1 C1 + R2 1+R2C2 = vin R2 (R1 + 1 C1 ) (1 + R2C2) + R2 = vin R2 R1 + R2 + 1 C1 + R2C2 C1 + R2R1C2 = vin 1 1 + R1 R2 + C2 C1 + R1C2 + 1 R2C1 β() = 1 1 + R1 R2 + C2 C1 + R1C2 + 1 R2C1

The oscillation condition states that harmonic oscillation occurs if Aloop() = () = 1 for one specific finite non-zero ω = ωosc:

Aloop(jωosc) = A 1 + R1 R2 + C2 C1 + jωoscR1C2 + 1 jωoscR2C1 = 1 (9.2)

Equating the loop transfer to 1 yields two expression/conditions because the loop gain is complex (with a real part and a complex part that both yield one equation). The oscillation frequency ωosc follows from equating the total loop transfer to be real (with a zero complex part). The required voltage amplifier gain A follows from equating the loop gain magnitude to 1 at ω = ωosc. For the Wien bridge oscillator:

Im ( A 1 + R1 R2 + C2 C1 + jωR1C2 + 1 jωR2C1 ) = 0 ωosc Re ( A 1 + R1 R2 + C2 C1 + jωoscR1C2 + 1 jωoscR2C1 ) = 1 A

Assuming a real valued amplifier gain A, the numerator of the loop gain for this specific circuit is real valued. To get a real valued loop gain, then also the denominator of the loop gain must be real valued. Being a complex number for this specific circuit, the upper condition can then be rewritten into

Im (1 + R1 R2 + C2 C1 + jωoscR1C2 + 1 jωoscR2C1 ) = 0 jωoscR1C2 + 1 jωoscR2C1 = 0 ωosc = 1 R1R2C1C2 (9.3)

after which the Re (...) = 1 condition — at ω = ωosc — can be solved, yielding

A = 1 + R1 R2 + C2 C1(unity loop gain magnitude at ωosc) (9.4)

This Wien bridge oscillator circuit will hence oscillate harmonically at the (radian) frequency given in (9.3) with amplifier gain as given in (9.4).

In the derivation shown above, no attempt was made to (re)write the loop transfer into a standard form. Although rewriting does not change anything with respect to the result, the derivation would be a little different. A nice thing about rewriting into a standard form is that a Bode graph is readily constructed. The loop gain in (9.2) can be rewritten into

Aloop() = A R2C1 1 + (1 + R1 R2 + C2 C1 ) R2C1 + j2ω2R1R2C1C2 1 (9.5)

The ωosc follows from making Aloop() a real value. Noting that the numerator now (due to rewriting) is imaginary, this corresponds to setting the real part of the denominator to zero. yielding (9.3). For this specific ωosc, the required amplifier gain is then readily obtained as (9.4). Assuming that R1 = R2 and that C1 = C2 for simplicity reasons, the resulting loop gain as a function of frequency, yielding oscillation at ω = ωosc, is then

Aloop() = 3ωosc 1 + 3ωosc + j2ω2ωosc2

The Bode plot of this loop gain Aloop() is shown in Figure 9.4, where ω0 = 1RC.

pict
Figure 9.4: Bode plot of the loop gain of the wien bridge oscillator

The corresponding polar plot of the loop gain Aloop() is shown below. In this polar plot, both the direction along the curve, for increasing ω and a few relevant (radian) frequencies are indicated.

pict
Figure 9.5: Polar of the loop gain of the wien bridge oscillator.

9.3.2 Alternative Wien bridge oscillator configurations

Figure 9.6 shows a few alternative oscillator circuits using a variant of the “Wien bridge circuit”. All of these are combinations of a high-pass and a low-pass configuration to get zero phase shift at the oscillation frequency.

pict
Figure 9.6: Alternatives for the Wien bridge circuit

More variants can be constructed, especially if also inductors are included. Similar oscillators with feedback to both the inverting and non-inverting input of the amplifier can also be constructed. The approach to get any circuit to oscillate is however the same: derive the loop gain, equate that to unity for one single finite and non-zero frequency. Equating yields 2 equation, where setting the loop gain to a real value yields/sets the oscillation frequency and thereafter setting the magnitude of the loop gain at the oscillation frequency to unity sets the required gain factor for the amplifier.

9.3.3 Three-stage (low pass) phase-shift oscillator

Harmonic oscillators that use the inverting amplifier configuration shown in Figure 9.2a are usually so-called phase-shift oscillators. For these oscillators the total loop transfer Aloop() equals unity at one specific finite and non-zero oscillation frequency. Splitting the oscillator into a forward and feedback gain (again: not necessary as only the total loop gain is important!):

Three stage low pass phase shift oscillator

The simplest form of an oscillator circuit conform the setup in Figure 9.2a is given in Figure 9.7. This circuit schematic includes an inverting amplifier and a frequency dependent part consisting of 3 first order low pass RC sections. For this frequency dependent part, the phase shift decreases monotonically with increasing frequency, from 0 at DC to 270 at infinitely high frequencies. Using an inverting amplifier, the phase shift of the loop gain varies monotonically between 180 at DC to 90 across frequencies and hence there is one frequency for which the phase shift is 0.

pict
Figure 9.7: RC-phase-shift oscillator circuit

The general transfer function of the circuit in Figure 9.7 cannot be easily derived, since all components influence each other. The calculations are less cumbersome if we assume the RC-members not to influence each other (which is not true in general!). A requirement for this assumption is R3 >> R2 >> R1 and C3 << C2 << C1. If we then choose R3C3 = R2C2 = R1C1 = RC, then the loop gain is:

Aloop() A (1 + jωRC)3 = A 1 + 3jωRC 3ω2R2C2 jω3R3C3
(9.6)

To operate as harmonic oscillator, this loop gain must equal (the complex number) 1 for only one frequency. Setting Aloop() to a real value yields the oscillation frequency. Noting that the numerator of Aloop() is real, in (9.6) this implies that the denominator at harmonic oscillation also must be real, which is the case for ωosc as given by:

1 + 3jωRC 3ω2R2C2 jω3R3C3 = real 3jωRC = jω3R3C3 ω = ωosc = 3 RC

At ω = ω0, Aloop = A8 from which it follows that for stable oscillation the amplifier must have gain A = 8. Note that the amplifier is used in an inverting configuration.

The Bode plot of this loop gain is shown in Figure 9.8, where ω0 = 1RC.

pict
Figure 9.8: Bode plot of the loop gain of the (3 stage) phase shift oscillator

The polar plot of the loop gain for this circuit is given in Figure 9.9. Note that this polar plot can (relatively) easily be constructed from the Bode plot of Aloop() by picking a few sets of |Aloop()| and Aloop() and plotting these along with a smooth connecting curve in a polar plane.

pict

Figure 9.9: Polar plot of the loop gain of the 3-stage phase shift oscillator.

If all 3 resistors have the same value and all the capacitors have the same value, the derivation of oscillation frequency is quite a lot more work. This is because the third RC-section loads the second, that loads the first RC-section. After some work, you can derive that the loop gain equation then is

Aloop() = A 1 + 6jωRC 5ω2R2C2 jω3R3C3

which yields ωosc = 6 RC and A = 29.

9.3.4 Alternative implementation of the three stage low pass phase shift oscillator

The oscillator described in the previous section was easy to analyze under assumption that the RC-sections do not (significantly) load each other. That condition was satisfied for R3 >> R2 >> R1 and C3 << C2 << C1. One way to ensure that RC-sections actually do not load each other is using (ideal) voltage buffers between each RC-section:

pict
Figure 9.10: A distributed RC-phase-shift oscillator

Assuming R3C3 = R2C2 = R1C1 = RC, the loop gain of this circuit is

Aloop() = A3 ( 1 1 + jωRC )3

The analysis or dimensioning to get harmonic oscillation can be executed the exact same way as for the previously analyzed 3-stage phase shift oscillator.: writing out Aloop() and equating that to (a complex) 1. Another way is to explicitly leverage the symmetry in the circuit.

The circuit schematic in Figure 9.10 consists of 3 identical parts, that individually consist of an amplifier and an RC-low pass section. For harmonic oscillation,

Aloop(jωosc) = 1 Aloop(jωosc) = N 360 |Aloop(jωosc)| = 1

This translates into the following condition, for harmonic oscillation, for each individual section:

Asection(jωosc) = N 120 (9.7) |Asection(jωosc)| = 13 (9.8)

Using an arbitrary amplifier with a positive or negative real voltage gain, and noting that the phase shift of a single first order low pass section is 0 Asection() 90, possible solutions for (9.7) and (9.8) are

Note that the “harmonic oscillator” with 3 low pass RC sections and positive amplifier gain “oscillates” at ω = 0: it yields a DC value. This is usually not regarded as harmonic oscillation. The variant with a negative voltage gain A can oscillate at a finite non-zero frequency, for which the (per section) voltage gain is A = 1 + 3 = 2. Being essentially the same harmonic oscillator as in the previous section, the Bode graph and polar plot for the circuit in Fig. 9.10 are also given in Figure 9.8 respectively in Figure 9.9

9.3.5 Three stage phase shift oscillator with high pass sections

The 3-stage relaxation oscillators above were implemented with low pass RC-sections. Implementing them with high-pass sections yields the following circuit:

pict
Figure 9.11: A 3-stage RC-phase-shift oscillator with high pass sections

Assuming A >0
Assuming a real valued positive voltage gain A, and assuming that the RC-sections do not load each other, the loop gain is

Aloop() = A ( jωRC 1 + jωRC )3

Defining ω0 = 1RC, the Bode plot of this loop gain is shown in Figure 9.12. It can be seen that the phase condition for harmonic oscillation — Aloop(jωosc) = N 360 — can only be obtained for ω which is not regarded as an oscillation frequency. Therefore this specific circuit does not implement a harmonic oscillator.

pict
Figure 9.12: The Bode plot of a 3-stage HPF phase shift oscillator with A > 0.

Assuming A <0
Assuming a real value negative amplifier gain A and ignoring loading effects of the three RC section (for simplicity reasons), the corresponding Bode plot is shown in Figure 9.13. The phase condition for the loop gain yields at the oscillation frequency

Aloop(jωosc) = N 360 3 ∠RC + ∠A = N 360 3 ∠RC = N 360 + 180 ∠RC = N 120 + 60

For a single first order high pass RC section, the phase shift is between + 90 and 0. From this is can be concluded that the only possible solution for harmonic oscillation is for a phase shift per RC section equal to + 60. This phase shift occurs for ωosc = 13RC. To get |Aloop(jωosc)| = 1 the gain of the amplifier then needs to be A = 8.

pict
Figure 9.13: The Bode plot of Aloop() of a 3-stage HPF phase shift oscillator with A < 0.

The polar plot of the loop gain for this circuit is given in Figure 9.14.

pict
Figure 9.14: Polar plot of Aloop() of a 3-stage HPF phase shift oscillator with A < 0.

9.3.6 More-than-three stage low pass phase shift oscillator (negative gain)

RC phase shift oscillators with more than 3 stages can be realized. In this section a number of designs are treated briefly. Let’s first assume that N low pass sections are used that do not load each other significantly. This can be accomplished by e.g. including voltage buffers between RC-sections or by significantly scaling up the impedance of consecutive RC-sections. Assuming an amplifier with a real negative gain and leveraging the symmetry in the circuit it can readily be derived that:

Figure 9.15 shows the polar plots for phase shift oscillators with 3, 4, 5 and 6 low-pass sections. On the left the full polar plot is shown while a zoomed in version is shown on the right hand side. As all circuits are designed to be harmonic oscillators, all curves cross the (1,0) point. Note that each Aloop() curve rotates N 90 for 0 ω .

pict

Figure 9.15: Polar plot of the loop gain of N-stage phase shift oscillators with low-pass sections, for N = 3, N = 4, N = 5 and N = 6, amplifier with negative gain
9.3.7 More-than-three stage low pass phase shift oscillator (positive gain)

In the previous section, some RC phase shift oscillators with more than 3 stages having amplifiers with negative gain were treated briefly. This specific section shows some ins and outs for low-pass RC phase shift oscillators with positive gain amplifiers.

Let’s first assume that N low pass sections are used that do not load each other significantly. This can be accomplished by e.g. including voltage buffers between RC-sections as shown in e.g. Figure 9.10 or by significantly scaling up the impedance of consecutive RC-sections as assumed in section 9.3.3. Assuming an amplifier with a real positive gain and leveraging the symmetry in the circuit it can readily be derived that:

pict
Figure 9.16: Polar plot of the loop gain of a 5-stage phase shift oscillators with low-pass sections, amplifier with A = 355. Right hand side plot is a zoomed in part of the full Aloop() curve.

9.4 Where and how to derive the loop gain - part 1

To analyze a harmonic oscillator (and possibly to dimension that circuit to operate as you want it to operate), an equation for the loop gain of the circuit must be derived. For this, you have to open the loop somewhere, apply an input signal and get the “output signal” of that opened loop.

pict
Figure 9.17: A distributed RC-phase-shift oscillator - loop opened for loop gain derivations.

For circuits having an ideal voltage amplifier it may be natural to cut the loop directly in front or directly after the amplifier. From a fundamental point of view, opening the loop and injecting a sine and deriving a proper loop gain requires that:

Cutting the loop somewhere in the frequency dependent part of the oscillator circuit schematic (in Figure 9.17 the part in the greyed region) would change impedance levels and therefore would not yield a valid loop gain derivation. For example cutting the loop just after R1 would omit frequency dependency of the combination of R1 and C1 and would change impedance levels “seen” by the rest of the RC-network as compared to that in the closed loop configuration.

Noting that an ideal voltage amplifier is an ideal two port block consisting of an ideal voltage input port and a voltage controlled voltage source, a generalized guideline is that a loop can safely be opened (for loop gain derivation purposes) inside such an ideal controlled two port component. Then the following configuration is obtained, where the voltage controlled voltage source is driven by vin and the input signal to this amplifier is vin, that are equal in the original closed loop configuration

pict
Figure 9.18: A distributed RC-phase-shift oscillator - loop opened inside the (ideal two-port controlled) voltage amplifier for loop gain derivations.

9.5 Startup issues

The oscillation condition Aloop(jωosc) = 1 only gives information on the frequency of the oscillator and conditions for the required gain in the circuit. At Aloop(jωosc) = 1 a sine at ω = ωosc is sustained indefinitely: the amplitude does not grow, nor does the sine die out. Example signals somewhere in an arbitrary harmonic oscillator that oscillates at 10 kHz are shown in Figure 9.19. Both signals are perfectly fine signals at the same node. The two signals differ in signal amplitude by a factor 10.

pict
Figure 9.19: The voltage at an arbitrary node in an harmonic oscillator; a) with |Aloop(jωosc)| = 1 at V x = 1 and b) with |Aloop(jωosc)| = 1 at V x = 0.1.

The oscillation condition does not state anything on how the system will start to oscillate nor on the oscillation amplitude. It only states that any signal at the oscillation frequency remains unchanged forever at its initial amplitude. From here, a interesting question arises:

Forcing or designing for a specific oscillation amplitude can be done leveraging the properties of stability (rephrases for harmonic oscillators:

Whereas the constant amplitudes are illustrated in Figure 9.19, the changing amplitudes are illustrated in Figure 9.20.

pict
Figure 9.20: The voltage at an arbitrary node in an harmonic oscillator; a) with |Aloop(jωosc)| > 1 and b) with |Aloop(jωosc)| < 1.

These three types of behavior are used to obtain oscillation at a specific (target) amplitude by ensuring |Aloop(jωosc| = 1 at the target amplitude and having a (slightly) higher or lower loop gain magnitude at respectively a lower and higher amplitude. Three examples of suitable (magnitude of) loopgain at the oscillation frequency are given in Figure 9.21. Note that this does assume a non-zero initial signal in the oscillator; this is addressed in section 9.8.

pict
Figure 9.21: Example |Aloop(jωosc)|(V osc) to achieve a specified oscillation amplitude V osc (here about V target); right hand side graph is a zoomed in version of left hand side graph.

Gain-amplitude curves (1) and (2) in Figure 9.21 can be used both on the signal amplitude V osc and (a bit ugly) on the momentary signal value vosc(t). If a signal’s amplitude is used to control the loop gain, then a proper estimator for that amplitude is required. This can be e.g. using a peak detector (assuming a sinusoidal signal), using signal power, using a Fourier transform, ... This is worked out a little in §9.6. Working on a momentary signal vosc(t), all curves implement to some degree (soft or hard) clipping which necessarily distorts the signal(s). Some examples of clipping types of amplitude control are shown in §9.7

9.6 Amplitude control using the actual amplitude

An amplitude-dependent gain can be created in a number of ways. Obviously, for every implementation, some kind of amplitude estimator is required. That amplitude information must then be used to control the (amplifier’s) gain in the oscillator circuit. An example is given below, assuming a Wien bridge oscillator. Implementing the amplifier as a non-inverting opamp configuration as discussed in section 7.2.1, adjusting gain A can be done by adapting resistor R3 or R4 in its feedback path. If enough power is dissipated in R3 or R4 to cause amplitude-dependent heating, these resistors may be implemented as Positive Temperature Coefficient (PTC) resistor or as Negative Temperature Coefficient (NTC) resistor respectively. The resistance of a PTC resistor increases with temperature. Implementing R3 with a PTC resistor and designing such that a signal amplitude translates in heating the PTC effectively implements an amplitude stabilizing feedback. Implementing R4 as an NTC resistor does the same.

pict
Figure 9.22: Automatic Gain Control (a) using a wien bridge oscillator as example (b) implementing the amplifier with an opamp in non-inverting voltage amplifier configuration.

There are many other ways to implement a tunable voltage gain, including making the bias current of the amplifier (or an amplifier stage) dependent on V osc and thereby implementing gains that result in loop gains similar to those in Figure 9.21, curves (1) or (2).

9.7 Amplitude control using clipping

Whereas amplitude control that actually uses amplitude information is the proper way, and yields the most clean signal, it does require a proper estimation of the amplitude and requires a proper way to tune a (linear) gain. A more crude way is to soft or hard limit (clip) a signal. Neglecting some other effects, clipping lowers and limits the harmonic content of the signal at ωosc which effectively lowers the loop gain.

This is illustrated for the loopgain-amplitude curves in Figure 9.21.

9.8 Initial signal at about the oscillation frequency

In a harmonic oscillator, a larger-than-unity loop gain takes care of increasing signal amplitudes. To actually get oscillation, a non-zero initial amplitude at (or close to) the oscillation frequency. This initial amplitude can be ensured in a number of ways: