Nissan Leaf A/C compressor 92600-3NF0A

Nissan Leaf/e-NV200 drive stack topics
Post Reply
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Nissan Leaf A/C compressor 92600-3NF0A

Post by johu »

For the Audi A2 conversion I will be using the left over A/C compressor from the Gen2 Leaf motor stack (probably the same for all Leafs). Here is what I have found out so far

Logic connector: - 1 2 - 3 - (3 pins blanked) 1 = GND, 2 = 12V, 3 = LIN

LIN baudrate is 19200

I have found data to be returned on id 17, 33, 35, and 38

I connected some low voltage to the power input but never saw any of the messages change.
Bit 16 of id 17 goes high as soon as you try to send on any of the read-only ids but also on id 60. Maybe that is the control message? Will need to monitor the other data as well. Will keep updating here.

UPDATE:
listens to messages 32, 34, 59, 60.
When 32.0.0 (byte 0, bit 0) is set to one, message 33 becomes alive. Shows undervoltage flag in 33.2.6, voltage in 33.7. Must be multiplied by 2 to obtain bus voltage.
Attachments
DSC00087.JPG
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Tremelune
Posts: 63
Joined: Mon Jun 10, 2019 6:07 pm
Location: Los Angeles
Has thanked: 1 time
Been thanked: 7 times

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Tremelune »

Delighted to see work being done here...I have a Leaf compressor and dreams of AC, and it seems silly to buy more parts for this thing...
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by johu »

Alright, some more insight
Byte 2 (not bit 0) of message 17 certainly flags LIN errors. When all is good its value is 0xF8, in case of error 0xF9. So bit 0 of byte 2.
It also signals errors if you send a control message with wrong length. With the help of that I found that it seems to listen to messages 32, 34, 59 and 60. I haven't found an effect of 59 and 60 yet. All control messages need to be 8 bytes long
When message 34 is send, message 35 changes its content from all zeros to 03 7f 00 11 ff ff ff ff - no idea what it means yet

More interesting is message 33. It changes its content when message 32 is sent with only the first bit set. If you set any other bits, it returns to all zeros.
Byte 2, bit 6 is one when there is too little voltage on the high voltage input. Not quite sure what the threshold is. Maybe about 100V, 170V is enough and thats as low as my transformer goes.
Byte 7 is proportional to the bus voltage, namely udc/2. It doesn't become 0 when there is no voltage but settles somewhere around 90V.
Byte 6 also sometimes changes but I don't know what it means yet. Settles at various values and slightly changes when HV is turned on. Maybe current?

Apart from that I haven't gotten it to spin yet, but then it's just sitting on my desk with no gas in it. So maybe that's as far as I can get for now.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Alibro
Posts: 829
Joined: Sun Feb 23, 2020 9:24 am
Location: Northern Ireland
Has thanked: 248 times
Been thanked: 144 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Alibro »

Where I live in Ireland heating is more important than cooling but ac would be very nice.
I have all the bits from my donor car so watching with great interest. :)
I need a bigger hammer!
Robert
Posts: 5
Joined: Mon Nov 22, 2021 1:47 am
Location: Louisville, KY USA

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Robert »

Alibro wrote: Sun Dec 19, 2021 11:32 am
Where I live in Ireland heating is more important than cooling
Reverse the flow of refrigerant and your AC system makes heat
johu wrote: Sat Dec 18, 2021 7:23 pm
Apart from that I haven't gotten it to spin yet, but then it's just sitting on my desk with no gas in it. So maybe that's as far as I can get for now.
I doubt it's going to run without any refrigerant in it.

How many refrigerant lines does that thing have coming off the assembly? Nissan built it as a heat pump and all the reversing valves and such might be built into the lump.
User avatar
Tremelune
Posts: 63
Joined: Mon Jun 10, 2019 6:07 pm
Location: Los Angeles
Has thanked: 1 time
Been thanked: 7 times

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Tremelune »

Heated seats go an extraordinarily long way. It may not be enough sub-freezing, but they cut down cabin heating power substantially.
Alibro
Posts: 829
Joined: Sun Feb 23, 2020 9:24 am
Location: Northern Ireland
Has thanked: 248 times
Been thanked: 144 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Alibro »

Tremelune wrote: Mon Dec 20, 2021 1:19 am Heated seats go an extraordinarily long way. It may not be enough sub-freezing, but they cut down cabin heating power substantially.
Agreed. I just bought a Freelander SE that has heated seats and a heated windscreen. I plan to move everything from my test mule to this car when I have it all working. ;)
I need a bigger hammer!
User avatar
Renegate2020
Posts: 50
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
Has thanked: 1 time
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by Renegate2020 »

A very interesting topic. Something to start the air conditioner compressor I would get.
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by johu »

If anyone has a Leaf and can listen to the LIN traffic with compressor on and off that would be helpful
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
dimonlipko
Posts: 20
Joined: Thu Apr 02, 2020 9:28 pm
Location: Ukraine, Kiev
Been thanked: 5 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by dimonlipko »

