Fractional order PID controller improves motor velocity control

Compare the integer order proportional-integral-derivative (PID) controller (IOC) with the fractional order PID controller (FOC) for improving the velocity control loop of the permanent magnet switched motor (PMSM), according to research highlighted in Control Engineering Poland. See supporting equations, diagrams, and graphs.


For the velocity control loop of a permanent magnet switched motor (PMSM), compare the integer order PID controller (IOC) with the fractional order proportional-integral-derivative (PID) controller (FOC).

Fractional order calculus

Today’s increased computing power displaces tools that have been used for hundreds of years in research and modeling of physical phenomena. Such modeling can use fractional order calculus with integrals and derivatives of real order instead of integer order. The result is a significantly more comprehensive description of a given phenomenon, and this, in turn, leads to better results. Such an approach may have some implications in automation and control theory. Because objects controlled by engineers are of fractional order, it seems logical to apply fractional order controllers (with adequate properties) to control them.

Fractional order PID controller

There are many ways to describe fractional order calculus. To solve the problem of describing the elements of the fractional order PID controller, the Grünwald–Letnikov definition was used (1).



Formula (1) for α<0 shows the fractional integration process, whereas for α>0 shows the fractional differentiation process. It is possible to clearly present the elements of the fractional order PID controller. Equation (2) shows the discrete fractional integration term and equation (3) the discrete fractional differentiation term.



The main difference between the IOC and FOC is the sum in equations (2) and (3), which determines the memory of the fractional order elements. In a classical PID controller the current value of the state x(t+1) is dependent only on the previous value of the state x(t) and the current input value u(t), whereas in the fractional order PID controller the current value of the state x(t+1) depends on all the previous states. The coefficients  and  are directly dependent on the order of the element and bind together all the memory states.

The general definition of the PID controller is assumed and described by equation (4)

where e(t) is a control error at a given moment t, and Ts is a sampling time, whereas Iα and Dβ symbolize a fractional order integral and a derivative, respectively. By choosing α=1 and β=1 the classical PID controller of integer order is achieved.

Test stand

Figure 1 presents the test stand where the experiment was performed. It is the rapid prototyping platform, which integrates the designing stage, complex simulation analyses, and prototyping of newly designed algorithms in the target control system.

Figure 1 shows a rapid prototyping test stand. Ethernet Powerlink real-time deterministic Ethernet is used for cyclic communication between the B&amp;R RT APC620 and Acopos drive with only current controller implemented (as shown in Figure 2). Courtesy: West

The general scheme used on the control system is shown in Figure 2. A cascade control system with velocity control loop and torque (current) was applied. The parameters of the current controllers selected for the simulation are predefined as the default set by the servo-drive producer for a given motor. In this case the following parameters are set:

Figure 2 shows the PMSM control system. Courtesy: West Pomeranian University of Technology, Control Engineering Poland



IOC and FOC, compared

During the research, the optimal settings of the controllers were selected. Equations (5) and (6) present the FO and IO controllers, respectively.



Figure 3 shows the response to reference velocity signal for these settings.

The experiment confirms the assumption. The best FO PI controller obtains significantly better results than the classical IO PI controller. The response of the motor controlled by the FOC is noticeably closer to the reference signal and has faster reaction to its changes.

Figure 3 displays the best IO controller (red line) compared with the best FO controller (green line), including a reference value (blue line). Courtesy: West Pomeranian University of Technology, Control Engineering Poland

To objectively assess control quality the obtained results were supported by the values of integral criteria ITAE (Integral of Time multiplied by Absolute value of Error): ITAE_IO=1005.04 and ITAE_FO=806.19, which shows that the improvement of control quality exceeds 19%.

Differences shown

FOC provides significant improvement when compared to IOC. The research also proves that for an FO object, the FO controller should be selected. Also, settings of the optimal controllers (IO and FO) differ only in parameter α responsible for the order of integral term. This offers the possibility to implement a new algorithm to the target control system, take the settings from the controller already working in the system, and then fine-tune the order of the implemented controller to achieve the optimal performance of the system.

