CAN EGO: Add bits to define lamda state.
Moderators: jsmcortina, muythaibxr
CAN EGO: Add bits to define lamda state.
The CAN EGO uses 10 of the 16 bits of the 2-byte CAN message. This means we have 6 spare bits that can be used to indicate the wideband's state.
May I propose:
1) Bit 10 = Warmup
2) Bit 11 = Normal operation
3) Bit 12 = Error
4) Bits 13,14,15 = Error number (Innovate goes up to error 8)
By parsin the bits above, the MS3 can then inhibit closed loop operation in warmup, and enter closed loop immediately when the sensor has warmed up, and if there's an error, stop closed loop operation and enter limp mode if configured.
Thoughts?
May I propose:
1) Bit 10 = Warmup
2) Bit 11 = Normal operation
3) Bit 12 = Error
4) Bits 13,14,15 = Error number (Innovate goes up to error 8)
By parsin the bits above, the MS3 can then inhibit closed loop operation in warmup, and enter closed loop immediately when the sensor has warmed up, and if there's an error, stop closed loop operation and enter limp mode if configured.
Thoughts?
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: CAN EGO: Add bits to define lamda state.
The issue I see is backwards compatibility. If the CAN device sends those bits to an older MS3 firmware, that's going to create issues and it may not be obvious to diagnose. And that also means a way to turn this on and off on the CAN device for the same compatibility reason.
Jean
Jean
Re: CAN EGO: Add bits to define lamda state.
Doesn't the MS3 firmware ignore any bits above 1023 on the CAN inputs, including the CAN ADCs?
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: CAN EGO: Add bits to define lamda state.
I'm not sure if it ignores the bits or simply uses 1023 if the value is above it. I'd need to check the code so I'll wait to see if James can answer.
Jean
Jean
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: CAN EGO: Add bits to define lamda state.
The handling is slightly different for each CAN wideband supported, but in the case of receiving Innovate data over CAN from an IOx the upper bits are not masked (currently), so anything there would be handled by:
James
Code: Select all
if (tmpadc > 1023) {
tmpadc = 1023;
}
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: CAN EGO: Add bits to define lamda state.
Ok, that seems a rather minor issue to me. Adding a configuration setting to the CAN device to send or not to send the bits is trivial. So can we add the extra bits?
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
Re: CAN EGO: Add bits to define lamda state.
What CAN based wideband are you using out of curiosity?
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
Re: CAN EGO: Add bits to define lamda state.
My own.krisr wrote:What CAN based wideband are you using out of curiosity?
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost