View Single Post
Old 07-23-2019, 07:44 PM   #3403 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Here's a quick demonstration of the dyno with one motor running in torque mode, and the other running in speed mode. I'm getting some really great data, too. The big question I had was about finding the motor's saliency, and how to automate that later. The motor's "current" can be represented as:

<Id,Iq>, where the 2 currents are at 90 electrical degrees to each other, and the current command is

currentCommand = sqrt(Id*Id + Iq*Iq).

The trick is to figure out how the current command should be divvy'd up between Id and Iq. Think of it as a right triangle. The hypotenuse is the current command, and Id & Iq are the 2 other sides of the triangle. CurrentCommand can be mostly Id, or mostly Iq, or somewhere in between. I have been varying Id from 0 up to currentCommand, and looking at how big currentCommand is in order to maintain the constant speed. The <Id,Iq> combo you want is the one that results in the smallest possible currentCommand, which means you are getting the biggest torque per amp of motor current. The ratio of Id to the currentCommand changes as the current command increases.

__________________
kits and boards
  Reply With Quote
The Following 4 Users Say Thank You to MPaulHolmes For This Useful Post:
59Morris (07-23-2019), LouMan (05-11-2020), ocnorb (07-24-2019), thingstodo (07-24-2019)