View Full Version : Configuring O/P on SM4
MRMRacing
March 15th, 2008, 09:07 AM
O/P Setup
The O/P Setup menu is used to enable and configure auxiliary functions.
Some functions need an output to be enabled. Some functions that have no physical output can select "ON-No O/P" which enables the function, but to no pin.
Stepper motors need to select the O/P pins then the stepper sequence(Properties).
H-Bridge types, need both sides of the bridge for this to function. You will need to select push/pull type drivers.
When problem with O/Ps, this menu is shown red with the status "Conflict".
Some outputs can be paralleled for increased output current rate.
Chose a function and press “Enter” and you will be directed to a list of selectable outputs, variables or just enabling a function without any output pin.
Some outputs have more submenus like PWM, Stepper and if selecting Multi select O/P for increased output current. Move to the right with “Arrow” key and press “Enter” for editing the submenus.
Most outputs pull to ground when enabled, but the Ignition outputs (if available) and stepper outputs are push-pull type and switch between +12 Volt and ground, when inhibited or not used they are potential free.
See Output Channel Electrical Characteristics in this manual for further information.
Example Anti-Lag and no output pin are used:-
Select O/P Anti lag press “Enter” chose On-No O/P press “Enter”. Anti Lag can now be configured under menu M5 – Anti Lag.
http://www.mrm-racing.se/images/ant.gif
Example Boost control to PWM 5 O/P:-
Select O/P Boost press “Enter” chose PWM 5 O/P press “Enter”. Move to the right with “Arrow” key to “Properties”, press “Enter” and select frequency for the boost solenoid to operate at, 20Hz (select 19 in menu) is normal for Autronic small boost solenoid.
http://www.mrm-racing.se/images/freq.gif
Example GPC 1 O/P to the four Stepper outputs for increased output current:-
Select O/P GPC 1 press “Enter” chose one mR type (Multi Re-direct), press “Enter”. Move to the right with “Right Arrow” key to “Invert & Select”, press “Enter” and select the desired outputs (you chose more than one here) with “Space Bar”, press “Enter”. You can also select the fervency like the example above.
http://www.mrm-racing.se/images/opset.gif
Inverting an output;
When inverting an output it actually inverts the function, if using an output table as below;
http://www.mrm-racing.se/images/inv.gif
If output is inverted (press “i” when selecting output) and table look like above the output result would be like this;
http://www.mrm-racing.se/images/opinv.gif
Tip:-
If using a Push-Pull output (Stepper & Ignition O/P) and invert you can use it for supplying power (instead of ground, as most outputs) to a Shift-light, Error light, Fan relay or others that needs power (+12 volt) instead of ground.
As said earlier the Push-Pull type switch between +12 volt and ground, when inhibited or not enabled the output are potential free.
When you invert a Push-Pull output it is actually like shifting output polarity, If you connect one Push-Pull output to a stock fan relay and fan stops instead of starting you just needs to invert the output.
turboe36
March 15th, 2008, 01:52 PM
Thank you for the write up!
When using an ON/OFF output and a table like above with 0's and 100's, where does the autronic actually switch? For example you have at 20kpa = 100, and 30kpa = 0... Does the ECU interpolate and arrive at a 25kpa switching point? Or does it turn on at 30kpa and turn off at 20kpa?
Hopefully I made that clear enough to understand :D
Thanks.
Ian
March 15th, 2008, 02:26 PM
Thank you for the write up!
When using an ON/OFF output and a table like above with 0's and 100's, where does the autronic actually switch? For example you have at 20kpa = 100, and 30kpa = 0... Does the ECU interpolate and arrive at a 25kpa switching point? Or does it turn on at 30kpa and turn off at 20kpa?
Hopefully I made that clear enough to understand :D
Thanks.
That depends of if you have the GPC assigned directly to a non-PWM output or a PWM or via a software PWM output.
If the GPC is assigned to a PWM output (or via a software PWM) then the output will be a PWM % in direct proportion to the interpolated site value.
If the GPC is assigned direct to an output (other than a PWM) then the output will function as a Hysteresis loop. That is, it will turn on when the interpolated table value reaches 100% and stay on until the interpolated value drops to 0%.
Marcel B
March 15th, 2008, 09:41 PM
How can this "Some functions that have no physical output can select "ON-No O/P" which enables the function, but to no pin." function ? if there is no pin to output to , then what is the use ?
Also , I would like to have the ecu monitor oil and fuel pressure , as well as water injection flow then set it up so that the ecu would make changes based on these velues , for example , if the oil pressure isn't 60psi @ 4000rpm , 90psi@6000rpm etc . then the ecu should limit the rpm's to a safe value like 3500 rpm , or if my fuel pressure is below 45psi @ 10 psi boost or 55 psi @20psi boost then the ECu should limit boost or even rpm . How would these tables be set up ?
Ian
March 16th, 2008, 01:29 AM
How can this "Some functions that have no physical output can select "ON-No O/P" which enables the function, but to no pin." function ? if there is no pin to output to , then what is the use ?
ALS is the prime example. The ALS function includes the Idle output % in M4 - Antilag setup screen, so there is no need to assign an output to ALS if you are only using the Idle valve for your bypass air.
If however you have an seperate bypass valve or are using a throttle kicker then you would specify it in the O/P setup menu. The On - No O/P is so you can free output pins for other functions rather than waste an output pin when it may be the last one for a function you need.
Similarly, the function of the Sfw Out 1 - 8 (internal outputs) is so you can control a function with multiple GPC's if one GPC doesn't have enough parameters. You would assign the first GPC to a software output and that software output becomes a parameter in the second GPC which is then assigned to a physical output.
Also , I would like to have the ecu monitor oil and fuel pressure , as well as water injection flow then set it up so that the ecu would make changes based on these velues , for example , if the oil pressure isn't 60psi @ 4000rpm , 90psi@6000rpm etc . then the ecu should limit the rpm's to a safe value like 3500 rpm , or if my fuel pressure is below 45psi @ 10 psi boost or 55 psi @20psi boost then the ECu should limit boost or even rpm . How would these tables be set up ?
At the moment you can use GPC's to provide a warning (like a big light) based on those parameters or provide a software switch input to the RPM Limit 2 table. To do as you suggest would require the RPM Limit table to be 2-dimensional. Another item for the wish-list perhaps?
RAC
March 16th, 2008, 03:47 AM
If your not using lanuch control then you can use that as another rev limit that can be controled the same as rev limit 2.
roberto arano
March 16th, 2008, 04:12 PM
yes you can do some usefuls (and crazy) things with the outputs,to get multidimesional outputs using the "no-pin" feature.
I used alot of "stages" one time on a project where i neede provide an "emulated' maf sensor signal to the cars stock ECU. I had to do this because the car's gearbox (special twin turbo mercedes c55) uses that signal for load limit and sfift point calculations.
What i did was set up a series of tables with each table feeding it's output into the next table as an axis. the tables were charge temp,rpm,map etc (plus a clamping table for the load limit). so the finall output equated to airflow with a maximum ceiling dpendent on RPM (that is how the stock ECU infers torque).The output was a PWM that i put thru an R-C filter and an amp. Now that I think of it, i could have maybe taken the Autronic pulse width output to the injectors and did math on that etc, but i can't remember if there are tables allowing that as an input axis....my mind is wandering now.. ANyway the technique worked, and it even worked for the fueling (Autronic was only controlling secondary injectors) . But it was not perfect at idle as the response of the channel was a bit too slow, however it the autronic was not designed for this purpose, it's just an example of how configurablethe SM4 is.
The ideal situation for my unusual project would have been be if the SM4 had an output channel that reflected the calculated massflow from it's Speed Density algorithm) that it already does internally to calculate the injector pulsewidth.
In the end I had to use a dedicated box made to convert speed density into an emulated MAF signal because it had a higher sampling rate/frequency output.
Marcel B
March 18th, 2008, 03:07 AM
[
Similarly, the function of the Sfw Out 1 - 8 (internal outputs) is so you can control a function with multiple GPC's if one GPC doesn't have enough parameters. You would assign the first GPC to a software output and that software output becomes a parameter in the second GPC which is then assigned to a physical output.
QUOTE]
Ok .........I get it now , cool ................
At the moment you can use GPC's to provide a warning (like a big light) based on those parameters or provide a software switch input to the RPM Limit 2 table. To do as you suggest would require the RPM Limit table to be 2-dimensional. Another item for the wish-list perhaps?[/
any more detail on how to set up the SM4 to do something like this ? can anyone shed some light on how I would go about limiting my motor based on oil pressure and my boost based on fuel pressure or a/f ratio ? It may be easier to post a cal file instead of trying to write about it ! just a thought .
Marcel B
March 21st, 2008, 01:45 AM
Anyone ?
MRMRacing
March 21st, 2008, 08:53 AM
This can be done but you have to specify more exactly what you want. For the limiting control you can use rev limit 2, set up a gpc based on your demands regarding oil pressure and boost, use that to enable rev limit 2. For next what do you mean with A/F ratio? The measured A/F ? You can use the Boos modifier table for this with GPC or just the two axis in boost modifier. If Boost modyfier is already used you can make a more complex setup where you set Boost O/P to a Sfw variable, and use gpc for your other variables like A/F & Fuel pressure, and then in another gpc "link" the two variables to one and send it out to a O/P pin.
Attach cal file and exactly what you want and I will fix it!
Marcel B
March 21st, 2008, 12:10 PM
Great !! I just need to know that it can be done , because I am tired of blowing motors ! I will put up the cal file soon, but to write it I will need to know a bit more about the computer and its software . This is why I wanted a manual .
nisse järnet
March 12th, 2010, 01:23 AM
Also , I would like to have the ecu monitor oil and fuel pressure, for example , if the oil pressure isn't 60psi @ 4000rpm , 90psi@6000rpm etc . then the ecu should limit the rpm's to a safe value like 3500 rpm , or if my fuel pressure is below 45psi @ 10 psi boost or 55 psi @20psi boost then the ECu should limit boost or even rpm . How would these tables be set up ?
Can someone tell me how to fix this? :) I dont really get it...
MRMRacing
March 12th, 2010, 08:17 AM
There are many ways but here are two ideas;
If you only use one pressure sensor you can use that analog axis directly in the boost modifier table, and can reduce boost on different rpm depending of the pressure sensor.
If you want two pressure sensors, you can set up two gpc´s and use rpm & pressure sensor (analog channel) in each table. Then you can make a "mix" table that passes the 100 % value thru to a varible and use that in the boost mod table and/or to activate second rev limit. Instead of using a mix table you can set up the "main" gpc to have inhibit on the other gpc and output 100% if the other gpc has this, easier setup with only two gpc.
To make it more difficult you can set it up in the User channel 1-4 and display the pressure in bar and use it in the gpc instead of the raw signal (analog channel). You can also here set up min & max values (in user channel) and fall into limp home mode if under set value but you can not make any table here at different rpm.
Ian
March 12th, 2010, 10:05 AM
I have previously set this up for an engine with suspected oil surge on the racetrack. If the oil pressure was not at a minimum value for rpm the GPC output turned the RPM Limit 2 table on. I am searching for the calibration and will put up the details of how I did it.
GordonE
June 17th, 2010, 06:41 PM
Hi
I have just connected a 0-5v oil pressure sensor to my SM4 and I want to do a rev limit based on oil pressure. It would be good with som guidance here!
Have you found the cal Ian?
GordonE
June 17th, 2010, 09:47 PM
Hi again!
I got a little eager, so I thought that I would give it a try!
I have made a function that enables the Rev limiter 2.
I have assigned O/P GPC7 to Sfw Out 1.
Then I have assigned Sfw Out 1 to I/P Rev limit 2.
And I have made a table that enables the Rev limit based on engine speed and oil pressure.
I am not sure about how my oil pressure is yet, my std oil pressure gauge ends at 3bar(Mercedes), so I have to tune the table. I am currently running oil with different viscosity than I will run later on, so this is just a start map.
The sensor is a Kavlico 0-5V sensor(0Bar=0.5v; 7Bar=4.5v) that originates from a Volvo Construction Equipment engine.
I am not sure if it works yet, because I am in my sofa working with the theoretical part :) Can anyone look at it perhaps?
Thanks Gordon