8 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 indefinitely48 ; 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 circuits49 .

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.

8.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 8.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 Ο‰ = Ο‰π‘œπ‘ π‘. Originally the Nyquist factor is defined as A(π‘—πœ”)Ξ²(π‘—πœ”), for a negative feedback to (hence) the inverting input of the amplifier as shown in Figure 8.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Β 8.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 8.1a, is

H(π‘—πœ”) = vπ‘œπ‘’π‘‘ v𝑖𝑛 = 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 8.1a is zero. The transfer for that frequency then goes to infinity:

A(jΟ‰0) β‹… Ξ²1(jΟ‰0) = βˆ’1 β‡’ H(jΟ‰0) = vπ‘œπ‘’π‘‘ v𝑖𝑛 = 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 8.1b, it can readily be derived that the closed loop gain is

H(π‘—πœ”) = vπ‘œπ‘’π‘‘ v𝑖𝑛 = βˆ’ 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) = vπ‘œπ‘’π‘‘ v𝑖𝑛 = 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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = 1 for one specific frequency. For that reason, in this chapter, typically the loop gain Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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.

8.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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”). 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 ≑ Ο‰ Eπ‘‘π‘œπ‘‘π‘Žπ‘™ Pπ‘‘π‘–π‘ π‘ π‘–π‘π‘Žπ‘‘π‘–π‘œπ‘›βˆ’π‘π‘’π‘Ÿπ‘–π‘œπ‘‘

where the Eπ‘‘π‘œπ‘‘π‘Žπ‘™ term is the total energy within the oscillator and Pπ‘‘π‘–π‘ π‘ π‘–π‘π‘Žπ‘‘π‘–π‘œπ‘›βˆ’π‘π‘’π‘Ÿπ‘–π‘œπ‘‘ 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 ≑ Ο‰ Eπ‘‘π‘œπ‘‘π‘Žπ‘™ βˆ’Ξ”Eπ‘π‘’π‘Ÿπ‘–π‘œπ‘‘ Tπ‘π‘’π‘Ÿπ‘–π‘œπ‘‘ = 2Ο€ Eπ‘‘π‘œπ‘‘π‘Žπ‘™ |Ξ”Eπ‘π‘’π‘Ÿπ‘–π‘œπ‘‘| (8.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 9.

8.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 8.2.

pict
FigureΒ 8.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 8.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.

8.3.1 Wien bridge oscillator

A well known implementation of a harmonic oscillator which uses the principle of Figure 8.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 8.3 and originates from bridge measurement equipment.

pict
FigureΒ 8.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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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 8.3 is then:

Ξ²(π‘—πœ”) = Ξ²π‘œπ‘’π‘‘ β𝑖𝑛 vπ‘œπ‘’π‘‘ = v𝑖𝑛 β‹… (ZR2βˆ•βˆ•ZC2) (ZR1 + ZC1) + (ZR2βˆ•βˆ•ZC2) = v𝑖𝑛 β‹… R2β‹… 1 π‘—πœ”C2 R2+ 1 π‘—πœ”C2 R1 + 1 π‘—πœ”C1 + R2β‹… 1 π‘—πœ”C2 R2+ 1 π‘—πœ”C2 = v𝑖𝑛 β‹… R2 1+π‘—πœ”R2C2 R1 + 1 π‘—πœ”C1 + R2 1+π‘—πœ”R2C2 = v𝑖𝑛 β‹… R2 (R1 + 1 π‘—πœ”C1 ) β‹…(1 + π‘—πœ”R2C2) + R2 = v𝑖𝑛 β‹… R2 R1 + R2 + 1 π‘—πœ”C1 + R2C2 C1 + π‘—πœ”R2R1C2 = v𝑖𝑛 β‹… 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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = 𝐴𝛽(π‘—πœ”) = 1 for one specific finite non-zero Ο‰ = Ο‰π‘œπ‘ π‘:

Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = A 1 + R1 R2 + C2 C1 + jΟ‰π‘œπ‘ π‘R1C2 + 1 jΟ‰π‘œπ‘ π‘R2C1 = 1 (8.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 Ο‰π‘œπ‘ π‘ 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 Ο‰ = Ο‰π‘œπ‘ π‘. For the Wien bridge oscillator:

πΌπ‘š ( A 1 + R1 R2 + C2 C1 + jΟ‰R1C2 + 1 jΟ‰R2C1 ) = 0 β‡’ Ο‰π‘œπ‘ π‘ 𝑅𝑒 ( A 1 + R1 R2 + C2 C1 + jΟ‰π‘œπ‘ π‘R1C2 + 1 jΟ‰π‘œπ‘ π‘R2C1 ) = 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Ο‰π‘œπ‘ π‘R1C2 + 1 jΟ‰π‘œπ‘ π‘R2C1 ) = 0 β‡’ jΟ‰π‘œπ‘ π‘R1C2 + 1 jΟ‰π‘œπ‘ π‘R2C1 = 0 β‡’ Ο‰π‘œπ‘ π‘ = 1 R1R2C1C2 (8.3)

after which the Re ⁑ (...) = 1 condition β€” at Ο‰ = Ο‰π‘œπ‘ π‘ β€” can be solved, yielding

A = 1 + R1 R2 + C2 C1(unityΒ loopΒ gainΒ magnitudeΒ atΒ Ο‰π‘œπ‘ π‘) (8.4)

This Wien bridge oscillator circuit will hence oscillate harmonically at the (radian) frequency given in (8.3) with amplifier gain as given in (8.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 (8.2) can be rewritten into

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = A β‹… π‘—πœ”R2C1 1 + (1 + R1 R2 + C2 C1 ) β‹…π‘—πœ”R2C1 + j2Ο‰2R1R2C1C2 ≑1 (8.5)

The Ο‰π‘œπ‘ π‘ follows from making Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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 (8.3). For this specific Ο‰π‘œπ‘ π‘, the required amplifier gain is then readily obtained as (8.4). Assuming that R1 = R2 and that C1 = C2 for simplicity reasons, the resulting loop gain as a function of frequency, yielding oscillation at Ο‰ = Ο‰π‘œπ‘ π‘, is then

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = 3π‘—πœ”βˆ•Ο‰π‘œπ‘ π‘ 1 + 3π‘—πœ”βˆ•Ο‰π‘œπ‘ π‘ + j2Ο‰2βˆ•Ο‰π‘œπ‘ π‘2

The Bode plot of this loop gain Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) is shown in Figure 8.4, where Ο‰0 = 1βˆ•π‘…πΆ.

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

The corresponding polar plot of the loop gain Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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Β 8.5: Polar of the loop gain of the wien bridge oscillator.

8.3.2 Alternative Wien bridge oscillator configurations

Figure 8.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Β 8.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.

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

Harmonic oscillators that use the inverting amplifier configuration shown in Figure 8.2a are usually so-called phase-shift oscillators. For these oscillators the total loop transfer Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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 8.2a is given in Figure 8.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Β 8.7: RC-phase-shift oscillator circuit

The general transfer function of the circuit in Figure 8.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 = 𝑅𝐢, then the loop gain is:

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) β‰ˆ βˆ’ A (1 + π‘—πœ”π‘…πΆ)3 = βˆ’ A 1 + 3π‘—πœ”π‘…πΆ βˆ’ 3Ο‰2R2C2 βˆ’ jΟ‰3R3C3 (8.6)

