Donations towards server fund so far this month.

 
£0.00 / £100.00 per month
Page:
Home > A-Series EFI / Injection > DC Motor Control from ECU ???

Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

I need to control the speed of a 12v DC motor driving my water pump.

I can program the MS3 to output a PWM signal, derived from a duty cycle map of coolant temp vs RPM, either through a spare main board injector driver or from one of the spare outputs on the MS3X. Neither are high enough rating to drive the motor directly.

The PWM signal will typically be 13Hz, although this can be set to a lower frequency (11.1 to 78Hz) if required.

I was looking at using a solid state relay, but these do not work fast enough.

Looks like a FET will do the job but I can't find a suitable circuit.

Can someone please lead me in a suitable direction.

EDIT Wrong frequency

Edited by Paul S on 8th Nov, 2013.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


stevieturbo

3588 Posts
Member #: 655
Post Whore

Northern Ireland

From what I gather, this is the sort of thing you need.
You apply a PWM signal, and it replicates it for the motor.
Although I think it also operates at a much higher frequency.
From what I understand, as far as inductive motors go, very high frequency is good...is 20khz or so.

http://www.ebay.co.uk/itm/High-Current-DC-...=item4abfc7ca79

http://www.ebay.co.uk/itm/Big-Current-DC-M...=item256eb716ea

9.85 @ 145mph
202mph standing mile
speed didn't kill me, but taxation probably will


evolotion

User Avatar

2909 Posts
Member #: 83
Post Whore

Glasgow, Scotland

Paul look at the old 2wire idle valve driver circuits in the manual. Great big TIP122? Fet can sink some decent amps and larger ones are avaliable or could be paralelled, you might need to choose a slightly less meaty motor. I would also perhaps add a smoothing cap to the output but nothing too big. Im sure thats what they used anyways, been a while:(.

turbo 16v k-series 11.9@118.9 :)

Denis O'Brien.


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Paul, what's your maximum current (ie if PWM reached 100%) or is that unknown because of the load on the motor being uncertain ?

Or, to play safe, what is the motor's maximum rated power (presumably marked somewhere) ?

Stevie, I may be wrong but I think the "H Bridge" controllers are specifically for bi-polar stepper motors. They may work on a normal motor as well but I know they are commonly used on stepper motors (large servo motors for the high current designs).

Depending on the current, I would try, as Denis suggests, one or more TIP122 (or 120, or 121, they are just rated for lower reverse voltages, which is only an issue if the motor windings are highly inductive) but if you need more than one it gets a bit problematical as semiconductors in DC switching applications don't share current nicely when banked together. But they are nice and cheap for a test.


EDIT - bit added.

Edited by Rod S on 9th Nov, 2013.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

This is the starter motor from which the motor has been stripped:

http://www.powerlite-units.com/products/rac403/

It's a 1kW motor, so the maximum current is around 90 amps *surprised*

However, I do not intend to load it up any where near that either by limiting the speed by duty cycle or pulleys. Let's say that I need 40 amps, although that is too much for the vehicle electrics.

I think that the H-bridge controllers would work, but I do not have the control mechanism available, just an on-off relay on the ignition and a PWM signal.

The TIP122 are rated for 5A I believe. I would need a lot of those.

Other issue is that most speed control devices using a PWM signal sit between the motor and ground. As the motor grounds through its casing then it would need to be isolated..... not impossible but not easy.

I'm currently reconsidering a solid state relay. There was originally some confusion on my part as to the frequency of the PWM signal. I thought it was 13kHz, but it is actually 13Hz, so the SSR should work. Something like this:

http://www.ebay.co.uk/itm/Solid-State-Rela...=item230ffeab18

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


stevieturbo

3588 Posts
Member #: 655
Post Whore

Northern Ireland

I'm no electronics buff, so not sure.

I just know Ive seen people use those things for motor control, fuel pump control, that sort of thing.

but I'm not 100% sure on the specifics.

9.85 @ 145mph
202mph standing mile
speed didn't kill me, but taxation probably will


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

Actually the starter could be the same as one of these:

http://www.powerlite-units.com/products/rac468/

1.4 kW *surprised*

I have one of each on the Mini engines. The one I'm planning on using is off a Toyota but the same motor.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

13Hz sounds very low (the bigger the motor, the lower the frequency used is a general rule, but 13Hz does seem low...)

But, as 13Hz is 77mS, that SSW would work and get you to about 80% duty cycle.

Or, if you are brave, try a power MOSFET which will handle much higher frequencies.

http://uk.farnell.com/stmicroelectronics/s...-220/dp/1752167

