Difference between revisions of "Motor Control"
Etrain Troy (talk | contribs) |
Etrain Troy (talk | contribs) |
||
| Line 82: | Line 82: | ||
==Torque Regulation== | ==Torque Regulation== | ||
| + | There are a couple ways to calculation the required current to achieve a desired torque | ||
| + | ===Zero D-Axis Current=== | ||
| + | ===Maximum Torque Per Amp (MTPA)=== | ||
| + | ===Thermal Limiting=== | ||
| + | Losses in the motor and motor controller are a function of current. Therefore we need to reduce the current through the devices to limit the temperature of both the motor and controller. | ||
| + | ===Torque Ramp=== | ||
| + | Slowly ramp up torque (over a period of 10's or 100's of milliseconds) in order to prevent mechanical damage to drivetrain. | ||
| + | |||
==Surface Mount Permanent Magnet Machines== | ==Surface Mount Permanent Magnet Machines== | ||
==Interior Permanent Magnet Machines== | ==Interior Permanent Magnet Machines== | ||
Revision as of 20:21, 20 June 2022
Contents
- 1 DC Brushed Motor Control
- 2 Six-Step Control
- 3 Field Oriented Control for Synchronous Machines
- 4 Field Oriented Control for Asynchronous Machines
DC Brushed Motor Control
Six-Step Control
Field Oriented Control for Synchronous Machines
Most fsae grade motor controllers use field oriented control. This is due to the improved efficiency and dynamic performance of the controller and motor controller. This control scheme relies on controller the DQ-axis currents by applying a DQ-axis voltage.
Transformations
Clarke Transform
The Clarke transform is used to convert the measurements of the phase currents or voltages to a rectangular 2d space vector, which represents both a complex phasor representing the AC current in the phases, and a vector with the same direction of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called , while the imaginary axis/perpendicular axis is labeled . k is a scaling factor, where results in a vector with the same magnitude as the original 3-phase signals, and results in a power-invariant transform.
Park Transform
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The -frame is "stationary", as in the axes remain fixed while the current and voltage vector spins around with the rotor. in the DQ-frame, because it is referenced so the D axis always is aligned with a north pole on the rotor, constant current results in constant torque regardless of rotation. The transform itself is simply a rotation matrix, rotating the -frame by the electrical angle of the rotor.
Current Regulation
A PI controller is commonly used to regulate the currents. This is explained by starting with a simple motor model in the DQ-frame (the motor is represented by a voltage source, resistance, and inductance).
We can then write the equation for the system as follows:
The pole of the system can be cancelled out by a an appropriately tuned PI controller. The equation for the entire current controller can then be written as follows:
More explicitly, the desired output voltage at any given point in time can be written as:
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:
Torque Regulation
There are a couple ways to calculation the required current to achieve a desired torque
Zero D-Axis Current
Maximum Torque Per Amp (MTPA)
Thermal Limiting
Losses in the motor and motor controller are a function of current. Therefore we need to reduce the current through the devices to limit the temperature of both the motor and controller.
Torque Ramp
Slowly ramp up torque (over a period of 10's or 100's of milliseconds) in order to prevent mechanical damage to drivetrain.
Surface Mount Permanent Magnet Machines
Interior Permanent Magnet Machines
Position Feedback
Field oriented control relies on having the magnetic angle of the motor for the park transform. This can either be directly measured through an encoder or resolver (sensored control), or estimated/calculated from either the back EMF or motor impedance (sensorless control). One of the main limitations of sensorless control is that the angle is only easily estimated at either high or low speeds (depending on the method). A sensor ensures reliable angle feedback across the operating range.