To operate as harmonic oscillator, this loop gain must equal (the complex number) 1 for only one frequency. Setting Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) to a real value yields the oscillation frequency. Noting that the numerator of Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) is real, in (8.6) this implies that the denominator at harmonic oscillation also must be real, which is the case for Ο‰π‘œπ‘ π‘ as given by:

1 + 3π‘—πœ”π‘…πΆ βˆ’ 3Ο‰2R2C2 βˆ’ jΟ‰3R3C3 = real β‡’ 3π‘—πœ”π‘…πΆ = jΟ‰3R3C3 β‡’ Ο‰ = Ο‰π‘œπ‘ π‘ = 3 𝑅𝐢

At Ο‰ = Ο‰0, Aπ‘™π‘œπ‘œπ‘ = Aβˆ•8 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 8.8, where Ο‰0 = 1βˆ•π‘…πΆ.

pict
FigureΒ 8.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 8.9. Note that this polar plot can (relatively) easily be constructed from the Bode plot of Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) by picking a few sets of |Aπ‘™π‘œπ‘œπ‘(π‘—πœ”)| and ∠Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) and plotting these along with a smooth connecting curve in a polar plane.

pict

FigureΒ 8.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

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = βˆ’A 1 + 6π‘—πœ”π‘…πΆ βˆ’5Ο‰2R2C2 βˆ’jΟ‰3R3C3

which yields Ο‰π‘œπ‘ π‘ = 6 𝑅𝐢 and A = 29.

