Featured Post

Beogram Commander Remote Control: Maybe This is the Final Version!..;-)

This is a follow up to my recent post about the redesigned Beogram Commander remote control board, which now works in both (DC-motor) Beogr...

Thursday, June 2, 2022

Beogram 4000: Choppily Rotating AC Platter Motor - Repair of Wien-Bridge Oscillator Circuit

The Beogram 4000 that I am currently restoring is a unit that 'keeps giving'!...;-). After restoring its tampered with sensor arm insert, I had to realize that this unit also had a defunct oscillator circuit for driving the AC platter motor. This was a first for me. So far there were never issues with this circuit in neither AC motor 4002s nor 4000s. Although I always wondered how long the light bulbs would last that are in charge of the 'automatic gain control' (AGC) of this circuit. Since the bulbs do not light up when the motor runs, I had high hopes that they would last much longer than bulbs that are in charge of lighting something up. The lower operational temperature should make the bulbs last for a long time. But not in this Beogram. I guess there are still mechanical vibrations etc, especially during shipping, that can damage these bulbs.

Anyway, the way I realized that there was an issue was that the platter motor ran 'choppily', i.e. the rotation was not smooth and I could visibly see a step-like, intermittent motion.

I hooked up the oscilloscope to the test point between the coupling capacitor and the phase shift capacitor of the motor (as defined in the manual for checking the motor signal). A sine wave is to be expected at this point when everything is working normally. Not in this case:

This looked more like a square wave than a sine! The next step was checking the signal at the output of the Wien oscillator at the collector of TR8:
This looked pretty similar, i.e. the issue had to be located in the oscillator. Strange signals at the motor capacitor can also be seen if one of the transistors of the push-pull stage is dead, i.e. this measurement was a necessary next step.
Ok...this meant a new and exciting territory of my Beogram 4000 explorations had been 'entered'! I never worked on the oscillator so far. So the first step was understanding how it really works. I poked around a bit on the internet and there are many resources, but often not very satisfying. Understanding oscillators can be a bit tricky, especially if you do not like to just believe mathematical deductions and 'electrical engineering lingo' wisecracks by experts who spend most of their time in complex number space. A pretty decent discussion can be found in an application note by Ron Mancini, a Senior Application Specialist at Texas Instruments. While he also tends to use EE lingo, he also throws in some useful morsels for the less initiated. 

Here is my interpretation of the Wien Bridge Oscillator subject:

After reading up a bit I made my own simulation in iCircuit. Before diving into the confusing circuit diagram of the actual two-transistor design of the Beogram 4000, it is helpful first studying the modern opamp based version of the circuit. It is much easier to understand. The operational principles are exactly the same as those employed in the Beogram circuit. Here we go:

Let's first remember the basic properties of an idealized opamp: 1) It is a differential amplifier that amplifies the difference in signals on + and - inputs. 2) Its gain is infinite without a feedback loop. This means that without feedback the output will be driven into the + or - voltage rail with only the smallest voltage difference between the inputs. 3) It is infinitely fast, i.e. the output reacts instantaneously to changes at the inputs.
So what is hooked up to the inputs of the opamp in the above 'Wien bridge' configuration? We see a standard feedback voltage divider hooked up to the "-" input comprised of RF and RG that basically gives this opamp a non-inverting gain of slightly larger than 3 (if RG were 1k then the gain would be exactly 3). 
On the "+" input we have a bandpass filter configuration (comprised of 1.2k resistors and 10uF capacitors in my example) arranged in a series and a parallel way. This filter can be considered simply as another voltage divider between the serial and the parallel sections, albeit one that is frequency dependent. 
I simulated the filter in LTspice that I was able to see a frequency sweep of the divider point between the serial and parallel legs:


I read off the diagram that the peak of the curve is at 12.5 Hz for the R and C values shown in the above circuit. The amplitude is at about -9.5dB, which corresponds to a 3:1 ratio between input and output (at divider point) voltages (dB=20log(Vout/Vin)). We also see that the phase shift at this point (dotted faint curve) is 0, i.e. the signal is in phase with the RF/RG divider. This means that for the peak frequency, this filter behaves like the exact opposite of the RF/RG gain voltage divider. 
In other words, at the peak frequency the opamp circuit is fed with 1/3 of the output signal at the + input, while the RF/RG feedback makes sure that it is amplified back to the original output voltage with a gain of 3. So we have a circuit that has a total gain of slightly larger than one (due to the 990Ohm value of RG). 

