PWM water pump control

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Paul_VR6 wrote:Probably worth talking to Meziere. I remember them not recommending using pwm control on the smaller 20gph pumps.
This is the WP361 55GPM
FETspeed.jpg
Here's the new schematic with previously discussed components
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Comes on before any trigger signal .. as soon as the Fuel pump relay picks up? What did I do wrong ?
Day 2 circling the bowl
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: PWM water pump control

Post by racingmini_mtl »

If you're using the medium current outputs, you need to omit the TIP122 and the 330R resistor. The circuit on the MS3X already does the job. So simply connect the 39R resistor and the IRFZ46 gate (1) to the MS3X output.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

racingmini_mtl wrote:If you're using the medium current outputs, you need to omit the TIP122 and the 330R resistor. The circuit on the MS3X already does the job. So simply connect the 39R resistor and the IRFZ46 gate (1) to the MS3X output.

Jean
Does this look right?
FETspeed2.jpg
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: PWM water pump control

Post by racingmini_mtl »

Yes.
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Ok .. Now were getting some where.
Now it pulses with the settings in CAN-bus test modes/Output test mode-I/O.
Only hitch is as soon as I activate the fuel pump relay the pump comes on .. If I turn the pump on it goes off and when I turn it off the pump comes on .. But it does sllow when I increase the duty time and also changes speed with frequency ... THats progress
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: PWM water pump control

Post by racingmini_mtl »

This circuit inverts the output signal, so if the output is off, the pump is on and vice-versa. That means you will need to invert your output in your settings and how you do that will depend on how you control the pump in the MS3.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

I plan on using the Generic PWM. I can work with that .. I planned on having the pump run slow at startup, increasing speed as engine temperature increases. Ill have to invert my water pump dash indicator is all.
Thank you Jean this will help several people who want to accomplish pump control.
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Ok .. I'm not liking this inverted thing. Im having to invert the curve on generic pulse width settings. Is there a way to modify the circuit and/or use my IOx to remove the invert and get the frequencies the pump will be happy with .. The 250hz maximum using the ms3x is going to be hard on the pump.
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Would using a P channel mosfet on the high side instead of n channel mosfet on the low side stop the output from being inverted?
If so how would the circuit design need to be changed?
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: PWM water pump control

Post by jb007 »

dll67, I hope you don't mind me jumping in on your thread, but I think we both have similar issues.

After wrestling with my Morris Mini upgrade project today (see my Blog), I decided to test the two PWM O/P's I intend to use i.e. The fuel pump and pressure settings for a returnless fuel system and the generic PWM output A for a coolant fan control. Both using a Crydom D1D20 SSR that can handle up to 3,500Hz switching frequency. Well within the max that the ECU can do now (250Hz).

I bench tested using the JimStim, and used a 12V motor that pulls around 18W unloaded and the above SSR and bench power supply along with my DSO.

The PWM Fuel Pump & Pressure settings seem to work as intended. I might have to had to invert the O/P though, which It allows. Without a feed back element directly connected it's impossible to see if the the PID is working well. I used a spare pot on the JimStim to replicate the 30PSI fuel sensor I am using on the car. Anyway so good.

