Page 1 of 2

Spin 2 Low-Z testing

Posted: Sun Jun 26, 2011 9:18 pm
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.

Re: Spin 2 Low-Z testing

Posted: Sun Jun 26, 2011 11:40 pm
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!

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 12:03 am
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.

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 1:17 am
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

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 1:30 am
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.

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 1:51 am
by MotoFab
Do you mean that the "simulated injector pulse" is a PWM signal from the ARM to the LM1949?

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 7:46 am
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! :-)

Re: Spin 2 Low-Z testing

Posted: Mon Jun 27, 2011 10:23 am
by MotoFab
Fred wrote:Yes, of course! :-)
That's interesting. :-) I think I'm going to call it a day.

- Jim

Re: Spin 2 Low-Z testing

Posted: Tue Jun 28, 2011 8:11 am
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 :-)

Re: Spin 2 Low-Z testing

Posted: Tue Jun 28, 2011 9:20 am
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