Project JAGuar for FreeEMS

Andy's GM DIS centric hardware design! Also works as a fuel controller for EDIS and distributor applications.
Post Reply
User avatar
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

Fred wrote:Why are there jumpers on the IAT/CHT sensors?
I did this to allow for cross-connect wires to jump over traces for my prototype board, the first one will be single sided until I can perfect the exposure time for the resist coating. :-)
Fred wrote:BRV circuit is still visually reversed left/right mirror image of the other circuits, this is purely a cosmetic complaint.
I have corrected this as it was driving me crazy trying to position the components on the board :-)
Fred wrote:I'm unsure if your jumper setup will work on the max99 chip, but you don't need to be that complicated. What you need are two more connector pins. For VR you want to bring in two wires, one for each side, as a differential input. For hall you just leave the -ve one disconnected. As pointed out by someone else in another thread, calling it ground is technically wrong. Configure it in A2 mode and run the extra two traces to the connector and call it good. If this still isn't clear, feel free to discuss first. Do you have skype? If so, we can have a chat about it.
I used the jumper JP1 to get over a trace on the PCB layout, it will be a cross over wire.
I also cleaned up my wiring mistake on the CRANK- and CAM- inputs that I originally had connected to ground. CRANK- and CAM- will be jumpered to GND for Hall/Opto/Digital input whereas jumper JP2 will be connected to ground only for VR inputs.
In my design you can run EITHER BOTH Hall/Opto/Digital RPM inputs OR BOTH VR inputs, but not one of each.

I haven't used skype before since my rural DSL is on the slow side (768k download / 128k upload on a PERFECT day), but I will get it setup so we can chat :-)
Fred wrote:CPU Sheet: Wow, what an improvement! :-)
Thanks, I even found what I did to be confusing on that one, when I cleaned it up it made a huge difference and pointed out some other issues that you found later on in your post
Fred wrote:Config resistors are correct, but you should chuck MODA and MODB on the CPU symbol labels. Might be clearer to do it like this too "PE7 / XCLKS" with the pin number first and function second.
Done, good call for clarity :-)
Fred wrote:Are you planning tants on the cpu power pins? just 2 of them can benefit from it. The 0.22uF are still needed and are correct for the others. 10uF 10v would be a good choice if you do that. VDDR1 and VDDR2 are the pins for that, check the datasheet to confirm that I'm right.
Ok, so C1 (VDD1) and C5 (VDD2) should be 10uF 10v tantalum capacitors and C2 (VDDX), C3 (VDDR1), C4 (VSSA), C8 (VSSPLL) and C44 (VRH) 0.22uF should be X7R ceramic capacitors?
Fred wrote:Right now, your CPU would melt. VDD1 and VDD2 should be just connected to an external cap, they are internal 2.5V refs. Check the data sheet to confirm that I got the pins right. This is what you get for copying Puma... :-)
Good catch! :-)
Fred wrote:Your config for the CPU sheet should be similar/same as RavAGE with the only difference being C11 and C12 from ravage not applicable (144 pin package pins only).
I corrected C4 by connecting it to VDD at pin 83 (VDDA) as shown in the Motorola data sheet. Also added C44 0.22uF between VRH and VRL as it was missing from my schematic.
Fred wrote:There is no connector sheet.
You caught me, I haven't gotten to that yet, but I will...
Fred wrote:Are there ground symbols/bus types in kicad? I find it hard to read the grounds/powers they way they are now being the same as the other connections. If they're available maybe you should consider using them. You might get some DRC checking as a bonus for that?
I'm still learning KiCAD, and will update the drawings accordingly :-)
Fred wrote:Great progress :-) Seems like your bad etch was a good thing ;-)
Thanks for all the help :-)

Yeah, the first bad etch allowed me to experiment with the exposure time, which it looks like 6 minutes is the magic time for the presensitized PCBs (3"x5"x1/16" [75 x 125 mm] single sided P/N: 603, 6"x6"x1/16" [150 x 150 mm] double sided P/N: 650) from MG Chemicals (mgchemicals.com).

I have found that my optimum traces are 0.0100" wide with 0.0060" clearance for the traces to the SMD components and 0.0250" wide with 0.0090" clearance for the injector traces. My home etching doesn't allow for plated thru holes or vias which is part of the reason for the jumpers other than the one on the MAX9926 chip for VR/Hall selection.

Once I prove out the prototype of this design, I will see about having some professional boards made...

