minEFI

Hardware inside and outside of the ECU
Post Reply
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

minEFI

Post by rus084 »

i will make small ecu board .

i deleted all no needed for me from frankenso and get something about this:
1.png
1.png (196.95 KiB) Viewed 26560 times
NOW:
2.png
2.png (149.87 KiB) Viewed 26522 times
im learning KIKAD and want to make board better .
if you want i can upload sources .
Last edited by rus084 on Sun Jul 26, 2015 9:36 pm, edited 1 time in total.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: minEFI

Post by AndreyB »

Please upload the sources for people to provide feedback!
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

ok
don't swear me , im still learning KICAD
Attachments
minefi.zip
(147.81 KiB) Downloaded 425 times
Last edited by rus084 on Sun Jul 26, 2015 9:39 pm, edited 1 time in total.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

Good to see you making the attempt. I'm a bit busy for the next month or so. I'll try to review but have limited time right now. Keep up the good work.
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

thanks
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

Some suggestions.

rename frankenso.sch to miniefi.sch
rename frankenso.cmp to miniefi.cmp
rename first.kicad_pcb to miniefi.kicad_pcb
rename frankenso.net to miniefi.net
These changes will make the KICAD project manager play nice and allow you KICAD's interconnecting linking to work correctly.

Remove .kicad_pcb.kicad_pcb, first.pro and frankenso-cache.lib
Those files are not needed might as well clean them out as they serve no purpose. KICAD will probably re-make the blah-cache.lib file, but will re-make it as miniefi-cache.lib.

update known_issues.txt to include the content in your files.

The switch mode caps are reasonably tall, they will be a problem for you STM board.
In the schematic, run the ERC (button looks like a bug)
In the PCB layout, run the DRC (button looks like a bug)
Add copper floods and via's near and under the low side driver chips. Those chips have a reasonably poor thermal resistance to a heat sink, you need more copper to help get the heat out of the chips.
Add more copper and vias around the LM2596 again thermal issue.
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

i have problem with KICAD for windows (i don't see half of schematic)
on linux KICAD work's excellent .

i see errors in schematic but don't know how to fix some of them .
i move switch caps
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

here is current version of files
https://github.com/rus084/minefi
DRC wrote what pins on max9926 is too near

i dont know how to add vias and copper flood .
Attachments
minefi.png
minefi.png (80.79 KiB) Viewed 26480 times
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

MAX pins are something like 7.1mils spacing. In PCBNew --> Design Rules --> Design Rules --> Net Class Editor, then change the clearance to .007. Your first posted files had that set to .010 while the MAX needs something like .007.

Lots of videos out there about how to add vias and floods. Short version is to press the "v" key for a via while you are laying down a copper trace. It will punch through to the other side, then start routing on that other side. If you hit "v" again it will punch a via through to the front. Floods (fill zones) are an option over on the right side. Also KICAD has about the only help file I've ever found helpful. Try a search the help and see if that sheds some light on the topic.
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

DRC wrote "no errors"
do you mean this copper floods and vias?
Attachments
minefi.png
minefi.png (73.58 KiB) Viewed 26450 times
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

Yes, and it's good practice to flood all extra area with GND copper.
Welcome to the friendlier side of internet crazy :)
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: minEFI

Post by abecedarian »

kb1gtt wrote:Yes, and it's good practice to flood all extra area with GND copper.
Also, usually a good idea to keep digital grounds separated from analog grounds, and both separated from power supply grounds... but tie them all together in one place.
You can lead the horticulture but you can't make them think.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

Also a good idea to not have digital GND and analog GND. You should separate your GND's by controlling the current loops that the traces make not by physical barriers in your GND planes. See this article for some extra details on some basic routing guide lines and gut feel data points. http://www.maximintegrated.com/en/app-notes/index.mvp/id/5450
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

maybe just need to make better ground ?
Attachments
minefi.png
minefi.png (78.12 KiB) Viewed 26422 times
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: minEFI

Post by abecedarian »

kb1gtt wrote:Also a good idea to not have digital GND and analog GND. You should separate your GND's by controlling the current loops that the traces make not by physical barriers in your GND planes. See this article for some extra details on some basic routing guide lines and gut feel data points. http://www.maximintegrated.com/en/app-notes/index.mvp/id/5450
I don't think I've ever been more confused by anything more than I'm confused now.

Traces = physical barriers between signals. So, contradictory information has been presented in a singular post.


*edit- Jared, I think you forgot to include the frequency component.
You can lead the horticulture but you can't make them think.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

There is some benefit of using different net names for your Vbat negative signals. This probably doesn't make sense to rus084 right now, but here's a note about it any how. Also please note I do not bother with this possibility as it adds compilations that can bugger the layout by miss leading you.

