3.22EjemploDRM007 Co..
3.22EjemploDRM007 Co..
3.22EjemploDRM007 Co..
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Software Design <strong>Co</strong>nsiderations<br />
<strong>Co</strong>ntroller Design<br />
5.3 <strong>Co</strong>ntroller Design<br />
The motor system to be controlled was considered as a first order<br />
system, with a time constant of 10 milliseconds. For a robust operation<br />
of the washing machine, a PI controller was implemented with a<br />
controller period of 1 millisecond. The actual motor speed is calculated<br />
from input capture channels, and the desired speed is generated in the<br />
microcontroller depending on the washing machine process being<br />
executed.<br />
The system has the following transfer function in the continuous time<br />
domain.<br />
1<br />
G(<br />
s)<br />
= τ<br />
s + 1<br />
τ<br />
Taking the Z transformation and considering the zero-order-hold of the<br />
PWM module, the system’s transfer function becomes:<br />
⎛<br />
⎜1<br />
− e<br />
G(<br />
z)<br />
=<br />
⎝<br />
−<br />
1−e<br />
−T<br />
τ<br />
⎞<br />
⎟z<br />
⎠<br />
⋅ z<br />
The PI controller transfer function in the Z domain is:<br />
C<br />
T<br />
τ<br />
( Kp + Ki )<br />
( z)<br />
=<br />
−1<br />
−1<br />
−1<br />
− Kp ⋅ z<br />
1−<br />
z<br />
−1<br />
BLDC Motor <strong>Co</strong>ntrol Board for Industrial and Appliance Applications<br />
DRM007<br />
MOTOROLA Software Design <strong>Co</strong>nsiderations 73