I run leaf compressor. It need only one frame to run ID 0x3b 0xb3, 0x05, 0x00, 0x90, 0xff, 0x00, 0x00, 0x00

0 and 1 bit - AC power

I dont revers what compressor answer. I think that must be information about RPM, voltage, current.
raine
Posts: 37
Joined: Sun Jun 27, 2021 10:35 am
Has thanked: 4 times
Been thanked: 6 times

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by raine »

dimonlipko wrote: Mon Jan 31, 2022 11:43 pm I run leaf compressor. It need only one frame to run ID 0x3b 0xb3, 0x05, 0x00, 0x90, 0xff, 0x00, 0x00, 0x00

0 and 1 bit - AC power
So you succesfully control the compressor? Could you pls share a sample syntax in code in detail. I am a total newbie with Lin and this would get me a fast start to it.

Thanks.
delgadb2
Posts: 7
Joined: Fri Jul 02, 2021 9:54 pm
Been thanked: 1 time

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by delgadb2 »

It sounds like you need to send frame ID 0x3b then fill the data frame with
0xb3, 0x05, 0x00, 0x90, 0xff, 0x00, 0x00, 0x00
LIN is funky if youre used to CAN. its a master/slave setup. The more PC way to phrase that and according to recent standards is Commander/Responder.
Anyhow. The Master has a schedule table that sends out the frame IDs periodically. Just the frame ID thats it! then the other devices will fill the data portion of the frame they are programmed to publish. Typically the master will send the frame ID for the command message will respond to itself with the commanded value(compressor set speed) and then the slave devices listen to that response and implement it. this is what prevents collisions. Then the master will publish the Frame ID for the slave to fill with the response message (measured speed/status) there is no back and forth communication.
so, you would send Frame ID 0X3B then respond to it with 0xb3, 0x05, 0x00, 0x90, 0xff, 0x00, 0x00, 0x00 as the data portion of frame 0X3B this is the command message to that the ac compressor is programmed to listen to. I imagine there that data includes an ON/Off request and a speed command. you would then need to send the Frame ID for the compressor status the compressor would see that ID and fill the data bytes with relevant info.
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by johu »

ok, now I got it. 0x3b is 59 decimal. So it seems it's hacked then :)
Test will probably be a few month ahead as I plan this to be the last thing to do on the A2 conversion
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by johu »

You can study my untested LIN code here: https://github.com/jsphuebner/stm32-car ... r.cpp#L290
Still haven't understood which exact bit in the 0x3b messages enables or disables the compressor
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
raine
Posts: 37
Joined: Sun Jun 27, 2021 10:35 am
Has thanked: 4 times
Been thanked: 6 times

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by raine »

dimonlipko wrote: Mon Jan 31, 2022 11:43 pm 0 and 1 bit - AC power
Wow. Got it spinning with the single frame only. Thanks for sharing. Could you pls explain this 0 and 1 bit reflection to ac power, how to use? Many thanks!
User avatar
dimonlipko
Posts: 20
Joined: Thu Apr 02, 2020 9:28 pm
Location: Ukraine, Kiev
Been thanked: 5 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by dimonlipko »

Dont remember, but in my code i have 3 power:
b[0] = 0xb9; b[1] = 0x05; //1kwt
b[0] = 0xb9; b[1] = 0x12; //2kwt
b[0] = 0xb9; b[1] = 0x16; //3kwt

I see in leaf diagnostic information by ac compressor. It send to car voltage, rpm, internal temp, interlock state, and power. Maybe in futere i decode this date in lin.
et0
Posts: 127
Joined: Sun Oct 13, 2019 8:06 pm
Location: Scotland
Has thanked: 14 times
Been thanked: 5 times

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by et0 »

Hi all, just putting it on here in case anyone else researches the same thing:

Denso 92600-5SA1A

I think this is the compressor from the later "heat pump" version. It has the same type of connector, but I don't have success sending it the LIN message mentioned in the thread above.

If anyone has some experience with this one please jump in!
IMG_4048.jpg
IMG_4048.jpg (53 KiB) Viewed 4074 times
User avatar
dimonlipko
Posts: 20
Joined: Thu Apr 02, 2020 9:28 pm
Location: Ukraine, Kiev
Been thanked: 5 times
Contact:

Re: Nissan Leaf A/C compressor 92600-3NF0A

Post by dimonlipko »

et0 wrote: Tue Nov 29, 2022 1:35 pm Hi all, just putting it on here in case anyone else researches the same thing:

Denso 92600-5SA1A

I think this is the compressor from the later "heat pump" version. It has the same type of connector, but I don't have success sending it the LIN message mentioned in the thread above.

If anyone has some experience with this one please jump in!

IMG_4048.jpg
You need to find leaf with same compressor, and make lin bus log.
Post Reply