8.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Β 8.10: A distributed RC-phase-shift oscillator

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

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = A3 β‹…( 1 1 + π‘—πœ”π‘…πΆ )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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) and equating that to (a complex) 1. Another way is to explicitly leverage the symmetry in the circuit.

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

Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = 1⟹ ∠Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = N β‹… 360∘ |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| = 1

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

∠Aπ‘ π‘’π‘π‘‘π‘–π‘œπ‘›(jΟ‰π‘œπ‘ π‘) = N β‹… 120∘ (8.7) |Aπ‘ π‘’π‘π‘‘π‘–π‘œπ‘›(jΟ‰π‘œπ‘ π‘)| = 13 (8.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 β‰€βˆ Aπ‘ π‘’π‘π‘‘π‘–π‘œπ‘›(π‘—πœ”) β‰€βˆ’90∘, possible solutions for (8.7) and (8.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. 8.10 are also given in Figure 8.8 respectively in Figure 8.9

8.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Β 8.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

Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) = A β‹…( π‘—πœ”π‘…πΆ 1 + π‘—πœ”π‘…πΆ )3

Defining Ο‰0 = 1βˆ•π‘…πΆ, the Bode plot of this loop gain is shown in Figure 8.12. It can be seen that the phase condition for harmonic oscillation β€” ∠Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = 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Β 8.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 8.13. The phase condition for the loop gain yields at the oscillation frequency

∠Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = N β‹… 360∘ 3 β‹…βˆ π‘…πΆ + ∠𝐴 = N β‹… 360βˆ˜β‡’ 3 β‹…βˆ π‘…πΆ = N β‹… 360∘ + 180βˆ˜β‡’ βˆ π‘…πΆ = 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 Ο‰π‘œπ‘ π‘ = 1βˆ•3𝑅𝐢. To get |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| = 1 the gain of the amplifier then needs to be A = βˆ’8.

pict
FigureΒ 8.13: The Bode plot of Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) 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 8.14.

pict
FigureΒ 8.14: Polar plot of Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) of a 3-stage HPF phase shift oscillator with A < 0.

8.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 8.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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) curve rotates N β‹…βˆ’90∘ for 0 ≀ Ο‰ β‰€βˆž.

pict

FigureΒ 8.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
8.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 8.10 or by significantly scaling up the impedance of consecutive RC-sections as assumed in section 8.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Β 8.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 Aπ‘™π‘œπ‘œπ‘(π‘—πœ”) curve.

8.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Β 8.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 8.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 𝑅𝐢-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 v𝑖𝑛 and the input signal to this amplifier is v𝑖𝑛′, that are equal in the original closed loop configuration

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

8.5 Startup issues

The oscillation condition Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = 1 only gives information on the frequency of the oscillator and conditions for the required gain in the circuit. At Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘) = 1 a sine at Ο‰ = Ο‰π‘œπ‘ π‘ 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 8.19. Both signals are perfectly fine signals at the same node. The two signals differ in signal amplitude by a factor 10.

pict
FigureΒ 8.19: The voltage at an arbitrary node in an harmonic oscillator; a) with |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| = 1 at V x = 1 and b) with |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| = 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 8.19, the changing amplitudes are illustrated in Figure 8.20.

pict
FigureΒ 8.20: The voltage at an arbitrary node in an harmonic oscillator; a) with |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| > 1 and b) with |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)| < 1.

These three types of behavior are used to obtain oscillation at a specific (target) amplitude by ensuring |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘| = 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 8.21. Note that this does assume a non-zero initial signal in the oscillator; this is addressed in section 8.8.

pict
FigureΒ 8.21: Example |Aπ‘™π‘œπ‘œπ‘(jΟ‰π‘œπ‘ π‘)|(V π‘œπ‘ π‘) to achieve a specified oscillation amplitude V π‘œπ‘ π‘ (here about V π‘‘π‘Žπ‘Ÿπ‘”π‘’π‘‘); right hand side graph is a zoomed in version of left hand side graph.

