work in progress Common Rail MC33816 dev board - 4 injectors

Hardware inside and outside of the ECU
User avatar
kb1gtt
contributor
contributor
Posts: 3412
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Common Rail MC33816 dev board

Post by kb1gtt » Sun Feb 17, 2019 12:36 am

PT2000 symbol would be useful. Once a draft schematic is made, that can be brought up in it's own thread. Lets keep this thread focused more on the MC33816.

I see the "microcode" SPI thing. This is what I do not know. It appears you might upload a small program, then after that you can do SPI com's.

The eval board uses a specific brain board, and software on the PC. This software will create the micro code and then the SPI commands. If you make the eval board, keep in mind you likely need the matching brain, and it's PC software. With out it, the brain, you will likely have trouble figuring out the SPI commands.

There is a quote in process for this board. I expect this board assembled. We'll see what pricing they come back with.
Welcome to the friendlier side of internet crazy :)

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Common Rail MC33816 dev board

Post by 960 » Sun Feb 17, 2019 12:58 am

russian wrote:
Sat Feb 16, 2019 9:57 pm
Do we have a thread suitable to rail pressure control logic discussion? I assume this thread is about the board. Am I missing something or are we supposed to start by figuring out what logic is needed to do what exacly with high pressure pump control?
What's the issue about the fuel pump?

Just download the PC-Link software and open the base map for gdi.

https://www.linkecu.com/software-support/

You will find both the settings/variables needed for E-Throttle and injectors.
If you open Help, you will also find descriptions for everything.

Link ECU are my favorite aftermarket off all times. I run it in my race-car.


GDI Fuel pump control from help file:


Fuel Pump Control provides the required functionality to drive various different types of fuel pump speed control configurations.



The following fuel pump and fuel pump speed control configurations are supported:

· Simple Fuel Pump On/Off relay.

· Dual Speed Control through relayed switched ballast resistor (most older Toyota).

· Triple Speed Control. As used on Nissan GTR.

· Three Stage PWM speed control (eg Toyota Supra, Subaru Impreza)

· Closed Loop Fuel Pressure Control. As used on some modern and GDI vehicles. Controls fuel pressure to match a desired target pressure.

· Open Loop Variable Fuel Pump Speed Control. Allows control of a fuel pump speed control module based on injector flow.



Prime Time



In all fuel pump speed control modes, the Prime Time setting is available and sets how long the fuel pump will run for when the key is first turned on. A typical value is 3 seconds. As soon as engine speed is detected the fuel pump will run continuously until the engine stops.



Speed Control Method



Sets the mode used to control an Auxiliary Output that is configured as FP Speed. See the following sections for more information on the supported modes.




--------------------------------------------------------------------------------

Simple Fuel Pump On/Off Control



This mode requires that an Auxiliary Output is wired to the fuel pump relay and configured as Fuel Pump. No other configuration is required. Speed Control Method can be set to OFF as it has no effect.




--------------------------------------------------------------------------------

Dual / Triple Speed Control



This type of control is used where two or three relays (or a control module) are used to switch the fuel pump between different speeds. The speeds are regulated by the use of current limiting resistors or special circuitry in the control module.



Two Auxiliary Outputs are required to use this mode:

1. One Auxiliary Output must be wired to the main fuel pump relay (the one that can turn the fuel pump off completely). This Auxiliary Output must be configured as Fuel Pump.

2. Another Auxiliary Output must be wired to the speed control relay (the one that switches in the resistor). This Auxiliary Output must be configured as FP Speed.



To use this mode Speed Control Method must be set to General X Over. This will allow the following settings to be adjusted:

· Eng Speed X Over - Sets the Engine Speed that fuel pump speed changes from low to high speed.

· Inj DC X Over - Sets the fuel flow that the fuel pump changes from low to high speed.



When Inj Duty Cycle is greater than Inj DC X Over OR Engine Speed is greater than Eng Speed X Over high speed pump mode is activated. Note that there is a 2% hysteresis on Inj Duty Cycle to prevent erratic switching.




