|
|
|
|
Thread Tools | Display Modes |
|
01-30-2008, 05:12 PM | #1 |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
What is ECU execution frequency?
Does anyone know ECU execution frequency for USDM '02 WRX? Specifically interested in how often it executes boost control algo to calculate new wgdc.
If I do single variable log, I get ~90ms sample rate through OBDII interface. (thanks enginuity!) I imagine it's faster than that... Related info that could help if anyone knows: -Who makes subaru ecu's? Maybe manufacturer publishes specs. -What do typical standalone EMS execute at? TIA. |
01-30-2008, 05:50 PM | #2 |
Scooby Newbie
Member#: 67483
Join Date: Aug 2004
Location: Sacramento, CA
Vehicle:2005 WRX STi |
I don't have an answer but I just want to ask, are you looking for the time portion of the Integral calc on the Boost control loop?
|
01-30-2008, 11:29 PM | #3 |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
Basically. That's what initiated the question. How long between execution of integral algo.
Background: I did a little step test. Turn off wgdc compensation, set max wgdc limit at x% until 3700rpm then drop limit to (x-y)% at 3701 rpm. log mrp and you get a negative step test. with my car and gmbcs 5% step in wgdc = ~1.5psi and took about 1200 ms to reach steady state. Can't remember time constant ~320ms? (Don't have file w/ me at home). I even was able to see a bit of dead time w/ obdII interface resolution. pretty neat if you're a geek. Anyway, I need to know execution period of integral algo to finish my little exercise. But now I'm also interested in base clock spd of our ecu. Assume all other algos will be executed as integer multiples of base. I'll give openecu.org a search. Hadn't checked there. |
01-30-2008, 07:30 PM | #4 |
*** Banned ***
Member#: 115819
Join Date: May 2006
Chapter/Region:
Tri-State
Location: UDel, illidelphia
Vehicle:2006 vf39 R0mRa1DeR Darknessess Wagon |
Sounds like he's looking for the frequency.. not sure if this would be the cpu clock speed or a proportion of it... There are quite a few posts about the various ecu hardwares on Openecu.org forums, including some manufacturer spec sheets iirc.
|
01-30-2008, 10:04 PM | #5 |
Scooby Newbie
Member#: 122595
Join Date: Aug 2006
Chapter/Region:
NWIC
Vehicle:2005 LGT Wagon ABP |
I think turbo dynamics are updated every 70 to 80 ms on a 2005 LGT. However, it seems like the ecu should respond faster than that especially considering injector pulse width can be very low.
|
01-30-2008, 11:35 PM | #6 |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
Thanks. I'll use this for now and see what I get. Any background on source of your numbers?
|
01-31-2008, 12:25 AM | #7 |
Scooby Newbie
Member#: 122595
Join Date: Aug 2006
Chapter/Region:
NWIC
Vehicle:2005 LGT Wagon ABP |
32 bit ecus are a little different. I just set TD integral to 1% and then watched how long it took for TD integral to windup.
|
01-31-2008, 09:41 AM | #8 |
Scooby Guru
Member#: 10108
Join Date: Sep 2001
Chapter/Region:
NWIC
Location: Portland, OR
Vehicle:1874 Bicycle |
All of that is only one algorithm running on one thread. I am having a hard time finding the specifics of the Denso ECU, but there is a spec sheet somewhere. My point is, you do not know the priority of each thread, so your tests would be limitted to that one function of the ECU. Bascially, each different algorithm will have a different frequency based on what is more important. Knowing the CPU frequency will not tell you much unless you wanted to use the Denso ECU hardware and rewrite all of their code to make a standalone. There are more powerfull boards out their that can be used to produce a better plug in replacement for cheaper if you wanted to write your own standalone EMS.
Gabe |
01-31-2008, 11:21 AM | #9 | ||
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
Quote:
You're right though, for my purposes consider this thread closed. Quote:
Thanks for input folks! |
||
01-31-2008, 11:08 AM | #10 |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
|
01-31-2008, 08:06 PM | #11 |
Scooby Specialist
Member#: 88322
Join Date: Jun 2005
Chapter/Region:
MWSOC
Location: Indianapolis, IN
Vehicle:2009 BMW 135i |
There is a whole OS layer that handles execution priority and a very complex timer system. You can search around for "Hitachi Vehicle Operating System". Both the 16bit and 32bit ECU seem to use this OS.
One of the most important features of the specific chips our cars use is the counter systems they integrate. Lots of timers, and they are used to trigger interrupts to ensure certain things are run on a regular basis. I suppose one could accurately test execution speed by inserting a counter into each code segment you'd want to test, then you can log it. I suspect RPM and crank position are calculated every time the crank sensor detects a tooth. I.e., ridiculously fast. Boost control is very slow, around 15hz. |
02-01-2008, 04:41 PM | #12 | |
Scooby Guru
Member#: 10108
Join Date: Sep 2001
Chapter/Region:
NWIC
Location: Portland, OR
Vehicle:1874 Bicycle |
Quote:
|
|
01-31-2008, 10:10 PM | #13 |
Scooby Newbie
Member#: 122595
Join Date: Aug 2006
Chapter/Region:
NWIC
Vehicle:2005 LGT Wagon ABP |
I'm not sure what OP's needs are, but the only two things that I have found a time interval requirement are boost control and tip-in. For boost control, we can calculate that time as mentioned above.
However, for tip-in, the delta throttle change needs to have a time reference. So far, all I have been doing is changing the slope of the tip-in curve (starting at the corner) to drop the lean spike down. |
02-01-2008, 04:16 PM | #14 |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
The PhD Dilemma
I'm an engineer. <-- don't hold this against me. Among engineers, I find myself falling between the "neat to know/PhD" type pursuits and the "practical/B.S." type applications. Once in a while, the "neat to know" work leads to a great practical idea --- If I don't get too bored with the topic first.
So this thread is right up my alley Re: my original purposes. I'm retuning (very slowly) my XPT stg2 gmbcs map. I took out a bit of timing to get rid of knock and now I'm learning about boost control. Along the way, I'm picking up info on neat subjects like rescaling MAF, how to start tuning from stock map, tip-in fueling, etc. This is the most fun hobby I've had in a while. It's applicable to my career to boot. Re: Boost tuning. Not many people talk TDB. Is the TDB thread triggered by change in TPS or change in Boost Target? And how often is trigger evaluated? Same frequency as TDI (I got ~84ms for my '02)? With mickeyd's TDI experiment as inspiration, I am thinking of a way to find out about TDB. We'll see. |
02-01-2008, 04:41 PM | #15 |
Scooby Specialist
Member#: 103136
Join Date: Dec 2005
|
|
02-01-2008, 05:39 PM | #16 | |
Scooby Newbie
Member#: 94656
Join Date: Aug 2005
Chapter/Region:
TXIC
Location: SE Texas
Vehicle:02 WRX Quicksilver hums Indiana Jones theme |
Quote:
So the TDB action is somewhat of a "one-shot" correction, only applied when boost error changes signs w/ value outside activation window? OR is there more implied by the "extremely quickly"? Reading about the 32bit approach to boost control makes me want to give up on my 16bit control and go w/ hybrid mbc setup as some have suggested. Only concern I need to squash is mbc unable to taper boost near redline. I don't fully understand what ill-effects this might have. Slightly less power due to operating at lower efficiency range? Quote:
On a side note, I'm currently perusing other job options and did a search for "powertrain engineers".. For those future ME's on the board, might be worth considering. Too late for me. I went down the chemistry side. DOH! I should have been a ME. |
|
02-01-2008, 06:12 PM | #17 |
Scooby Specialist
Member#: 103136
Join Date: Dec 2005
|
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why doth thou Executive Admin Assistant thinketh she is an executive? | -=C=- | Off-Topic | 34 | 11-20-2009 02:11 PM |
RE: ECU sampling frequency? | verc | Engine Management & Tuning | 2 | 08-21-2004 01:48 AM |
Anyone know what year ecu this is? | Avenger | Normally Aspirated Powertrain | 4 | 05-22-2003 08:46 PM |
What is stock ECU max boost per gear? | WRXTom | Factory 2.0L Turbo Powertrain (EJ Series Factory 2.0L Turbo) | 11 | 09-13-2002 10:42 AM |
Group N ecu, what is it? | skidplatez | Motorsports | 5 | 06-05-2001 10:06 PM |