Here it is important to realize that at all other frequencies above or below the peak frequency this circuit has a gain of less than 1, i.e. any signal will die down to 0 if not stimulated externally somehow. The only signal that can 'survive on its own' in this circuit is one that has the peak frequency, hence we have a circuit that can only contain a signal at the peak frequency. In other words we have a precision oscillator that runs at a an exact frequency defined only by the R and C values in the filter circuit. Perfect for driving a synchronous motor at a fixed frequency!

How do the oscillations get started?

However: How does the oscillation get started? At the beginning, when the system turns on, there is 0V at the output of the opamp, i.e. both inputs are also at 0V, the other possible steady state of this circuit outside the RC defined oscillation. No signal is also a signal! 
Luckily, there is Johnson (thermal) noise in any circuit. This means there is a very small signal at the output of the opamp, even absent any input signal. Unfortunately, since the circuit has at best a gain of 1, such a small signal cannot be amplified into something bigger! 
And that is why this circuit needs to be designed with a slightly larger than 1 'best case gain'. This is achieved by the 990Ohm resistor (instead of 1k) in the circuit above. This causes the circuit to filter out any noise oscillations from the Johnson noise that are in the vicinity of the peak frequency, and to amplify them!
This amplification process will stop when the amplitude of the oscillation reaches the rail voltages of the opamp, where the gain will go below 1 for any signal. In the simulation above (yellow is the output signal) this 'end point' is 60Vp-p since I setup the opamp with a ±30V supply. 

The problem with the 'set it to a gain larger than 1' approach is that the band of frequencies that can be amplified broadens the more the gain goes above 1. In the above Spice simulation, the response of the RF/RG voltage divider would be a horizontal line, that would tangentially touch the top of the RC curve. As the gain of the opamp increases above 1 the line would not tangentially touch anymore, but rather 'slice' through the top of the curve. The two cutting points would define the frequency range that could be amplified.
In a nutshell this means that the output signal of the oscillator would contain no longer a single frequency, but rather a range of them around the peak frequency. This in turn would result in a distortion of the sine wave coming out of the oscillator.
So how do we go about if we want an oscillator that can start up easily without taking too much time, while having a nice undistorted 'pure' sine wave at the output when the signal is steady state?

Automatic Gain Control (AGC) for easy startup of the oscillator while maintaining a narrow frequency spectrum at the output:

The answer to this question is to make the RF/RG divider in a way that its gain depends on the output voltage, i.e. that for small signals it has a gain larger than one, and for the desired voltage of the output signal a gain as close as possible to one, but still slightly larger to account for 'worst case manufacturing outcomes', i.e. to compensate for component tolerances to make sure every oscillator will work.
The classic way (and therefore in the early 1970s design Beogram 4000) for AGC has been to use a small lightbulb for RG. Lightbulbs have the fortuitous property that their resistance depends proportionally on the temperature of the filament, which in turn depends on the current through the bulb or the voltage applied to it. This is perfect for our oscillator issue: When the signal is small the bulb will have its smallest resistance, i.e. the gain of the opamp will be highest. Once the voltage at the output goes up the temperature of the filament increases and so does the resistance. 
If the lightbulb and RF are selected matchingly a precise oscillator can be designed that also has good start-up properties.

Discussion of the transistor based oscillator circuit in the Beogram 4000:

A glance at the circuit diagram in the Beogram 4000 manual shows that there is no opamp in the design. The oscillator rather uses two transistors for amplification. The diagram from the 4000 manual is not very clear for understanding the circuit topology. I recreated it in iCircuit in a more streamlined form without the complicated 33/45 switchover circuits and the relay etc:

Ignore for now the 6 diodes on the left side. They take over the ACG action from the light bulb. More about this below.
The rest of the circuit reveals the same two voltage dividers like I showed above on the opamp inputs (all given component numbers refer to the 33 RPM setting): The band pass filter is composed of R8/R9/4VR1 and C4, and R121/VR1 and C1.  4VR1 is the 33 RPM trimmer in the keypad cluster, and 1VR1 is the 33 trimmer on the circuit board.
The RF/RB divider is composed of R8 and IL1 (the light bulb replacing RB for AGC purposes). I replaced the bulb with a trimmer in the circuit so I would be able to play with the resistance value while the simulation was running. I ended up setting the trimmer to ~50 Ohms for a speedy startup of the circuit. The simulation curves correlate in color with the ones shown above for the opamp model. Note that they were generated with the diodes in place. So, what are the diodes doing for us in this circuit?

Automatic Gain Control (AGC) with clamping diodes:

