Stabilising Gear position Voltage on C125

D153, D175, C125, C127, C185 and C187 forum

Stabilising Gear position Voltage on C125

Postby mikepurse on Sat Feb 04, 2023 10:14 am

Hi all and sorry if it’s been asked before but…

I have a gear position sensor going into my pdm input, and can’d to my C125 for gear position. Problem I’m having is my gear display sometimes flicks between gears. Is there away to smooth out the input?
mikepurse
 
Posts: 6
Joined: Fri Feb 03, 2023 10:37 pm

Re: Stabilising Gear position Voltage on C125

Postby Stephen Dean on Mon Feb 06, 2023 11:24 am

Hi,

Is this a MoTeC PDM or a different brand of PDM? The Inputs on the MoTeC PDM are not designed for inputs like a Gear Position sensor.

Are you sending the voltage signal from the sensor over CAN, or the calculated position? Is the signal stable in the PDM?
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1706
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Stabilising Gear position Voltage on C125

Postby mikepurse on Tue Feb 07, 2023 1:26 am

Hi Stephen,
It's a Motec PDM30. And its just outputing input voltage on to CAN. Signal in PDM fluctuates very slightly by 0.05-0.1v which is whats causing the issue.

We will be rewiring the car to send the gear position and stick load sensor direct to ECU for better flat shift control but at the moment just wanted the gear display to play ball...
mikepurse
 
Posts: 6
Joined: Fri Feb 03, 2023 10:37 pm

Re: Stabilising Gear position Voltage on C125

Postby Stephen Dean on Tue Feb 07, 2023 9:03 am

If you have the C125 to report the gear position based on the voltage that the Gear Position Sensor is putting out for each gear, then you will have this issue if there is some fluctuation in the voltages. The solution to this is to induce some hysteresis into the positions configured in the C125. For example, if the Gear Position Sensor is reading first as 0.5V, second as 1.25V and third as 2V, I would set the voltages for each of these positions in the C125 as 0.75V, 1.5V and 2.25V. By doing this, whenever the voltage is within the specified range (0.0 to 0.75V is first, 0.75V to 1.25V for second, etc.) then that gear will be shown.

This also applies to multi position switches as well.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1706
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Stabilising Gear position Voltage on C125

Postby SOReilly on Tue Feb 07, 2023 9:24 am

Hi Mike,

Can you upload your Dash config file so we can investigate this further?
SOReilly
MoTeC
 
Posts: 85
Joined: Wed May 04, 2022 12:28 pm
Location: Melbourne

Re: Stabilising Gear position Voltage on C125

Postby NathanB on Wed Feb 08, 2023 9:40 am

mikepurse wrote:Hi Stephen,
It's a Motec PDM30. And its just outputing input voltage on to CAN. Signal in PDM fluctuates very slightly by 0.05-0.1v which is whats causing the issue.


Hi Mike,

If you refer to to the input specifications in the PDM user manual, you will see that the PDM inputs have an 8 bit AD converter, which paired with the input range of the pin, gives the input pins a 0.2V resolution.

PDM input specifications.jpg
PDM input specifications.jpg (70.52 KiB) Viewed 13768 times


This lines up with your voltage fluctuation. Anything you attempt as a fix is just going to be a bandaid solution. The only way to correctly rectify the situation is to wire the gear position sensor to a suitable input (not of the PDM).
NathanB
MoTeC
 
Posts: 207
Joined: Thu Oct 15, 2020 1:50 pm

Re: Stabilising Gear position Voltage on C125

Postby mikepurse on Tue Feb 14, 2023 9:11 pm

Thanks for the replys guys. I think Nathan has nailed it, so will rewire direct to Life Ecu and send it to dash.
mikepurse
 
Posts: 6
Joined: Fri Feb 03, 2023 10:37 pm


Return to Colour displays

Who is online

Users browsing this forum: No registered users and 25 guests