Gain-amplitude curves (1) and (2) in Figure 8.21 can be used both on the signal amplitude V π‘œπ‘ π‘ and (a bit ugly) on the momentary signal value vπ‘œπ‘ π‘(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 Β§8.6. Working on a momentary signal vπ‘œπ‘ π‘(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 Β§8.7

8.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Β 8.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 π‘œπ‘ π‘ and thereby implementing gains that result in loop gains similar to those in Figure 8.21, curves (1) or (2).

8.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 Ο‰π‘œπ‘ π‘ which effectively lowers the loop gain.

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

8.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:

8.9 Trivial extension to low-Q oscillators using transconductors

All harmonic oscillators discussed so far in this chapter were built around an ideal voltage amplifier: a block with a frequency-independent voltage gain A, an infinite input impedance and a zero output impedance. At higher frequencies, and almost always in integrated circuits, the natural active building block is however not a voltage amplifier but a transconductor, drawn as the gm-block in the circuits below. A transconductor implements a voltage-controlled current source (VCCS) with as element equation

iπ‘”π‘š = gm β‹… v𝑖𝑛,

with β€” ideally β€” an infinite input and output impedance. Switching to this building block seems to require a complete redo of all the loop-gain derivations. It does not: the step from a voltage amplifier to a transconductor is nothing more than a ThΓ©venin–Norton transformation, and all results of the previous sections carry over unchanged.

ThΓ©venin–Norton equivalence. With the ThΓ©venin–Norton equivalence, a voltage source that delivers a voltage V with series impedance Z is equivalent to a current source delivering a current I = Vβˆ•Z with a parallel impedance Z. The easiest way is however to assume resistive-only impedances. This latter equivalence is depicted in Figure 8.23: a voltage source Av𝑖𝑛 in series with an impedance R is (seen from its output terminals) equivalent to a current source Avπ‘–π‘›βˆ•R in parallel with that same impedance R. This equivalence also holds with voltage-controlled sources, e.g. with a voltage amplifier and a transconductor.

pict
FigureΒ 8.23: The ThΓ©venin–Norton equivalence for an active stage: (a) a voltage amplifier with gain ab and a series output resistance R is equivalent to (b) a voltage-controlled current source (transconductor) with a parallel loading resistance R.

Consequently, in oscillators that include a voltage amplifier with a series R, these two can conveniently be replaced by a transconductance with a parallel R.

A transconductor can implement a voltage amplifier with Rπ‘œπ‘’π‘‘. As derived for common drain circuits and common collector configurations, a transconductor in (negative) feedback configuration behaves as a voltage source with an output resistance rπ‘œπ‘’π‘‘ = 1βˆ•gm. In schematic this yields the following equivalence, where (left) the transconductance is represented by its (trapezoidal) circuit symbol. To avoid confusion about the current direction, iπ‘”π‘š is explicitly shown.

pict
FigureΒ 8.24: (a) A transconductor with its output connected back to its inverting input behaves as (b) a voltage amplifier with a series output resistance 1βˆ•gm. For voltage gain av > 1, a fraction 1βˆ•av must be fed back in (a).

Consequences for the oscillators. With the above explained equivalency, we can simply replace an ideal voltage amplifier with series resistor by a transconductor that is either in a feedback configuration or that has a shunt resistor. The loop gain then keeps exactly the same form as before under the substitution Av + R β†’ gm + π‘“π‘’π‘’π‘‘π‘π‘Žπ‘π‘˜ respectively Av + Rπ‘ π‘’π‘Ÿπ‘–π‘’π‘  β†’ gm + R𝑠h𝑒𝑛𝑑. As a result the oscillation frequency β€” fixed by the frequency-dependent network and not by the amplifier β€” is essentially unchanged, and only the amplitude and start-up condition is reinterpreted. Note that with transconductors in feedback configuration, the equivalent voltage gain is positive.

As a first example, Figure 8.25 redraws the Wien bridge oscillator of Figure 8.3 with a transconductor. Because the transconductor delivers a current, the resistor R1 is now placed as a shunt at the transconductor output node. Via the total feedback networks (R1, C1, R2 and C2) the frequency-selective feedback to the non-inverting input is implemented. The oscillation condition is obtained exactly as before β€” equate the loop gain to unity for one finite, non-zero frequency β€” now with gmR1 in place of A.

pict
FigureΒ 8.25: The Wien bridge oscillator of Figure 8.3, redrawn with a transconductor and shunt R1

As next example, the distributed three-stage phase-shift oscillator in Figure 8.10 can be morphed into the transconductor version of Figure 8.26. Each transconductor now drives only a shunt capacitor. The transconductor with negative feedback implements the (positive) voltage gain with output resistance R = 1βˆ•gm. The three identical gm–C stages behave exactly as the original three buffered RC-stages do. Note that an extra inverting amplifier is required for oscillation at a non-zero frequency51 .

pict
FigureΒ 8.26: The distributed three-stage phase-shift oscillator of Figure 8.10 as a gm–C circuit. The transconductors with negative feedback implement a voltage buffer with output resistor R = 1βˆ•π‘”π‘š. An extra inverting amplifier is required for oscillation.