Open Access This article is
- freely available
Energies 2019, 12(11), 2224; https://doi.org/10.3390/en12112224
Cogging Torque Reduction in Brushless Motors by a Nonlinear Control Technique
Department of Information Engineering, University of Pisa, Via G. Caruso 16, 56127 Pisa, Italy
Author to whom correspondence should be addressed.
Received: 1 April 2019 / Accepted: 9 June 2019 / Published: 11 June 2019
This work addresses the problem of mitigating the effects of the cogging torque in permanent magnet synchronous motors, particularly brushless motors, which is a main issue in precision electric drive applications. In this work, a method for mitigating the effects of the cogging torque is proposed, based on the use of a nonlinear automatic control technique known as feedback linearization that is ideal for underactuated dynamic systems. The aim of this work is to present an alternative to classic solutions based on the physical modification of the electrical machine to try to suppress the natural interaction between the permanent magnets and the teeth of the stator slots. Such modifications of electric machines are often expensive because they require customized procedures, while the proposed method does not require any modification of the electric drive. With respect to other algorithmic-based solutions for cogging torque reduction, the proposed control technique is scalable to different motor parameters, deterministic, and robust, and hence easy to use and verify for safety-critical applications. As an application case example, the work reports the reduction of the oscillations for the angular position control of a permanent magnet synchronous motor vs. classic PI (proportional-integrative) cascaded control. Moreover, the proposed algorithm is suitable to be implemented in low-cost embedded control units.
Keywords:cogging torque reduction; precision robotics; nonlinear control techniques; embedded control systems; permanent magnet synchronous motors
The phenomenon of cogging torque is an intrinsic characteristic of permanent magnet synchronous motors (PMSMs), in both interior (IPM) and surface-mounted (SPM) electric machine types. This phenomenon is due to the magnetic interaction between the teeth of the stator slots and the permanent magnets arranged on the rotor surface in the SPM case, or internally embedded in the rotor iron in the IPM case .
This is because the nonuniformity of the air gap is characterized by an equivalent magnetic circuit, which describes the magnetic interaction between rotor and stator. The equivalent magnetic circuit depends on the mutual position between the teeth of the stator cavities and the permanent magnets. This implies that the reluctance of the magnetic circuit is a function of the rotor angle. Figure 1 shows the physical origins of the cogging couple generating the cogging torque.
In Figure 1, the physical quantity represents the magnetic flux generated by the permanent magnets, while and are the portions closed in the iron of the stator and in the air gap, respectively, and represent the reluctances of the permanent magnets, rotor, stator, and air gap, respectively.
Figure 1a shows that during the rotation of the rotor, the stator slot will alternately see a polar compartment (the space between two magnets) and a section of a magnet. This confirms that the magnetic circuit changes according to the angular position. Figure 1b represents the path of the magnetic flux in the ideal case of a uniform stator surface.
This phenomenon is due exclusively to the dependence of the magnetic circuit on the angular position and on the magnetic and geometric characteristics of the motor itself. Indeed, it is possible to appreciate the cogging torque even by simply rotating the motor axis manually without electrically feeding it. Starting from an angular position of the rotor, after a rotation of , where p is the number of pole pairs and is the number of caves, the same situation is encountered. Indeed, along the air gap, the same configuration in terms of interaction between teeth and magnets can be encountered several times. Consequently, the cogging couple is interpretable as a noise disturbance, with an angular frequency dependent on the number of slots and number of magnets and therefore polar pairs. The intensity of the cogging noise disturbance is a function of the geometry of the magnets and the teeth of the slots and of the magnetic characteristics of the materials involved. This disturbance is measurable by means of a test bench where, usually, a brushless motor is mechanically connected to a DC motor (not affected by the cogging effect) and passively rotated. In the mechanical connection of the two rotation axes, a torque meter is incorporated; then, from it, is possible to obtain the torque exerted in the absence of power supply. This torque is therefore equivalent to the torque for cogging effect.
In this work, a method for reducing the cogging torque is proposed, based on the use of a nonlinear automatic control technique. This technique, known as feedback linearization, is ideal for underactuated dynamic systems. State-of-the-art solutions are often based on the physical modification of the electrical machine to try to suppress the natural interaction between the permanent magnets and the teeth of the stator slots. However, such modifications are expensive because they require customized procedures, whereas the proposed method does not require any modification of the electric drive.
This paper is organized as follows. Section 2 reviews the state of the art of cogging reduction techniques that have been recently proposed in the literature and introduces the core idea of the solution proposed. In Section 3, an analytical description of the phenomenon to derive a model useful for the design of an automatic controller is carried out, as well as a model of a brushless motor including the cogging term. Section 4 presents a feedback linearization control to reduce cogging torque in brushless motors. Section 5 presents implementation results and a robustness analysis of the proposed control vs. motor parameter changes. Section 6 presents an analysis of the algorithmic complexity and the suitability for integration in a low-cost embedded system. Conclusions are drawn in Section 7.
2. Review of State of the Art for Cogging Torque Reduction
In the literature, torque ripple due to the cogging couple in PMSMs is reduced, but not eliminated, by an appropriate magnetic and layout winding design, as proposed in [2,3]. The other typical approach is the reduction of the intensity of the magnetic interaction between the stator and the rotor by properly designing the machine according to different criteria and verified with finite element method (FEM) analysis tools, as discussed in [4,5]. The problem with the above approaches is that the modifications to the electrical motor are expensive because are customized, and furthermore, they do not guarantee a complete suppression of the torque ripple caused by the cogging phenomenon. Hence, reduction techniques aiming at modeling and/or estimating the cogging phenomenon and then compensating or reducing it by proper control algorithms are more suited to achieve low-cost and scalable solutions.
The control of the machine stator currents could be used to compensate the torque harmonics that cannot be easily eliminated during the design stage. For instance, a conventional field-oriented control (FOC) scheme is proposed in  for torque ripple mitigation. However, because of the relatively high-frequency components present in the torque ripple, high bandwidth currents could be required. In [6,7], this is achieved using dead-beat controllers. Nevertheless, in these studies, the torque ripple is compensated by adding harmonic components in the q-axis stator current reference, and by regulating the d-axis current to zero. Consequently, with , maximum torque per ampere (MTPA) cannot be achieved [8,9] and the machine is no longer operating at the optimal torque.
In , a valid cogging reduction solution has been proposed through the application of the model predictive control (MPC) technique, which is based on solving optimal problems in an iterative manner, which in addition to being computationally heavy, is linked to the knowledge of the model. In recent papers, the use of resonant controllers has been also proposed for the control of PMSMs, such as in [10,11,12].
Resonant controllers are based on the internal model principle and they can be used to regulate with zero steady-state error signals of sinusoidal nature. For this purpose, one resonant notch is required to regulate a single-frequency component of the harmonic torque. Therefore, to eliminate most of the harmonic distortion, multiresonant controllers are required, and the design and digital implementation of such a controller is complex . Moreover, if the control system is implemented in the stationary frame, a tuning mechanism is required to modify the resonant frequencies in real time when variations in the PMSM rotational speed are produced .
Recently, the use of finite-control set model predictive control (FCS-MPC) has been proposed for applications involving electrical drives and power converters . With this methodology, a discrete model of the plant and power converter is required to predict the behaviour of the system for a particular switching state of the converter. To track references, a cost function that considers the tracking error at each sampling instant is used. The optimal switching action, which minimizes the cost function, is applied to the converter. As discussed in the literature, FCS-MPC has several advantages. For instance, it is relatively simple to include nonlinearities, constraints, and variables of different nature (electrical or mechanical) in the cost function. The application of FCS-MPC to the control of PMSMs has been discussed in the literature by using predictive current control [15,16]. Additionally, in [17,18], FCS-MPC is suggested as an alternative to a direct regulation of the machine torque. The method is called model predictive direct torque control (MP-DTC), which uses an external speed loop based on a PI controller. However, in previous papers, control methods to reduce the torque ripple produced by flux linkage harmonic distortion are not addressed; neither is mitigation of the cogging torque discussed.
In , a torque predictive control to mitigate the high-frequency torque due to switching effects is presented. However, this paper does not address mitigation of the low-frequency torque pulsations produced by the machine.
Control of the PMSM rotational speed based on FCS-MPC is presented in [20,21]. With this approach, the nested control loops typically used in drives are replaced by a predictive control system. The results discussed in [20,21] show that a high dynamic response can be achieved with this methodology. However, to compensate the load torque, an observer has to be implemented, and this may limit the performance of the control system to compensate relatively high-frequency torque components, particularly when the machine is operating at high rotational speed. Moreover, high-bandwidth observers are sensitive to measurement noise, parameter uncertainty, quantization error of the feedback signal, etc. A Lyapunov observer-based control technique is implemented in . With respect to the other approaches based on a control algorithm, the nonlinear control proposed by us allows for an offline and deterministic projection of the control laws. This approach facilitates the integration of a cogging torque model without the need for designing a complex observer to estimate cogging-related signals.
In this work, in the following Sections, a nonlinear control approach is presented as an alternative to all the previous methods. First of all, with respect to [2,3,4,5], the proposed approach has the advantage of keeping the same mechanical structure of the electric motor without adding the payload of customized structures.
The feedback linearization allows to replace the nonlinear dynamic with a linearized one through a systematic change of variables. Furthermore, the proposed control technique is formally more robust than the above-discussed algorithmic techniques for cogging torque mitigation, due to the largest region of asymptotic stability. The proposed algorithm is suitable to be implemented on low-cost embedded controllers; for example, the Arduino-Uno platform using an ATMEGA328 microcontroller.
3. Cogging Torque and Motor Modelling
3.1. Cogging Torque Formulation
In this work, the objective is not to present a method for describing the cogging torque. The starting point is the formulation in closed form, reported in , that exploits the Fourier harmonic analysis against results obtained with FEM analysis. In particular, reference was made to the following expression:where and the are the coefficients of the Fourier harmonic development, Z is the number of stator teeth, is the angular (mechanical) position of the rotor, and m is the number of harmonics that are used to approximate the actual shape of the cogging torque, . As reported in Figure 2, we have carried out a simulation analysis and a comparison in terms of variance of the number of harmonics to represent the cogging torque as a function of angular position. The results in Figure 2 show that four harmonics (m = 4) in Equation (1) are sufficient to represent the cogging torque (i.e., a Fourier development with four terms is a good approximation to describe the cogging phenomenon).
The actual values of the coefficients are reported in Table 1. The values of the coefficients depend on the morphological and magnetic characteristics of the synchronous machine as well as on the magnetic exchange induced to the air gap and the magnetic permeability of the rotor and stator materials.
Table 2 shows the parameters of the considered electrical machine. In Table 2, represents the electrical resistance of the stator’s windings, is the equivalent inductance of the three-phase circuit that represents the dynamics of the electrical part of the machine, is the intensity of the magnetic flux generated by the permanent magnets, p represents the number of polar pairs, is the motor inertia, and is the friction coefficient.
The parameters shown in Table 1 and Table 2 are relative to an SPM powered by 400 VAC with the features shown in Table 3. In particular, we refer to the brushless motor model Q2CA2215KVXS00M , using an inverter model RS1C10AL .
In particular, a motor with the characteristics in Table 3 has a torque–speed curve similar to that shown in Figure 3. In this article, we assume working in the continuous zone of the characteristic reported in Figure 3.
It is worth noting that this work models the presence and effects of the cogging torque in an AC brushless motor with SPM architecture and uses this model in a correction algorithm, but it is not essential to know the internal geometry of the machine in terms of geometrical properties of the permanent magnets and stator caves. This because the most relevant thing is to have a mathematical model of the cogging phenomenon that highlights the dependence of the cogging torque by the rotor position. This model is then inserted into the global model of the drive system.
Instead, the dependence of the cogging torque coefficients shown in Table 1 by the internal geometry of the permanent magnets and stator caves would be needed in a work aiming at a modification of the machine structure, but this is not the case for the present study.
To make more realistic the analysis of the cogging torque reduction by the nonlinear control method proposed, a perturbated version of the cogging mathematical model of Equation (1) is inserted into the model of the mechanical equilibrium. Into the perturbation made by the noise simulation in Figure 4 is inserted the effect of the unavoidable torque ripple caused also by the nonideal commutation of the inverter switching logic. We used the model with four harmonics to project the control laws. In particular, the perturbation on the cogging model is simulated by a white Gaussian noise , the effects of which can be seen in Figure 4. In particular, in our case, with is inserted.
According to other works in the literature, such as , a reasonable value of torque ripple is around 10% of the nominal torque, i.e., for a motor with nominal torque of about 100 , as shown in Figure 3. In general, torque ripple clearly also includes cogging torque behavior, so in our work, we included the two terms by also adding to the model of Equation (1) the noise term To respect the typical percentage of ripple entities, we set an intensity of about for the cogging torque, adding a Gaussian noise with , so the intensity of the torque ripple is (). To better highlight the comparison of the cogging torque vs. the added torque ripple, modeled as a Gaussian noise contribution, Figure 5 shows the two separated signals—cogging torque in blue and Gaussian-like added torque ripple in red, in the time domain (top) and frequency Fourier transform domain (bottom).
3.2. Brushless Motor Modeling with the Cogging Term
A classical model of a synchronous machine is considered. According to the unified theory of electric machines , and after the coordinate transformations necessary to delete the dependence on angular rotor position in electromagnetic torque, we can write the equations of electromechanical equilibrium in the following way:
In the above equations, the term of cogging torque is inserted into the mechanical equilibrium as an overlapping effect in the global torque. In Equation (2) are the voltage components in the d–q frame, are the current components in the d–q frame, are the inductance of the equivalent circuit transformed in the d–q frame, is the mechanical angular position, and is the electromagnetic torque that in the general case, is given by . In this work, reference is made on a SPM machine which has the characteristic of having , i.e., so that the expression of the electromagnetic torque is given by .
Working with means that the electric machine is considered as an isotropic brushless machine, so there are not configurations of maximum or minimum reluctance and clearly, the inductance values of the equivalent circuits along the direct and quadrature axis (the frame that is obtained after the Park transformation) are equal. Such an assumption has been made for the sake of clarity, as it makes it easier to understand the expression of the electromagnetic torque. However, nothing changes if we consider an anisotropic machine with different Ld and Lq values (typically, Ld << Lq). Moreover, in the paper, we emulate a FOC control where the id current is constrained to a zero value, and this implies that the anisotropic behavior does not contribute to the final trajectory tracking result. To include the anisotropic behavior due to arrangement of the magnets in an IPM structure, then the term 3/2·p·(Lq-Ld)·id·iq, which is zero in the case where should be included in the ideal electromagnetic torque, i.e., the above-reported Tem term in the mechanical equilibrium in the equations of the dynamic of the electrical machine.
4. Feedback Linearization Control for a Brushless Motor
For convenience in the controller design, the equations in the state form are usually assumed, as shown in Equation (4).
It should be further noted that the state form is nonlinear, but it is “affine in the control” with the classic choice of state variables and control variables . The vector field is called drift vector while the , with k from 1 to m, are the control vector fields.
Referring to the nonlinear theory of control systems , the goal is to design the control law in order to formally obtain a change of state variables that have a linear dynamic in the new base. The operating procedure consists of deriving all the expressions of the outputs for a total number of times necessary to obtain an expression where at least one of the components of the control vector appears.
Calling the i-th control output and the i-th derivation order in which at least one element of the control vector appears, the equations useful for the systematic design of the controller and therefore the change of variables take the following form:
Inserting the linearization condition by imposing that the i-th derivative is equal to a component of the control vector for the new base (), thus deciding that the linear dynamics emulate a chain of multiple integrators, the following matrix form is obtained:
Inverting the equality, the expression for the controller in Equation (7) is obtained:
A typical choice of the state vector in the new base is the following:
In Equation (8), is the relative degree of the system, or rather the total number of derivates that is needed to have at least one component of the control laws vector in the expressions.
In Equations (5) and (6), with , it is indicated the -th Lie derivate of along the vector field , and is the Lie derivate along the k-th control vector .
In Equation (7), the vector is an arbitrary vector that is projected in the null space of the matrix and is often a function to minimize. It is projected in the null space through the operator , where indicates the identity matrix and indicates the singular value decomposition of the matrix . To avoid problems with the projection of the control components in the null space, we assume the case in which the matrix is square and invertible. This means that starting from now, we omit the contribution of the vector in Equation (7).
The new controller can be chosen with a linear technique that in this context, will be a static feedback of the input status made in the following way:
In Equation (9), is the j-th variable of the state vector in the new base, is a component of the control gain matrix, and is often used to define a reference on the derivate of the components of the state vector in the new base.
To highlight the potential of this control technique, the angular position control was taken into consideration by comparing it with a classic cascade structure FOC scheme.
For position control, therefore, control outputs are taken into account; in this way, we obtain the following expressions in terms of the control vector:
This is also the case of exact linearization feedback, because the state vector of the new base has the same dimension of the state of the model in axes d–q. This guarantees the stabilization of the starting system, because three derivations are necessary for and one for , which gives us a relative degree of four. This also represents the cardinality of the initial state space.
Figure 6 schematically shows the different structure of the nonlinear control system with respect to the classic cascade architecture in Figure 7. In classic cascade architecture is considered the case of PI (proportional-integrative) control for all three concentric loops: two parallel loops for the d–q axis currents, then cascaded to angular speed loop, and angular position loop.
Applying and , the dynamic in Equation (12) is obtained, and this representation of the new state dynamic has the property of complete controllability, which guarantees that we can change all the eigenvalue with a state feedback control.
Another advantage of the linearization feedback technique with respect to all the other control techniques is that of being able to also choose non-feedback signals as control outputs; for example, the power for joule effect. The linearization feedback technique also permits choosing a zero-power reference together with a position reference, thus guaranteeing that the change of variables is formally fair for the reasons mentioned above. This allows to constrain the behavior of physical quantities that are the result of the combination of those classically used for feedback (currents and position or angular velocities).
For example, for the “joule power – position” control, we can take into account the output functions , and applying the procedure described above, the following expressions are obtained for and , from which we can obtain the control vector by applying Equation (7).
We can observe that this is another case of exact feedback linearization, because the relative degree for the first output function is one and for the second is still three, as in the previous case.
In the case of current control or angular velocity, this is no longer guaranteed. Therefore, it will be necessary to verify that in the completion of the state vector to satisfy formal issues related to the theorem of the implicit functions, the zero-dynamics criterion is also satisfied.
5. Reducing Cogging Control and Implementation Results
The dynamic model considered for the motor is the one previously presented in Section 4. The model is parametric. For convenience, a mask has been created that encloses all the electric drive parameters. To apply the proposed technique to different electric machines is quite simple, since it is sufficient to change the parameters of the model of the engine in the mask. The parameters that have been used for the motor and for the cogging model to obtain the quantitative results presented in this work are shown in Table 1, Table 2 and Table 3. These parameters are typical of a motor for robotic manipulators for industrial applications. Reference is made to a classical AC motor with SPM structure [23,24]. As reference signals, a zero reference as justified in  is chosen for the direct axis curves. Meanwhile, for the position reference, a constant signal with sudden positioning changes at intervals has been selected to simulate a typical situation for a machine used in precision applications, such as, for example, a processing by a computer numerical control (CNC) machine. To make the simulation more realistic, an inverter with a pulse width modulation (PWM) modulator model has been incorporated, where the carrier is a triangular signal with amplitude of 700 V and the frequency is 10 kHz. In the following, we report the results obtained for the problem of tracking the current references in the direct axis and in the rotor angular (mechanical) position. Figure 8 shows the scheme of the implementation for the mechanical equilibrium to understand better the inclusion of the cogging term in the SPM model.
It is worth noting that the cogging torque behavior is an intrinsic nonlinearity that is already considered in this work. Other nonlinearities, such as the saturation effects on the current and on the voltage, are also taken into account with the model of the inverter and with a saturation block in the electrical dynamic equilibrium. Instead, concerning the intrinsic behavior of the magnets in terms of hysteresis curve, we assume working in the linear part of the magnetic characteristic.
In the following, we show the results in terms of trajectory tracking control for the angular mechanical position and the current for direct axis frame. The effective advantage of the proposal technique is shown by a comparison with the cascade structure for position control in a FOC structure, as explained in .
The goal of our work is to propose a method to mitigate the cogging torque effects on the final application (in terms of rotor axis positioning) by the projection of a control laws vector. This means that, differently from other works that propose an alternative design of internal geometry of the machine, we do not aim at deleting the presence of the cogging torque. The effect of our proposed solution can be appreciated in terms of the final result in the path-following problem, where the position, speed, or current in the quadrature axis of the machine is constrained at a precise value by the control system. This is the main difference between the proposed algorithm and classical control techniques, because we directly insert the cogging torque model inside the equations needed for the projection of the control law vector; see Figure 8 and Figure 9.
As previously said, the case of tracking trajectories of constant type has been chosen to simulate the request for rapid change of the angular position, something that often happens in industrial applications such as in automated chains or in robotized cells.
Figure 9 shows the result of the angular position reference tracking. It is shown that nonlinear control is more efficient than the classic cascade architecture in absorbing the oscillation effect due to the cogging torque. Furthermore, the proposed nonlinear control is better than the classic cascade architecture in tracking the reference, due to the fact of exploiting the intrinsic nonlinearities of the model within the control architecture. Indeed, in Figure 10, when tracking the reference from 8 s to 10 s, the classic cascade control is affected by an overshoot and by oscillations, that instead are avoided when using the proposed FLC technique. Similar results are obtained in terms of current control; see Figure 11.
Surely, the control with linearization feedback guarantees a region of asymptotic stability greater than any control based on a linear technique and is therefore more robust to parametric variations. To verify that the proposed control can be applied to a real test bench, we include a graphic analysis of robustness to the variation of the main machine parameters up to ± 30% vs. nominal values considered to design the controller; see Figure 12, Figure 13 and Figure 14.
It must be noted that, apart from the specific case example we have shown, the global model that we use to produce the control laws vector is a scalable model. This means that if the parameters described in Table 1, Table 2 and Table 3 are known, then the proposed algorithm can be applied to all types of synchronous motor, as well as step motors, IPMs, and BLDC (BrushLess DC) motors of all sizes and voltages.
6. Algorithm Profiling and Porting in a Low-Cost Embedded Platform
We have verified the performance of the proposed method using a Simulink profiler (on MATLAB 2018a version release) during the simulation. The profiler collects performance data while simulating the model and generates a report, called a simulation profile, based on the data. The simulation profile generated by the profiler shows how much time Simulink spends executing each function required to simulate the model. The profile helps to determine the parts of the model that require the most time to simulate and hence where to focus the model optimization efforts.
The summary file displays the following performance total; see Table 4.
The summary section then shows summary profiles for each function invoked to simulate the model. For each function listed, the summary profile specifies the information in Table 5.
We have compared the performance for both the control structures, with reference to cascade control and proposed FLC, to verify if there is an increase of the complexity that does not justify the adoption of the proposal algorithm. Table 6 shows the summary results of the Simulink profiler on the total scheme needed to implement the control (motor model, inverter model, control architecture, input signals generator).
Furthermore, to verify that the profiler is platform-independent, we tried it on two different processors, and we achieved the same results. The testing platforms were an Intel® Core™ i3-6300 CPU @ 3.80 GHz with two cores and an Intel® Core™ i7-8550U CPU @ 1.80 GHz with four cores.
Table 7 shows a comparison in terms of complexity of the FLC and of the Cascade PI controllers, measured as % (1.3% for FLC and 1.2% for PI Cascade) vs. the overall time spent of the whole model according to the Simulink profiler. The results in Table 5 prove that the algorithmic complexity of the FLC technique is similar to that of a classic cascade control. The increasing of complexity is very low compared to the obtained gain in terms of performance in the cogging torque rejection, as proved in Section 5.
In Table 7, the self-time value is lower in the case of nonlinear control, just because is implemented by a MATLAB function that requires a certain amount of time spent to invoke it by the other functions. Meanwhile, this time frame does not exist for the PI control because it is implemented by a native block in Simulink.
Is important to remark that the usage of the Simulink profiler is only helpful to verify the computational cost of our proposed control algorithm with respect to the classical PI controller. This just to decide if it is reasonable or not to implement the nonlinear control technique on a low-cost platform.
To implement the proposed FLC controller on a low-cost embedded system, we exploited the automatic code generation capabilities of Simulink tools. The building procedure from Simulink allows the generation of the code to be embedded in real-time in a low-cost Arduino-Uno platform equipped with the 8-bit microcontroller ATMEGA328 by Atmel, with a clock speed of 16 MHz, a flash memory of 32 KB, a SRAM volatile memory of 2 KB, and an EEPROM non-volatile memory of 1 KB.
Loading the equivalent program of the proposed control algorithm, we have verified that the sketch used 6042 bytes (18%) of the space available for the programs, where the maximum space is 32,256 bytes. The global variables used 226 bytes (11%) of dynamic memory, so 1822 bytes are available for the local variables, where the maximum space is 2048 bytes. Hence, the program and data memory capabilities of a low-cost embedded platform are enough to sustain the proposed control techniques. From a processing point of view, the computational cost of the proposed FLC algorithm when running on the low-cost Arduino-Uno platform is comparable to the computational cost of the classic PI cascade control, as already predicted by the results obtained with the profiler in Table 7.
Using a processor-in-the-loop verification approach (i.e., the motor and inverter are modeled and simulated and are interacting with the control algorithm implemented on the target real platform, Arduino-Uno using the ATMEGA328 MCU), Figure 15 presents a comparation between the PWM signal from the full simulated system and the measured signal from the Arduino in the processor-in-the-loop verification testbed. More specifically, Figure 15 shows the voltage measured with an oscilloscope on the three pins of the Arduino for the 3 PWM control phases. This can help in understanding that the low-cost platform is capable to run the control algorithm and to generate the PWM control signals to drive the inverters in the same mode that the simulation has shown. In Figure 15, it is important to notice that the signal in blue is logical (zero or one), since it is the result of the PWM operation by a state machine in the Simulink scheme. Instead, the red signal is the measurement of the physical level, so is an analog signal in the range 0–5 V.
7. Conclusions and Future Work
In this work, a method for mitigating the effects of the cogging torque in permanent magnet synchronous motors has been presented by means of a control technique based on a feedback linearization strategy. The idea is presenting a valid alternative to the techniques of reduction of this phenomenon through physical modifications of the machine, which are expensive. The proposed nonlinear control algorithm is deterministic and easy to derive. This technique allows us to choose which are the control outputs from which to obtain the change of variables. This makes possible to emulate a FOC or DTC control technique; for example, choosing the current and speed or position as outputs. Moreover, the proposed approach allows references to be made in terms of their composition, such as choosing the power for joule effect, control output, and designing and incorporating a power feedback due to the change of base. Instead, this is not possible with a classical cascade control structure that moreover has less ability to reject the cogging effect as it does not exploit its formulation. A comparison between the proposed technique and a cascade control was proposed to show the advantages in mitigating the effect of cogging torque, with reference to a commercial motor. In addition, a parametric robustness analysis was presented to confirm the choice of the proposed control technique for the resolution of the cogging torque problem. Given the good results obtained, a future development could be the development of a sensorless-type architecture. Another future investigation in sensorless application could be to choose the best type of estimator of the state through comparative analysis, including, for example, machine learning techniques, given the increasingly frequent application of the latter.
The analysis through the Simulink profiler confirms that the complexity of the proposed control algorithm is very low. This means that it is reasonable to port the algorithm on different platforms, such as an Arduino unit with an 8-bit ATMEGA328 microcontroller.
The authors contributed in equal measure to the manuscript.
This research was partially funded by University of Pisa under PRA E-TEAM project and by the Italian Government under the Crosslab program, “Dipartimenti di Eccellenza” project.
Conflicts of Interest
The authors declare no conflicts of interest.
- Tudorache, T.; Trifu, I.; Ghita, C.; Bostan, V. Improved Mathematical Model of PMSM Taking Into Account Cogging Torque Oscillations. Adv. Electr. Comput. Eng. 2012, 12, 59–64. [Google Scholar] [CrossRef]
- Xia, C.; Ji, B.; Yan, Y. Smooth speed control for low-speed high torque permanent-magnet synchronous motor using proportional-integral resonant controller. IEEE Trans. Ind. Electron. 2015, 62, 2123–2134. [Google Scholar] [CrossRef]
- Kim, K.-C. A novel method for minimization of cogging torque and torque ripple for interior permanent magnet synchronous motor. IEEE Trans. Magn. 2014, 50, 793–796. [Google Scholar] [CrossRef]
- Hiremath, R. Finite Element Study of Induced Emf Cogging Torque and its reductions BLDC Motor. In Proceedings of the 2017 International Conference on Intelligent Computing, Instrumentation and Control Technologies (ICICICT), Kannur, India, 6–7 July 2017. [Google Scholar]
- Ma, G.; Qiu, X.; Yang, J.; Bu, F.; Dou, Y.; Cao, W. Structural Parameter Optimization to Reduce Cogging Torque of the Consequent Pole In-Wheel Motor. In Proceedings of the 2018 IEEE 18th International Power Electronics and Motion Control Conference (PEMC), Budapest, Hungary, 26–30 August 2018. [Google Scholar]
- Fei, W.; Luk, P.-K. Torque ripple reduction of a direct-drive permanent-magnet synchronous machine by material-efficient axial pole pairing. IEEE Trans. Ind. Electron. 2012, 59, 2601–2611. [Google Scholar] [CrossRef]
- Springob, L.; Holtz, J. High-bandwidth current control for torque ripple compensation in pm synchronous machines. IEEE Trans. Ind. Electron. 1998, 45, 713–721. [Google Scholar] [CrossRef]
- Mora, A.; Orellana, A.; Juliet, J.; Cardenas, R. Model Predictive Torque Control for Torque Compensation in Variable-Speed PMSMs. IEEE Trans. Ind. Electron. 2016, 63, 4584–4592. [Google Scholar] [CrossRef]
- Jia, H.; Cheng, M.; Hua, W.; Yang, Z.; Zhang, Y. Compensation of cogging torque for flux-switching permanent magnet motor based on current harmonics injection. In Proceedings of the 2009 IEEE International Electric Machines and Drives Conference, Miami, FL, USA, 3–6 May 2009. [Google Scholar]
- Arias, A.; Caum, J.; Ibarra, E.; Grino, R. Reducing the Cogging Torque Effects in Hybrid stepper Machines by Means of Resonant Controllers. IEEE Trans. Ind. Electron. 2019, 66, 2603–2612. [Google Scholar] [CrossRef]
- Ni, R.; Xu, D.; Wang, G.; Ding, L.; Zhang, G.; Qu, L. Maximum efficiency per ampere control of permanent-magnet synchronous machines. IEEE Trans. Ind. Electron. 2015, 62, 2135–2143. [Google Scholar] [CrossRef]
- Rashid, M.H. Power Electronics Handbook; Academic Press: San Diego, CA, USA, 2001. [Google Scholar]
- Cardenas, R.; Espina, E.; Clare, J.; Patrick, W. Self-tuning resonant control of a 7-leg back-to-back converter for interfacing variable speed generators to 4-wire loads. IEEE Trans. Ind. Electron. 2015, 62, 4618–4629. [Google Scholar] [CrossRef]
- Hasanzadeh, A.; Edrington, C.; Maghsoudlou, B.; Fleming, F.; Mokhtari, H. Multi-loop linear resonant voltage source inverter controller design for distorted loads using the linear quadratic regulator method. IET Power Electron. 2012, 5, 841–851. [Google Scholar] [CrossRef]
- Rodriguez, J.; Kazmierkowski, M.P.; Espinoza, J.R.; Zanchetta, P.; Abu-Rub, H.; Young, H.A.; Rojas, C.A. State of the art of finite control set model predictive control in power electronics. IEEE Trans. Ind. Inf. 2013, 9, 1003–1016. [Google Scholar] [CrossRef]
- Rodriguez, J.; Cortes, P. Predictive Control of Power Converters and Electrical Drives; Wiley: Hoboken, NJ, USA, 2012. [Google Scholar]
- Fuentes, E.; Rodriguez, J.; Silva, C.; Diaz, S.; Quevedo, D. Speed control of a permanent magnet synchronous motor using predictive current control. In Proceedings of the 2009 IEEE 6th International Power Electronics and Motion Control Conference, Wuhan, China, 17–20 May 2009; pp. 390–395. [Google Scholar]
- Preindl, M.; Bolognani, S. Model predictive direct torque control with finite control set for PMSM drive systems, part 1: Maximum torque per ampere operation. IEEE Trans. Ind. Inf. 2013, 9, 1912–1921. [Google Scholar] [CrossRef]
- Preindl, M.; Bolognani, S. Model predictive direct torque control with finite control set for PMSM drive systems, part 2: Field weakening operation. IEEE Trans. Ind. Inf. 2013, 9, 648–657. [Google Scholar] [CrossRef]
- Cho, Y.; Lee, K.-B.; Song, J.-H.; Lee, Y. Torque-ripple minimization and fast dynamic scheme for torque predictive control of permanent-magnet synchronous motors. IEEE Trans. Power Electron. 2015, 30, 2182–2190. [Google Scholar] [CrossRef]
- Preindl, M.; Bolognani, S. Model predictive direct speed control with finite control set of PMSM drive systems. IEEE Trans. Power Electron. 2013, 28, 1007–1015. [Google Scholar] [CrossRef]
- Chu, H.; Gao, B.; Gu, W.; Chen, H. Low-Speed Control for Permanent-Magnet DC Torque Motor Using Observer-Based Nonlinear Triple-Step Controller. IEEE Trans. Ind. Electron. 2017, 64, 3286–3292. [Google Scholar] [CrossRef]
- Available online: https://www.rta.it/it/product/4662-azionamento-brushless-rs1c10al-400-vac (accessed on 1 May 2019).
- Available online: https://www.rta.it/it/product/4692-motore-brushless-q2ca2215kvxs00m (accessed on 1 May 2019).
- Zhang, P.; Sizov, G.Y.; Demerdash, N.A.O. Comparison of Torque Ripple Minimization Control Technique in Surface-mounted Permanent Magnet Synchronous Machines. In Proceedings of the 2011 IEEE International Electric Machines & Drives Conference (IEMDC), Niagara Falls, ON, Canada, 15–18 May 2011. [Google Scholar]
- Krause, P.; Wasynczuk, O.; Sudhoff, S.; Pekarek, S. Analysis of Electric Machinery and Drive System, 3rd ed.; Wiley: Hoboken, NJ, USA, 2013. [Google Scholar]
- Isidori, A. Non-Linear Control System; Springer: London, UK, 1995. [Google Scholar]
Figure 1. (a) By changing the angular position, the caves see different configurations. (b) Equivalent magnetic circuit. PM: permanent magnet.
Figure 2. Comparison of the mathematical model of cogging torque with variation of the number of harmonics. The symbol * refers to the purple curve (m = 4) selected as the best trade-off between model accuracy and complexity.
Figure 3. Torque–speed curve of the motor considered as an application example in this work. The symbol means that it is a three-phase powered system.
Figure 4. Comparison between the shape insert in the motor model (Tcog Measure), used to design the controller, and the mathematical model (Tcog model).
Figure 5. Cogging torque in blue vs. added torque ripple in red in the time domain (top) and absolute (ABS) value of the frequency Fourier transform (FFT) domain (bottom).
Figure 6. Schematic representation of the feedback linearization control (FLC) structure.
Figure 7. Classical cascade control structure. PI: proportional-integrative.
Figure 8. Model of the cogging torque (in the red box) inserted into the mechanical differential equations of the motor.
Figure 9. Comparison of the result of the control with reduction of the cogging by feedback linearization vs. a classical cascade control structure .
Figure 10. A detail of Figure 9 to highlight the ability of the nonlinear control to reduce the oscillation effect due to the cogging torque.
Figure 11. A detail of the current trajectory tracking to highlight the ability of the nonlinear control to reduce the oscillation effect due to the cogging torque.
Figure 12. Robustness analysis in terms of variation of the parameters and .
Figure 13. Robustness analysis in terms of variation of the parameters and .
Figure 14. Robustness analysis in terms of variation of the parameters and .
Figure 15. Comparison between the logical signal in output from the pulse width modulation (PWM) block in the simulated scheme and the physical measures of the driven Arduino digital pins (sample time of 0.0001 s) in a processor-in-the-loop validation test bed.
Table 1. Cogging torque model parameters.
|Coefficient in Equation (1)||Value|
Table 2. Motor model parameters.
|Motor Model Parameter||Value|
Table 3. Features of the considered electric motor.
|Motor Performance Parameter||Value|
|Nominal Power||15 kW|
|Nominal Speed||1500 rpm|
|Maximum Speed||2000 rpm|
|Nominal Torque||95.5 Nm|
|Stall Torque||230 Nm|
Table 4. Description of the fields in the report.
|Total Recorded Time||Total time required to simulate the model.|
|Number of Block Methods||Total number of invocations of block-level functions (e.g., Output()).|
|Number of Internal Methods||Total number of invocations of system-level functions (e.g., Model Execute).|
|Number of Nonvirtual Subsystem Methods||Total number of invocations of nonvirtual subsystem functions.|
|Clock Precision||Precision of the profiler’s time measurement.|
Table 5. Description of the fields for the single block.
|Name||Name of the Function. This item is a hyperlink. Clicking it displays a detailed profile of this function.|
|Time||Total time spent executing all invocations of this function on as an absolute value and as a percentage of the total simulation time.|
|Calls||Number of times this function was invoked.|
|Time/call||Average time required for each invocation of this function, including the time spent in functions invoked by this function.|
|Self-Time||Average time required to execute this function, excluding time spent in functions called by this function.|
|Location||Specifies the block or model executed for which this function is invoked. This item is a hyperlink. Clicking it highlights the corresponding icon in the model diagram. Note that the link works only if you are viewing the profile in the MATLAB help browser.|
Table 6. Summary of the Simulink profiler applied to the global Simulink scheme.
|Total recorded time||952.69 s|
|Number of block methods||637|
|Number of internal methods||8|
|Number of model methods||11|
|Number of nonvirtual subsystem methods||32|
|Clock precision||30 ns|
|Clock speed||3800 MHz|
Table 7. Comparison by summary of the profiler.
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).