Nissan Leaf Powered E46 Touring

Tell us about the project you do with the open inverter
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

So one channel I like on Youtube is M539Restorations. He just released a video on his E46 touring. Now, 3 of the BMWs I have converted to date had M54 engines. Just look at the work, sweat and tears he goes through on that engine. People say evs are hard to understand. That is just because there is so little tribal knowledge out there.

I'm going to need a hacksaw
Speedy
Posts: 27
Joined: Sat Feb 15, 2020 2:15 pm
Location: United Kingdom
Has thanked: 2 times
Been thanked: 1 time

Re: Nissan Leaf Powered E46 Touring

Post by Speedy »

I was once asked by a friend to look at "an oil leak" on one of these.

I got it on my ramps started looking around and found it was leaking from many many locations. I did not fancy tackling the job of fixing all the leaks.

That undertray cover thing looked totally black, when I jet sprayed it clean to my surprise it turned out to actually be a silver colour LOL
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

I'm going to need a hacksaw
RetroZero
Posts: 702
Joined: Tue Oct 29, 2019 2:48 pm
Location: France
Has thanked: 311 times
Been thanked: 38 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by RetroZero »

No comment 😁
Domt177
Posts: 219
Joined: Sun Aug 30, 2020 6:05 pm
Location: West Midlands, UK
Been thanked: 11 times

Re: Nissan Leaf Powered E46 Touring

Post by Domt177 »

What sort of battery setup does the goose have at the moment, if I recall correctly its a Renault Zoe 40kwh pack right? Are there any plans for adding rapid charge capability to the Zoe pack?

Awesome progress!
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Folks, does anyone know if the wheel speeds are present on the E46 canbus?
I'm going to need a hacksaw
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: Nissan Leaf Powered E46 Touring

Post by mdrobnak »

Yes, 12 bit data. see 1F3 or 1f0 I'm literally going off my memory at the second haha. There is a hardwire backup from the right rear wheel as well. Don't remove the instrument cluster! :)
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 Powered E46 Touring

Post by Alibro »

From the Bimmer Forum
https://www.bimmerforums.com/forum/show ... us-project


Here is a link to the Analog to Can solution
http://forums.bimmerforums.com/forum...4#post26219044

Here's a link to the OBDII to Can solution
http://forums.bimmerforums.com/forum...4#post26219044
Summary of ID's and data for E46 [edit added this section to keep things together]

The can bus is 500kb/s
In the data for each ID there are 8 bytes. Labeled Byte 0,1,2,3,4,5,6,7

ARBID: 0x153 (ASC1)
-B0
-B1 Speed LSB
-B2 Speed MSB [Signal startbit: 12, Bit length: 12, 0x0008 = 1 km/hr]
-B3
-B4
-B5
-B6
-B7

ARBID: 0x316 (DME1)
-B0
-B1
-B2 RPM LSB
-B3 RPM MSB [RPM=(hex2dec("byte3"&"byte2"))/6.4]
-B4
-B5
-B6
-B7

ARBID: 0x329 (DME2)
-B0
-B1 is Temp [Temp in C = .75 * hex2dec(byte01) - 48.373]
-B2
-B3
(bit0 == LSb)
bit 7 Cruise 1/0
bit 6 Cruise -
bit 5 Cruise +
bit 6&5 Cruise Resume

-B4
-B5 Throttle position (00-FE).
-B6 kickdown switch depressed is value (4) Brake pedal depressed is value (1).
-B7

ARBID: 0x338 (DME3?), Only MS45 (and presumably MSV80)

-B0
-B1
-B2
0 = Sport on (request by SMG transmission)
1 = Sport off
2 = Sport on
3 = Sport error


ARBID: 0x545 (DME4),
combinations work to get multiple lights
-B0 Check engine light (binary 10), Cruise light (binary 1000), EML (binary 10000), Check gas cap 2002+ cars (hex 40).
-B1 Fuel consumption LSB
-B2 Fuel consumption MSB. Values just cycle from 0 to FFFF then start over at zero. Fuel consumiption is the rate of change.
-B3 Overheat light (binary 1000, Hex 08), oil level 2002+ cars, (binary 0010, hex 02), On M3's 0x10 7K and Up RPM lights, 0x20 6.5K and up RPM lights, 0x40 5.5K and up RPM lights.
-B4 Oil Temp [Temp in C = hex2dec(byte04) - 48.373]
-B5 Charge light, 2002+ cars (Binary 0001)
-B6
-B7