It needs a driver circuit in addition to the MS3 output to provide it's gate current, but I've found a fairly simple one on the web if you're interested.

One other point, if it's the guts of a starter motor, it will not have a 100% duty cycle - starter motors never do, hence their power/size ratio.

But if you are expecting to run well below 1KW it should be OK.


EDIT - just noticed that particular one is out of stock at the moment but there are others similar.

Edited by Rod S on 9th Nov, 2013.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

The MS3 can output up to 78Hz, if that helps.

I like the idea of the MOSFET driver, but I'm still unsure if I can put one on the 12v side of the motor?

I found these circuits, but they work on the ground side of the motor:

http://www.picotech.com/applications/pwm_drivers/#chap9

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


evolotion

User Avatar

2909 Posts
Member #: 83
Post Whore

Glasgow, Scotland

what about RC place/car drivers? they handle serious currents. Still think your a little "over motored" and a lighter motor designed for 100% duty may be a better place to start. A mobility scooter drive motor perhaps? even then i cant help but feel its a bit much but i know you will have thought long and hard about the drive power required for the pump so i should probably shoosh lol

turbo 16v k-series 11.9@118.9 :)

Denis O'Brien.


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

The motor is bigger than I need but it is free out my bin of abandoned projects.

New smaller motors are expensive.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

On 9th Nov, 2013 Paul S said:
I like the idea of the MOSFET driver, but I'm still unsure if I can put one on the 12v side of the motor?


Ooops, my bad....

I just did a quick search for power Mosfets - the average Mosfet is N-channel (just like the average transistor is NPN) - to drive on the 12V side needs a P-channel.

Not so common.

There are a few available with adequate current rating but not with great power dissipation ratings.

I need to look at a few datasheets to be sure.

If you get the optimum PWM frequency for the chosen motor (it can be calculated from the winding inductance etc. if you know it or can measure it (not easy)) the power disipation shouldn't be a problem.

Driver circuit would need to be different for a P-channel as well but shouldn't be a problem.

But, as Denis says, perhaps a better choice of motor ?

EDIT - missed your comment above re. motor....

Edited by Rod S on 9th Nov, 2013.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

You can pick up a recon starter including the motor for £30:

http://www.ebay.co.uk/itm/TOYOTA-COROLLA-S...=item35c8c0fe91

BUT you have to machine off the gear teeth on the end of the shaft.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

P-channel MOSFET 80A :

http://uk.rs-online.com/web/p/mosfet-transistors/4857901/

Any good?

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


evolotion

User Avatar

2909 Posts
Member #: 83
Post Whore

Glasgow, Scotland

Automotive stuff?

http://uk.rs-online.com/web/c/semiconducto...7633D4E4F4E4526

Hope tha works, was advertised when I clicked on pauls link above.

turbo 16v k-series 11.9@118.9 :)

Denis O'Brien.


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Denis,

Unfortunately all the ones in your RS link are N-channel.

Totally expected as that's the way things work nowadays.

Paul, the one you found is promising.

Power dissipation low but adequate current.

Worth a try on a large heat sink and with the correct drive circuit for a P-channel (looking into that now).

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

How about this for starters:

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


evolotion

User Avatar

2909 Posts
Member #: 83
Post Whore

Glasgow, Scotland

Forgive my ignorance but why cant you use n channel devices? The wiring difference is trivial

turbo 16v k-series 11.9@118.9 :)

Denis O'Brien.


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

This would be how I would modify what you posted:




EDIT: You might also want to consider using a few of those FETs in parallel to lower the heat dissipation (both overall and per FET). And R2 should probably be something like 100R or maybe even lower.

Jean

Edited by jbelanger on 9th Nov, 2013.

http://www.jbperf.com/


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

On 9th Nov, 2013 evolotion said:
Forgive my ignorance but why cant you use n channel devices? The wiring difference is trivial

Denis,
Because an N-channel needs a positive gate voltage so has to go between the load and ground (otherwise the gate current would have to go through the load which, in this case, has both resistance and inductance which will be all over the place because of the back EMF motors create).
Just like injector drivers and anything else that has the power permantly applied and is "switched" on the ground side, allways N-channel or NPN.
Paul can't do that (easily) as the negative side of the motor windings are connected to the case.
To switch on the 12V side needs P-channel where the gate voltage is reversed.
With that criteria, and the benefit of hindsight, same would have applied to the transistors, they would have had to be TIP42 or similar, ie, PNPs.


Paul/Jean,
I agree with Jean's version except for one thing I don't understand - moving the flyback diode to across the FET. According to the datasheet the package has an internal diode ???

