Hi all,
I've been doing some searching through the forums and the source code and I am wondering if I am missing anything. Essentially my question is if we can control the motor based on a torque request instead of a throttle percentage as is more typical with some of the other of the shelf solutions. If this is covered somewhere I'd love a link or some direction. My VCU software handles all of the cruise control, torque ramps, rpm ramps, etc, etc via torque commands so I'm trying to determine the best way to adapt that to the Open Inverter control Schema. Help or guidance is much appreciated! thanks in advanced!
Motor control by torque command
-
- Posts: 1057
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 261 times
Re: Motor control by torque command
My understanding is that throttle percentage is a torque request, but I could have that wrong.
https://openinverter.org/wiki/Software_ ... _Operation
https://openinverter.org/wiki/Software_ ... _Operation
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
-
- Posts: 656
- Joined: Sat Oct 05, 2019 6:50 pm
- Location: Northern California, USA
- Been thanked: 2 times
- Contact:
Re: Motor control by torque command
Pretty sure it's not quite a 'torque request' in terms of a certain pedal position equals a certain torque -- we hit field weakening and the max torque decreases but the pedal still behaves the same way.
-
- Posts: 1057
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 223 times
- Been thanked: 261 times
Re: Motor control by torque command
Appreciate the correction.
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed Hot Rod Drag Week 2023 and 2024
https://www.youtube.com/@MangelsdorfSpeed
Re: Motor control by torque command
I think the closest you’ll get is either modifying fweak and fslip over CAN or modifying the firmware to have use a predetermined lookup table of fweak and fslip values that are modified by a new “torque request” parameter. You would have to generate the tables and they would generally be vehicle and drive unit dependent when getting close to an desat fault. I have not had great luck using current limiting options in the software with the LDU as the modulation itself seems to generate overcurrent faults.
Formerly 92 E30 BMW Cabrio with Tesla power
Re: Motor control by torque command
Thank you all for the feedback. From what I'm gathering, it should be possible to calculate the Max torque that the motor is capable of outputting and map that to a 0-1000 value. Typical inverter torque control ignores real time practical torque limits of the motor and simply requests a torque value regardless of whether or not the motor can actually output that torque.