<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://fswiki.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Etrain+Troy</id>
	<title>fswiki.us - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://fswiki.us/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Etrain+Troy"/>
	<link rel="alternate" type="text/html" href="http://fswiki.us/Special:Contributions/Etrain_Troy"/>
	<updated>2026-07-26T16:58:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2396</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2396"/>
		<updated>2022-06-21T00:21:23Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Torque Regulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
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.&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
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&lt;br /&gt;
of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. k is a scaling factor, where&lt;br /&gt;
&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt; results in a power-invariant transform.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; -\frac{1}{2} &amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp; \frac{\sqrt 3}{2} &amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
===Park Transform===&lt;br /&gt;
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&lt;br /&gt;
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.&lt;br /&gt;
The transform itself is simply a rotation matrix, rotating the &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame by the electrical angle of the rotor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
There are a couple ways to calculation the required current to achieve a desired torque&lt;br /&gt;
===Zero D-Axis Current===&lt;br /&gt;
===Maximum Torque Per Amp (MTPA)===&lt;br /&gt;
===Thermal Limiting===&lt;br /&gt;
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.&lt;br /&gt;
===Torque Ramp===&lt;br /&gt;
Slowly ramp up torque (over a period of 10's or 100's of milliseconds) in order to prevent mechanical damage to drivetrain.&lt;br /&gt;
&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
====Calibration====&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2395</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2395"/>
		<updated>2022-06-21T00:15:19Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Current Regulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
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.&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
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&lt;br /&gt;
of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. k is a scaling factor, where&lt;br /&gt;
&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt; results in a power-invariant transform.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; -\frac{1}{2} &amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp; \frac{\sqrt 3}{2} &amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
===Park Transform===&lt;br /&gt;
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&lt;br /&gt;
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.&lt;br /&gt;
The transform itself is simply a rotation matrix, rotating the &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame by the electrical angle of the rotor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
====Calibration====&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2394</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2394"/>
		<updated>2022-06-21T00:14:16Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Field Oriented Control for Synchronous Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
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.&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
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&lt;br /&gt;
of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. k is a scaling factor, where&lt;br /&gt;
&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt; results in a power-invariant transform.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; -\frac{1}{2} &amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp; \frac{\sqrt 3}{2} &amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
===Park Transform===&lt;br /&gt;
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&lt;br /&gt;
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.&lt;br /&gt;
The transform itself is simply a rotation matrix, rotating the &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame by the electrical angle of the rotor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
====Calibration====&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2393</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2393"/>
		<updated>2022-06-21T00:08:57Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Resolvers &amp;amp; Encoders */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
