That’ll teach me!

Cruise servo in place at the back of the tool trayHi all ….. a quick post about the cruise control and a word of caution!

I finally got the cruise control servo unit mounted into the tool-tray of the Capo today. A relatively straight forward job, requiring only a minor rework of one of the mounting lugs, a new bracket fabricating and a couple of holes drilled in the under-tray.

The old throttle cable was removed from the unit and a new 6mm Teflon lined sheath fitted ready to run forward to the throttle bodies. It fits a treat down the side of the two 30A fuses and there’s already a cut-out in the undertray for it to run through, talk about made for the job! I’ll refit the old in-line adjuster and look at routing it along the engine/throttle bodies next week. So far so good!!! 😀

And so everything had gone beautifully, with a final firm slap the rear seat was locked in place …………. Only to realise that the key would no longer release it! Yes the dreaded can’t-remove-the-rear-seat syndrome. My fault entirely, as I should have checked the cable-outer was secure at the latch when I put the luggage rack/deck back in place. So here for your info is how to sort out what seems a very daunting situation to be in. Others may have a different technique, but this one worked for me.

Firstly stop twisting the key harder and harder, while bashing the seat in a vein hope it will pop off ….. it won’t ….. The noise you can hear when you turn the key is simply the cable outer and spring moving – NOT the latch.

Secondly, remove the rear deck bolts (x4). Of course you may have to remove a topbox and associated mounting plate first – no one said it was going to be easy! Now grip the deck just above the rear light and lift, at the same time slide something like a ½” drive 12” extension into the gap to hold the deck up. You’ll need to get the extension right the way in, enough to expose the latch mechanism. With the mechanism visible, slide a flat bar or long screwdriver in and gently push on the tab where the cable end is visible – from the rear of the bike, push to the left. And you should hear a satisfying click as the seat pops up. Reseat the cable-outer, reassemble the bike and sink a cold beer, you’ve earned it!

What a muppet …. anyway, I hope you’ve learned a little something from my foolishness and don’t make the same mistake!

……. now to connect the servo unit to the throttles.

Finger on the pulse

Aprilia Caponord ETV1000 Rally-Raid. Speedometer pulse from the rear-wheel sensorWhile the wrist is healing nicely on light-duties and (thankfully) out of the heavy and restrictive cast, I’ve had a chance to play with the idea of an active cruise control for the Capo. An active system will adjust the throttle automatically to maintain a given speed even as the road rises and falls unlike a passive system which is nothing more than some form of throttle locking mechanism.

Arduino cruise control sketchThe system I’m thinking about will, when all parameters are met (speed, revs etc) lock onto the chosen speed when the ‘Set’ button is pressed. The microcontroller will then look at the error between the chosen speed and actual speed and adjust the throttle as neccessary to try and maintain the error at zero – this is done using PID (proportional-integral-derivative) in the controller. If cruise is stopped (operation of brake or clutch) or the PID error goes beyond a pre-determined maximum (high gear on a steep hill for example) the requested speed is stored and can be re-activated by pressing the ‘Res’ume button. And while in cruise, the speed can be adjusted in 1Kmh increments by using the same two buttons, now working as ‘Acc’elerate and ‘Dec’elerate. That’s the theory anyway!

Aprilia Caponord ETV1000 Rally-Raid. Opto-isolated and cleaned Speedometer input signalInputs

  • Power – 12v on/off switch
  • ‘Set/Acc’ &Resume/Dec’ buttons – 12v
  • Front and rear brake light switches – 12v
  • Clutch lever switch – 12v
  • Speedometer signal from the dashboard (output on pin 14 of the 16-pin connector) -12v square wave 85% duty cycle frequency modulated
  • Tachometer signal -12v square wave 50% duty cycle frequency modulated.

Honda GL1800 Cruise ServoOutputs

  • Two colour LED for power, cruise engaged & error codes – 5v
  • Motor drive signal – 5v PWM to motor control board.

To date the inputs and safety stuff has been written and from the tacho/speedo signals it’s calculating what gear the bike is in pretty quickly, but I’m sure it can be speeded up …… I just need to learn more programming! The operating parameters I’ve decided on are:

  • Cruise enabled between 50Kmh and 160Kmh (30mph – 100mph)
  • Cruise enabled between 2,750rpm and 6,000rpm but might change the lower limit to 3,250rpm in 6th gear
  • Cruise enabled in 4th, 5th and 6th gears only.

At the end of the day, I just want a system that will give my old worn out wrist a rest at motorway speeds on the run between Italy and the UK, taking into account the (very!) variable speed limits and ascents/decents especially through Switzerland. If it can do that I’ll be a very happy bunny indeed.

Of course this is all well and good, but I’ve got to get all the bits talking to each other first and make it robust enough for long-term and safe use on a motorbike ….. the problem is that in amongst all this enthusiasm my wrist still has a way of letting me know who’s really in control while swanning around on light duties!