Announcement

Collapse
No announcement yet.

Little bug in the CSL program

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Little bug in the CSL program

    Hi everybody,

    I think I’ve found a little bug in the CSL program. It began when I saw this video on YouTube :

    https://www.youtube.com/watch?v=pLuBJZRSNRI


    I noticed that RF from MAP sensor was very strange : at idle (~300mBar) we have about 40% which is huge and at WOT (~1000mBar) we have about 30% which is very little.

    So I checked the code of the program and I didn’t see any problem in the calculation of the RF from MAP but I noticed a strange thing in the way the program reported the word in the DS2 respons. You can see it below :

    Click image for larger version  Name:	Code error.png Views:	0 Size:	1.4 KB ID:	79249

    I modified the code like this :

    Click image for larger version  Name:	Correction.png Views:	0 Size:	980 Bytes ID:	79256
    (There are many ways to do the correction)

    Now I have consistent values of the RF from MAP sensor :

    This new CSL program corrects a bug in the CSL program which gives a wrong RF from the MAP sensor. After correction, the RF is perfectly consistent.email : r...
    Last edited by MpowerE36; 01-15-2021, 12:22 PM.
    https://www.youtube.com/channel/UCwN...zf45mXp6PDOCzA

    #2
    Always impressed with this kind of research.

    On MSS50 ECU I see something other. On DS2 the MAF air flow seems to overflow. Like the value is 12/16 bit while only 8 bits are shown. The reported value looks like a jigsaw profile when air consumption is increasing. Another method would be to log it by regular values but these are quite slow.

    Comment


      #3
      Ha, that’s one of my old videos!

      For transparency sake, that data log was populated using a GM 1 bar MAP sensor so the linear scale is quite different than the stock sensor. Minimum pressure is around 150 mbar with an offset of nearly 102 mbar.

      Going to eventually swap to an AEM pressure transducer which has a linear scale that actually starts at 0 & .5 volts. Those older GM sensors aren’t really the best choice for this application.


      Sent from my iPhone using Tapatalk

      Comment


        #4
        I use a Bosch MAP sensor and before the correction I had exactly the same result you had in your video. Voltage and MAP pressure values are consistent.
        https://www.youtube.com/channel/UCwN...zf45mXp6PDOCzA

        Comment


          #5
          Originally posted by MpowerE36 View Post
          I use a Bosch MAP sensor and before the correction I had exactly the same result you had in your video. Voltage and MAP pressure values are consistent.
          Good info! I never logged any other sensors so didn't have a baseline to compare against, so this is good to know.

          Comment

          Working...
          X