Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Electric Motors and Controllers
User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 17 2019 10:23am

Lebowski wrote:
Aug 17 2019 6:22am
Ive heard this term before but dont know what it is, flux linkage ?
https://www.sciencedirect.com/topics/en ... ux-linkage
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

marcos   1 kW

1 kW
Posts: 329
Joined: Nov 19 2016 11:38pm

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by marcos » Aug 18 2019 6:39am

Its conceptually the same as KV (rpm per volt). It spins the motor and measure BEMF to calculate it. KV and mWb only differ by a conversion constant.
Does your project need a high performance motor drive? Let's talk!
www.powerdesigns.ca
Do you like our work? Follow Axiom!

User avatar
Lebowski   1 GW

1 GW
Posts: 3348
Joined: Jun 28 2011 1:38am
Location: beautiful Zurich, Switzerland

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Lebowski » Aug 18 2019 10:23am

Ok, thanks... i use a totally different method and am not familiar with the usual terms...

P.s. i am not using the method described in the Microchip AN's

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 18 2019 11:07am

Lebowski wrote:
Aug 18 2019 10:23am
Ok, thanks... i use a totally different method and am not familiar with the usual terms...

P.s. i am not using the method described in the Microchip AN's
Cool. Soon I will test to compare the two! :)
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
Lebowski   1 GW

1 GW
Posts: 3348
Joined: Jun 28 2011 1:38am
Location: beautiful Zurich, Switzerland

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Lebowski » Aug 18 2019 11:17am

What would also be cool to test once is the sensorless from standstill with full torque, from the thread where I demo this with the drill...

User avatar
emmgee   10 W

10 W
Posts: 80
Joined: Jun 16 2010 6:34am
Location: CH

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by emmgee » Aug 19 2019 5:03am

Some time in a hopefully not too far future it would be amazing to see Lebowski's OR Axiom's software running on the Axiom hardware (all open source), so that a direct comparison with mutual learning effects would be possible. Something like the battle of the titans!
Modified Scott Nitrous, 74V, MagicPieV2, waiting for Lebowski-Controller.
Quantya Evo1 and eScooter vRone, waiting for Lebowski-Controller and brushless motor.

peters   1 kW

1 kW
Posts: 302
Joined: Oct 20 2012 11:46pm
Location: Hungary

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by peters » Aug 19 2019 6:27am

Or, Lebowski, don't you want to write your algorithm in C and add to VESC or Axiom? One advantage is that the FPU in the ST uC-s makes the calculations easier. Another possible advantage is the nonlinear BEMF (flux) observer in the VESC, that is very effective. I didn't dig much into the VESC code, but earlier I tried the same observer on my setup. In standstill if the load torque is high or the motor is blocked, it tends to oscillate, but in normal operation it very stable. This combined with your true sensorless position detection in standstill and low speed would be the winner.

marcos   1 kW

1 kW
Posts: 329
Joined: Nov 19 2016 11:38pm

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by marcos » Aug 19 2019 4:54pm

I think I asked Lebowski if he wanted to try his algorithms in our board, but we code in C and he codes in assembler.
I agree it would be cool, and we also have the fpga available for custom functionalities that he could monetize as optional features.
Does your project need a high performance motor drive? Let's talk!
www.powerdesigns.ca
Do you like our work? Follow Axiom!

User avatar
Lebowski   1 GW

1 GW
Posts: 3348
Joined: Jun 28 2011 1:38am
Location: beautiful Zurich, Switzerland

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Lebowski » Aug 20 2019 2:41am

I don't remember being contacted by you Marcos... I was once contacted and told "we need you to this and that" which is a sure fire way for me not to be interested. Even at work I don't accept that type of commanding...

C.... when I look at C I always have the feeling it is very inefficient. Lots of declaring and defining stuff, you really have to search to find a bit of code that actually does something. I find Assembly is simple as they are all the same, all have just the same basic operations (add, subtract, moving data, jumps etc). Plus in C you don't really know what it does on the processor, it may do very inefficient things.

marcos   1 kW

1 kW
Posts: 329
Joined: Nov 19 2016 11:38pm

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by marcos » Aug 20 2019 9:28am

Ugh, I'm sorry if that came the wrong way at that time. If you ever would like to give this hardware a try I'd happy to give you a walk through the coding workflow, at least the workflow I use which of course may not be the best.
The code is not ready to support paid options as it hasn't been a priority, but I think its doable with some groundwork.

You can code this thing is assembler, just type ASM { }and there you go, but the instruction set of an ARM core I think is rather lengthy to learn.
A friend of mine that is a linux dev guru told me he tried to beat the compiler-generated asm with his own asm and when -O2 optimization was enabled the human and compiler performed roughly the same. Then he tried -O3 and the compiled asm crushed his. So that and the portability steered me away from asm.
C++ on the other hand... yeah it can generate very bloaty code if you are not super careful.
I wonder if the FPGA can fit a dsPIC-compatible core, that way some of your asm would work, right? I know it can fit an risc-V core because I sinthesised one, and ran a test program compiled with gcc, but it doesnt leave much free logic gates, even for a decent pwm peripheral.
Does your project need a high performance motor drive? Let's talk!
www.powerdesigns.ca
Do you like our work? Follow Axiom!

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 20 2019 12:55pm

