work in progress microRusEfi

Hardware inside and outside of the ECU
Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Ahmad » Tue Sep 10, 2019 2:00 pm

DonaldBecker wrote:
Sat Sep 07, 2019 3:42 am
kb1gtt wrote:
Sat Sep 07, 2019 1:43 am
See reverse polarity pmosfet noted at the below link. The pmosfet is typically better that a protection diode. https://rusefi.com/wiki/index.php?title=Manual:Hardware
In this case it's only negligibly better. MRE draws only a trivial current directly from IGN (BAT, BATPA, BATPB). Probably single digit mA when activating the main relay, and almost nothing after. The rest of the current goes through a series of linear regulators. Except during a severe voltage dip when cranking, every mW burnt by the protection diode is a mW that doesn't need to be burnt in the 6V pre-regulator transistor.

It would be different if we were using something like the TLE9471, which has a buck regulator for the 3.3V or 5V supply. There the efficiency of using a MOSFET instead of a diode is worthwhile, and the chip includes a charge pump to enable using a lower-cost N-channel device.
Next generation of All-in-one ICs is L9788.
it have Boost_Buck regulator that reduce power consumption and work well with low battery voltages.

jbiplane
Posts: 21
Joined: Sun Aug 11, 2019 1:35 am
Location: Krasnoyarsk
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by jbiplane » Tue Sep 10, 2019 3:19 pm

stefanst wrote:
Tue Sep 10, 2019 12:34 am
One semi-mystery is solved. The screws holding the housing bottom to the top do seem to be M3.5 x 0.6. Because M3s just won't cut it and M4s are way too big. I guess.
Have a look at drawings of ECU cases produced by https://kinkong-group.en.alibaba.com/?s ... 2693oGwJ0b
48 pin case, seems the same what used for this project?
CKKB48-1-A.pdf
(421.01 KiB) Downloaded 18 times
I guess holes should be calibrated by drill 3.3 (through hole) and tapped by M4 (M4x0.7)

For reference cases 32 and 24 pins
CKKB32-1-A.pdf
(413.51 KiB) Downloaded 9 times
CKK24-1-B.pdf
(26.87 KiB) Downloaded 7 times

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Tue Sep 10, 2019 3:22 pm

Just a friendly reminder that CKKB48-1-A.pdf is available in the top level folder of https://github.com/rusefi/hw_microRusEfi
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

DonaldBecker
Posts: 16
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by DonaldBecker » Tue Sep 10, 2019 3:40 pm

Ahmad wrote:
Tue Sep 10, 2019 2:00 pm

Next generation of All-in-one ICs is L9788.
it have Boost_Buck regulator that reduce power consumption and work well with low battery voltages.
It sounds like a wonderful chip.

The info available is a 12 page product brief. Most of that isn't chip specific. The largest section is a generic description of the 100 pin package. There is zero distributor availability, and the availability directly from ST is "call us".

It looks like the marketing side drew up a feature list, block diagram and pinout to pass around and see if there is interest. That's just the sort of chip you don't design in until you have a working sample in hand.

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

Re: microRusEfi

Post by kb1gtt » Tue Sep 10, 2019 3:41 pm

Welcome to the friendlier side of internet crazy :)

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Ahmad » Tue Sep 10, 2019 5:11 pm

kb1gtt wrote:
Tue Sep 10, 2019 3:41 pm
How to get in less than qty 1k?
https://www.st.com/en/automotive-analog ... l9788.html
You are American, not Iranian!
Send a sample request to ST and get that on red carpet ;)

Many years ago, I found a bug in one of the Buck regulators of ST.
I sent an Email to ST.
Answer of ST: you are from Iran and we can not support you! :lol:

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

Re: microRusEfi

Post by kb1gtt » Tue Sep 10, 2019 8:53 pm

I once spent a week back and forth in email with linear on a particular chip. They eventually said there chip does not uphold the datasheet. They then gave me a different chip and no explanation of what the problem was. There chip was like $4 and after I spent time and effort in that chip it also did not work. Unless you are the customer who developed the chip they do not react well. Basically the designers move on to other projects and tech support goes bad.
Welcome to the friendlier side of internet crazy :)