ARBID: 0x610 also sent from the instrument cluster if a 0x610 "remote frame" is recieved. Appears the remote frame is sent by the ABS
This data contains the last 7 digits of the vin number in the ECU.
-B0 as is but drop the last zero and it is the last number in the vin
-B1 as is (in hex) the 3rd and 2nd number from the end in the vin
-B2 as is (in hex) the 5th and 4th number from the end in the vin
-B3 in ASCII the 6th from the end in the vin
-B4 in ASCII the 7th from the end in the vin
-B5 0
-B6 0
-B7 0
Example B4 = 4B (or K in ASCII) B3 = 43 (or C in ASCII) B2 = 71, B1 = 80, B0 = 90. Vin = KC17809

ARBID: 0x613 also sent from the instrument cluster if 0x615 is acknowleged.
-B0 Odometer LSB
-B1 Odometer MSB [Convert from Hex to Decimal. Multiply by 10 and that is Odometer in Km]
-B2 is fuel level. Full being hex 39 Fuel light comes on at hex 8. Then values jump to hex 87 (or so) and then go down to hex 80 being empty.
-B3 Running Clock LSB
-B4 Running Clock MSB minutes since last time battery power was lost.
-B5
-B6
-B7


ARBID: 0x615 sent from the instrument cluster.
-B0 AC signal. Hex 80 when on (10000000) Other bits say something else (Load, Aux fan speed request? system pressure?)
-B1
-B2
-B3 Outside Air Temperature: x being temperature in Deg C, (x>=0 deg C,DEC2HEX(x),DEC2HEX(-x)+128) x range min -40 C max 50 C

ARBID: 0x1F0 (ABS)
Individual wheel speeds:
Signal wheel 1: startbit 0, bit length 12, Intel LSB, unsigned, gain 1/16 (0.0625) (byte0 + next 4 bits of Byte1)
Signal wheel 2: startbit 16, bit length 12, Intel LSB, unsigned, gain 1/16 (0.0625) (byte2 + next 4 bits of byte3)
Signal wheel 3: startbit 32, bit length 12, Intel LSB, unsigned, gain 1/16 (0.0625)
Signal wheel 4: startbit 48, bit length 12, Intel LSB, unsigned, gain 1/16 (0.0625)

The above translated to .xls syntax. (corrected)
Wheel speed 1: (HEX2DEC(B0)+HEX2DEC(RIGHT(B1;1))*256)/16 = Kph
Wheel speed 2: (HEX2DEC(B2)+HEX2DEC(RIGHT(B3;1))*256)/16 = Kph
Wheel speed 3: (HEX2DEC(B4)+HEX2DEC(RIGHT(B5;1))*256)/16 = Kph
Wheel speed 4: (HEX2DEC(B6)+HEX2DEC(RIGHT(B7;1))*256)/16 = Kph
(multiply by .621 to get MPH)


ARBID: 0x1F5 (steering Angle Sensor)
Angle:
angle startbit: 0, length: 15 bit order and type: Intel LSB, unsigned, gain: 0.045
angle sign bit: bit 15

Velocity:
velocity startbit: 16, length: 15 bit order and type: Intel LSB, unsigned, gain?: 0.045
velocity sign bit: bit 31


ARBID: 0x1F8
-B2, Brake Pressure.
I need a bigger hammer!
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: Nissan Leaf Powered E46 Touring

Post by mdrobnak »

1F8 is only on xDrive cars.

There's a lot of data missing, but that will get you what is needed for an EV conversion.

Re: 0x610 is why I said not to remove the cluster. :) And yes, it's from ABS (likely more specifically the Steering Angle Sensor). It's for verifying the calibration from the sensor is the right one for the chassis, so it knows you're actually wanting to turn left when it thinks you are.

Re: Fuel level - it's in liters, and there isn't a discontinuity - 0x80 is the low fuel light. :)

-Matt
Domt177
Posts: 219
Joined: Sun Aug 30, 2020 6:05 pm
Location: West Midlands, UK
Been thanked: 11 times

Re: Nissan Leaf Powered E46 Touring

Post by Domt177 »

mdrobnak wrote: Thu Dec 17, 2020 7:41 pm 1F8 is only on xDrive cars.

There's a lot of data missing, but that will get you what is needed for an EV conversion.

Re: 0x610 is why I said not to remove the cluster. :) And yes, it's from ABS (likely more specifically the Steering Angle Sensor). It's for verifying the calibration from the sensor is the right one for the chassis, so it knows you're actually wanting to turn left when it thinks you are.

Re: Fuel level - it's in liters, and there isn't a discontinuity - 0x80 is the low fuel light. :)

-Matt
Sorry could you explain further why not to remove the instrument cluster in an E46 as I'm planning to do exactly that.
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: Nissan Leaf Powered E46 Touring

Post by mdrobnak »

Domt177 wrote: Thu Dec 17, 2020 9:33 pm
mdrobnak wrote: Thu Dec 17, 2020 7:41 pm 1F8 is only on xDrive cars.

