Search found 91 matches

by mtmotorsport
Tue Jul 04, 2023 11:18 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Yes it is, and I didn't know that. Air flow is a big deal, that makes the rest of the torque calcs easier. And this doesn't have to be some extremely precise value, I'm sure +- 25-50Nm is fine. Yes there should be scalars for temps, specific fuel energy, friction, etc but really for most aftermarket...
by mtmotorsport
Tue Jul 04, 2023 11:00 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Can you share the script? There are some proposals to have build in higher level torque redu tion functions into Lua. What I really think would be ideal but I have no idea how hard it would be to implement is some rudimentary torque broadcast. Could be as simple as displacement vs fuel flow vs ve*m...
by mtmotorsport
Tue Jul 04, 2023 10:00 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

function onCanRx(bus, id, dlc, data) if id == 287454020 then blip = data [1] c = data [2] tt = data[4] end ---- function onTick() setEtbAdd(blip) cut = - c setTimingAdd(cut) The rest of the code that has nothing to do with this was left out, but I can post the whole mess if anyone cares to see it.
by mtmotorsport
Tue Jul 04, 2023 8:36 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Using Lua for setTimingAdd() and setEtbAdd() for torque reduction and rpm blips via CAN from HTG trans controller. Works great. Video on the Facebook group. Next up is firmware update for table blending. Want to use that for E85 blending and setBoostDutyAdd() for a bit more boost when you get stuck ...
by mtmotorsport
Fri Jun 23, 2023 12:06 am
Forum: Dev: Hardware
Topic: smallCANboard also known as Small CAN Board
Replies: 15
Views: 31311

Re: smallCANboard also known as Small CAN Board

AndreyB wrote:
Thu Jun 22, 2023 4:00 am
How much do you need? At the moment it's 50K
Lua memory heap usage: 29830 / 60000 bytes = 49.7%
by mtmotorsport
Thu Jun 22, 2023 9:02 pm
Forum: Dev: Hardware
Topic: smallCANboard also known as Small CAN Board
Replies: 15
Views: 31311

Re: smallCANboard also known as Small CAN Board

I was thinking along two lines. One is a CAN gateway. Something to communicate with different buses (at different speeds). For things like OEM chassis integration, or passing info from one bus to another. Having the ECU broadcast at 500k, and then this device can pass some messages to a 250k bus, or...
by mtmotorsport
Thu Jun 22, 2023 2:41 am
Forum: Dev: Hardware
Topic: smallCANboard also known as Small CAN Board
Replies: 15
Views: 31311

Re: smallCANboard also known as Small CAN Board

How much lua program space?
by mtmotorsport
Sun Jun 11, 2023 1:50 am
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Awesome! Will try that tomorrow night hopefully
by mtmotorsport
Sat Jun 10, 2023 11:09 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

The firmware I'm running doesn't have blend tables. I will try the new firmware with blend tables, as long as the fuel pump flag is visible to Lua as I need that for PDM fuel pump control.
by mtmotorsport
Sat Jun 10, 2023 10:34 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Making the switch to E85. After a couple dyno runs I think there needs to be a user adjustable enrichment factor. I have the VE table well calibrated on 94 octane pump gas (E10 here in Canada). Flex fuel sensor reports 10-11% content. Now I'm using some motorsport grade E85 which I believe is oxygen...
by mtmotorsport
Fri Jun 02, 2023 3:37 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Just noticed cold start datalog doesn't start until a second after it actually fires. I'll try that again later today.
by mtmotorsport
Fri Jun 02, 2023 3:31 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Tried to disable the coasting IAC and it just hangs up around 2000rpm. I had enabled it for that reason. If I set the ETB target table low enough to get the engine to return to idle it has too much engine braking to drive smoothly. Ideally if we had some taper time from IAC coasting position to base...
by mtmotorsport
Fri Jun 02, 2023 2:15 am
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Fixed
by mtmotorsport
Thu Jun 01, 2023 8:42 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Update on this project: Runs fairly well except for coasting in gear to idle. The engine will start bucking around 1300-1400rpm until you press the brake to slow it down, or clutch in. This problem happens at the target idle rpm value plus the RPM upper limit idle detection threshold. What I'm seein...
by mtmotorsport
Tue Apr 18, 2023 2:49 am
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Thats ok, for now I will use engine rpm > 0 to control the fuel pump.