DonaldBecker
Posts: 16
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by DonaldBecker » Wed Sep 11, 2019 12:17 am

Ahmad wrote:
Tue Sep 10, 2019 5:11 pm
kb1gtt wrote:
Tue Sep 10, 2019 3:41 pm
How to get in less than qty 1k?
https://www.st.com/en/automotive-analog ... l9788.html
You are American, not Iranian!
Send a sample request to ST and get that on red carpet ;)
I've occasionally requested samples. It's generally not worth the trouble. You simultaneously need to look like a qualified customer, yet not appealing enough for the salesperson to call you every day.

For a part like this, where no datasheet is available, there is a pretty good chance that it will take a long conversation with a salesperson exploring all of your other potential part purchases before they tell you that it's not in production yet.

And I wonder who would order qnty 1K when there is a 42 week lead time.

jbiplane
Posts: 21
Joined: Sun Aug 11, 2019 1:35 am
Location: Krasnoyarsk
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by jbiplane » Sun Sep 15, 2019 5:12 pm

Encountered minor error in connector area of PCB.
The hole pitch = 2.5, not 2.54mm
PCB correction.jpg
PCB correction.jpg (86.95 KiB) Viewed 902 times
PCB correction 1.jpg
PCB correction 1.jpg (63.5 KiB) Viewed 902 times

DonaldBecker
Posts: 16
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by DonaldBecker » Sun Sep 15, 2019 8:50 pm

Where is that footprint from?

I'm seeing the same from
https://media.digikey.com/pdf/Data%20Sh ... 8x_Dwg.pdf

Your correction (2.5 mm pin spacing rather than 0.1 inch) is likely accurate. Could we get a confirmation from someone with a connector physically at hand? Ideally with a current version of the board where it's bad fit.

Edit: I updated the connector footprint on my branch of the board layout. This revision also consolidates options onto the bottom layer. The bottom now contains jumpers, option selection, optional components, and variable components e.g. pull-downs, VR biasing. The remaining bottom components are steering/protection diodes and a few redundant capacitors.
Last edited by DonaldBecker on Tue Sep 17, 2019 4:49 am, edited 1 time in total.

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Sun Sep 15, 2019 11:07 pm

we have fabricated at least one board of each known revision and if there is a footprint error, it's so minor that we were not affected in any way. header snaps into pcb and pcb goes into case.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 579
Joined: Wed Feb 17, 2016 12:24 am

Re: microRusEfi

Post by stefanst » Mon Sep 16, 2019 12:26 am

2.54mm vs 2.5mm over ten columns is 0.4mm. Hardly noticeable. So the footprint may be wrong and possibly should be fixed in future revisions, but it hardly matters in real life.

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Ahmad » Tue Sep 17, 2019 11:46 am

Is it possible to show functions of pins on schematic or an excel file or cubeMX file?
For example, PC6 may be PC6_TIM3_CH1.
Or a cubeMX file same as below:
Attachments
STM32F407V_Cube_Ahmad.png
STM32F407V_Cube_Ahmad.png (97.25 KiB) Viewed 835 times

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Tue Sep 17, 2019 11:49 am

normsl end users probably would not benefit, advanced users can figure it out

if you believe irs really useful please makd ghe list and i will publish
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Ahmad
Posts: 22
Joined: Mon Aug 12, 2019 10:44 pm
Location: Iran
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Ahmad » Tue Sep 17, 2019 11:52 am

Sure, I will do.
but i don't know function of some pins.
for example: PA5, PC7, ...

DonaldBecker
Posts: 16
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by DonaldBecker » Tue Sep 17, 2019 12:30 pm

stefanst wrote:
Mon Sep 16, 2019 12:26 am
2.54mm vs 2.5mm over ten columns is 0.4mm. Hardly noticeable. So the footprint may be wrong and possibly should be fixed in future revisions, but it hardly matters in real life.
The error isn't split centrally. The existing footprint starts at the correct position on one side, and has the most error on the side with 8 wide contact pins. The tight fit is between the wide pins and the nearby alignment post.

The footprint mismatch looked pretty bad when I was changing my board layout, but I know that's misleading. Through hole footprints are sometimes deliberately misaligned to hold the part in place, and those footprints look like a wild zig-zag when you are zoomed to route traces.

