Cruise Control Exit Resource

Discussion and Support for MoTeC's M1 series ECUs

Cruise Control Exit Resource

Postby rayhall on Mon Dec 13, 2021 5:33 pm

I want to set the clutch state as the rescore for the exit for Cruise Control. I do not have a clutch switch as it was very unreliable so I fitted a clutch pressure sensor, so I could set the pressure the ECU ECU could see if it was pressed.
Everything like launch control and traction control knew to look for the clutch state without me having to tell it wh. The cruise control is too lazy to look for it. How to tell the dumb thing to look at clutch state. Badly written' code I think.
Ray.
rayhall
 
Posts: 108
Joined: Fri Jul 15, 2011 7:54 am

Re: Cruise Control Exit Resource

Postby Stephen Dean on Tue Dec 14, 2021 8:53 am

Hi Ray,

The coding for the Cruise Control has been done to replicate that of an OEM level Cruise Control system (it was written by a person that did the Cruise Control system for a major OEM) hence it has more requirements that have to be met to ensure reliability and safety.

One of these requirements is to have multiple switches for the Cruise Exit functionality. As this has to work with both Manual and Automatic gearbox equipped vehicles, it is not possible to hard code into the Firmware to use Clutch State as one of these Resources, as this would then not work correctly on an Automatic vehicle. In an Automatic vehicle, you need to wire in a separate, independent, Brake Switch to provide this redundancy.

To use an existing Clutch Switch for the Exit Switch, you can allocate the Resource to Firmware 31, this is an internally transmitted channel that will report the Clutch State to the Cruise Control Module. The setting for using this Resource are;

Pullup Control - On
Active Edge - Rising Edge
Threshold - 2.0V
Hysteresis - 0.5V
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1717
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Cruise Control Exit Resource

Postby rayhall on Tue Dec 14, 2021 10:01 am

Stephen,
Thank you but I do not have clutch switch . I have a pressure transducer in the clutch pressure line and connected to a analog volt input as a pressure sensor. I then set the pressure threshold to the pressure I considered was me intentionally pressing the clutch pedal. I will try your suggestion and see if it is happy with that.
Ray.
rayhall
 
Posts: 108
Joined: Fri Jul 15, 2011 7:54 am

Re: Cruise Control Exit Resource

Postby rayhall on Tue Dec 14, 2021 10:24 am

Firmware 31 dose not help
I get a communications timeout error
Attachments
CruiseControl Settings.png
CruiseControl Settings.png (49.81 KiB) Viewed 4626 times
rayhall
 
Posts: 108
Joined: Fri Jul 15, 2011 7:54 am

Re: Cruise Control Exit Resource

Postby Stephen Dean on Tue Dec 14, 2021 11:13 am

Hi Ray,

Set the Clutch Pressure Sensor Resource to Firmware 31, and move the input that was used for Clutch Pressure Sensor Resource to the Cruise Exit Switch Resource.

Cruise Control setup.PNG
Cruise Control setup.PNG (46.34 KiB) Viewed 4620 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1717
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Cruise Control Exit Resource

Postby rayhall on Tue Dec 14, 2021 11:31 am

Stephen,
Brad when on line to my laptop and set it all up and checked it all works.
Thank you.
Ray.
rayhall
 
Posts: 108
Joined: Fri Jul 15, 2011 7:54 am


Return to M1 ECUs

Who is online

Users browsing this forum: Bing [Bot] and 25 guests