0
\$\begingroup\$

I have implemented the below Hartley oscillator in LTspice for analysis before implementation. Later, it was implemented on a circuit board.

I see it oscillating in LTspice at the calculated frequency of where it should be, 1/2·π·sqrt(LC).

On a circuit board, I see it oscillating at about 40 kHz higher, I recall it being 578 kHz or so.

I am fine with its frequency.

When implemented and powered up, I watch the developed waveform on my oscilloscope. The waveform moves around and its amplitude varies more than in LTspice. The frequency seems constant, but the waveform, while looking sinusoidal, is moving up/down and varying in amplitude.

What is going wrong with this and how can I fix it?

I thought Hartley oscillators should have a constant amplitude?

I remember doing an experiment with a crystal oscillator and noting that the waveform was locked in and super steady.

The LC waveform from the below circuit, when implemented, almost seems unusable. It varies too much that makes triggering on a rising edge highlight its movement.

I saw an earlier question where someone mentioned that unless the inductors had very high q, it might not even oscillate. There was also mention of the collector output needing to be high-impedance and tapping the output might also kill oscillations.

My circuit oscillates, but not acceptably.

What could cause this and where can I learn more about the drivers of its variability?

I am hoping to see a constant/rock solid amplitude and frequency.

EDITED SCHEMATIC

enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ Your description sounds like this oscillator is squegging. Try setting a high-enough trigger level to just barely catch a peak, and slow down oscilloscope sweep speed - do you see the oscillator start for a bit, then go idle for a longer time before it starts up again? \$\endgroup\$
    – glen_geek
    Commented Jan 1, 2023 at 19:37
  • \$\begingroup\$ Check the ib current. It is "weird". Note need for a delta step time of 1ns. \$\endgroup\$
    – Antonio51
    Commented Jan 1, 2023 at 22:13
  • \$\begingroup\$ @glen_geek What is "squegging"? Google translate says nothing about this word. This oscillator is a "pulse" oscillator, as I see. The two 100 nF are part of the "oscillatory" system. \$\endgroup\$
    – Antonio51
    Commented Jan 2, 2023 at 9:11
  • \$\begingroup\$ @Antonio51 In oscillators, it is usually where bias is altered by large-amplitude swings of voltage or current that excite transistor junctions. Oscillations build up at the desired frequency, then die-back toward zero, before recovering. Wikipedia has an entry. OP's LTspice oscillator is amplitude-stable, but near the edge. Reducing C4 to 10nf from 100nf aids its amplitude stability. \$\endgroup\$
    – glen_geek
    Commented Jan 2, 2023 at 13:05

4 Answers 4

1
\$\begingroup\$

What is going wrong with this and how can I fix it? I thought Hartley oscillators should have a constant amplitude?

There is nothing in the basic Hartley oscillator circuit that defines the output amplitude. Same story for Colpitts too. What will tend to keep the amplitude somewhat stable are non-linearities in the transistor leading to slight sinewave distortion at one end and clipping at the other extreme. Resistor component values can mitigate this but, it'll never be anything close to a true sinewave.

Your schematic also has R1 unconnected for some reason.

\$\endgroup\$
1
  • \$\begingroup\$ R1 connects to V1. Not sure how that got cut. I will correct the schematic . \$\endgroup\$ Commented Jan 1, 2023 at 19:46
1
\$\begingroup\$

Generally, changing a "little" one-value component doesn't change the behavior of a classic oscillator. Just the frequency is "slipping".

Look at this: changing 100 nF to 300 nF (whatever is R3=500 or 1500 Ohm).

enter image description here

\$\endgroup\$
0
\$\begingroup\$

I have since figured out what was wrong. The emitter resistor needed to be lower. When I lowered it from 1500 to 100 Ohms, the output became perfect.

\$\endgroup\$
0
\$\begingroup\$

"I am hoping to see a constant/rock solid amplitude and frequency."

Each working oscillator needs a loop gain>1 which allows a safe start of oscillations (for small amplitudes at switch-on at t=0). Therefore, the amplitudes would increase until they are limited (clipped) at the power supply rail - unless the amplitudes are "softly" limited because of some non-linearities within the circuit.

Sometimes, such non-linearities are part of the design (diodes, for example) and sometimes the inherent non-linearities of the active device are exploited. But it is not possible to exactly determine the amplitudes which can reduce the loop gain to the value required by the oscillation condition (unity loop gain).

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.