--------------------------------------------------------------------------------

Three Stage PWM Speed Control



This type of control uses a Pulse Width Modulated (PWM) signal to a fuel pump speed control module to control the fuel pump speed in three steps. Only one Auxiliary Output is required to use this mode. That Auxiliary Output must be wired to the fuel pump speed control module and configured as FP Speed.



To use this mode set Speed Control Method to 80Hz 33/66/100% DC. The control will apply either 33% 66% or 100% duty cycle to the speed control module depeding on fuel flow. The following settings are available in this mode:

· FP Low -> Med - Sets the Inj Duty Cycle at which low to medium speed transition occurs.

· FP Med -> High - Sets the Inj Duty Cycle at which medium to high speed transition occurs.



Actual duty cycle applied to the fuel pump speed controller can be viewed with the FP Speed (%DC) parameter (found under Auxiliary Outputs).




--------------------------------------------------------------------------------

Closed Loop Pressure Control



This type of control continuously varies a PWM signal to the fuel pump speed control module to regulate measured fuel pressure to a target value. Only one Auxiliary Output is required to use this mode. That Auxiliary Output must be wired to the fuel pump speed control module and configured as FP Speed. An Analog Input must also be wired to a fuel pressure sensor and correctly configured to display calibrated Fuel Pressure.



Note that a special fuel pump speed control module is required for this type of control. A solid state relay will not be able to switch fast enough for variable speed fuel pump control.



Most OEM vehicles that require this type of control have the correct mechanical system to suit it. This type of control does not use a fuel pressure regulator. Only a small bleed is used to keep some fuel circulating in the system. Fuel tank heating is greatly reduced due to reduced fuel circulation and reduced fuel pump current.



To use this mode set Speed Control Method to Closed Loop. The following settings will be available:

· Fuel Pressure Target Table - Sets the target fuel pressure for given conditions (typically load and engine speed). Fuel Pressure Target is the interpolated value from this table.

· Startup Override Pressure - This pressure is used instead of the Fuel Pressure Target Table during engine starting. It allows removal of air from the system, and is required for correct operation of some GDI high pressure pumps.

· Feed Forward - Used to improve the response when Fuel Pressure overshoots or undershoots Fuel Pressure Target.

· Proportional Gain - The proportional gain component in the PID controller.

· Integral Gain - The integral gain component in the PID controller.

· Derivative Gain - The derivative gain component in the PID controller.

· Pump Off DC - The duty cycle that will be applied to the fuel pump speed control module when the engine is not running.

· Max DC Clamp - The maximum duty cycle that will be applied to the fuel pump speed control module while running.

· Min DC Clamp - The minimum duty cycle that will be applied to the fuel pump speed control module while running.



Actual duty cycle applied to the fuel pump speed controller can be viewed with the FP Speed (%DC) parameter (found under Auxiliary Outputs).




--------------------------------------------------------------------------------

Open Loop Pressure Control



This type of control uses a Pulse Width Modulated (PWM) signal to a fuel pump speed control module to regulate the fuel pump speed. Only one Auxiliary Output is required to use this mode. That Auxiliary Output must be wired to the fuel pump speed control module and configured as FP Speed. Note that a special fuel pump speed control module is required for this type of control. A solid state relay will not be able to switch fast enough for variable speed fuel pump control.



This type of control is normally used on a system with a fuel pressure regulator. The idea is to maintain a constant flow in the fuel return line for all injector flows. Keeping a constant flow through the regulator prevents fuel pressure creep. Reducing fuel pump speed when fuel demand is low also reduces fuel pump current, noise and fuel heating.



To use this mode set Speed Control Method to Open Loop. The following settings will be available:

· Prime Duty cycle - Sets the duty cycle used during Prime Time.

