Spin 2 Low-Z testing

Marcos' unmaintained, but still in-use, Puma for FreeEMS circuit board/hardware design!
User avatar
nitrousnrg
LQFP144 - On Top Of The Game
Posts: 468
Joined: Tue Jun 24, 2008 5:31 pm

Spin 2 Low-Z testing

Post by nitrousnrg »

Before further chattery goes on, here's some specs about the testing I made:

These are the CNG injectors I used
http://www.europegas.pl/documents/VALTEK_tech_spec.pdf
Image

Briefly: 3ohm,4.5msec to reach peak current given its inductance/mass, 3.3msec opening time.

The board is an SMD version of the P&H driver, except for the driver itself that doesn't come in SMD fashion.
Image

Image

The green cable is in there because the mfg can't do a damn via or a decent soldermask, and the 2ohm resistor footprint should be a bit bigger.


This is the setup almost ready to test, My power supply can't deliver more than 3Amps or so, so the testing needed a proper battery.
Image

You can see an mbed board, its an ARM Cortex M3 microcontroller running at 100MHz, programmed with gcc+CoOS, a very nice open source rtos for ARM. It is in charge of generating the pulses to drive the injector.

An mbed is usually powered up from a PC USB, but in this case its supplied from the SMPS that was under testing for puma spin2. SMPS is on the left making 6v, linear regs are on the right, mbed takes its power (5v) from the small, non-shutdownable reg.

Its sad that this is the best pcb quality I can find in nearly 700km. Check the pads and holes out of center, and the mask 1mm away from where it should be at the right. Its enough for a test like this one anyway.

Here is a video of the first test I made in linear mode. It wasn't too hot, really. But doing a harder test in the lab with a resistor as a charge it did get hot, barely touchable. Btw, last night it was -1°C in the garage, so temperature isn't a good parameter in there,

http://www.youtube.com/watch?v=eJlPsVoPHlg

The actual behavior looks like this
Image
Note that hold current is 1A, and peak should be close to 4A, and is not.

You can see Vce Saturation voltage is high, I'm going to try with the original darlington to see if thats why I have such a small current in there. Maybe the driver should flow more current to drive this transistor, could be a dumb mistake too.
Image
This is the transistor used
http://www.fairchildsemi.com/ds/FJ/FJB102.pdf

These are suggested by the driver
Linear mode:
http://www.kekew.net/upfile/pdf/2N6045.pdf
PWM mode:
http://www.fairchildsemi.com/ds/TI/TIP120.pdf

And the main thing, I still have to test it in PWM mode. I had a short under the chip because of not having soldermask (I explicitly asked 'no soldermask in the bottom, and don't do any hole to the board'), lets hope its was not catastrophic. I have spare components anyway.

That will happen later, I'm loaded with homework.
Marcos
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spin 2 Low-Z testing

Post by Fred »

Good work!
nitrousnrg wrote:CoOS
I can't find the source repository for it, only a zip download, any idea where it is?

Cheers!
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
nitrousnrg
LQFP144 - On Top Of The Game
Posts: 468
Joined: Tue Jun 24, 2008 5:31 pm

Re: Spin 2 Low-Z testing

Post by nitrousnrg »

Fred wrote:
nitrousnrg wrote:CoOS
I can't find the source repository for it, only a zip download, any idea where it is?
Noope, I have the same .zip you have. I recall it was a work made by a couple of guys for a thesis, and it went opensource, but I didn't hear about collaborations in that time.
Marcos
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Spin 2 Low-Z testing

Post by MotoFab »

nitrousnrg wrote:Image
You can see an mbed board, its an ARM Cortex M3 microcontroller running at 100MHz...
It is in charge of generating the pulses to drive the injector.


Image

Image
The green cable is in there because the mfg can't do a damn via or a decent soldermask,
and the 2ohm resistor footprint should be a bit bigger.


Image
The actual behavior looks like this
Briefly: 3ohm,4.5msec to reach peak current given its inductance/mass, 3.3msec opening time.
Note that hold current is 1A, and peak should be close to 4A, and is not.


Image
You can see Vce Saturation voltage is high, I'm going to try with the original darlington to see if thats why I have such a small current in there.
You'll get there Marcos!

If the ARM is "generating the pulses to drive the injector", then what is the LM1949 doing?

Is the 2ohm resistor a shunt R, in series with the load (injector)?

In the second scope shot, what are the scope settings, and probe locations?

- Jim
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: Spin 2 Low-Z testing

Post by jharvey »

ARM is generating the simulated injector pulse, the LM is doing the P&H. He has not yet done the PWM version with this LM chip, but sounds like he plans to give it a try at some point in the near-ish future.
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Spin 2 Low-Z testing

Post by MotoFab »

Do you mean that the "simulated injector pulse" is a PWM signal from the ARM to the LM1949?
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spin 2 Low-Z testing

Post by Fred »

MotoFab wrote:Do you mean that the "simulated injector pulse" is a PWM signal from the ARM to the LM1949?
Yes, of course! :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Spin 2 Low-Z testing

Post by MotoFab »

Fred wrote:Yes, of course! :-)
That's interesting. :-) I think I'm going to call it a day.

- Jim
Last edited by MotoFab on Mon Jun 27, 2011 10:25 am, edited 1 time in total.
User avatar
nitrousnrg
LQFP144 - On Top Of The Game
Posts: 468
Joined: Tue Jun 24, 2008 5:31 pm

Re: Spin 2 Low-Z testing

Post by nitrousnrg »

This is exactly what it is doing:

Image

10 msec ON, 20 msec OFF

And yes, as Jared said, pwm should be working in 48hs :-)
Marcos
MotoFab
1N4001 - Signed up
Posts: 307
Joined: Thu May 29, 2008 1:23 am
Location: Long Beach CA

Re: Spin 2 Low-Z testing

Post by MotoFab »

Thanks Marcos. It sounded like you were saying that the LM1949 was being driven with a PWM peak & hold signal from the ARM. I get it now.

That 2ohm resistor, is that a series shunt resistor to measure the current? If so I think the value might be too high. :-) I mean, if the injectors are 3ohms and the series shunt R is 2ohms.

-Jim
Post Reply