There's a lot of data missing, but that will get you what is needed for an EV conversion.

Re: 0x610 is why I said not to remove the cluster. :) And yes, it's from ABS (likely more specifically the Steering Angle Sensor). It's for verifying the calibration from the sensor is the right one for the chassis, so it knows you're actually wanting to turn left when it thinks you are.

Re: Fuel level - it's in liters, and there isn't a discontinuity - 0x80 is the low fuel light. :)

-Matt
Sorry could you explain further why not to remove the instrument cluster in an E46 as I'm planning to do exactly that.
If that data is not sent, traction control will not enable on the car (assuming you get the rest of the necessary data right).

If you can write code to listen for the request and respond to it, then you can remove it. But then you lose the odometer in the car, which probably makes resale difficult.

-Matt
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Got started on wiring the Zombieverter vcu today. That pcs is still mocking me of course....
Attachments
2021-01-23 13.12.23.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Finally a bit of progress on the touring. Fitted a brake vacuum pump (vag version with built in relay) and did some charging with my trusty "middle class man's" charger. Got two birds with this : 1)tested out charge mode in the vcu and 2)got some charge into the pack.

Obviously we'll be using the pcs in the near future but I have an nct test soon for this car so just need it gassed up so can get there and back. PCS will need some dry weather as I'll have to camp out beside the car and fling can at the thing:) Of course nothing quite goes to plan and every 10 mins or so when I started charging a contactor dropped out. Spent an hour chasing a non existant software bug to find its a dodgy contactor! Glad I found this in the driveway and not out on the road. 10 mins is just enough time for me to have hit the motorway!
Attachments
2021-02-21 15.31.51.jpg
2021-02-21 11.27.15.jpg
2021-02-21 11.13.30.jpg
I'm going to need a hacksaw
MattsAwesomeStuff
Posts: 871
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 278 times
Been thanked: 165 times

Re: Nissan Leaf Powered E46 Touring

Post by MattsAwesomeStuff »

Jack Bauer wrote: Sun Feb 21, 2021 3:53 pmSpent an hour chasing a non existant software bug to find its a dodgy contactor!
Invented some new language to describe its mother and fabricator I imagine... :D
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by arber333 »

MattsAwesomeStuff wrote: Tue Feb 23, 2021 9:49 am Invented some new language to describe its mother and fabricator I imagine... :D
Here and further in the Balkans we have host of "nice" expressions reserved for them and their family :).
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Some grey goose progress thanks to a few fine days. CCS charge port fitted. Planning to use the i3 controller for the CCS side of things. Two new tyres for the front and changed out some horrible looking brake fluid. While doing that found some genius had repaired a blown brake hard line with some tube and hose clips. Now that I have a vac pump running in the car it made enough pressure to blow it off! So yeah, after my pulse rate cooled off I did a proper repair.

Next job : fit the pcs controller and start trying to wake up its sleeping Elon brain. That's always easy ....
Attachments
2021-02-27 11.33.18.jpg
2021-02-27 11.01.27.jpg
2021-02-27 11.01.23.jpg
2021-02-27 10.30.45.jpg
2021-02-26 14.56.19.jpg
2021-02-26 14.55.50.jpg
2021-02-26 14.55.42.jpg
2021-02-26 14.55.41.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Few photos from today. PCS controller fitted and wired in. Starting to do some can on that tomorrow. i3 LIM and CCS contactor boax fitted to the rear.
Attachments
2021-03-02 15.12.06.jpg
2021-03-01 16.00.29.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Nissan Leaf Powered E46 Touring

Post by ZooKeeper »

NICE!

I'd love a modern Wagon, but the CAN has me put off.
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

That's the aim of the new vcu project. Just a pick a supported car and drivetrain and it does the work.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

First rule of ev conversion : when the weather gets warm, work on the cabin heat.
Attachments
2021-03-19 12.51.18.jpg
I'm going to need a hacksaw
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Nissan Leaf Powered E46 Touring

Post by JaniK »

Yes, it is much nicer to install heater parts when it is not freezing outside. 😁
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Nissan Leaf Powered E46 Touring

Post by Jack Bauer »

Took the goose on a run today. 325wh/mile by my math with no regen and mostly 70mph+ on motorway.
Attachments
2021-03-22 11.36.05.jpg
2021-03-22 11.27.05.jpg
I'm going to need a hacksaw
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Nissan Leaf Powered E46 Touring

Post by JaniK »

That's a very usable consumption for a touring ;)

About regen, The Leaf limits regen and power when SOC if high, or when temperature of the pack is too COLD, could the inverter want a CAN message regarding these limits before it will want to regen?
2014 Leaf and cold turtles in the battery
2014 Leaf and cold turtles in the battery
From february..
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
Post Reply