For example your injectors will pass about 1 amp, while your analog will pass milli amps. This means your analog will typically want the smallest trace possible, and your injectors will want a trace width wider than 30mils as noted from this tool http://circuitcalculator.com/wordpress/2006/01/31/pcb-trace-width-calculator/ or as noted from this tool http://www.saturnpcb.com/pcb_toolkit.htm PCBNew's In PCBNew you can use "design rules" to check that you have the proper width for your traces. If you establish an "injector_negative" net name and an "AGND" net name in your schematic, then in PCBNew you set your design rules to different specific widths, you can get some help from DRC to ensure you don't forget to set the trace widths properly. See below graphic which shows how they used different GND symbols but they are all connected.

http://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/166/3010.gnd.png

What I do for the GND signals is use one GND net name in the schematic and set the PCBNew DRC to the min widths. Then when laying out the copper I manually change the width to wider widths to ensure the traces are fat enough for the current that is expected to pass through the trace. I do this because the widths on the outer layers vs internal layers are different. Typically your stack up is 1 ozcu outer and .5 ozcu inners. As well the inners are thermally insulated. Which means when you use a via to change from an innner layer to an outer layer you have the same net name, but need 2 different trace widths. Rather then trying to get the software to keep track of it, I just do that manually. I haven't see a PCB tool yet that will do this automatic stuff correctly yet, which is why I like KICAD. I don't have to turn off all sorts of automatic stuff before I can get it to behave properly. It just behaves properly from initial install.
Welcome to the friendlier side of internet crazy :)
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: minEFI

Post by abecedarian »

Maybe that's "my" issue: I'm not using Kicad. It's still too f'd up to make sense, as in why run 3-4 different programs just to get something going.

Anyhow, I can name all my ground nets "GND" and only get air wires shown to connect them.
You can lead the horticulture but you can't make them think.
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

i dont know english word mean's this
Image

it's a good idea for power wires?
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

That created lots of stress in the traces which commonly results in long term issues. I would suggest wider traces if you can.
Welcome to the friendlier side of internet crazy :)
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

i can make wider wires if you want
Attachments
minefi.png
minefi.png (89.8 KiB) Viewed 26311 times
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

changed vr input to lm1815 and use different connectors for modules .
Attachments
minefi.png
minefi.png (93.36 KiB) Viewed 26179 times
User avatar
RasPL
Posts: 24
Joined: Thu Oct 15, 2015 6:44 pm
Location: Poland

Re: minEFI

Post by RasPL »

Just now i've founded this thread. Maybe for this minimalistic rusefi motherboard is better to use MC33810 4channel ignition/injector driver ? http://www.freescale.com/files/analog/doc/data_sheet/MC33810.pdf
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: minEFI

Post by kb1gtt »

I believe part of the effort is to make this easily obtained in the remote foot hills of Russia. These specialty chips are not common there. The MC33812 includes 4 channels of injection, as well as 4 channels of IGBT drivers, all in one chip.

http://www.freescale.com/files/analog/doc/data_sheet/MC33812.pdf
Welcome to the friendlier side of internet crazy :)
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: minEFI

Post by abecedarian »

kb1gtt wrote:I believe part of the effort is to make this easily obtained in the remote foot hills of Russia. These specialty chips are not common there. The MC33812 includes 4 channels of injection, as well as 4 channels of IGBT drivers, all in one chip.

http://www.freescale.com/files/analog/doc/data_sheet/MC33812.pdf
MC33810 is the correct chip for 4 inj +4 ign drivers. Worth noting it's compatible with both 3v3 and 5v0 MCUs.

MC33812 is a small engine IC for 1/2 cylinders: 1 injector driver, one ignition pre-driver, one lamp and one relay driver.
You can lead the horticulture but you can't make them think.
User avatar
RasPL
Posts: 24
Joined: Thu Oct 15, 2015 6:44 pm
Location: Poland

Re: minEFI

Post by RasPL »

Thats true. And main advantage of this chip is that You have all in one together with fault protection and diagnostics.
User avatar
abecedarian
Posts: 386
Joined: Fri Nov 15, 2013 10:49 am

Re: minEFI

Post by abecedarian »

RasPL wrote:Thats true. And main advantage of this chip is that You have all in one together with fault protection and diagnostics.
... If you choose to use them.

MC33812 is protected as well, despite its cylinder restrictions, which result in requiring batch fired injection and wasted spark ignition. However, MC33814 is a more robust option for a small engine since it provides independent control for 2 injector, 2 ignition, heated exhaust gas oxygen sensor heater control, and a VR sensor conditioner in a smaller package. Pair two of those and you have what essentially works out to be a 33810 plus support for 2 VR sensors, 2 O2 heaters, and 4 relays, with diagnostics amongst other things.

Anyways, I digress.
You can lead the horticulture but you can't make them think.
User avatar
rus084
contributor
contributor
Posts: 678
Joined: Sun Dec 01, 2013 1:40 pm
Location: Russia , Stavropol

Re: minEFI

Post by rus084 »

have some progress
minefi.png
minefi.png (38.44 KiB) Viewed 23431 times
Post Reply