The research is part of the project, “Development of the construction and experimental tests of a mechatronic machine tool feed unit with a drive controlled by an intelligent modular actuator” (MNiSW Project No. N 502 336936, code-name M.A.R.I.N.E. (multivariable hybrid ModulAR motIon coNtrollEr)).

- Artur Kobyłkiewicz and Krzysztof Pietrusewicz are with West Pomeranian University of Technology, Szczecin. They contribute to Control Engineering Poland. Edited by Mark T. Hoske, content manager, CFE Media, Control Engineering,

Additional explanation from Mr. Pietrusewicz based on comments below:

Thank you Larry for your comment. It put an interesting point of view into our work, and we should consider such a research in further exploration. However, this paper was prepared mostly to show the rapid prototyping test stand with automatic code generation and its readiness level in the real case problem with not a typical controller just to show its value.

We are in the beginning of work on FOC for motion control applications – we know it pros and cons according to the implementation issues. It will be scope of more in-depth research within the PhD thesis of Artur.

Application of FOC is not so popular in industrial application on the market. We have shown, that You can take off-the-shelf digital servodrive from B&R and test Your own algorithm -> even FOC -> without time consuming development of the hardware where You can implement FOC controller.

Best regards, Krzysztof

Tim , TX, United States, 10/22/13 05:44 PM:

very nice, such a simple idea. Interesting article.
LARRY , WA, UNITED STATES, 10/22/13 06:33 PM:

This is interesting as an exploration but doesn't seem like a finished story. In this case, the "FOC" adds a "fraction" parameter in addition to the usual proportional, integral, and derivative gains. The result looks like a special case of digital IIR filters, with a few extra complications for implementers. You still have to tune the thing to use it. As far as increased capability, it is unclear whether "FOC" should produce better results than other sorts of digital filter generalizations, such as fixed-order filters using past history of inputs in addition to the past history of outputs.
Jouko , Non-US/Not Applicable, Finland, 10/23/13 06:36 AM:

There has been similar studies made earlier, search for CRONE and TID, for example. The practical implementation consists of a set of lead-lag filters that approximate the desired fractional transfer function.
The advantage of the method is that more gain and phase margin may be obtained. The drawback is the high number of parameters that one has to define in order to tune the control optimally.
There are some related patents existing, for example US5371670 and WO 02/097546
YangQuan , CA, United States, 10/24/13 03:18 AM:

More stories can be found in this recent Wiley book "Fractional Order Motion Controls"
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2013 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
A cool solution: Collaboration, chemistry leads to foundry coat product development; See the 2015 Product of the Year Finalists
Raising the standard: What's new with NFPA 70E; A global view of manufacturing; Maintenance data; Fit bearings properly
Sister act: Building on their father's legacy, a new generation moves Bales Metal Surface Solutions forward; Meet the 2015 Engineering Leaders Under 40
Cyber security cost-efficient for industrial control systems; Extracting full value from operational data; Managing cyber security risks
Drilling for Big Data: Managing the flow of information; Big data drilldown series: Challenge and opportunity; OT to IT: Creating a circle of improvement; Industry loses best workers, again
Pipeline vulnerabilities? Securing hydrocarbon transit; Predictive analytics hit the mainstream; Dirty pipelines decrease flow, production—pig your line; Ensuring pipeline physical and cyber security
Upgrading secondary control systems; Keeping enclosures conditioned; Diagnostics increase equipment uptime; Mechatronics simplifies machine design
Designing positive-energy buildings; Ensuring power quality; Complying with NFPA 110; Minimizing arc flash hazards
Building high availability into industrial computers; Of key metrics and myth busting; The truth about five common VFD myths

Annual Salary Survey

After almost a decade of uncertainty, the confidence of plant floor managers is soaring. Even with a number of challenges and while implementing new technologies, there is a renewed sense of optimism among plant managers about their business and their future.

The respondents to the 2014 Plant Engineering Salary Survey come from throughout the U.S. and serve a variety of industries, but they are uniform in their optimism about manufacturing. This year’s survey found 79% consider manufacturing a secure career. That’s up from 75% in 2013 and significantly higher than the 63% figure when Plant Engineering first started asking that question a decade ago.

Read more: 2014 Salary Survey: Confidence rises amid the challenges

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.