Optimal Digital Implementation of Fractional-Order Models in a Microcontroller

Entropy (Basel). 2020 Mar 23;22(3):366. doi: 10.3390/e22030366.

Abstract

The growing number of operations in implementations of the non-local fractional differentiation operator is cumbersome for real applications with strict performance and memory storage requirements. This demands use of one of the available approximation methods. In this paper, the analysis of the classic integer- (IO) and fractional-order (FO) models of the brushless DC (BLDC) micromotor mounted on a steel rotating arms, and next, the discretization and efficient implementation of the models in a microcontroller (MCU) is performed. Two different methods for the FO model are examined, including the approximation of the fractional-order operator s ν ( ν ∈ R ) using the Oustaloup Recursive filter and the numerical evaluation of the fractional differintegral operator based on the Grünwald-Letnikov definition and Short Memory Principle. The models are verified against the results of several experiments conducted on an ARM Cortex-M7-based STM32F746ZG unit. Additionally, some software optimization techniques for the Cortex-M microcontroller family are discussed. The described steps are universal and can also be easily adapted to any other microcontroller. The values for integral absolute error (IAE) and integral square error (ISE) performance indices, calculated on the basis of simulations performed in MATLAB, are used to evaluate accuracy.

Keywords: BLDC motor model; Grünwald–Letnikov differintegral; fractional calculus; microcontroller implementation.