jbiplane
Posts: 21
Joined: Sun Aug 11, 2019 1:35 am
Location: Krasnoyarsk
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by jbiplane » Tue Sep 17, 2019 2:10 pm

DonaldBecker wrote:
Tue Sep 17, 2019 12:30 pm
The error isn't split centrally.
I corrected PCB and case bottom part according chinese drawings. Fixing holes moved up to 0.45mm.
Cannot drop STEP file here. Can correct upper part of case as well (according drawings).
When I get real case I can scan and reconstruct it with precision of 0.02mm.
Corrected.JPG
Corrected.JPG (220.19 KiB) Viewed 810 times

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

Re: microRusEfi

Post by kb1gtt » Tue Sep 17, 2019 4:31 pm

Scanned would be cool. The model we have now is just my calipers, and eyeball. I did not include the casting tapers. So it's not 100% accurate, but it's fairly close.
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Tue Sep 17, 2019 10:00 pm

jbiplane wrote:
Tue Sep 17, 2019 2:10 pm
Cannot drop STEP file here.
Please attach as .zip file
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

jbiplane
Posts: 21
Joined: Sun Aug 11, 2019 1:35 am
Location: Krasnoyarsk
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by jbiplane » Wed Sep 18, 2019 2:37 pm

russian wrote:
Tue Sep 17, 2019 10:00 pm
Please attach as .zip file
Attached. PCB connector and bottom part together. Corrected by factory drawings.
Attachments
Corrected.zip
(721.85 KiB) Downloaded 12 times

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Thu Sep 19, 2019 2:18 am

https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

puff
contributor
contributor
Posts: 2733
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: microRusEfi

Post by puff » Thu Sep 19, 2019 6:08 am

a giant banana!

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

Re: microRusEfi

Post by kb1gtt » Thu Sep 19, 2019 10:07 am

I'm missing something here. Is the claim that the factory provided 3D model does not match the factory provided drawing? The model we have is from TE.

If the concern is that the PCB model is slightly wrong, that's driven by KICAD, and the KICAD lib should be updated, then that should drive the 3D file.
Welcome to the friendlier side of internet crazy :)

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

Re: microRusEfi

Post by kb1gtt » Fri Sep 20, 2019 11:41 pm

I miss spoke. It was not TE but Molex. I believe the 3D came from here.
https://www.molex.com/molex/products/da ... EADERS.xml

I understand the china component may have slight differences from the OEM Molex part.
Welcome to the friendlier side of internet crazy :)

Andreas_28023
Posts: 3
Joined: Sat Aug 24, 2019 1:54 pm
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Andreas_28023 » Wed Oct 02, 2019 8:43 pm

I am about to start a project on an Opel CIH 2.2 injector engine. I am trying to decide wether to wait for µRusEfi or go for the Frankenso kit. I don't really have a timeschedule on this but eventually I aim to put the engine in a Manta A. Do you have any suggestions?

//Andreas

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Wed Oct 02, 2019 10:51 pm

if you do not care for size, looks or ETB - go with Frankenso
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Andreas_28023
Posts: 3
Joined: Sat Aug 24, 2019 1:54 pm
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by Andreas_28023 » Fri Oct 04, 2019 9:28 am

Well... I do care about size and looks. How far from a release are you?

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Fri Oct 04, 2019 12:16 pm

Andreas_28023 wrote:
Fri Oct 04, 2019 9:28 am
Well... I do care about size and looks. How far from a release are you?
There is no budget and no planning in this project. Nothing was ever "released" in rusEfi. The only things you can rely on are the things you either see exist already or the things you will make yourself.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

mck1117
running engine in first post
running engine in first post
Posts: 241
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish
Soldering skill: yes
Coding skill?: yes

Re: microRusEfi

Post by mck1117 » Sat Oct 05, 2019 2:07 am

Three microRusEfi v0.3 boards are done! All started and ran my car great, and seem to behave identical to the v0.1 board I've been running.

Image

User avatar
russian
Site Admin
Posts: 9673
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: microRusEfi

Post by russian » Thu Oct 10, 2019 6:40 pm

Very special orange pre-production unit available for sale at https://www.ebay.com/itm/333356685951
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Post Reply