NB8A:Frequency Divider for Tach input to AP60 Cruise Control
Posted: Tue Sep 29, 2015 10:12 am
Hi All,
I've managed to install an AP60 Cruise Control into my NB8A and get it working off the Tachometer Signal from the ECU.
The AP60 was designed to run off magnets attached to the tailshaft. I was more Electrical than Mechanical oriented, so I preferred to skip the magnets entirely and use the tachometer signal. The beauty of connecting straight to an RPM signal instead of a signal related to speed is that you don't necessarily need the clutch switch (since the cruise control is controlling RPM, not speed, so it shouldn't over-rev too much should you forget and push the clutch pedal when cruising)
The models that could hook straight into the tach signal were $200 more than the AP60, so I wanted to make a custom solution to integrate the AP60 with the tach signal.
The big problem is the AP60 cuts out cruise control at 5000 pulses per mile as a safety measure (this is after you cut the black wire). Normally with a single magnet on the mx5 tailshaft, you'll be fine.
But this won't work for the tachometer signal - assumming I want my cruise control to work up to 4000rpm, the IG- Tachometer signal will be a square wave running at 133Hz.
I've managed to estimate that the 5000 ppm roughly equates to a maximum pulse rate of roughly 100Hz.
So I've just made a frequency divider of 2 by using a D-flip flop. Attached is a circuit diagram of my actual design using JayCar parts:
Originally I was going to route my Tach Signal into the diagnostic port in the engine bay, but in the end I just spliced into the wires behind the dash instruments as it was easier to get to the IG, 12V, GND wires there.
This means that there is probably no need for the Schmitt Trigger anymore (since the ECU outputs a rather clean signal and I'm not passing a wire past the ignition leads), so you could probably just route the tach signal straight into the CLK of the D-flip-flop. You can even buy D-flip-flops with a schmitt trigger CLK, but Jaycars CMOS one's didn't have those.
The 6.8k Resistor is also optional - I left that there as part of a backup plan.
Please test your frequency divider circuit on bench using at least the diagnostic port output and a multimeter Hz counter (or a Function Generator and CRO if you have access to one). I made a few mistakes in my implementation on protoboard.
Some good resources for the actual AP60 install on the MX5 can be found by googling for the installation instructions for ShiftI (to locate the instrument panel wires), and also for installs of the AudioVox Cruise Control (A similar American product that uses a vacuum actuator of the same shape as the AP60 and the same mounting bracket)
If you end up trying an AP60 install yourself, and you have any questions - don't hesitate to ask.
Cheers,
Wilson
I've managed to install an AP60 Cruise Control into my NB8A and get it working off the Tachometer Signal from the ECU.
The AP60 was designed to run off magnets attached to the tailshaft. I was more Electrical than Mechanical oriented, so I preferred to skip the magnets entirely and use the tachometer signal. The beauty of connecting straight to an RPM signal instead of a signal related to speed is that you don't necessarily need the clutch switch (since the cruise control is controlling RPM, not speed, so it shouldn't over-rev too much should you forget and push the clutch pedal when cruising)
The models that could hook straight into the tach signal were $200 more than the AP60, so I wanted to make a custom solution to integrate the AP60 with the tach signal.
The big problem is the AP60 cuts out cruise control at 5000 pulses per mile as a safety measure (this is after you cut the black wire). Normally with a single magnet on the mx5 tailshaft, you'll be fine.
But this won't work for the tachometer signal - assumming I want my cruise control to work up to 4000rpm, the IG- Tachometer signal will be a square wave running at 133Hz.
I've managed to estimate that the 5000 ppm roughly equates to a maximum pulse rate of roughly 100Hz.
So I've just made a frequency divider of 2 by using a D-flip flop. Attached is a circuit diagram of my actual design using JayCar parts:
Originally I was going to route my Tach Signal into the diagnostic port in the engine bay, but in the end I just spliced into the wires behind the dash instruments as it was easier to get to the IG, 12V, GND wires there.
This means that there is probably no need for the Schmitt Trigger anymore (since the ECU outputs a rather clean signal and I'm not passing a wire past the ignition leads), so you could probably just route the tach signal straight into the CLK of the D-flip-flop. You can even buy D-flip-flops with a schmitt trigger CLK, but Jaycars CMOS one's didn't have those.
The 6.8k Resistor is also optional - I left that there as part of a backup plan.
Please test your frequency divider circuit on bench using at least the diagnostic port output and a multimeter Hz counter (or a Function Generator and CRO if you have access to one). I made a few mistakes in my implementation on protoboard.
Some good resources for the actual AP60 install on the MX5 can be found by googling for the installation instructions for ShiftI (to locate the instrument panel wires), and also for installs of the AudioVox Cruise Control (A similar American product that uses a vacuum actuator of the same shape as the AP60 and the same mounting bracket)
If you end up trying an AP60 install yourself, and you have any questions - don't hesitate to ask.
Cheers,
Wilson