Now for more info about the build.

Sorry I short and posted the videos in the wrong order!
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

zombiess   100 MW

100 MW
Posts: 2911
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by zombiess » Aug 28 2019 1:03am

Any particular reason you want to run 17" rims vs 15 or 16"?

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 28 2019 8:41am

zombiess wrote:
Aug 28 2019 1:03am
Any particular reason you want to run 17" rims vs 15 or 16"?
Size. It's hard to go wide with 15" and 16"
Although my slicks will likely be on 15" rims.

But for a good street tire they seem to offer wider tires as you go up in rim diameter.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

coleasterling   100 W

100 W
Posts: 247
Joined: Sep 21 2010 3:37am

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by coleasterling » Aug 28 2019 11:16am

How wide are you looking to go?

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 28 2019 12:52pm

coleasterling wrote:
Aug 28 2019 11:16am
How wide are you looking to go?
As wide as possible.... ;)
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

coleasterling   100 W

100 W
Posts: 247
Joined: Sep 21 2010 3:37am

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by coleasterling » Aug 28 2019 1:06pm

So...325's? Drag only? I'd be really surprised if you had grip issues at even double your last hp with decent race rubber.

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 28 2019 3:05pm

coleasterling wrote:
Aug 28 2019 1:06pm
So...325's? Drag only? I'd be really surprised if you had grip issues at even double your last hp with decent race rubber.
Who said anything about stopping at 2x the power?
Plan is to run more power at the rear then the front. I was pulling everything the battery could give when I finally had to retire the car.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

coleasterling   100 W

100 W
Posts: 247
Joined: Sep 21 2010 3:37am

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by coleasterling » Aug 28 2019 3:25pm

Arlo1 wrote:
Aug 28 2019 3:05pm
Who said anything about stopping at 2x the power?
Plan is to run more power at the rear then the front. I was pulling everything the battery could give when I finally had to retire the car.
Fair point, sir! Continue on!

My weight transfer calcs say you should be about 70/30 rear, so that's a good plan.

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 31 2019 11:49am

Got some 16" rims for $100 for now... Guy thought they were 15" and swears he had a 15" tire on them I was like oh ok....
I will likely run 225 tires all the way around or 245 in the rear and 225 in the front. Once I have traction problems I will go biggger likely a 17" 275 or 315 in the rear. Or 15" drag slicks.

Anyways these will let me finish the build I will try to leave a bit of space for bigger rubber in the rear ;)
Attachments
IMG_20190830_181958.jpg
IMG_20190830_181958.jpg (86.59 KiB) Viewed 1110 times
IMG_20190829_182202.jpg
IMG_20190829_182202.jpg (57.96 KiB) Viewed 1110 times
IMG_20190830_145920.jpg
IMG_20190830_145920.jpg (72.78 KiB) Viewed 1110 times
IMG_20190830_145942.jpg
IMG_20190830_145942.jpg (59.17 KiB) Viewed 1110 times
IMG_20190830_150057.jpg
IMG_20190830_150057.jpg (105.22 KiB) Viewed 1110 times
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

SRFirefox   100 mW

100 mW
Posts: 35
Joined: Apr 24 2019 7:27pm

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by SRFirefox » Aug 31 2019 1:42pm

Looking awesome, Arlo! 225/245 is a good starting compromise for sure, and way bigger than stock. What are you using for batteries?

Keep up the good work, I'm excited to see your first AWD drive!

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Aug 31 2019 2:03pm

SRFirefox wrote:
Aug 31 2019 1:42pm
Looking awesome, Arlo! 225/245 is a good starting compromise for sure, and way bigger than stock. What are you using for batteries?

Keep up the good work, I'm excited to see your first AWD drive!
If things go to plan 44kg of John Metrics cells they are 125c continious 250peak and will do a little over 1khp

But if anyone has cells for me to test I would happily do so.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
Lebowski   1 GW

1 GW
Posts: 3348
Joined: Jun 28 2011 1:38am
Location: beautiful Zurich, Switzerland

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Lebowski » Sep 01 2019 3:52am

Man, 250c, they'll be empty in 14 seconds !

User avatar
HighHopes   10 kW

10 kW
Posts: 860
Joined: Mar 28 2013 6:25pm

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by HighHopes » Sep 01 2019 5:54am

Lebowski wrote:
Sep 01 2019 3:52am
Man, 250c, they'll be empty in 14 seconds !
he only needs 9.2s :)
Does your project need a high performance motor drive? Let's talk!
www.powerdesigns.ca
Do you like our work? Support Axiom to win the 2019 Hackaday Prize!

User avatar
Arlo1   100 GW

100 GW
Posts: 8372
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by Arlo1 » Sep 01 2019 12:45pm

Lebowski wrote:
Sep 01 2019 3:52am
Man, 250c, they'll be empty in 14 seconds !
They are 250C for 1second rated and 125C continuous.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

coleasterling   100 W

100 W
Posts: 247
Joined: Sep 21 2010 3:37am

Re: Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Post by coleasterling » Sep 02 2019 9:45am

If you found another good deal on 15's, there are some really, really good 245-15's these days, though they are mostly meant as AX and road race tires, not drag. Still, pretty sticky.

Post Reply