by Tony » Sat Jan 19, 2008 12:19 am
O/k I now have something pretty well figured out, which now works well as a prototype in the electronics lab, but have yet to build it up properly in it's final form and actually run it on my dyno.
What follows is some basic philosophy and the reasons why it has been built the way it has. I have tried to keep it simple and in a form that others can copy or at least perhaps gain some ideas from. Circuit diagrams and parts lists will come later.
The first requirement is some type of digital pulsed output from the dyno shaft to measure shaft speed. How many pulses there are per revolution is not extremely critical, but more pulses per revolution will be better. There are many possible ways to go about doing this, but most modern dynos will already have something suitable fitted.
If you are starting completely from scratch, a slotted disc with optical pickup, or some type of magnetic pickup are the usual method. You can fabricate all this yourself or perhaps adapt a salvaged electronic ignition distributor or cam angle sensor to the task.
Some older style dynos used a tacho generator, which is just like a bicycle dynamo, the faster it goes the higher the output voltage. Not very good, so get rid of it, and fit a proper digital pulse pickup of some type.
So now we have a nice clean train of digital pulses, and we can work out the maximum and minimum output frequency from the maximum and minimum dyno operating rpm, and the number of slots (or teeth) easily enough.
The next requirement is an adjustable oscillator which we can set to the required dyno target running speed. This could take several forms.
The simplest is just a small box with a knob and internal oscillator chip that you adjust in the car to set roller speed for engine tuning. Or it could be something a lot more sophisticated generated by a fancy software program for doing automated sweep tests. But whatever it is, it just produces a specific set output frequency, which is the input command for our proposed closed loop dyno speed control system.
There are several advantages to directly locking the dyno to a reference frequency instead of some adjustable dc control voltage. Speed locking can be very precise, and it is also possible to exactly speed lock two separate dynos, as with four wheel drive. Exact precise digital frequencies are also very easy to generate and measure with computers and software. Direct digital speed control of our dyno opens up a lot of possibilities.
But it could also just as easily be a very simple low cost plastic box with a speed knob. At least, that is all I plan to have to start with.
So now we have our oscillator which determines the required target running speed as one digital signal, and the pulse output from our shaft which is what the dyno is actually doing as a second digital signal.
These two signals go into a low cost and rather clever digital frequency/phase comparator chip. (CD4046)
This chip has a few features, but we are only interested in the phase comparator part of it. The phase comparator produces an output capable of exactly phase locking the slots in the disc to the positive transitions of the maser oscillator signal. If the slots lead or lag by even a small fraction, this chip creates suitably narrow correction pulses to speed up or slow down the dyno.
If two separate dynos are being controlled together from one oscillator, the front and rear wheel rollers should become virtually electrically locked solid together with this system. But for just a single dyno, it potentially offers very sensitive and solid locking of dyno speed.
The output from our frequency/phase detector chip is a digital on/off signal which swings violently up and down, and produces some very rapid and nervous small corrections to the most minute errors detected at each and every every slot.
In any feedback system how much correction is applied, and how fast a correction is applied is extremely important.
Imagine trying to steer a car down the road that had no steering wheel, just a switch. You could select either full left lock, or full right lock, and it goes hard from lock to lock in a tenth of a second with no center ahead steering position. It would be undrivable even at walking speed.
So we need something to manage the very fast sensitive and violent "lock to lock" on/off digital corrections coming out of our CD4046 phase detector chip to control how much and how fast the dc supply power is fed into to our dyno power absorber, as is is varied up and down in mechanical load.
This is known as a PID controller. (proportional, integral, derivative) It is really just two resistors and a capacitor, and the values of these three components must be suitably adjusted (tuned) to give suitable control characteristics to the whole closed loop dyno speed control system. More on this later.
But what comes out of the PID controller is a varying dc control voltage that directly adjusts the power going into an eddy current absorber (or the water flow into a water brake). It is the tuning of this PID controller that determines how fast and stable the correction of any detected dyno speed errors will be.
This PID controller output voltage is what adjusts the amount of mechanical resistance of the dyno to engine torque, and ultimately holds the dyno to it's correct set running speed.
All the above is fairly straightforward control circuitry, but controlling the massive stored energy in a Telma eddy current retarder is not as simple as it first appears. And that is the next problem to tackle.
Also known as the infamous "Warpspeed" on some other Forums.