· FP Speed Table - Sets the desired fuel pump speed depending on Inj Duty Cycle. 0% will be pump stopped,100% will be full speed, 50% will be half speed etc. Note, the number in this table is not necessarily the duty cycle applied to the fuel pump speed controller, it is the desired fuel pump speed at a particular Inj Duty Cycle. The actual duty cycle applied to the fuel pump speed controller will depend on the following settings (refer to the equation shown below). The X Axis numbers (injector duty cycle) can be adjusted as required by pressing the X key while on this table.

· Multiplier - Scales the duty cycle to the fuel pump speed control module. For example if 80% FP Speed is desired and the pump controller needs 40% duty cycle to run the pump at 80% speed then set Multiplier to 0.5 %/%. If the fuel pump speed control module outputs the same duty cycle as its input then set this number to 1 %/%.

· Offset - Corrects the duty cycle sent to the fuel pump speed control module. This will normally be zero. For example, if the fuel pump speed control module requires a 40% duty cycle input to achieve 50% speed then Offset will be -10%.

· Min DC Clamp - The minimum duty cycle that will be applied to the fuel pump speed control module. Most pumps will not turn below approx 20% duty cycle. Set this to a value well above the pumps stalling duty cycle.

· Max DC Clamp - The maximum duty cycle that will be applied to the fuel pump speed control module. Note, some modules will go into an error state if a too high duty cycle (eg above 95%) is applied. This setting can also be used to limit max pump speed where an oversized fuel pump is used.



Actual duty cycle applied to the fuel pump speed controller can be viewed with the FP Speed (%DC) parameter (found under Auxiliary Outputs).



The duty cycle applied to the fuel pump speed controller is calculated as:



FP Speed (%DC) = FP Speed Table x Multiplier + Offset , clamped between Max DC Clamp and Min DC Clamp

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

Re: Common Rail MC33816 dev board

Post by russian » Mon May 06, 2019 2:41 am

At the moment this board is 103x63mm (4.07x2.47 inches)

That 0.07 inch / 3mm makes the difference between $20 and $30 fabrication cost. Is it too much to ask to reduce the size by 0.12 inch / 3mm to fit in 100mm?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

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

Re: Common Rail MC33816 dev board

Post by kb1gtt » Mon May 06, 2019 9:32 am

It's now a little bit shorter. Let me know if that is now short enough.
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board

Post by russian » Mon May 06, 2019 1:10 pm

kb1gtt wrote:
Mon May 06, 2019 9:32 am
It's now a little bit shorter. Let me know if that is now short enough.
New size is 101x63mm (3.97x2.47 inches)

At least for some sites it's good now since below 4 inches. Some sites could still be upset about that extra 0,033 inch if their threshold is 100mm sharp.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

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

Re: Common Rail MC33816 dev board

Post by kb1gtt » Mon May 06, 2019 4:21 pm

My measures put it at 99.x so I stopped shrinking it. I can make it a bit shorter if the mfg's say it's too big.
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board

Post by russian » Mon May 06, 2019 5:05 pm

jlcpcb says 101mm but gives the good under 4" price, so jlcpcb is good.
Attachments
chrome_HiNiFA8vbE.png
chrome_HiNiFA8vbE.png (210.37 KiB) Viewed 408 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

dist01
Posts: 24
Joined: Thu Jan 25, 2018 6:20 am
Location: Czech rebupblic

Re: Common Rail MC33816 dev board

Post by dist01 » Mon May 06, 2019 5:06 pm

It will be only CR driver?

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

Re: Common Rail MC33816 dev board

Post by russian » Mon May 06, 2019 5:10 pm

dist01 wrote:
Mon May 06, 2019 5:06 pm
It will be only CR driver?
This board would handle 4 injectors - renaming the thread

viewtopic.php?f=4&t=1511 would handle six
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

dist01
Posts: 24
Joined: Thu Jan 25, 2018 6:20 am
Location: Czech rebupblic

Re: Common Rail MC33816 dev board - 4 injectors

