PID logging idea

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
elaw
Super MS/Extra'er
Posts: 2926
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

PID logging idea

Post by elaw »

From time to time I've seen people ask here to have individual P/I/D values for things like idle and boost control logged. And I understand that's a lot of work for the coders and would take up a lot of space in a log.

But here's an idea: how about an option to log the PID values for any one control?

For example: reserve a byte in memory somewhere. If the value stored is 0, log no PID data. If it's 1, log PID for idle control only. If it's 2, log PID for boost control (only), and so on. Obviously then you'd expose that value in TS somehow so people could select what to log.

It wouldn't be any less work to write the code, but it would save log space.
Eric Law
1990 Audi 80 quattro with AAN turbo engine: happily running on MS3+MS3X
2012 Audi A4 quattro, desperately in need of tweaking

Be alert! America needs more lerts.
masterx81
Master MS/Extra'er
Posts: 776
Joined: Mon Oct 25, 2004 7:36 am
Location: Asti - Italy

Re: R: PID logging idea

Post by masterx81 »

Maybe a screen like the tooth log, that show current signal, output of pid, and p i d components. Will help a lot tuning pid.
Enrico
Opel/Vauxhall Corsa GSi MS2
Subaru v4 EJ20 MS3
lagos
Experienced MS/Extra'er
Posts: 197
Joined: Sat Jun 02, 2012 8:40 am

Re: R: PID logging idea

Post by lagos »

masterx81 wrote:Maybe a screen like the tooth log, that show current signal, output of pid, and p i d components. Will help a lot tuning pid.
Id love to see something like that and was thinking of requesting it.
hardline
Master MS/Extra'er
Posts: 503
Joined: Mon Sep 08, 2008 8:37 pm
Location: Peoria, IL

Re: PID logging idea

Post by hardline »

I also would like to see this
2000 ZX2 : Sequential COP, MS3 + MS3X + TinyIOx, PWM Returnless Fuel, Flex Fuel, Variable Geometry Intake Manifold, Garrett GTX2863R .82AR housing @ 15 psi
Barton
Master MS/Extra'er
Posts: 377
Joined: Wed Apr 13, 2011 7:38 pm
Location: Puerto Ordaz - Venezuela
Contact:

Re: R: PID logging idea

Post by Barton »

lagos wrote:
masterx81 wrote:Maybe a screen like the tooth log, that show current signal, output of pid, and p i d components. Will help a lot tuning pid.
Id love to see something like that and was thinking of requesting it.
x2
Megasquirted engines: 4g63, k24a2, b16-b18, duratec, ecotec, fiat 8v-16v, modular 4.6 32v, 1fz-fe, fiat 5cil 20v, Opel corsa, G54B, VW AG, 2ZZ-GE.
https://www.facebook.com/Bartonefi
instagram: @bartonefi
Post Reply