i3 controller hacking from diyelectriccar.com

golfdubcrazy
Posts: 43
Joined: Thu Jan 28, 2021 6:15 pm

Re: i3 controller hacking from diyelectriccar.com

Post by golfdubcrazy »

Happy New year all :D

finally got some time to power up the board and look at the software.

just a silly question is there any recommended default parameters to start off with. i remember the being talking of a lower dead time and wasnt sure where the output for the 32v converter was from.

thought i better check the simple things before i start feeding in high voltage to the drivers
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

The default of 1us seems to be working well. Apart from that just set snshs to i3. That will also read the voltage from the gate drive board via SPI
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
golfdubcrazy
Posts: 43
Joined: Thu Jan 28, 2021 6:15 pm

Re: i3 controller hacking from diyelectriccar.com

Post by golfdubcrazy »

Thanks Johu,

yep the i3 option wasnt on the parameters page on the wiki so i missed it.
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Hi all,
I haven't got round to building the board yet but...
As I'm using a car without Can what will I need to do differently?
Tia
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

The board has all relevant traditional inputs so you don't need CAN.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

johu wrote: Tue Dec 14, 2021 9:16 pm oh and I still have to write an info sheet. Just post here if there are any questions. I'll just make the wifi PW public now: dsEuX51n
Is there an info or instruction sheet for assembling the board? Is the a GitHub link or anything to follow?

I want to test without using the full battery pack, what voltage do I need to make it spin at all?

Thanks everyone, we're getting close now 😃
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

johu wrote: Mon Jan 10, 2022 8:21 am The board has all relevant traditional inputs so you don't need CAN.
Thank you, I've just watched you parameter video, extremely useful once again.
You're doing an amazing job with this
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

A friend of mine has soldered the board for me, hopefully if work is light tomorrow I can start on the inverter. He's done some video and pics for me so they'll go up on my YouTube channel when it's in the inverter.
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
Hans Gustafsson
Posts: 20
Joined: Tue Feb 09, 2021 9:13 am
Location: Sweden

Re: i3 controller hacking from diyelectriccar.com

Post by Hans Gustafsson »

Have updated resolver wiring to my latest belief.

1. 12V
2. BRAKE_IN
3. PRECHARGE_OUT
4. CANL
5. CANH
6. DCSW_OUT
7. FORWARD_IN
8. REVERSE_IN
9. 5V (OUT)
10. RESOLVER_S2/ENCODER_A Blue (Sin2, Sin L)
11. GND
12. RESOLVER_S1 Red (Cos1, Cos H)
13. THROTTLE1
14. THROTTLE2
15. RESOLVER_R1 Yellow (REF1, Ex H)
16. RESOLVER_S3/ENCODER_B White (Cos2, Cos L)
17. MTEMP+ Blue
18. MTEMP- Grey
19. RESOLVER_S4 Brown (Sin1, Sin H)
20. EMCYSTOP_IN
21. GND
22. RESOLVER_R2 Green (Ref2, Ex L)
23. START_IN
golfdubcrazy
Posts: 43
Joined: Thu Jan 28, 2021 6:15 pm

Re: i3 controller hacking from diyelectriccar.com

Post by golfdubcrazy »

hopefully this helps.

A_SIN_HI and A_SIN_LO
Setpoint value: 22.4 ohm to 33.6 ohm

A_COS_HI and A_COS_LO
Setpoint value: 22.4 ohm to 33.6 ohm

U_POS_HI and U_POS_LO
Setpoint value: 13.6 ohm to 20.4 ohm

Nominal values

‐-20 °C 318 kOhm
‐10 °C 175 kOhm
‐5 °C 132 kOhm
0 °C 101 kOhm
5 °C 78 kOhm
10 °C 60 kOhm
15 °C 47 kOhm
20 °C 37 kOhm
25 °C 30 kOhm
30 °C 24 kOhm
40 °C 16 kOhm
50 °C 11 kOhm
60 °C 7 kOhm

1VnXZG6REc.jpg
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

Good, will add that. Matches none of the existing sensors unfortunately.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Hi all
Has anyone got a base parameter set yet? I can't see anything for the i3 on the parameter database
Tia
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

I've just popped a video up on my YouTube channel showing me replacing the two boards of anyone is interested. I know most of you are ahead of me but thought it might be interesting.
I'm now looking at the parameters but if anyone else has made a start please could you give any details of what you are setting? I have managed to do the basics like polespairs (6?) Voltage (360?) Snshs to i3 and throtramprpm to 11400?
Cheers
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

Very cool to see the other end :)
I noticed that I forgot to close SJ3 for you: https://openinverter.org/wiki/Mini_Mainboard
Just put a solder blob on to the direction of C4 on there.

Also understood now that the resolver always comes in on that red connector, would be neat to be able to plug it right in.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Image

I'm not sure how to add photos on here, if this works is this where you want the solder Johu?
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

I can't post a photo
Do you mean the centre connection to the connection on the right (nearest C4)?
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

You can post photos in the attachment tab below the editing field
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Image
Attachments
Screenshot_20220131-071812~2.png
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

Exactly, that one, those two pads
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

I've bent the backing plate using a socket and vice to give clearance to the board. Is anyone else looking to put the plate on top of the board too?
Attachments
IMG-20220221-WA0000.jpg
IMG-20220221-WA0001.jpg
IMG-20220221-WA0002.jpg
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Putting the bits back together as someone mentioned on here before the board comes into contact with one of the bolt holes from the upper plate. If the small board could be moved 4 or 5 mm towards the edge it would have clearance.
Attachments
IMG-20220221-WA0003.jpg
IMG-20220221-WA0005.jpg
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

Bugger, I have signs of overheating already on the 6th pin from the right, any ideas?
Attachments
3250F999-2EA5-437B-9EAC-68AD2F230D6F.jpeg
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
johu
Site Admin
Posts: 3453
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Contact:

Re: i3 controller hacking from diyelectriccar.com

Post by johu »

Why do you think it's overheating? I can just see some excess flux. There is no serious current on any of the pins
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

I’ve managed to file the upper plate bolt retainer without going through to the thread, hopefully that’s enough clearance
Attachments
DF7F42B5-A05B-4CF1-8A54-816983ED62D8.jpeg
9265C1CA-CBDB-4F08-99F0-35549ED289B5.jpeg
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 71
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England

Re: i3 controller hacking from diyelectriccar.com

Post by Scott166 »

I’ve had to reshape the lid a bit, pushing it out away from the board between the two lines.
Attachments
7CAAC6A7-68B5-4EF7-A4D8-E196A2EE7807.jpeg
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Post Reply