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

Lebowski said:
Ive heard this term before but dont know what it is, flux linkage ?

https://www.sciencedirect.com/topics/engineering/rotor-flux-linkage
 
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.
 
Lebowski said:
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! :)
 
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!
 
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.
 
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.
 
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.
 
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.
 
Now for more info about the build.

Sorry I short and posted the videos in the wrong order!
[youtube]4jw_V3ojwtE[/youtube]
 
zombiess said:
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.
 
coleasterling said:
How wide are you looking to go?

As wide as possible.... ;)
 
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.
 
coleasterling said:
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.
 
Arlo1 said:
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.
 
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
    55 KB · Views: 2,332
  • IMG_20190829_182202.jpg
    IMG_20190829_182202.jpg
    36.4 KB · Views: 2,332
  • IMG_20190830_145920.jpg
    IMG_20190830_145920.jpg
    46.9 KB · Views: 2,332
  • IMG_20190830_145942.jpg
    IMG_20190830_145942.jpg
    38.8 KB · Views: 2,332
  • IMG_20190830_150057.jpg
    IMG_20190830_150057.jpg
    68 KB · Views: 2,332
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!
 
SRFirefox said:
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.
 
Lebowski said:
Man, 250c, they'll be empty in 14 seconds !

he only needs 9.2s :)
 
Lebowski said:
Man, 250c, they'll be empty in 14 seconds !

They are 250C for 1second rated and 125C continuous.
 
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.
 
Back
Top