Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 43,017
Default PWM to analogue

I've fitted a new fuel injection system (MegaSquirt) to the old car - the
original was analogue and rather crude.

It's working well but has an interesting side effect. There is an OBC
which calculates fuel consumption etc which is now wildly out. It works
by counting the time one injector is open to give the fuel usage. The
MegaSquirt uses PWM with flyback current limiting to drive the injectors
which I'd guess confuses it.

Any ideas on the best way to convert those pulses into a suitable signal?

--
*If a pig loses its voice, is it disgruntled?

Dave Plowman London SW
To e-mail, change noise into sound.
  #2   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 3,833
Default PWM to analogue

I've fitted a new fuel injection system (MegaSquirt) to the old car - the
original was analogue and rather crude.


It's working well but has an interesting side effect. There is an OBC
which calculates fuel consumption etc which is now wildly out. It works
by counting the time one injector is open to give the fuel usage. The
MegaSquirt uses PWM with flyback current limiting to drive the injectors
which I'd guess confuses it.


Any ideas on the best way to convert those pulses into a suitable signal?


What kind of a signal do you need, or think you need? What would be
suitable?


  #3   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 1,001
Default PWM to analogue

Dave Plowman (News) wrote:

I've fitted a new fuel injection system (MegaSquirt) to the old car - the
original was analogue and rather crude.

It's working well but has an interesting side effect. There is an OBC
which calculates fuel consumption etc which is now wildly out. It works
by counting the time one injector is open to give the fuel usage. The
MegaSquirt uses PWM with flyback current limiting to drive the injectors
which I'd guess confuses it.

Any ideas on the best way to convert those pulses into a suitable signal?

Pass the signal through a SI diode, a small filter cap on the Cathode
side, and then, pass this signal to the input of a schmitt trigger
inverter, comparator, gate etc....

This will give you a nice square wave for the duration of the
PWM for the ECM to get a proper reading..

If you can't your hands on a schmitt trigger inverter/gate, you could
always use the Trigger and Threshold inputs of a 555 timer. Those will
give you a hysteresis window of 1/3 Vcc supply..


http://en.wikipedia.org/wiki/Schmitt_trigger

  #4   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 43,017
Default PWM to analogue

In article ,
William Sommerwerck wrote:
I've fitted a new fuel injection system (MegaSquirt) to the old car -
the original was analogue and rather crude.


It's working well but has an interesting side effect. There is an OBC
which calculates fuel consumption etc which is now wildly out. It
works by counting the time one injector is open to give the fuel
usage. The MegaSquirt uses PWM with flyback current limiting to drive
the injectors which I'd guess confuses it.


Any ideas on the best way to convert those pulses into a suitable
signal?


What kind of a signal do you need, or think you need? What would be
suitable?


The original setup just applied a pulse of DC to the injector for the
required time. In other words, the amount of fuel was regulated by the
length of the pulse.

--
*Organized Crime Is Alive And Well; It's Called Auto Insurance. *

Dave Plowman London SW
To e-mail, change noise into sound.
  #5   Report Post  
Posted to sci.electronics.repair
external usenet poster
 
Posts: 43,017
Default PWM to analogue

In article ,
Jamie t wrote:
Pass the signal through a SI diode, a small filter cap on the Cathode
side, and then, pass this signal to the input of a schmitt trigger
inverter, comparator, gate etc....


This will give you a nice square wave for the duration of the
PWM for the ECM to get a proper reading..


If you can't your hands on a schmitt trigger inverter/gate, you could
always use the Trigger and Threshold inputs of a 555 timer. Those will
give you a hysteresis window of 1/3 Vcc supply..


Excellent, thanks. I'll give that a try.

--
*If God dropped acid, would he see people?

Dave Plowman London SW
To e-mail, change noise into sound.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PWM to analogue. Dave Plowman (News) UK diy 6 October 23rd 09 12:55 AM
Analogue Video to DTV Conversion ... Arfa Daily Electronics Repair 10 December 3rd 08 07:49 PM
TV recpetion - analogue Terry D[_2_] UK diy 8 November 19th 07 02:14 AM
Mini PLC with analogue input [email protected] UK diy 16 October 4th 06 07:30 PM
Old Sky analogue system. Bin it? Dark Angel UK diy 12 July 21st 05 12:55 PM


All times are GMT +1. The time now is 03:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"