Re. the R2, yes, 100ohm or less - from what I've read these high power Mosfets have a high gate capacitance so the initial gate current has to be high for them to switch cleanly. To that end, also make sure the resistor has a reasonable power rating (without doing the maths I would guess at 1/2 or 1 W) and the drive transistor is good for 1 - 2 A (ie a ZTX450 or better).

EDIT - and I agree with Jean about using a couple or more of them. You would exceed the rating of a single one if you approached 100% PWM and their power dissipation isn't as good as the N-channel equivilants plus you will most likely have to mount them on micas (or the more modern silicon) insulators - the datasheet isn't clear what terminal the heat sink tab is common with (it might be isolated but normally there is an additional letter after the TO-220 if it is) but most likely common with pin 2.

Edited by Rod S on 10th Nov, 2013.

Schrödinger's cat - so which one am I ???


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

Thanks guys.

I'll update the schematic. I think I understand what's going on although electronics is not my bag.

I like the idea of two MOSFETs to help with the current and heat. Just need to work out how to mount and wire them up with 10 mm^2 cable.

Is there any thing special about the capacitors. I don't understand why I need two of them.

Any thing special about the diode? Just general purpose or something else?

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


Rod S

User Avatar

5988 Posts
Member #: 2024
Formally Retired

Rural Suffolk

Mounting - ideally on a purpose made PCB (we can think about that later) but the main thing is to support the legs relative to the bolt/heatsink hole so, for a test, what I would suggest is a bit of veroboard with a nice slab of 1/8" (3mm) aluminium down one side - visualise the standard MS3 board and its simple heatsink but make it larger. And remove the copper from the veroboard where the bolts go through.

Then drill the adjacent holes (next to where you solder the Mosfet pins) out to a suitable size for your wires and feed them through and run them along the tracks and solder to the Mosfet pins (ie, do not rely on the copper tracks, they are far too small for the current).

But you don't need anywhere near 10mm^2 for 40A especially if shared between two Mosfets (look at the size of their pins). 6mm^2 should be fine for the short lengths involved. I would probably use 4mm^2 to the individual Mosfets and only use 6mm^2 once they are doubled up, at least for the test, maybe larger later.

The different capacitor values are for different frequencies. I assume you just took the values from the datasheet ? Bear in mind those values were for a test circuit with a specified impedance, the real motor may not be exactly the same but it's a good starting point.

The diode, I'd rather wait for Jean's reply - I assumed it was flyback protection (in which case I would put it across the motor and use a good high current general purpose one) but I think Jean has another reason for his location which I can't immediately figure out.

Schrödinger's cat - so which one am I ???


stevieturbo

3588 Posts
Member #: 655
Post Whore

Northern Ireland

4mm would be more than ample, and with proper PWM control, current should actually be much lower as the pump is never really running at max effort

9.85 @ 145mph
202mph standing mile
speed didn't kill me, but taxation probably will


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Rod, Paul,

I'm not sure what I was thinking about with the diode but you're right that it is not needed across the FET. And my copying and pasting on the original diagram made the one across the motor disappear and I did not noticed for some reason.

So the diode should be as per the original diagram. As for it's size, I'm not sure a standard 1N4001 would be sufficient. You might want to go with an FR301.

As for the base resistor, if you use one of the injectors output to drive this, you will want to omit R1 and the NPN since this will be done by the injector circuit and you can use a 10 Ohm for R2 which should be good to drive the FET. The injector driver will have no problem driving the two FETs and two 10R resistors (of a suitably high rating as mentioned). The MS3X spare outputs are also able to drive this.

Jean

http://www.jbperf.com/


Sprocket

User Avatar

11046 Posts
Member #: 965
Post Whore

Preston On The Brook

working back from a 125amp draw on my starter motor at 11.5v would confirm the 1.4KW but remember that when the alternator is producing, the voltage is ~14.5v so urrent will be more like 95amps at full load. also taking into consideration the pump power absorption without the fan has been estimated at 1.5hp which is more like 75amps at 14.5v

But then you already know this :)

On 26th Oct, 2004 TurboDave16v said:
Is it A-Series only? I think it should be...
So when some joey comes on here about how his 16v turbo vauxhall is great compared to ours, he can be given the 'bird'...


On 26th Oct, 2004 Tom Fenton said:
Yep I agree with TD........

Home > A-Series EFI / Injection > DC Motor Control from ECU ???
Users viewing this thread: none. (+ 2 Guests)   Next ->
To post messages you must be logged in!
Username: Password:
Page: