bexander wrote: ↑Tue Jan 10, 2023 5:07 am
Did a very quick compare in the sim with 360V vs 550V and there is a gain to be made but max power will be limited to the boost power which i think is around 27kW but you would likely get 27kW all the way up to 400Hz.
I'd rather use the user PWM to control the DC/DC in the Toyota inverters. Would it be possible to add a forth pwmfunc mode, constant? I guess then pwmgain would set frequency and pwmofs would set duty cycle? I would love if I could get a constant frequency in the range of 20-200Hz and a duty cycle of 53%.
Fair enough but that's exactly what i was thinking, only run the boost when it is needed to maintain power as motor speed increases. I think the 27kW may be for the lower Prius battery pack voltage so you may get a bit more with your voltage (I seem to remember a 100A limit although not sure whether that is peak or continuous?).
Sorry, I'm not familiar enough with the code to comment on the possibility of a 4th pwm.
One other thing. For a while I've been wondering about adding a feature to the simulator to allow it to calculate motor parameters from logs by running the log through the motor model and tuning the parameters till they match. I'd previously been thinking that only a high speed/quality binary log would be good enough but if you could take a web page csv log I could give it a try? The log needs to include motor speed, Ud, Uq, Id and Iq. It ideally needs to be a relatively short log (say 30sec), have high time resolution, be taken on level ground (no hills) and include acceleration, deceleration and coasting. Let me know if this is something you would be interested in trying?