Adding support for commercially available CAN devices would be nice. I'm not use any "motorsport" PDMs in this car so all the control script is custom anyways.
by mtmotorsport
Tue Apr 18, 2023 2:43 am
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

It was being used to control fuel pump via CAN. Updated to latest firmware and no more fuel pump function.
by mtmotorsport
Tue Apr 18, 2023 1:47 am
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

Also, isFuelPumpOn is no longer a valid getOutput in the latest snapshot firmware?
by mtmotorsport
Sun Apr 16, 2023 9:50 pm
Forum: You and your build
Topic: NA Miata EcotecMiata Race Car
Replies: 68
Views: 64820

Re: NA Miata EcotecMiata Race Car

So we've swapped a ZF 8HP into this car. Trans controller is broadcasting requests for throttle blips, and torque reduction for gear changes. I am using the Lua scripting to implement the throttle blips with setEtbAdd(blip). This works fine. My question is with the ignition retard or spark cut to re...
by mtmotorsport
Tue Feb 28, 2023 11:00 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

ETB issues sorted. Next issue is GP PWM output. Attempting to use GPPWM1 to control intake flap. Lowside 9 output on Proteus. I know the output physically works, if I set it to Fan1 it behaves as I would expect. However with the GP PWM table I've got it will not activate the output. I've uploaded th...
by mtmotorsport
Thu Feb 02, 2023 11:47 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Ok, I think I found the reason for failing auto TPS calibration. It seems there is about 0.200v of movement on the main TPS before the secondary TPS catches up. This is a combination of the angle of the linkage and the small amount of play in 30+ year old ITBs. My solution is to fit a dual track TPS...
by mtmotorsport
Thu Feb 02, 2023 6:05 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

Can anyone see why this is failing ETB TPS auto calibrate? Using the E46 M3 throttle actuator, there is one TPS (I've wired it as the main TPS, TPS1) on the actual actuator itself. The secondary TPS (2) is on the actual throttle body shaft. This is identical to the factory E46 M3 setup. This actuato...
by mtmotorsport
Tue Nov 15, 2022 1:10 am
Forum: Dev: Software
Topic: SENT J2716 Protocol
Replies: 40
Views: 34203

Re: SENT J2716 Protocol

Fantastic results!

Is this direct to ECU SENT?
by mtmotorsport
Wed Oct 26, 2022 7:50 pm
Forum: Tuning Support: Making it Run
Topic: Start Button Function
Replies: 6
Views: 9377

Re: Start Button Function

startstopstate changes as expected. Lights up when I request a crank event, turns off when I let go of the button. The SD logs do not show this start stop state so I cannot confirm operation there. What I am seeing is the SD logs start at an Uptime counter of 5. The SD log files always start with th...
by mtmotorsport
Tue Oct 25, 2022 3:50 pm
Forum: Tuning Support: Making it Run
Topic: Start Button Function
Replies: 6
Views: 9377

Re: Start Button Function

Possibly rectified the SD car logging issue. Card was not inserted properly.
by mtmotorsport
Tue Oct 25, 2022 3:24 pm
Forum: Tuning Support: Making it Run
Topic: Start Button Function
Replies: 6
Views: 9377

Start Button Function

Setting up the push button start function and I've run into an issue. Current config: Proteus 0.7 F7, firmware snapshot 1019 Start Pin: Analog Volt 11 Mode: Default Starter Control: Lowside 10 Crank max time: 5 seconds With the laptop connected the engine cranks immediately upon request. With no lap...
by mtmotorsport
Tue Oct 25, 2022 2:52 pm
Forum: You and your build
Topic: Teves mk60 Standalone ABS
Replies: 13
Views: 14597

Re: Teves mk60 Standalone ABS

Following this thread with great interest. MK60 on my race car as well.
by mtmotorsport
Wed Sep 28, 2022 1:45 pm
Forum: You and your build
Topic: BMW e34 M5 S38
Replies: 23
Views: 22376

Re: BMW e34 M5 S38

That would be great!