The I-V curve of a silicon diode shows that the forward current is very low until the voltage gets close to 0.6-0.7V. This is the voltage at which the p-n junction becomes conductive as the electrons gain enough energy to overcome the p-n junction's built-in potential barrier. Basically, putting a diode in parallel to a resistor lets the resistor do its thing below 0.6-0.7V, and above it progressively reduces the resistance of the circuit. Sort of like what the light-bulb does, but in reverse. And much less linearly. After all a diode is a semiconductor device and not a resistor!
If you put N diodes in series across a resistor then the resistor can be a resistor over a voltage range that spans ~N*0.6-0.7V, i.e. about ~2V if one uses 3 diodes like I did in the above circuit. Putting a second set of diodes with reversed polarity across the resistor makes the setup compatible with both current directions, which is the case in an oscillator.
The action of the clamping diodes can be observed in the simulation curves: Vp-p of the filter output (red trace) is 1.9V. 
Let's see what happens if I take the diodes out of the circuit (by opening the switch that I designed into the circuit:

It is obvious that the Vp-p of the output increased to 8.13V (vs. the gain limited 5.77V of the previous simulation). In conjunction we also see that the voltages at the inputs are now higher at 2.6V. Note that the 8.13V are a result of having R19 in the circuit which limits the current that can go into the oscillator, i.e. the voltage balance relative to the 24V supply drops across R19. This means the oscillator went to the rail at its output, similar to the opamp circuit, which made use of its entire 60V range.
The most significant difference between the simulation with diode clamps and without, however, is the shape of the waves: The diode-clamped circuit has much more sine-like waves compared to the unclamped circuit, and therein lies the benefit of the AGC: Instead of brutally being cutoff at the voltage rail, the gain is more smoothly regulated down to below 1 when the diodes kick in with their I-V curve, which is steep, but not a step. Steps have the unhappy property that the frequency space of the signal gets populated with an infinite range of frequencies that distort the signal.

Bottom line: It is possible to replace the light bulb in the Beogram 4000 Wien bridge oscillator with a ~50-55 Ohm resistor and 6 diodes

Maybe one more point: Why is the diode clamp on the RF (R18) resistor and not on the resistor that replaces the bulb? That comes from the fact that the resistance across the diodes drops as the voltage goes up, while that of a light bulb goes up under the same condition. In order to get a gain reduction at high voltages we need to put the ACG feature on the other resistor in the feedback divider for a gain reduction at higher voltages.

Implementation of the fix in the Beogram 4000:

Let's see what happens when the rubber hits the road:

I removed the bulb:

A measurement of its resistance yielded 24 Ohms. This baffled me since I expected the bulb would be shot. However, when I hooked it up to my bench supply and gave it some volts, it briefly lit up and then went dark. I was able to repeat this a couple times and then the bulb was done. So I think it was 'intermittent', i.e. the filament disconnected under load and then reconnected as it cooled down. This may well explain the measured curves since a disconnecting filament would limit the gain like a switch.

On to implementing the fix: I took six 1N4004 diodes and built the clamping circuit

And then soldered it across R18 on the PCB. 
I replaced the bulb with a 100 Ohm trimmer:
After some trial and error (by watching the amplitudes of the motor voltages for 33 and 45 RPM) I ended up having to set the trimmer to 54 Ohm to get stable operation for both RPM. 
One particularity of the Beogram 4000 oscillator circuit is that it has two RPM trimmers per speed. One in the keypad, that is user accessible and one on the PCB for setting the canonical RPM. A glance in the circuit diagram shows that the keypad trimmer corresponds to the R in the serial RC leg of the filter, while the PCB trimmer affects the R in the parallel RC leg. This is a problem for the oscillator, since it only has 0 degree phase shift when both RC legs have the same values. This means that in adjustable oscillator designs the two resistances are typically set by a double gang potentiometer, i.e. they are changed in tandem, keeping the oscillator in phase. If that is not the case, the gain of the oscillator needs to be set a bit 'stiffer', i.e. higher to guarantee that the oscillator will work in all situations. I learned this the hard way, when I adjusted everything perfectly for 33 RPM, and then tested 45 RPM the motor died down due to a too small oscillator amplitude. Only after reducing the trimmer resistance a couple Ohms the system started firing on all cylinders.

These are the motor voltage signals that I was able to achieve:

This is 33 RPM
and this 45:
All nice and good so far, but the ultimate test of any modification of the platter drive is to do a 24 hrs RPM test with the BeoloverRPM device. It allows logging the RPM in 10s intervals for extended periods of time:
The read trace is the one I measured:
For comparison I added the blue trace that was measured on a Beogram 4000 that I restored a while ago, and that still has the original bulb setup under the hood. Both curves look pretty comparable, both in their overall RPM stability and their short term RPM variations.
It seems this Wien bridge oscillator is back in business! On to finishing up this lovely Beogram 4000!




No comments:

Post a Comment

Comments and suggestions are welcome!