Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   Preferred Method of EBC Tuning MS3 1.4.1 (https://www.miataturbo.net/megasquirt-18/preferred-method-ebc-tuning-ms3-1-4-1-a-92161/)

fwman1 09-01-2017 07:16 PM

1 Attachment(s)
Finally got around to posting the PID logging function available in 1.5.3. I'm having to redo the clbc as I replaced my boost actuator. Just trying to handle it myself rather than bugging my tuner for it. My maps have solid fuel and timing higher than I am seeing on boost overshoot, and I have boost cut enabled, so I don't expect I'll break anything. It is still somewhat rough though. There are a couple more pulls past 118 sec. First time snipping one of these files.

You need to enable INTERNAL_LOG_FIELDS in your project properties, then you can add fields like these to your SDcard datalog. These are not available in regular datalogs.
pid_log_boost_p
pid_log_boost_i
pid_log_boost_d
pid_log_boost_count
Settings:
P=35
I=1
D=195
Slider=490
Lower Delta=30

Per the developers...
Note that these are in internal units which won't necessarily correspond to the externally visible units e.g. for idle the 0-100% scale is handled 0-255 internally. Viewing the "idle steps" field gives you 0-255. The "count" field increments each time the calculation is run, so log this as well.

DNMakinson 09-02-2017 01:00 AM


Originally Posted by fwman1 (Post 1437307)
Finally got around to posting the PID logging function available in 1.5.3. I'm having to redo the clbc as I replaced my boost actuator. Just trying to handle it myself rather than bugging my tuner for it. My maps have solid fuel and timing higher than I am seeing on boost overshoot, and I have boost cut enabled, so I don't expect I'll break anything. It is still somewhat rough though. There are a couple more pulls past 118 sec. First time snipping one of these files.

You need to enable INTERNAL_LOG_FIELDS in your project properties, then you can add fields like these to your SDcard datalog. These are not available in regular datalogs.
pid_log_boost_p
pid_log_boost_i
pid_log_boost_d
pid_log_boost_count
Settings:
P=35
I=1
D=195
Slider=490
Lower Delta=30

Per the developers...
Note that these are in internal units which won't necessarily correspond to the externally visible units e.g. for idle the 0-100% scale is handled 0-255 internally. Viewing the "idle steps" field gives you 0-255. The "count" field increments each time the calculation is run, so log this as well.

What is in your bias table at 190 kPa and 5000-6000 RPM?

This is absolutely awful, by the way:


https://cimg9.ibsrv.net/gimg/www.mia...c938debf4c.png


20 kPa oscillation with huge swings in duty cycle



https://cimg1.ibsrv.net/gimg/www.mia...4345959cb4.png

Insufficient Integral to pull PV (boost) back to SP (Target)

fwman1 09-02-2017 12:52 PM

Yep, it is awful. I haven't set up the bias table for 90 & 100% yet.
There is an Auburn football game today. Yesterday when I went out to work on these sections there was a State trooper literally in the turnaround I use on one end of the stretch of hwy I use. Didn't get anything done at all.
What I try to do is to have the bias set where the initial set once I'm in range be a value the is very close to that needed to maintain that target. I need to do some runs to establish those values.

I thought it would be good to finally show where you can watch the PIDs.

DNMakinson 09-02-2017 12:57 PM

And we appreciate the data. My point is that, I don't think your tuner utilized that data to obtain a good end. I had questioned the PID settings when you mentioned them before. Seeing the log only confirmed my suspicions that they are way off.

EDIT: go https://www.miataturbo.net/megasquir...3/#post1437218 to see the results of my very different settings. Not saying that my aggressive setttings would be appropriate for a larger (slower responding) Turbo, but they make more sense to me in general. P & I driving things with a sprinkling of D.


All times are GMT -4. The time now is 10:34 PM.


© 2024 MH Sub I, LLC dba Internet Brands