DEAD DESIGN rusEfi own wide band controller board add-on using CJ125
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: rusEfi own wide band controller board add-on using CJ125
Also, the resistor in the connector is something like 30-300 ohms, laser calibrated in the factory. It requires both the resistor in the connector, and the 61.9 on the board to operate.
-
- Posts: 11
- Joined: Mon May 13, 2019 11:22 am
Re: rusEfi own wide band controller board add-on using CJ125
Thank you very much, guys!
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
..What's wrong with this board...
.. it lost SPI comunication, when +12V for heater is connected ...
Edited: .. on frankenstein ...
.. it lost SPI comunication, when +12V for heater is connected ...
Edited: .. on frankenstein ...
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
????
Welcome to the friendlier side of internet crazy
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
..I will post more details tomorrow..
.. some Proteus and microRusEFI for sale in Europe ..
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
Ok ... let's move ...
This is my current testing setup ... Orange, Brown, Red and yellow wires are for SPI
Single Green is for heater ..
Blue and (another) Green is power supply for CJ125 Board
Grey and Black are UR and UA outputs.
Single White connected to power board is for heater +12V
When no LSU is connected CJ125 get response to console ( cj125_calibrate )
When no +12V power supply for LSU, we got response from CJ125
When all is connected, have no successfully response.
It does not matter, if I have STM Discovery + CJ125 only ..
or if I have connected Frankenstein board also ...
.. Just for record ...
This is my current testing setup ... Orange, Brown, Red and yellow wires are for SPI
Single Green is for heater ..
Blue and (another) Green is power supply for CJ125 Board
Grey and Black are UR and UA outputs.
Single White connected to power board is for heater +12V
When no LSU is connected CJ125 get response to console ( cj125_calibrate )
When no +12V power supply for LSU, we got response from CJ125
Code: Select all
2019-07-05 20_28: EngineState: confirmation_cj125_calibrate:15
2019-07-05 20_28: EngineState: cj125: Check ident=0x60 diag=0x3F init1=0x89 init2=0x10
2019-07-05 20_28: EngineState: cj125: Starting calibration...
2019-07-05 20_28: EngineState: confirmation_cj125_calibrate:15
2019-07-05 20_28: EngineState: cj125: Cannot start calibration. Please restart the board and make sure that your sensor is not heating
...... or ....
2019-07-05 20_34: EngineState: confirmation_cj125_calibrate:15
2019-07-05 20_34: EngineState: cj125: Check ident=0x60 diag=0x3F init1=0x89 init2=0x10
2019-07-05 20_34: EngineState: cj125: Starting calibration...
2019-07-05 20_34: EngineState: cj125: Done! Saving calibration data (7338 1219).
When all is connected, have no successfully response.
Code: Select all
2019-07-05 20_30: EngineState: confirmation_cj125_calibrate:15
2019-07-05 20_30: EngineState: cj125: Check ident=0xF8 diag=0xFF init1=0xFF init2=0xFF
2019-07-05 20_30: EngineState: cj125: Error! Wrong ident! Cannot communicate with CJ125!
2019-07-05 20_30: EngineState: cj125: Error! Cannot set init registers! Cannot communicate with CJ125!
2019-07-05 20_30: EngineState: cj125: Starting calibration...
2019-07-05 20_30: EngineState: cj125: Calibration error (init1=0xFF)! Failed!
or if I have connected Frankenstein board also ...
.. Just for record ...
.. some Proteus and microRusEFI for sale in Europe ..
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
...I will try to connect SPI as andrejka have it on the prometheus board ...
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
Hi Guys, (zdravim JRD McLarena do Blavy
please, how are you calculating Lambda from IP current ? I am absolutely confused from CJ125 PDF and LSU4.x technical sheets.
For ex. when you take table from page 7 of 4.9 technical sheet (lambda-value vs IP curent) and comapre it with this equation (code taken from Arduino lambda shield project), there are two different results of lambda So where is the thrue ? Thanks for any hints.
PS. (and what about rich area V=8 compared with V=17 - lean area - whean I want to measure from aprox. 10.0 AFR with good accuracy)
PS:JRDMcLAREN: Ted sem na tebe zrovna vzpominal, delal sem ecu na atmo C20XE v Kadetu pro kluky z Teplic, nabrzdilo se 200PS....chteli ale 250PS na vackach 276/276 a Dbilas sani (tzn. este bez 4-klapky)
EDIT: add missing Lambda_O2 equation
please, how are you calculating Lambda from IP current ? I am absolutely confused from CJ125 PDF and LSU4.x technical sheets.
For ex. when you take table from page 7 of 4.9 technical sheet (lambda-value vs IP curent) and comapre it with this equation (code taken from Arduino lambda shield project), there are two different results of lambda So where is the thrue ? Thanks for any hints.
Code: Select all
LAMBDA_IP = 1000 * (CJ125_UA -1.5) / (61.9 * 17); /* V=17 * or V=8 -result in [mA]
k = 0.2095/2.54; // 20.95 % O2 ~ 2.54mA of IP
LAMBDA_O2 = Lambda_IP * k;
LAMBDA_VALUE = (LAMBDA_O2 / 3 + 1) / (1 - 4.77 * LAMBDA_O2); //Calculate Lambda value acc. to BOSCH LSU 4.9 Technical Product Information Y 258 E00 015e.
PS:JRDMcLAREN: Ted sem na tebe zrovna vzpominal, delal sem ecu na atmo C20XE v Kadetu pro kluky z Teplic, nabrzdilo se 200PS....chteli ale 250PS na vackach 276/276 a Dbilas sani (tzn. este bez 4-klapky)
EDIT: add missing Lambda_O2 equation
Last edited by Pet007 on Sat Jul 06, 2019 5:16 am, edited 3 times in total.
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
Ahoj ...
Look at this: https://github.com/rusefi/rusefi/blob/master/hardware/CJ125_board/bosch_lsu49.pdf
Ja tomu celemu chapem tak, ze chipaku bosch povies, ktory "amplifer factor" chces pouzit...
a on potom na zaklade toho "upravi" vystupny signal ... teda nastavujes si tym "rozlisenie" ...
EDITED:
sorry for language ...
Look at this: https://github.com/rusefi/rusefi/blob/master/hardware/CJ125_board/bosch_lsu49.pdf
Ja tomu celemu chapem tak, ze chipaku bosch povies, ktory "amplifer factor" chces pouzit...
a on potom na zaklade toho "upravi" vystupny signal ... teda nastavujes si tym "rozlisenie" ...
..bez upravenej hlavy mozu na dalsie kone rovno zabudnut ...PS:JRDMcLAREN: Ted sem na tebe zrovna vzpominal, delal sem ecu na atmo C20XE v Kadetu pro kluky z Teplic, nabrzdilo se 200PS....chteli ale 250PS na vackach 276/276 a Dbilas sani (tzn. este bez 4-klapky)
EDITED:
sorry for language ...
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
Thanks, ohh I've missed the last page of 4.9 technical sheet. So, there is an equation:
and then use linear aprox. from IP vs Lambda table (attached) ?
Anyway, proto version of my CJ125WBO controler in 14p7 style (and case - due damaged original PCB) with PICMCU and MAX7219 LED driver:
Code: Select all
Vcj125 = Ua [V] = 1.5 +(61.9/1000*v)*Ip[mA] - where v= 8 (for reach area or 17 for lambda > 1)
Ip[mA] = (Ua[V] - 1.5) * (1000/(61.9*v))
- Attachments
-
- cj125PICv1_proto.jpg (73.54 KiB) Viewed 33677 times
Re: rusEfi own wide band controller board add-on using CJ125
Are there any gauge in TS to show AFR from CJ125, or how do you do that?
I have a CJ125 up and running, but no way to show it at a gauge.
Btw, I spotted this today while making a tuningfile for a Ford Focus.
It has a lot of CJ125 settings.
I have a CJ125 up and running, but no way to show it at a gauge.
Btw, I spotted this today while making a tuningfile for a Ford Focus.
It has a lot of CJ125 settings.
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: rusEfi own wide band controller board add-on using CJ125
If you have the cj125 enabled, the normal AFR gauge will show the measured AFR.
Re: rusEfi own wide band controller board add-on using CJ125
Ok, didnt know. Haven't had any reaction at that gauge yet.
I'll have another look.
I'll have another look.
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: rusEfi own wide band controller board add-on using CJ125
In that case, it probably isn't working properly. Can you set the debug mode to CJ125, and share a datalog?
Re: rusEfi own wide band controller board add-on using CJ125
I can do that next time I test it in car.
This is the gauges showing something at bench(No sensor connected).
This is the gauges showing something at bench(No sensor connected).
Re: rusEfi own wide band controller board add-on using CJ125
This manual has some interesting CJ125 info:
https://www.bosch-motorsport.com/media/downloads/ecu_ms_4_sport_turbo.pdf
From page 97-
https://www.bosch-motorsport.com/media/downloads/ecu_ms_4_sport_turbo.pdf
From page 97-
Re: rusEfi own wide band controller board add-on using CJ125
Hi friends,
Has anyone worked with L9780 ic for AFR measurement?
Any suggestion?
Has anyone worked with L9780 ic for AFR measurement?
Any suggestion?
Re: rusEfi own wide band controller board add-on using CJ125
I have not, and I don't think anyone here has. It seems to be an interesting chip, very similar to the CJ125. What attracts you tho this instead of the CJ125? My 30 second review of the datasheet seems to indicate very similar features. Are there differences that of of interest?
Below is a picture of the block diagram for the L9780 as well as a link to the datasheet.
https://datasheet.octopart.com/L9780-STMicroelectronics-datasheet-43533507.pdf
Below is a picture of the block diagram for the L9780 as well as a link to the datasheet.
https://datasheet.octopart.com/L9780-STMicroelectronics-datasheet-43533507.pdf
Welcome to the friendlier side of internet crazy
Re: rusEfi own wide band controller board add-on using CJ125
I make a Lambda display with CJ125 three years ago.
In my new project (ECU for 8 Cylinder lean-burn Generator) I dont like retry intuition secrets of Bosch!
Also, L9780 has internal ADC and is newer than CJ125.
In my new project (ECU for 8 Cylinder lean-burn Generator) I dont like retry intuition secrets of Bosch!
Also, L9780 has internal ADC and is newer than CJ125.
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: rusEfi own wide band controller board add-on using CJ125
Internal ADC is interesting - it's also not bosch, so documentation is far easier to find, and it's far easier to actually buy one (Mouser has them in stock). And they're cheaper: $6.55 in single quantities.
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
You have any progress .. ??
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
No,
I gave up on the whole rusefi project..
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
Wow ...
So,I have no working CJ125 board with frankenstein .. .. (also)
So,I have no working CJ125 board with frankenstein .. .. (also)
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
I do not understand your comment. I think you have the cj125 board and frankienstien but you do not know how to use them together. Is that a correct understanding?
Welcome to the friendlier side of internet crazy
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
..so ...
Have working SPI communication ...
Have working Heater PWM ... (it heat the sensor) (and FET also ... no fun - wrong design maybe??)
Have correct output UA and UR voltages measured with DMM ... but not with ST / rusefi
My discovery board have added backup battery.
I don't know "how to connect analog outputs to discovery board correctly" ...
.. to measure "right voltages" from CJ125 chip ...
Have working SPI communication ...
Have working Heater PWM ... (it heat the sensor) (and FET also ... no fun - wrong design maybe??)
Have correct output UA and UR voltages measured with DMM ... but not with ST / rusefi
My discovery board have added backup battery.
I don't know "how to connect analog outputs to discovery board correctly" ...
.. to measure "right voltages" from CJ125 chip ...
.. some Proteus and microRusEFI for sale in Europe ..
Re: rusEfi own wide band controller board add-on using CJ125
What are the correct UA and UR voltages? I think that's 14V-ish. It sounds like you need to make a resistor divider? Similar to the 12V resistor divider on the analog circuits of Frankenso.
Welcome to the friendlier side of internet crazy
Re: rusEfi own wide band controller board add-on using CJ125
Maybe it's helping ...
- Attachments
-
- Functionsheet_75424523_Lambdatronic_LT4.pdf
- (1.45 MiB) Downloaded 891 times
Re: rusEfi own wide band controller board add-on using CJ125
I found LQFP version of CJ125 in a local store with low price
It is marked 30615 (or 30522).
This package has separate VCC/GND for Signal path and better noise rejection.
Any comment on schematic will be appreciated.
It is marked 30615 (or 30522).
This package has separate VCC/GND for Signal path and better noise rejection.
Any comment on schematic will be appreciated.
- Attachments
-
- CJ125LQFP_sch_V1.pdf
- (227.46 KiB) Downloaded 842 times
-
- Posts: 60
- Joined: Fri Jun 14, 2019 12:48 pm
- Location: Belarus
Re: rusEfi own wide band controller board add-on using CJ125
Having troubles with my project so just checked values today on my board.
For lambda = 1 Ua is 1.5V at all UB voltages, maximum voltage is near 4V
For new LSU 4,9 sensor at operating point Ri is near 300 Ohm, so according to CJ125 datasheet UR should be near 0.75V. For sensor at room temperature near 2,5V.
I'm trying to make CJ125 work with 32f407 chip and no success - zero WBO ADC readouts, no changes in PWM heater pin (100Hz with near 1/5 duty cycle). First of all seems pulldown resistor needed at SO pin. Here is how it looks with internal STM32 pulldown: Third (blue) channel is SO. As you can see, pulse tail has transition process. With HiZ STM input it takes about 5-7 times longer, influencing first bits of SO transmition if they are not logic "1". With 2k2 external pulldown front/tail of SO looks good.
So... After dealing with SO tail I checked all currents and voltages on sensor and CJ125. IP, VM, 450mV displacement, Ua and Ur looks valid, . Then I checked if UA ADC pin work: I use external voltage source, pin configured as BARO input and it works good.Then I configured it back as CJ125 UA, lifted CJ125 pin to the air and feed ADC input with regulated voltage source. No reaction both in self-stimulation, external stimulation and stopped mode. UA and UR both changes if I power lambda heater with external power source according to sensor temperature. Maybe I dont know something about tuner studio settings?
Here is my TS project: https://rusefi.com/forum/download/file.php?id=5086
Any suggestions?
-
- contributor
- Posts: 435
- Joined: Mon Mar 04, 2019 10:19 pm
- Location: Slovakia
Re: rusEfi own wide band controller board add-on using CJ125
Another "reverse engineering" of my second LSU controller.
No DIAHG and DIAHD are used, no divider for UA and UR.
No DIAHG and DIAHD are used, no divider for UA and UR.
.. some Proteus and microRusEFI for sale in Europe ..