Post by dist01 » Mon May 06, 2019 5:14 pm

Yes and you will use your mcu from gasoline ecu?


Sent from my iPhone using Tapatalk

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by russian » Mon May 06, 2019 5:16 pm

dist01 wrote:
Mon May 06, 2019 5:14 pm
Yes and you will use your mcu from gasoline ecu?
At the moment we are thinking to use same stm32 running rusEfi for GDI - gasoline direct injection.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

dist01
Posts: 24
Joined: Thu Jan 25, 2018 6:20 am
Location: Czech rebupblic

Re: Common Rail MC33816 dev board - 4 injectors

Post by dist01 » Mon May 06, 2019 5:21 pm

you rework sw for rail pressure some pilot and main injestion? turbo pressure? same pressure/ fuel map? from edc15c?

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by russian » Mon May 06, 2019 5:27 pm

dist01 wrote:
Mon May 06, 2019 5:21 pm
you rework sw for rail pressure some pilot and main injestion? turbo pressure? same pressure/ fuel map? from edc15c?
I believe you are looking to chat and not about MC33816 dev board. I would prefer not to discuss these offtopic issues within this MC33816 dev board forum thread.

Please see viewtopic.php?f=13&t=1198 for slack registration, relevant room in chat is https://rusefi.slack.com/messages/CFP3QAJCW/
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by kb1gtt » Mon May 06, 2019 11:44 pm

I hear it's small enough, so I do not currently plan to make it smaller, unless someone tells me it should be a bit smaller.
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by russian » Wed May 08, 2019 12:03 pm

At the moment BOM includes IHLP6767GZER100M01 FIXED IND 10UH 16.5A 12 MOHM SMD which is $5.37@10

What do we think about srp1265a-100m FIXED IND 10UH 10A 16.5 MOHM SMD which is $1.57@10?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

960
contributor
contributor
Posts: 285
Joined: Mon Dec 10, 2018 1:22 am
Soldering skill: yes
Coding skill?: yes

Re: Common Rail MC33816 dev board - 4 injectors

Post by 960 » Wed May 08, 2019 3:43 pm

Bom from the original board shows SRP1245A-100M, so that sounds close enough

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by kb1gtt » Thu May 09, 2019 12:13 am

Hmmmm, how did that get in there. The SRP1250-100M should be just fine. I wonder why I didn't use the one in the datasheet, perhaps it was not available at that time, or perhaps it some how got copied from another reference design. I'm not sure, but as far as I can tell, the SRP1250-100M should be fine assuming it fits on the pads.
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by russian » Tue May 14, 2019 4:12 am

Attachments
Image from slack.jpg
Image from slack.jpg (1014.85 KiB) Viewed 325 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by kb1gtt » Tue May 14, 2019 9:07 am

Looks like someone is slacking :)
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by russian » Thu Jun 06, 2019 10:24 pm

Attachments
Image from iOS (2).jpg
Image from iOS (2).jpg (1.35 MiB) Viewed 228 times
Image from iOS (1).jpg
Image from iOS (1).jpg (793.92 KiB) Viewed 228 times
Image from iOS.jpg
Image from iOS.jpg (1.1 MiB) Viewed 228 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by kb1gtt » Fri Jun 07, 2019 9:50 am

Oops cap and inductor consume the same space :( also how did I forget a place for 12V and Gnd. Cool to see the first spin is being built.
Welcome to the friendlier side of internet crazy :)

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

Re: Common Rail MC33816 dev board - 4 injectors

Post by mck1117 » Fri Jun 07, 2019 9:15 pm

kb1gtt wrote:
Fri Jun 07, 2019 9:50 am
Oops cap and inductor consume the same space :( also how did I forget a place for 12V and Gnd. Cool to see the first spin is being built.
Thankfully the 12v/gnd omission isn't too big a deal, because the input filter caps have nice big pads to solder wires to.

Post Reply