PWM TPS

Discussion and Support for MoTeC's M1 series ECUs

PWM TPS

Postby greenamex2 on Wed Sep 12, 2018 1:18 am

Hi

Not sure if this really an enhancement request but thought I would highlight it.

For a PWM ouptut throttle position sensor the current GPA firmware is fixed at a "100%" value of 5ms. Assuming using the full range of a cycle this equates to a frequency of 200Hz.

So far most of the throttle position sensors I have found are well in excess of this. For example the Curtis Wright sensorss are 244Hz (OK, this one is pretty close!), 500Hz and 1000Hz and the Vishay 981 sensor is 1000Hz.

For example, if you use a 1000Hz the maximum pulse duration would be 1ms, or one fifth of the 5ms assumed for 100% Add in the fact that you are incredible unlikely to even hit 1ms, or have 0ms as 0% throttle opening, you are possibly beginning to restrict resolution.

In short...any chance of making the 100% duration configurable? Would improve compatibility with more sensors.
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Re: PWM TPS

Postby Stephen Dean on Wed Sep 12, 2018 12:39 pm

Hi,

The Vishay TPS uses PWM at 1khz to encode its position location information, ranging between 10% and 90% DC. The M1 can best decode this by measuring Duty Cycle, not Pulse Width.

An example of setting this up would be as follows;

Sensor wired to UDig8

Throttle Pedal Sensor Main Resource - UDig8 Hybrid B
Throttle Pedal Sensor Main Digital Decode Resource - Universal Digital Input 8
Throttle Pedal Sensor Main Digital Decode Type - Frequency

As per the help for the Throttle Pedal Sensor Main Digital Decode Type, selecting the Frequency B Resource reports a Normalised Duty Cycle.
Udig.png
Udig.png (32.48 KiB) Viewed 13577 times


The M1 UDig input timing can resolve this duty cycle to a very high resolution regardless of the frequency.
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: PWM TPS

Postby greenamex2 on Wed Sep 12, 2018 6:41 pm

Thanks

Any tips on the Curtis Wright sensors, although I suspect that would be the same?
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Re: PWM TPS

Postby Stephen Dean on Thu Sep 13, 2018 9:57 am

Most likely the same, but I haven't been able to find any definitive information on their signals yet.
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: PWM TPS

Postby greenamex2 on Fri Sep 14, 2018 7:36 am

From the product catalog -

Capture1.JPG
Electrical characteristics
Capture1.JPG (23.92 KiB) Viewed 13531 times
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Re: PWM TPS

Postby greenamex2 on Fri Sep 14, 2018 7:37 am

And -

Capture2.JPG
PWM graphs
Capture2.JPG (26.12 KiB) Viewed 13531 times
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Re: PWM TPS

Postby Stephen Dean on Fri Sep 14, 2018 9:24 am

Similar setup for that throttle as well, where you would measure the pulse width for the position data.
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: PWM TPS

Postby David Ferguson on Fri Sep 14, 2018 10:31 am

I think you mean set the decode type to Frequency, and the Duty Cycle measurement (Hybrid B) will have the position data.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1378
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: PWM TPS

Postby greenamex2 on Fri Sep 14, 2018 5:38 pm

Thanks, I'll give it a go once I have machined the pedal rest and report back.

Thought I had tried the combination before, probably just got confused!

Thanks for the help.
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Re: PWM TPS

Postby greenamex2 on Sun Sep 16, 2018 5:27 am

That has doubled the resolution. That will do for now.

Thanks for the help.
Motec CDL3+M130+LTCD+MDD+PDM15+PDM16M+ESDL3
Nissan VQ30DE fitted to an AM Sportscars EX2 with a Hewland HP 2000
greenamex2
 
Posts: 367
Joined: Fri Sep 12, 2014 7:06 am
Location: England

Next

Return to M1 ECUs

Who is online

Users browsing this forum: No registered users and 5 guests