With the Generic PWM Output A, I had to invert my curves Duty Cycle, as there is no software facility to invert the O/P (I'm using FIDLE). Not a show stopper, but would be easier to read the right way around!

James, If your'e reading this, firstly is there any chance of a invert O/P option? Secondly can the switching frequency be upped at all, or is there a hardware limitation?
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

jb007 wrote:dll67, I hope you don't mind me jumping in on your thread, but I think we both have similar issues.

After wrestling with my Morris Mini upgrade project today (see my Blog), I decided to test the two PWM O/P's I intend to use i.e. The fuel pump and pressure settings for a returnless fuel system and the generic PWM output A for a coolant fan control. Both using a Crydom D1D20 SSR that can handle up to 3,500Hz switching frequency. Well within the max that the ECU can do now (250Hz).

I bench tested using the JimStim, and used a 12V motor that pulls around 18W unloaded and the above SSR and bench power supply along with my DSO.

The PWM Fuel Pump & Pressure settings seem to work as intended. I might have to had to invert the O/P though, which It allows. Without a feed back element directly connected it's impossible to see if the the PID is working well. I used a spare pot on the JimStim to replicate the 30PSI fuel sensor I am using on the car. Anyway so good.

With the Generic PWM Output A, I had to invert my curves Duty Cycle, as there is no software facility to invert the O/P (I'm using FIDLE). Not a show stopper, but would be easier to read the right way around!

James, If your'e reading this, firstly is there any chance of a invert O/P option? Secondly can the switching frequency be upped at all, or is there a hardware limitation?
Jim,
Yes we are .. Frequency .. 250hz .. That's a problem .. We both need more and it's been asked if we can get more .. I don't have the link too the thread where the question was asked. The answer was no. Might have since changed but probably not
Other option Jean has a pwm converter that will multiple the frequency or his I/o expander will also do the same thing a little different way. Both will easily get to the 500-1500hz we need.
As far as the inverted output .. It's causing me problems and headaches. I don't yet know a way tio invert it by software or hardware
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: PWM water pump control

Post by jb007 »

dll67 wrote:
jb007 wrote:dll67, I hope you don't mind me jumping in on your thread, but I think we both have similar issues.

After wrestling with my Morris Mini upgrade project today (see my Blog), I decided to test the two PWM O/P's I intend to use i.e. The fuel pump and pressure settings for a returnless fuel system and the generic PWM output A for a coolant fan control. Both using a Crydom D1D20 SSR that can handle up to 3,500Hz switching frequency. Well within the max that the ECU can do now (250Hz).

I bench tested using the JimStim, and used a 12V motor that pulls around 18W unloaded and the above SSR and bench power supply along with my DSO.

The PWM Fuel Pump & Pressure settings seem to work as intended. I might have to had to invert the O/P though, which It allows. Without a feed back element directly connected it's impossible to see if the the PID is working well. I used a spare pot on the JimStim to replicate the 30PSI fuel sensor I am using on the car. Anyway so good.

With the Generic PWM Output A, I had to invert my curves Duty Cycle, as there is no software facility to invert the O/P (I'm using FIDLE). Not a show stopper, but would be easier to read the right way around!

James, If your'e reading this, firstly is there any chance of a invert O/P option? Secondly can the switching frequency be upped at all, or is there a hardware limitation?
Jim,
Yes we are .. Frequency .. 250hz .. That's a problem .. We both need more and it's been asked if we can get more .. I don't have the link too the thread where the question was asked. The answer was no. Might have since changed but probably not
Other option Jean has a pwm converter that will multiple the frequency or his I/o expander will also do the same thing a little different way. Both will easily get to the 500-1500hz we need.
As far as the inverted output .. It's causing me problems and headaches. I don't yet know a way tio invert it by software or hardware
Mmmm I don't want to add more hardware at this late stage. I can get by by inverting my curve for the generic pwm o/p and use the inverted option for the fuel pump control.
It would be good to have the option of inversion for all the generic pwm o/p's.
I've been reading up on how to select the best PWM frequency for a DC motor, there seems to be so much debate about it! Some say low frequencies give a large dynamic range and low down torque... maybe 250Hz is OK. I'll find out when I fire up my car very soon! :roll:

Thanks, for your feedback... it's midnight here... time to sleep.

Jim
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

For when you wake ..
I've read with in regards to frequency .. Every motor likes something a little different. Symptoms noise and heat .. Detrimental affects .. Motor life and efficiency from high heat. Fuel pump inside a tank probably will cool the pump enough heat or noise won't be a big problem. External fuel pump .. Should be able to find a happy frequency for out much easier .. From reading .. most pumps fall into the 500-1500hz range. To low you get heat and to high you loose efficiency .. I'm guessing power to at the extremes
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Like Jim asked .. Inverting output .. Fuel pump outputs can how about the medium pwm outputs on the ms3x?
Frequency outputs .. Still limited to 250hz in the ms3?
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
jsmcortina
Site Admin
Posts: 39617
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: PWM water pump control

Post by jsmcortina »

dll67 wrote:Like Jim asked .. Inverting output .. Fuel pump outputs can how about the medium pwm outputs on the ms3x?
I'll have a think about it.
Frequency outputs .. Still limited to 250hz in the ms3?
Sure thing!

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: PWM water pump control

Post by jb007 »

Gooday.

You know, it sometimes pays to sleep on a problem, which is what I've done.

Last night I'd connected the PWM O/P to the +ve and Gnd to the -ve terminals of the SSR, and had to negate the signal in the Pump section and reverse the duty curve in the Generic PWM A section.

Doh!. All I had to do to fix this for both PWM's is hook the PWM to the -ve and +5V to the +ve terminals, bingo! All fixed now. :yeah!:

Of course this doesn't help you dll67, or others that have a MOSFET controller, so I would like if possible for the Generic Output's to have an invert O/P option if possible.

Hopefully next time I will be testing the Fuel PWM PID controller on the car, I've a bit of reading up on how to tune a PID controller... does anyone have a simple howto? :RTFM:

Cheers,

JIm
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: PWM water pump control

Post by jb007 »

Hi dll67. How did you go with the PWM etc? I was just wondering if you are still having trouble,as this thread has gone very quite! If your having trouble still have you thought of going the SSR route?

I'm very close to powering up my PWM returnless fuel system, maybe this Sunday, if not Tuesday or Wednesday.
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
dll67
Experienced MS/Extra'er
Posts: 315
Joined: Fri Aug 23, 2013 11:37 pm

Re: PWM water pump control

Post by dll67 »

Jim,
I finished the small circuit to switch the water pump and had it working through the ms3 but was un happy with the max 250hz. Now I'm using my iox board from Jean which has infinitely larger frequency options for controling the pump. Just working on hammering out the iox configuration.
Here's a link to the thread http://forum.jbperf.com/viewtopic.php?f ... 4&start=20
MS3PU/IOx/CAN-EGT/DBWx2 540ci BBC 325cc int runners (2)innovate LC2 wbo2's, Hilborn ITB injector cnvrtd to EFI, 55LB Inj, d585 coil near plg, 60-2 trg whl & cam ph snsr, Muncie 4spd w/10T VSS, Tilton 7.25" cerametalic cltch 8.5LB flywhl
jb007
Helpful MS/Extra'er
Posts: 139
Joined: Sat Dec 04, 2010 1:49 am
Location: Melbourne, Australia
Contact:

Re: PWM water pump control

Post by jb007 »

dll67 wrote:Jim,
I finished the small circuit to switch the water pump and had it working through the ms3 but was un happy with the max 250hz. Now I'm using my iox board from Jean which has infinitely larger frequency options for controling the pump. Just working on hammering out the iox configuration.
Here's a link to the thread http://forum.jbperf.com/viewtopic.php?f ... 4&start=20
Thanks for that. I looK forward to seeing it going just like I hope mine goes! Cross your fingers for me.
1968 Australian Morris Mini fitted with a 1310cc A+ engine
14point7 WB, TunerStudio MS Ultra & MegaLogViewer HD
My Blog: http://www.jims-blog.com
Post Reply