Andy
Last edited by DeuceEFI on Mon Jan 23, 2012 2:11 pm, edited 1 time in total.
User avatar
Dan
LQFP144 - On Top Of The Game
Posts: 1204
Joined: Tue Mar 02, 2010 2:33 pm
Location: Australia

Re: Project JAGuar for FreeEMS

Post by Dan »

Hi DeuceEFI, let me know when your next release of your PDF is.

I am keen to take a look at it! :-)
User avatar
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

Fred wrote:Yes, even teeth + 1 should work fine for that. I'll help you configure it when the time comes.

What about the ignition output details, though, can you post links/info about that please?
DIS Advance is to be a pulse width modulated square wave when the engine is running. The PWM signal is a 0-5 vdc waveform. When the signal is 'high', current flows. When the signal is pulled low, current stops, the magnetic field in the coil collapses, and a spark is produced. Thus, the HEI module fires on the 'trailing edge' of the advance signal. The advance signal should be generated by the ECM from the tach signal by modifying its duty cycle (pulse width). Larger duty cycles mean less advance, as the spark is delayed by a larger amount. The timing of the trailing edge determines the amount of advance: a longer pulse width means a more delayed, 'retarded' spark, while a shorter pulse width means an earlier 'advanced' spark.

DIS-Bypass is zero volts while cranking and +5vdc when RPM is greater than 400 RPM.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Project JAGuar for FreeEMS

Post by Fred »

You forgot to reply to the RPM stuff, have an edit and then bump and I'll reply in full. :-)
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
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

Dan wrote:Hi DeuceEFI, let me know when your next release of your PDF is.

I am keen to take a look at it! :-)
Pushed new changes to schematic / PCB / PDF to git a minute ago, have a look :-)
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Project JAGuar for FreeEMS

Post by Fred »

Pretty please, first post, this page, you quoted me, but said nothing under it! Help! :-)
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
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

Ok, too much coffee in my system, I totally missed it... LOL
One more time...
Fred wrote:I'm unsure if your jumper setup will work on the max99 chip, but you don't need to be that complicated. What you need are two more connector pins. For VR you want to bring in two wires, one for each side, as a differential input. For hall you just leave the -ve one disconnected. As pointed out by someone else in another thread, calling it ground is technically wrong. Configure it in A2 mode and run the extra two traces to the connector and call it good. If this still isn't clear, feel free to discuss first. Do you have skype? If so, we can have a chat about it.
I used the jumper JP1 to get over a trace on the PCB layout, it will be a cross over wire.
I also cleaned up my wiring mistake on the CRANK- and CAM- inputs that I originally had connected to ground. CRANK- and CAM- will be jumpered to GND for Hall/Opto/Digital input whereas jumper JP2 will be connected to ground only for VR inputs.
In my design you can run EITHER BOTH Hall/Opto/Digital RPM inputs OR BOTH VR inputs, but not one of each.

I haven't used skype before since my rural DSL is on the slow side (768k download / 128k upload on a PERFECT day), but I will get it setup so we can chat :-)
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Project JAGuar for FreeEMS

Post by Fred »

I think that we need to because that setup is still wrong IMO. Maybe someone else can take a crack at explaining? I'll let Dan do the next review :-) I'll take the one after that, or maybe chime in if he says something that I disagree with.

I was reading up on the DIS stuff, it should be pretty easy to do once you're ready to go.

Fred.
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
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

I found viewtopic.php?f=53&t=1049 which I think will clear up the MAX9926 configuration issue with my schematic. I will push a new commit after I clean up the PCB :-)
User avatar
DeuceEFI
LQFP144 - On Top Of The Game
Posts: 579
Joined: Thu Feb 25, 2010 3:57 am
Location: Gosport, IN USA
Contact:

Re: Project JAGuar for FreeEMS

Post by DeuceEFI »

Committed/Pushed revised schematics, PCB and PDF files to git.

I followed Fred and Jean's suggestion (see: viewtopic.php?f=53&t=1049) to set the MAX9926 in A2 mode leaving the IN- input(s) disconnected for Hall/Opto/Digital inputs, but my PCB will have connection points and the connector will have pins for the Cam- and Crank- inputs should someone wish to use VR inputs.

In this configuration, someone could populate the pullup resistor for Hall/Opto/Digital inputs OR leave off the pullup resistor and populate the 5k resistor across the VR input.

Have a look and see if I'm on the right track again :-)
Post Reply