Thank you Andy and Fred for taking a look.
1. You need current limiting resistors on the outputs of the TC442x drivers just as Fred mentioned. I used 100 ohm resistors on my Jaguar board.
Agreed. I moved the driver chips along with load and pulldown resistors lower so I made some space from them. They are now in vertical position and enough space for a 3w if desired.
100ohm sounds good. In ravager schematics they are 150ohm and in the notes.md they are mentioned as 200ohm. So probably depends on your current needs? What wattage are you using, 2w?
Andy wrote:2. For your 12v power feed to the voltage select jumper for the TC442x drivers, it would be better to branch that off from the MOV rather from the decouple capacitor to the regulator. If you want to decouple the 12v input to the drivers, place another pair of capacitors closer to the driver supply line (the 5v/12v jumperable line) and the driver ground.
Fred wrote:2. also reminds me of this: You should take your 5V to the ignitor drivers directly from the supply, not from the tail end after the other stuff has its share. Star power, if you like. Much like star grounding.
Ok, That was something I was not so certain about so traced it to the point after some filtering. Added two 0805 size caps to the supply line of the drivers. big enough? Also the 5V to the drivers is now taken straight from the reg leg.
3. Try to keep the positive voltage runs primarily on the top side of the board by the regulator instead of on the bottom with the ground plane. It looks like you have plenty of room to re-route the 5v traces on the top side. With a two sided PCB, I try to run the low power 5v and the signal traces on the same side when possible and the ground on the opposite side. Also try to run the 5v supply traces at 90 degrees from the signal traces to help with noise reduction on the signal traces if you route them on the ground plane side of the PCB.
Sin confessed

. I tried to use this approach and also read about gridding the power and ground traces. But ended up just running a single trace around the board. The power rail is now connected only to the schottky pairs of the A/D circuits and nothing else so not that critical?
Might make a run for it though and as Fred mentioned branch first.
Andy wrote:4. Another idea for the voltage regulator and the 5v capacitors, slide the regulator closer to the VR inputs and move the output capacitors up to below the PolyFuses to keep the 5v supply lines away from the VR inputs.
Fred wrote:Unsure how 4. would work, even after asking Andy

However this reminds me that you have 5V between the inputs of the VR traces down the bottom. If that could be reworked to keep the trace away. If you're using VR and the pull ups are not installed, then that trace would be isolated. You could keep it as is and put a solder bridge where it joins the main wire like I showed you the other night. IE, just a thin cut through the trace near the 5V rail.
I could run the 5V rail on top side near the VR traces or put the VR traces on top side. Want to keep the 5V caps near the CPU power connector. About the 5V line between the VR traces does it solve the problem if I run it on the opposite side of the board? The pull-ups could be surface mount also and just connect it though a via to the VR trace. Just use through hole for the shunts.
Andy wrote:5. You will want to use a mica insulator between the regulator heat sink and the board to keep from burning the board in the event that one of the 5v accessories is shorted or tries to draw 0.5A for any amount of time before the PolyFuse opens the circuit. This will also act as a electrical isolator between the traces and the heat sink if you route any 5v traces under the heatsink (but I don't recommend this routing).
Fred wrote:Not sure that I agree with 5. I'd tend to put some copper under it instead and use the board to sink more heat away.
I'll try to keep the heatsink area clean so it can be used anyway possible. My idea is to use a simple heatsink as pictured on the board. But if that causes trouble I still can make a L-shaped profile and attach it to the side of the metal casing for more heat dissipation.
Andy wrote:6. I agree with Fred on the A/D grounds, don't separate them.
Sure. Thanks for clearing that up.
Andy wrote:Another thought regarding the voltage regulator and the capacitors for the regulator circuit, why not use SMD components to:
1. save space and,
2. allow for more ground plane/heat sink area
Valid point. My approach is effected by the fact I was first going to make quick prototypes of supply, input and output boards separately. Just to get something to start from. So I checked the parts I have available or easy to get and make a simple through hole single side power supply board. Then I ended up joining the input and output boards together and after that was like "fuck it" and lets put all this crap on single board.
I might go the SMD way later if this thing needs more space and maybe some rerouting of the traces.
Andy wrote:One additional thought about routing traces...
I generally route supply voltage first, then signal traces and finally let the CAD program fill in the ground plane at the end.
With that said I normally route the traces manually (by hand) instead of using an auto-router...
Good tip. I did not use the auto router either. Don't trust it and might need more work fixing it up and placing "restricted areas" because of "no no no, don't run the trace there you bastard!"
Compassion wrote:I'm interested in the outcome of your OnionBoard project as I've got two TA cards, and a pair of first run BrickRPM chips, and would like to have a chance at getting a chance at one of the runs if possible.
Sure thing. I might order them soonish as I get the final changes done. Seeed has the minimum order of 5pcs but 10pcs isn't costing the much more if needed. Of course it would be nice to test this sucker first in real life before distributing too many of them. Onion warranty. It will either be ok or bring tears to your eyes
The board is designed a 4-cyl in mind running sequential + COP but could be used with more cylinders. Because there are only six timer ports (Port T) available for inj + ign I'm running wasted spark ignition at first. I'm using the two acc fets for fuel pump relay and leaving the other available for future like pwm boost solenoid etc. I'm running a separate H-bridge board for idle and if I don't get that running smoothly then I might use the other fet for simple PWM idle solenoid.
Are you planning to run the 6-cyls seq, semi-seq or batch?
I'll post a new pic of the board when I get my changes done. But now I need to go to the garage and do some engine building + wrestle a twisted passenger door back to the car...