Most high performance motor controllers use field oriented control. This is due to the improved efficiency and dynamic performance of the controller.&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
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&lt;br /&gt;
of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. k is a scaling factor, where&lt;br /&gt;
&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt; results in a power-invariant transform.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; -\frac{1}{2} &amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp; \frac{\sqrt 3}{2} &amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
===Park Transform===&lt;br /&gt;
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&lt;br /&gt;
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.&lt;br /&gt;
The transform itself is simply a rotation matrix, rotating the &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame by the electrical angle of the rotor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
====Calibration====&lt;br /&gt;
&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2392</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2392"/>
		<updated>2022-06-21T00:08:29Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: Undo revision 2391 by Etrain Troy (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
Most high performance motor controllers use field oriented control. This is due to the improved efficiency and dynamic performance of the controller.&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
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&lt;br /&gt;
of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. k is a scaling factor, where&lt;br /&gt;
&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt; results in a power-invariant transform.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; -\frac{1}{2} &amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp; \frac{\sqrt 3}{2} &amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
===Park Transform===&lt;br /&gt;
The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&lt;br /&gt;
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.&lt;br /&gt;
The transform itself is simply a rotation matrix, rotating the &amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;-frame by the electrical angle of the rotor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=2391</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=2391"/>
		<updated>2022-06-21T00:00:28Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Field Oriented Control for Synchronous Machines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;h1&amp;gt;Field Oriented Control for Synchronous Machines&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt;Most FSAE grade motor controllers use field oriented control. This is due to the efficiency and dynamic performance of the controller and motor. Field oriented control relies on controlling the DQ-axis currents through applying a specific DQ-axis voltage to the motor. For a good explaination of field oriented control see the video below (though it focuses on sensorless field oriented control).&amp;lt;br data-attributes=&amp;quot;&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;https://www.youtube.com/watch?v=cdiZUszYLiA&amp;amp;amp;t=11s&amp;quot; data-mce-href=&amp;quot;https://www.youtube.com/watch?v=cdiZUszYLiA&amp;amp;amp;t=11s&amp;quot; title=&amp;quot;[1]&amp;quot; data-mw-type=&amp;quot;external_link&amp;quot; class=&amp;quot;link external mw-external-link mceNonEditable&amp;quot; data-mw-wikitext=&amp;quot;%5Bhttps://www.youtube.com/watch?v=cdiZUszYLiA&amp;amp;amp;t=11s%5D&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;[1]&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Transformations&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h3&amp;gt;Clarke Transform&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;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&amp;lt;span class=&amp;quot;single_linebreak&amp;quot; title=&amp;quot;single linebreak&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;¶&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;of the magnetic field that the current will create. The real axis/the axis aligned with the phase A vector is called &amp;lt;span id=&amp;quot;&amp;lt;@@@TAG155056@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;155056&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%5Calpha%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle \alpha }&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;α&amp;lt;!-- α --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle \alpha }&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/b79333175c8b3f0840bfb4ec41b8072c83ea88d3&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -0.338ex; width:1.488ex; height:1.676ex;&amp;quot; alt=&amp;quot;{\displaystyle \alpha }&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;, while the imaginary axis/perpendicular axis is labeled &amp;lt;span id=&amp;quot;&amp;lt;@@@TAG125345@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;125345&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%5Cbeta%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle \beta }&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;β&amp;lt;!-- β --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle \beta }&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/7ed48a5e36207156fb792fa79d29925d2f7901e8&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -0.671ex; width:1.332ex; height:2.509ex;&amp;quot; alt=&amp;quot;{\displaystyle \beta }&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;. k is a scaling factor, where&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG104565@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;k = \frac{2}{3}&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;104565&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3Ek%20=%20%5Cfrac%7B2%7D%7B3%7D%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle k={\frac {2}{3}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle k={\frac {2}{3}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/a32f140d5d8c9832545636b79bf45e81478334ca&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -1.838ex; width:6.308ex; height:5.176ex;&amp;quot; alt=&amp;quot;{\displaystyle k={\frac {2}{3}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt; results in a vector with the same magnitude as the original 3-phase signals, and &amp;lt;span id=&amp;quot;&amp;lt;@@@TAG109486@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;k = \sqrt{\frac{2}{3}}&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;109486&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3Ek%20=%20%5Csqrt%7B%5Cfrac%7B2%7D%7B3%7D%7D%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle k={\sqrt {\frac {2}{3}}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;msqrt&amp;gt;&lt;br /&gt;
            &amp;lt;mfrac&amp;gt;&lt;br /&gt;
              &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
              &amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
          &amp;lt;/msqrt&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle k={\sqrt {\frac {2}{3}}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/ee0412cac912c88cf59bc4156599e46640e80d09&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -2.338ex; width:8.632ex; height:6.176ex;&amp;quot; alt=&amp;quot;{\displaystyle k={\sqrt {\frac {2}{3}}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt; results in a power-invariant transform.&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG191952@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
= k&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp;amp; -\frac{1}{2} &amp;amp;amp; -\frac{1}{2} \\&lt;br /&gt;
0 &amp;amp;amp; \frac{\sqrt 3}{2} &amp;amp;amp; -\frac{\sqrt 3}{2}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_A \\&lt;br /&gt;
x_B \\&lt;br /&gt;
x_C&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;191952&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0A%5Cbegin%7Bbmatrix%7D%0Ax_%5Calpha%20%5C%5C%0Ax_%5Cbeta%0A%5Cend%7Bbmatrix%7D%0A=%20k%0A%5Cbegin%7Bbmatrix%7D%0A1%20&amp;amp;amp;%20-%5Cfrac%7B1%7D%7B2%7D%20&amp;amp;amp;%20-%5Cfrac%7B1%7D%7B2%7D%20%5C%5C%0A0%20&amp;amp;amp;%20%5Cfrac%7B%5Csqrt%203%7D%7B2%7D%20&amp;amp;amp;%20-%5Cfrac%7B%5Csqrt%203%7D%7B2%7D%0A%5Cend%7Bbmatrix%7D%0A%5Cbegin%7Bbmatrix%7D%0Ax_A%20%5C%5C%0Ax_B%20%5C%5C%0Ax_C%0A%5Cend%7Bbmatrix%7D%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle {\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}=k{\begin{bmatrix}1&amp;amp;amp;-{\frac {1}{2}}&amp;amp;amp;-{\frac {1}{2}}\\0&amp;amp;amp;{\frac {\sqrt {3}}{2}}&amp;amp;amp;-{\frac {\sqrt {3}}{2}}\end{bmatrix}}{\begin{bmatrix}x_{A}\\x_{B}\\x_{C}\end{bmatrix}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;α&amp;lt;!-- α --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;β&amp;lt;!-- β --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;mfrac&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
                    &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
                  &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;mfrac&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
                    &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
                  &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mn&amp;gt;0&amp;lt;/mn&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;mfrac&amp;gt;&lt;br /&gt;
                      &amp;lt;msqrt&amp;gt;&lt;br /&gt;
                        &amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&lt;br /&gt;
                      &amp;lt;/msqrt&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
                    &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
                  &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                    &amp;lt;mfrac&amp;gt;&lt;br /&gt;
                      &amp;lt;msqrt&amp;gt;&lt;br /&gt;
                        &amp;lt;mn&amp;gt;3&amp;lt;/mn&amp;gt;&lt;br /&gt;
                      &amp;lt;/msqrt&amp;gt;&lt;br /&gt;
                      &amp;lt;mn&amp;gt;2&amp;lt;/mn&amp;gt;&lt;br /&gt;
                    &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
                  &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;A&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;B&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;C&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle {\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}=k{\begin{bmatrix}1&amp;amp;amp;-{\frac {1}{2}}&amp;amp;amp;-{\frac {1}{2}}\\0&amp;amp;amp;{\frac {\sqrt {3}}{2}}&amp;amp;amp;-{\frac {\sqrt {3}}{2}}\end{bmatrix}}{\begin{bmatrix}x_{A}\\x_{B}\\x_{C}\end{bmatrix}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/d4000c82275c067f5f6aafcbfd1792306c269e58&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -4.005ex; width:34.754ex; height:9.176ex;&amp;quot; alt=&amp;quot;{\displaystyle {\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}=k{\begin{bmatrix}1&amp;amp;amp;-{\frac {1}{2}}&amp;amp;amp;-{\frac {1}{2}}\\0&amp;amp;amp;{\frac {\sqrt {3}}{2}}&amp;amp;amp;-{\frac {\sqrt {3}}{2}}\end{bmatrix}}{\begin{bmatrix}x_{A}\\x_{B}\\x_{C}\end{bmatrix}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h3&amp;gt;Park Transform&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;The Park transform is used to transform quantities from being referenced to the stator to being referenced to the rotor. The &amp;lt;span id=&amp;quot;&amp;lt;@@@TAG142237@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;142237&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%5Calpha%5Cbeta%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle \alpha \beta }&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;α&amp;lt;!-- α --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;β&amp;lt;!-- β --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle \alpha \beta }&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/2efb0e5523f52275f3193b0dfd9a92ad5b76830c&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -0.671ex; width:2.82ex; height:2.509ex;&amp;quot; alt=&amp;quot;{\displaystyle \alpha \beta }&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;-frame is &amp;quot;stationary&amp;quot;, as in the axes remain fixed while the current&amp;lt;span class=&amp;quot;single_linebreak&amp;quot; title=&amp;quot;single linebreak&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;¶&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;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.&amp;lt;span class=&amp;quot;single_linebreak&amp;quot; title=&amp;quot;single linebreak&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;¶&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;The transform itself is simply a rotation matrix, rotating the &amp;lt;span id=&amp;quot;&amp;lt;@@@TAG142237@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;\alpha\beta&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;142237&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%5Calpha%5Cbeta%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle \alpha \beta }&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;α&amp;lt;!-- α --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;β&amp;lt;!-- β --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle \alpha \beta }&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/2efb0e5523f52275f3193b0dfd9a92ad5b76830c&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -0.671ex; width:2.82ex; height:2.509ex;&amp;quot; alt=&amp;quot;{\displaystyle \alpha \beta }&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;-frame by the electrical angle of the rotor.&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG167346@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_d\\&lt;br /&gt;
x_q&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
cos(\theta_r) &amp;amp;amp; sin(\theta_r) \\&lt;br /&gt;
-sin(\theta_r) &amp;amp;amp; cos(\theta_r)&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_\alpha \\&lt;br /&gt;
x_\beta&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;167346&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0A%5Cbegin%7Bbmatrix%7D%0Ax_d%5C%5C%0Ax_q%0A%5Cend%7Bbmatrix%7D%0A=%0A%5Cbegin%7Bbmatrix%7D%0Acos(%5Ctheta_r)%20&amp;amp;amp;%20sin(%5Ctheta_r)%20%5C%5C%0A-sin(%5Ctheta_r)%20&amp;amp;amp;%20cos(%5Ctheta_r)%0A%5Cend%7Bbmatrix%7D%0A%5Cbegin%7Bbmatrix%7D%0Ax_%5Calpha%20%5C%5C%0Ax_%5Cbeta%0A%5Cend%7Bbmatrix%7D%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle {\begin{bmatrix}x_{d}\\x_{q}\end{bmatrix}}={\begin{bmatrix}cos(\theta _{r})&amp;amp;amp;sin(\theta _{r})\\-sin(\theta _{r})&amp;amp;amp;cos(\theta _{r})\end{bmatrix}}{\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;c&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;o&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;θ&amp;lt;!-- θ --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;i&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;n&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;θ&amp;lt;!-- θ --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;i&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;n&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;θ&amp;lt;!-- θ --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;c&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;o&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;θ&amp;lt;!-- θ --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                  &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;[&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mtable rowspacing=&amp;quot;4pt&amp;quot; columnspacing=&amp;quot;1em&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;α&amp;lt;!-- α --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
              &amp;lt;mtr&amp;gt;&lt;br /&gt;
                &amp;lt;mtd&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;x&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;β&amp;lt;!-- β --&amp;gt;&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mtd&amp;gt;&lt;br /&gt;
              &amp;lt;/mtr&amp;gt;&lt;br /&gt;
            &amp;lt;/mtable&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;]&amp;lt;/mo&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle {\begin{bmatrix}x_{d}\\x_{q}\end{bmatrix}}={\begin{bmatrix}cos(\theta _{r})&amp;amp;amp;sin(\theta _{r})\\-sin(\theta _{r})&amp;amp;amp;cos(\theta _{r})\end{bmatrix}}{\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/b3936dfef8cb177c2c3c1ae223fe87335c86a1dc&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -2.505ex; width:36.206ex; height:6.176ex;&amp;quot; alt=&amp;quot;{\displaystyle {\begin{bmatrix}x_{d}\\x_{q}\end{bmatrix}}={\begin{bmatrix}cos(\theta _{r})&amp;amp;amp;sin(\theta _{r})\\-sin(\theta _{r})&amp;amp;amp;cos(\theta _{r})\end{bmatrix}}{\begin{bmatrix}x_{\alpha }\\x_{\beta }\end{bmatrix}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Current Regulation&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;A PI controller is commonly used to regulate the phase 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). &amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG149363@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;149363&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0AI_%7Bdq%7D%20=%20%5Cfrac%7BV_%7Bdq%7D%20-%20V_%7Bemf%7D%7D%7BR_s%20+%20sL_%7Bdq%7D%7D%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle I_{dq}={\frac {V_{dq}-V_{emf}}{R_{s}+sL_{dq}}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;I&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;m&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;f&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;R&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;L&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle I_{dq}={\frac {V_{dq}-V_{emf}}{R_{s}+sL_{dq}}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/1c3a5976ef651c6e22e536a8166ce9194ab517a3&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -2.505ex; width:17.55ex; height:6.176ex;&amp;quot; alt=&amp;quot;{\displaystyle I_{dq}={\frac {V_{dq}-V_{emf}}{R_{s}+sL_{dq}}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;We can then write the equation for the system as follows:&amp;lt;br data-attributes=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG144167@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;144167&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%20G(s)%20=%20%5Cfrac%7BI_%7Bdq%7D(s)%7D%7BV_%7Bdq%7D(s)%20-%20V_%7BEMF,dq%7D%7D%20=%20%5Cfrac%7B1%7D%7BR_s%20+%20sL_%7Bdq%7D%7D%20=%20%5Cfrac%7B%5Cfrac%7B1%7D%7BL_%7Bdq%7D%7D%7D%7B(s%20+%20%5Cfrac%7BR_s%7D%7BL_%7Bdq%7D%7D)%7D%20%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle G(s)={\frac {I_{dq}(s)}{V_{dq}(s)-V_{EMF,dq}}}={\frac {1}{R_{s}+sL_{dq}}}={\frac {\frac {1}{L_{dq}}}{(s+{\frac {R_{s}}{L_{dq}}})}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;G&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;I&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;E&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;M&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;F&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;R&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;L&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mfrac&amp;gt;&lt;br /&gt;
              &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;L&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;mfrac&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;R&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                  &amp;lt;msub&amp;gt;&lt;br /&gt;
                    &amp;lt;mi&amp;gt;L&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                      &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
                  &amp;lt;/msub&amp;gt;&lt;br /&gt;
                &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
              &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle G(s)={\frac {I_{dq}(s)}{V_{dq}(s)-V_{EMF,dq}}}={\frac {1}{R_{s}+sL_{dq}}}={\frac {\frac {1}{L_{dq}}}{(s+{\frac {R_{s}}{L_{dq}}})}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/cbe9d2f69dac0e8e27f742f225ddb717f169b038&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -4.338ex; width:52.649ex; height:9.509ex;&amp;quot; alt=&amp;quot;{\displaystyle G(s)={\frac {I_{dq}(s)}{V_{dq}(s)-V_{EMF,dq}}}={\frac {1}{R_{s}+sL_{dq}}}={\frac {\frac {1}{L_{dq}}}{(s+{\frac {R_{s}}{L_{dq}}})}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;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:&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG151981@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;151981&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0AG_c(s)%20=%20%5Cfrac%7BV_%7Bdq%7D%20-%20V_%7BEMF,dq%7D%7D%7BI_%7Be,dq%7D(s)%7D%20=%20k_p%20+%20%5Cfrac%7Bk_i%7D%7Bs%7D%20=%20%5Cfrac%7B1%7D%7Bs%7D(k_i%20+%20sk_p)%0A%0A%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle G_{c}(s)={\frac {V_{dq}-V_{EMF,dq}}{I_{e,dq}(s)}}=k_{p}+{\frac {k_{i}}{s}}={\frac {1}{s}}(k_{i}+sk_{p})}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;G&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;c&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;E&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;M&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;F&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;mrow&amp;gt;&lt;br /&gt;
              &amp;lt;msub&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;I&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                  &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;/mrow&amp;gt;&lt;br /&gt;
              &amp;lt;/msub&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;/mrow&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;msub&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;i&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;i&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle G_{c}(s)={\frac {V_{dq}-V_{EMF,dq}}{I_{e,dq}(s)}}=k_{p}+{\frac {k_{i}}{s}}={\frac {1}{s}}(k_{i}+sk_{p})}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/3b50211a6364f8445185950d57919bd1f11915ea&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -2.671ex; width:49.698ex; height:6.343ex;&amp;quot; alt=&amp;quot;{\displaystyle G_{c}(s)={\frac {V_{dq}-V_{EMF,dq}}{I_{e,dq}(s)}}=k_{p}+{\frac {k_{i}}{s}}={\frac {1}{s}}(k_{i}+sk_{p})}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br data-attributes=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG107039@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;107039&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0A%0A%0AV_%7Bdq%7D%20=%20(I_%7Bdq,requested%7D%20-%20I_%7Bdq,measured%7D)%20%5Cfrac%7B1%7D%7Bs%7D(k_i%20+%20sk_p))%20+%20V_%7BEMF,dq%7D%0A%0A%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle V_{dq}=(I_{dq,requested}-I_{dq,measured}){\frac {1}{s}}(k_{i}+sk_{p}))+V_{EMF,dq}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;I&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;u&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;t&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;−&amp;lt;!-- − --&amp;gt;&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;I&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;m&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;a&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;u&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;r&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;i&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;+&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;V&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;E&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;M&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;F&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mo&amp;gt;,&amp;lt;/mo&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle V_{dq}=(I_{dq,requested}-I_{dq,measured}){\frac {1}{s}}(k_{i}+sk_{p}))+V_{EMF,dq}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/21901ad9dcaaa3b4618afdebaf27a680089a853d&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -1.838ex; width:55.367ex; height:5.176ex;&amp;quot; alt=&amp;quot;{\displaystyle V_{dq}=(I_{dq,requested}-I_{dq,measured}){\frac {1}{s}}(k_{i}+sk_{p}))+V_{EMF,dq}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br data-attributes=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;&amp;lt;@@@TAG103648@@@&amp;gt;&amp;quot; class=&amp;quot;mceNonEditable wikimagic mw-tag&amp;quot; title=&amp;quot;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;quot; data-mw-type=&amp;quot;tag&amp;quot; data-mw-id=&amp;quot;103648&amp;quot; data-mw-name=&amp;quot;math&amp;quot; data-mw-wikitext=&amp;quot;%3Cmath%3E%0A%0A%0AG_%7Bopen%20loop%7D(s)%20=%20G(s)G_c(s)%20=%20%5Cfrac%7B1%7D%7Bs%7D%5Cfrac%7Bk_p%7D%7BL_%7Bdq%7D%7D%0A%0A%0A%3C/math%3E&amp;quot; contenteditable=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;mwspan&amp;gt;&amp;lt;div class=&amp;quot;mw-parser-output&amp;quot;&amp;gt;&amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-element&amp;quot;&amp;gt;&amp;lt;span class=&amp;quot;mwe-math-mathml-inline mwe-math-mathml-a11y&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt;&amp;lt;math xmlns=&amp;quot;http://www.w3.org/1998/Math/MathML&amp;quot; alttext=&amp;quot;{\displaystyle G_{openloop}(s)=G(s)G_{c}(s)={\frac {1}{s}}{\frac {k_{p}}{L_{dq}}}}&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;semantics&amp;gt;&lt;br /&gt;
    &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;mstyle scriptlevel=&amp;quot;0&amp;quot; displaystyle=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;G&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;o&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;e&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;n&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;l&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;o&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;o&amp;lt;/mi&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;G&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;msub&amp;gt;&lt;br /&gt;
          &amp;lt;mi&amp;gt;G&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;c&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;/msub&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;(&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
        &amp;lt;mo stretchy=&amp;quot;false&amp;quot;&amp;gt;)&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mo&amp;gt;=&amp;lt;/mo&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;mn&amp;gt;1&amp;lt;/mn&amp;gt;&lt;br /&gt;
            &amp;lt;mi&amp;gt;s&amp;lt;/mi&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
        &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;mfrac&amp;gt;&lt;br /&gt;
            &amp;lt;msub&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;k&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;p&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;/msub&amp;gt;&lt;br /&gt;
            &amp;lt;msub&amp;gt;&lt;br /&gt;
              &amp;lt;mi&amp;gt;L&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;mrow class=&amp;quot;MJX-TeXAtom-ORD&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;d&amp;lt;/mi&amp;gt;&lt;br /&gt;
                &amp;lt;mi&amp;gt;q&amp;lt;/mi&amp;gt;&lt;br /&gt;
              &amp;lt;/mrow&amp;gt;&lt;br /&gt;
            &amp;lt;/msub&amp;gt;&lt;br /&gt;
          &amp;lt;/mfrac&amp;gt;&lt;br /&gt;
        &amp;lt;/mrow&amp;gt;&lt;br /&gt;
      &amp;lt;/mstyle&amp;gt;&lt;br /&gt;
    &amp;lt;/mrow&amp;gt;&lt;br /&gt;
    &amp;lt;annotation encoding=&amp;quot;application/x-tex&amp;quot;&amp;gt;{\displaystyle G_{openloop}(s)=G(s)G_{c}(s)={\frac {1}{s}}{\frac {k_{p}}{L_{dq}}}}&amp;lt;/annotation&amp;gt;&lt;br /&gt;
  &amp;lt;/semantics&amp;gt;&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;img src=&amp;quot;https://wikimedia.org/api/rest_v1/media/math/render/svg/0dc5d51749701c323f3d0daa405c72c74cf698d3&amp;quot; class=&amp;quot;mwe-math-fallback-image-inline&amp;quot; aria-hidden=&amp;quot;true&amp;quot; style=&amp;quot;vertical-align: -2.505ex; width:34.107ex; height:6.176ex;&amp;quot; alt=&amp;quot;{\displaystyle G_{openloop}(s)=G(s)G_{c}(s)={\frac {1}{s}}{\frac {k_{p}}{L_{dq}}}}&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;mceNonEditableOverlay&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/mwspan&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline_first&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;br class=&amp;quot;mw_emptyline&amp;quot;&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Torque Regulation&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Surface Mount Permanent Magnet Machines&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Interior Permanent Magnet Machines&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Position Feedback&amp;lt;br data-attributes=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;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 entire operating range.&amp;lt;div&amp;gt;&amp;lt;h3&amp;gt;Resolvers &amp;amp;amp; Encoders&amp;lt;/h3&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h4&amp;gt;Calibration&amp;lt;/h4&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;h2&amp;gt;Space Vector PWM&amp;lt;/h2&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Electric_Motors&amp;diff=2390</id>
		<title>Electric Motors</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Electric_Motors&amp;diff=2390"/>
		<updated>2022-06-20T23:44:57Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: /* Common FSAE Motors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To propel an electric vehicle, electricity must be converted to mechanical force. Electric motors use current flowing through wires to create magnetic fields that interact with other magnetic fields in the motor to create motion.&lt;br /&gt;
=Motor Types=&lt;br /&gt;
&lt;br /&gt;
==DC Motors==&lt;br /&gt;
DC motors are electro-mechanical machines which take DC inputs to generate torque. These machines include Brushed DC, Brushless DC machines (BLDC), and homopolar machines among others. While some use mechanical commutators like brushes, some DC machines commutate electrically based on the rotor position.&lt;br /&gt;
===Brushed DC Motor===&lt;br /&gt;
Brushed DC Motors are the conventional hobbyist motor and come in two main varieties: Permanent Magnet Based (PMDC) and Field-Winding Based (FWDC). They use mechanical brushes to commutate the the flow of current through the rotor to generate a torque. Because of this, they are easy to control, and do not require a position sensor to track the rotation of the motor. For the PMDC machine, the flux generated by the rotor interacts with the permanent magnet flux to generate torque. For the FWDC machine, the permanent magnets are replaced by another set of coils which generate the stator flux. This allows the machines to operate at high speeds using flux weakening techniques.&lt;br /&gt;
&lt;br /&gt;
For FSAE applications, Brushed DC machines can reduce system complexity; however, at higher power levels, these machines have low efficiencies and must have regular maintenance of brushes. In addition, these machines have relatively low torque and power density which can increase system mass and cause packaging issues. For these reasons, they are not commonly used in FSAE powertrains.&lt;br /&gt;
===Brushless DC Motor===&lt;br /&gt;
Brushless DC motors (BLDC) are another form of DC machines that commutate electrically (i.e. without brushes). BLDC machines typically consist of a rotor with permanent magnets and a stator which is wound such that the EMF has a trapezoidal shape. While the structure shares many similarities with the AC Synchronous machines, the distinction is in the control methodology and corresponding winding structure.&lt;br /&gt;
&lt;br /&gt;
Rather than using a high resolution control algorithm like Field Oriented Control, BLDC motors use a heavily discretized, six-step control method. This is implemented by commanding a DC voltage (averaged through PWM) through two of the motor phases based on the rotor position. This is implemented by Hall Effect sensors embedded in the machine which determine which of the six possible phases to regulate current in.&lt;br /&gt;
&lt;br /&gt;
In addition to the Hall Effect sensor used for commutation, BLDC motors often use an [[Rotary Position Sensor#Encoder|encoder]] to track the rotational position and velocity of the motor for control purposes.&lt;br /&gt;
&lt;br /&gt;
BLDC motors are advantageous for their high torque density (higher than SMPM machines); however, the six-step method generates a large amount of torque ripple which reduces efficiency. BLDC machines also cannot flux weaken with conventional techniques, so problems can arise at higher speeds if voltage limited.&lt;br /&gt;
==AC Synchronous Motors==&lt;br /&gt;
AC Synchronous Machines a class of machines characterized by the fact that their rotor flux is synchronous with the rotor angle. These category includes surface mount (SMPM), synchronous reluctance (synRel), and interior permanent magnet (IPM) machines among others. These machines use PM or mutual torque along with reluctance torque to generate torque over a wide speed range. AC Synchronous machines also have sinusoidal EMFs due to their winding distribution. These machines typically use high performance control aglorithms like Field Oriented Control which require a high resolution position sensors like a [[Rotary Position Sensor#Resolver|resolver]]. &lt;br /&gt;
&lt;br /&gt;
===Surface Mount Permanent Magnet Machines===&lt;br /&gt;
Surface mount permanent magnet machines (SMPM or SMPMSM) are the most straight-forward type of synchronous machines. The AC stator consists of three phase wired in either a WYE or Delta configuration and usually has a sinusoidal winding distribution to achieve a sinusoidal Back-EMF. The rotor contains permanent magnets which are fixed on the surface of the rotor iron.&lt;br /&gt;
&lt;br /&gt;
[[File:Cross-section-of-SPM-motor.png|right|middle|thumb|Four pole SMPM Machine Cross Section &amp;lt;ref name=&amp;quot;Wang&amp;quot;&amp;gt; Wang, Yawei &amp;amp; Bianchi, N. &amp;amp; Bolognani, Silverio &amp;amp; Alberti, Luigi. (2017). Synchronous motors for traction applications. 1-8. 10.23919/EETA.2017.7993210. &amp;lt;/ref&amp;gt; ]]&lt;br /&gt;
&lt;br /&gt;
Because the permeability of the magnets is close to air, the ideal SMPM has no rotor saliency and therefore no reluctance torque. The resultant torque expression is dependent solely on the current orthogonal to the rotor flux. I.E The only current that produces torque in the machine is that which generates a magnetic field in the quadrature axis in the rotor reference frame. The resultant torque expression is below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\tau = \frac{3Np}{4}\Lambda_{PM}I_q^r&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Np&amp;lt;/math&amp;gt; = Number of Motor Poles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Lambda_{PM}&amp;lt;/math&amp;gt; = Permanent Magnet Flux Linkage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;I_q^r&amp;lt;/math&amp;gt; = Quadrature Current in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
For FSAE, SMPMs are  good choice because of their high torque density and efficiency. At low speeds SMPM machines can also achieve unity power factor which is ideal when the vehicle is power limited. Using Field oriented control, SMPM's can flux-weaken as well to achieve higher speeds. Depending on the inductance of the machine, can achieve constant power after a certain speed. One problem with the SMPM design is that at high speeds the magnets experience high amounts of tensile stress. Because of non-idealities in the magnetic material, this stress worsens the performance of the material and inhibits high speed operation. This is not usually a problem for FSAE vehicles however.&lt;br /&gt;
&lt;br /&gt;
===Synchronous Reluctance Machines===&lt;br /&gt;
Rather than using permanent magnets, Synchronous Reluctance (SynRel) Machines rely on the magnetic saliency of the rotor to generate a reluctance torque. The rotors of these machines have complex flux barriers cut out of the rotor lamination to achieve these salient poles. These machines are not as common as there SMPM counterparts, but they allow easy control of the flux in the machine. Because they do not contain permanent magnets, they are often thought of as the synchronous analogy to induction machines. Furthermore, a variation of SynRel machines, Switched Reluctance Machines, are often thought of as BLDC Machines are to SMPM machines.&lt;br /&gt;
&lt;br /&gt;
[[File:Syn rel reference frames.png|right|middle|thumb|Four Pole PM Assisted Synchronous Reluctance Machine &amp;lt;ref name=&amp;quot;SynRelIMG&amp;quot;&amp;gt; Bianchi, N. &amp;amp; Bolognani, Silverio &amp;amp; Bon, Diego &amp;amp; Pre, Michele. (2009). Rotor Flux-Barrier Design for Torque Ripple Reduction in Synchronous Reluctance and PM-Assisted Synchronous Reluctance Motors. Industry Applications, IEEE Transactions on. 45. 921 - 928. 10.1109/TIA.2009.2018960. &amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\tau = \frac{3Np}{4}(L_d - L_q)I_d^rI_q^r&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Np&amp;lt;/math&amp;gt; = Number of Motor Poles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L_q&amp;lt;/math&amp;gt; = Quadrature Axis Inductance in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L_d&amp;lt;/math&amp;gt; = Direct Axis Inductance in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;I_q^r&amp;lt;/math&amp;gt; = Quadrature Axis Current in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;I_d^r&amp;lt;/math&amp;gt; = Direct Axis Current in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
As previously stated, SynRel machines have intricate flux barriers that generate salient poles in the rotor. While this allows for easy control of machine's flux levels, the flux barriers can cause large mechanical stress concentrations which can cause problems for high torque applications. With that said, these machines can still achieve high levels of efficiency and have started to become more common place. Specifically, variations like the switched reluctance machine have been used in some electric vehicle applications despite their noise and torque ripple issues.&lt;br /&gt;
&lt;br /&gt;
===Interior Permanent Magnet Machines===&lt;br /&gt;
Interior Permanent Magnet (IPM or IPMSM) Machines are newer type of synchronous machine that embed the rotor magnets in the rotor iron. There are several different types of IPM machines including inset, embedded, spoke, etc. Because the magnets which have a low incremental permeability are embedded in the highly permeable rotor iron, IPM machines a substantial rotor saliency. IPM machines, therefore, can use both permanent magnet and reluctance torque. &lt;br /&gt;
&lt;br /&gt;
[[File:IPM cross section.png|right|middle|thumb|Four Pole IPM Cross Section &amp;lt;ref name=&amp;quot;IPM_Machine&amp;quot;&amp;gt;Sim, Hyun-Woo &amp;amp; Lee, June-Seok &amp;amp; Lee, Kyo-Beum. (2014). On-line Parameter Estimation of Interior Permanent Magnet Synchronous Motor using an Extended Kalman Filter. Journal of Electrical Engineering and Technology. 9. 10.5370/JEET.2014.9.2.600.  &amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&amp;lt;math&amp;gt; \tau = \frac{3Np}{4}((L_d - L_q)I_d^r+\Lambda_{PM})I_q^r &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Np&amp;lt;/math&amp;gt; = Number of Motor Poles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Lambda_{PM}&amp;lt;/math&amp;gt; = Permanent Magnet Flux Linkage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L_q&amp;lt;/math&amp;gt; = Quadrature Axis Inductance in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L_d&amp;lt;/math&amp;gt; = Direct Axis Inductance in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;I_q^r&amp;lt;/math&amp;gt; = Quadrature Axis Current in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;I_d^r&amp;lt;/math&amp;gt; = Direct Axis Current in rotor reference frame&lt;br /&gt;
&lt;br /&gt;
IPM machines are advantageous for multiple reasons. First, because the magnets are embedded in the rotor, the magnets see predominately compressive forces rather than tensile in SMPM designs at high speeds. Because high performance magnets can withstand higher compressive forces than tensile, IPM motors can typically run at higher speeds than SMPM machines. Second, because of IPM's saliency and large inductance's, these machines can easily flux weaken and achieve constant power over a wide speeds range.&lt;br /&gt;
&lt;br /&gt;
==AC Asynchronous Motors==&lt;br /&gt;
Asynchronous machines are a class of electric motors which are characterized by the fact that their rotor flux is not necessarily synchronous with the rotor itself. The most common and pervasive type of AC asynchronous machines in the induction machine. There are several different configurations of induction motors (wound rotor, squirrel cage rotor, slip-ring, etc); however, they all have similar core operating fundamentals. That is, each machine generates torque by inducing currents on the rotor, thus generating a rotor flux density which interacts with the stator flux. &lt;br /&gt;
&lt;br /&gt;
[[File:Rotterdam_Ahoy_Europort_2011.JPG|right|middle|thumb|Induction Machine &amp;lt;ref name=&amp;quot;Induction Machine&amp;quot;&amp;gt;Wikipedia contributors. (2020, May 17). Induction motor. In Wikipedia, The Free Encyclopedia. Retrieved 16:56, May 20, 2020, from https://en.wikipedia.org/w/index.php?title=Induction_motor&amp;amp;oldid=957240578 &amp;lt;/ref&amp;gt; ]]&lt;br /&gt;
&lt;br /&gt;
The torque analysis for an induction machines is more complex than that of a synchronous machine as there are many synchronous reference frames to choose from (e.g. Stator Current Frame, Stator Flux Reference Frame, Rotor Flux reference frame, etc.). For control purposes, namely Direct Field Oriented control, the machine dynamics are represented in the rotor flux reference frame. Additionally, the induction machines must regulate both the stator currents and flux levels in the rotor. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \tau = \frac{3Np}{4}\frac{M}{L_r}|\lambda_r|i_{sq}^{\lambda_r} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Np&amp;lt;/math&amp;gt; = Number of Motor Poles&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\lambda_{r}&amp;lt;/math&amp;gt; = Rotor flux linkage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; = Mutual Inductance&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L_r&amp;lt;/math&amp;gt; = Rotor Inductance&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_{sq}^{\lambda_r}&amp;lt;/math&amp;gt; = Stator Quadrature Current in rotor flux linkage reference frame&lt;br /&gt;
&lt;br /&gt;
While Induction motors are widely used in industrial applications because of their low cost (no permanent magnets) and self starting features, induction machines are not often used in electric vehicles. This is because they are often not as torque dense as their PMSM counterparts and for efficiency purposes due to added rotor losses due to the induced rotor currents. In addition, even with Direct Field Oriented control methods, induction machines are not as responsive as synchronous machines.&lt;br /&gt;
&lt;br /&gt;
=Common FSAE Motors=&lt;br /&gt;
When selecting a motor or motors for a car, one must consider the mass, size, power, efficiency, available controllers, and ease of integration. The most common motors in FSAE are those from Emrax, AMK, and Plettenberg.&lt;br /&gt;
&lt;br /&gt;
=References=&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Electric Vehicle]]&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=1709</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=1709"/>
		<updated>2020-06-03T01:24:41Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: Added more sections to FOC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
Most high performance motor controllers use field oriented control. This is due to the improved efficiency and dynamic performance of the controller&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
===Park Transform===&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Torque Regulation==&lt;br /&gt;
&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
==Position Feedback&amp;lt;br /&amp;gt;==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Resolvers &amp;amp; Encoders===&lt;br /&gt;
==Space Vector PWM==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=1708</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=1708"/>
		<updated>2020-06-03T01:04:15Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: Wrote some stuff about current regulation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
===Park Transform===&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
G_c(s) = \frac{V_{dq} - V_{EMF,dq}}{I_{e,dq}(s)} = k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More explicitly, the desired output voltage at any given point in time can be written as:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V_{dq} = (I_{dq,requested} - I_{dq,measured}) (k_p + \frac{k_i}{s} = \frac{1}{s}(k_i + sk_p)) + V_{EMF,dq}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The back EMF is estimated using motor parameters and rotational speed. Also note that the entire system simplifies as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
G_{open loop}(s) = G(s)G_c(s) = \frac{1}{s}\frac{k_p}{L_{dq}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
	<entry>
		<id>http://fswiki.us/index.php?title=Motor_Control&amp;diff=1707</id>
		<title>Motor Control</title>
		<link rel="alternate" type="text/html" href="http://fswiki.us/index.php?title=Motor_Control&amp;diff=1707"/>
		<updated>2020-06-03T00:51:04Z</updated>

		<summary type="html">&lt;p&gt;Etrain Troy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Electric Vehicle]]&lt;br /&gt;
=DC Brushed Motor Control=&lt;br /&gt;
=Six-Step Control=&lt;br /&gt;
=Field Oriented Control for Synchronous Machines=&lt;br /&gt;
==Transformations==&lt;br /&gt;
===Clarke Transform===&lt;br /&gt;
===Park Transform===&lt;br /&gt;
==Current Regulation==&lt;br /&gt;
A PI controller is commonly used to regulate the phase 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). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_{dq} = \frac{V_{dq} - V_{emf}}{R_s + sL_{dq}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can then write the equation for the system as follows:&amp;lt;br /&amp;gt;&amp;lt;math&amp;gt; G(s) = \frac{I_{dq}(s)}{V_{dq}(s) - V_{EMF,dq}} = \frac{1}{R_s + sL_{dq}} = \frac{\frac{1}{L_{dq}}}{(s + \frac{R_s}{L_{dq}})} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Surface Mount Permanent Magnet Machines==&lt;br /&gt;
==Interior Permanent Magnet Machines==&lt;br /&gt;
=Field Oriented Control for Asynchronous Machines=&lt;/div&gt;</summary>
		<author><name>Etrain Troy</name></author>
		
	</entry>
</feed>