Custom ETB/DBW board

Your chance to introduce yourself and your vehicle
Post Reply
FFG_Garage
Posts: 16
Joined: Tue Jul 11, 2023 8:37 pm

Custom ETB/DBW board

Post by FFG_Garage »

Hello, I'm Laszlo from Hungary.

I have some own designed board with STM32F405RGT6 mcu. I designed this board to a stand alone electronic throttle body controller for my cars. I tested it with some throttle body form mercedes inline 6 engine, auti 1.8t, bmw 330i and some others, all of it work perfect. I use f407_discovery fimrware package. the first panel have the VNH5050A H-Bridge ic, the second panel have more options to the H-brige, I tested the TLE9201, this is working well too. In the future I will test some more H-bridge, because now hard to buy any of these ICs.

Now I tried it to use in a BMW e36 M3 engine (S54). This is a inline 6 engine with a factory ITB. The ITB have an electronic actuator, the actuator drive the ITBs with a linkage. 1 TPS potentiometer on the actuator shaft ant 1 on the cylinder 1 ITB. when I slow accelerating or decelarating, everything is ok, but when I hit the pedal very fast, the ETB TPS error counter increase, and when it hit the 50 the controller stop working. the 2 tps potentiometers is new. I see in the log files when the pedal move fast, the TPS adc can lower than the TPS normal state (TPS adc in normal not pressed pedal is 207, in the log I see 140 for a very short time. In this ITB not negative range, when the actuator no voltage, the TPS adc is 207. ) but in the log, the ETB TPS error not increasing that time when the TPS adc hit under the normal state. somebody tell me what parameter is trigger the ETB TPS error counter? And how can I log the TPS1primary adc, TPS1secondary adc, acceleration pedal sensor 1 and 2 adc or voltage? I can't find it in the log file.

https://rusefi.com/online/view.php?msq=1504

https://rusefi.com/online/view.php?log=1256

sorry for my poor English
User avatar
AndreyB
Site Admin
Posts: 14347
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Custom ETB/DBW board

Post by AndreyB »

FFG_Garage wrote:
Tue Jul 11, 2023 9:22 pm
when I slow accelerating or decelarating, everything is ok, but when I hit the pedal very fast, the ETB TPS error counter increase, and when it hit the 50 the controller stop working
Could this be due to wrong RC filter parameters? Please understand - the moment you say "custom board" it could be more or less anything.

I would recommend sourcing one official board and compare behavior's between official board and custom board.

Code: Select all

entry = rawTps1Primary, "rawTps1Primary", float,  "%.3f"
entry = rawPpsPrimary, "rawPpsPrimary", float,  "%.3f"
looks like TS should be logging those?

Your written English is amazing.
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
FFG_Garage
Posts: 16
Joined: Tue Jul 11, 2023 8:37 pm

Re: Custom ETB/DBW board

Post by FFG_Garage »

thank you for your reply!

now I see in the log the raw data. I see when I push the pedal, the ETB Duty increasing (123.070 in the picture), but for a short time the TPS go to negative direction and after that go to the right direction. I think when the ETB Duty is 123, pedal is pressed but the TPS move to negative, the ETB TPS error counter increasing. Can you confirm this or tell me what is the parameter(s) that trigger the ETB TPS error counter?

I will check this short time negative movement is a realy hardware error or a measuring error.
tpserror1.PNG
tpserror1.PNG (43.23 KiB) Viewed 3136 times
User avatar
AndreyB
Site Admin
Posts: 14347
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Custom ETB/DBW board

Post by AndreyB »

FFG_Garage wrote:
Thu Jul 13, 2023 9:00 am
what is the parameter(s) that trigger the ETB TPS error counter?
We chose not to offer any flexibility in this area - all the discrepancy detection parameters are hard-coded.
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
Post Reply