# Energy Auditing in Three-Phase Brushless DC Motor Drive Output for Electrical Vehicle Communication Using Machine Learning Technique

Authors: T. V. Ramana; S. S. Manaktala; K. Valarmathi; Nitika Vats Doohan; Dasharathraj K. Shetty; Harish Kumar; Reynah Akwafo
Journal: Wireless Communications and Mobile Computing
 (2022)

---

## Abstract

Using predictive nonlinear optimal control, this model examines the output power of a three-phase brushless DC motor (BLDC) drive to ensure that it is stabilized (PNOC). A BLDC is a kind of electric motor that is used in a variety of applications and is one of the models of electric motors that are utilized in constant speed applications. In this motor, the movable component of the rotor created torque and the rotor rotated in a position of low reluctance; the location of the rotor is determined by the motor’s maximum inductance value. The BLDC drive controls the motor via the converter circuit, and the converter circuit ensures that the motor receives the appropriate output power. The project manager should have a thorough discussion with the team about the demagnetization of the malfunctioning BLDC motor before beginning this job. It is possible to model a machine using many existing technologies, such as electrical equivalent circuit diagram (EEC), which are based on a number of assumptions that make the analysis process or the analysis approach simpler. Despite numerical methodologies, these approach scenarios give frequency domain loop (FDL) precision frequency domain, using a suitable weight strategy to deliver high power solution creation (NM). The purpose of this essay is to integrate these two technologies in order to make contributions via the development of a new hybrid EEC-FDL model closed-loop brushless DC motor. PNOC is a driving system that uses predictive nonlinear optimal control (PNOC). The generated model is subjected to simulations under both healthy and incorrect settings, respectively. MATLAB software is utilized to construct the simulation of the control circuit, and simulation outputs are validated by experimental findings. Predictive nonlinear optimal control (PNOC) is employed to eliminate torque ripple and improve system stability.


---

## Body

## 1. Introduction

Electrical motors are used in a variety of applications by all types of industrial, commercial, and other equipment. Research conducted by the Electric Power Research Institute (EPRI) found that motors are responsible for 51 percent of the world’s total electricity generation [1]. Energy usage is measured in kilowatt hours. The amount of energy utilized by other industries is little in comparison. Lighting, for example, contributes for 19 percent of total expenditure, as does the heating and cooling system (16 percent), with information technology accounting for 14 percent. Unquestionably, there is a need for the use of an efficient and durable controller for motor control which will result in cost saving energy. Electric motors have an impact on practically every element of contemporary life, refrigerators, vacuum cleaners, elevators, air conditioners, washing machines, and other similar appliances. Electric motors are used in a variety of applications such as fans, computer hard disc drives, and industrial operations. In truth, motors utilize the majority of the energy, regardless of the situation at hand applicability in a residential, industrial, or commercial setting. Its energy efficiency is high [2]. The kind of motor determines the performance of the motor. Some are designed to be more energy efficient. Some are effective, while others are not. In addition, there has been a recent fast development of motor drives in the vehicle business, using modern hybrid technology; it has created a fantastic opportunity. Variable speed motor drives with excellent energy efficiency are in high demand. Precision and reliability are essential in many adjustable speed drive speed control that is continuous and stable throughout time, with excellent transient response and improved performance, as well as increased efficiency. Conventional direct current motors are quite efficient [3]. The linear torque-speed characteristic is efficient, easy to produce, and linear in torque. However, several of these criteria are not met by conventional direct current motors, mostly because of their size. DC motors necessitate periodic maintenance due to the presence of a commutator and brushes. Brush cleaning and replacement are important tasks. As a result, DC motors have a limited application, applications in the commercial sector. Furthermore, in the relationship between the supplied torque and the size, because of the motor’s low performance, it can only be used in situations where size and weight are limited. Weight and size are critical considerations, particularly in electric cars and aeroplanes and applications. As a result, brushless direct current (BLDC) motors have emerged as a viable alternative, a more efficient alternative to traditional direct current motors [4].Because of the depletion of fossil fuel and energy resources, as well as the increasing emphasis on society, the creation of the electric vehicle system is a promising and effective mode of personal and urban transportation. Because of the short battery life, electric motors for automotive applications are often designed to be more energy efficient while also having a smaller overall volume. Since the concept of progress and modern conversion technology, permanent magnet material has a certain Predictive nonlinear optimal control (PNOC) motor with inverter control which is widely used in automotive applications [5]. Permanent magnet material has a certain predictive nonlinear optimal control (PNOC) motor with inverter control.In this particular instance, the BLDC motor type provides the optimum overall performance and efficiency of the motor system. Motors become popular much more quickly as a result of this than other types of motors [6]. These motors are well suited for applications requiring high safety and complexity, and they are often used in automotive and industrial applications. DC motors with styling angles that are comparable to brushless DC motors are available. When it comes to current and torque and voltage and speed, there is a nonlinear connection between them. BLDC motors can run at faster speeds than brushed motors because of an electronic control system that substitutes the typical mechanical transmission used in brushed motors [7]. There are several benefits to using a BLDC motor, including improved speed and torque characteristics, high dynamic responsiveness, great efficiency, noiseless operation, and increased speed. It is possible to get improved speed and torque characteristics while also decreasing electromagnetic interference using these (EMI). Control modelling, control scheme selection, simulation, and parameter modification of the PLDC motor drive system are all included in the practical application of the system [8]. PNOC (predictive nonlinear optimum control) of the drive system with optimal control of a complex process system must be implemented, and the system parameters must be adjusted as a result of this.The speed control of the BLDC drive system was suggested based on the numerous controls that were tested. Most industrial process controllers, on the other hand, should linearly be, to varied degrees, a mathematical model of the system [9], the parameters of variability and uncertainty, and the parameters of uncertainty and variability. When it comes to controlling variables, selecting and adjusting them become more challenging and less reliable. The predictive nonlinear optimization control (PNOC) optimum control system is a simple system that relies on the prediction of the control device to achieve optimal control. Due to the ease with which it may be achieved and controlled, it is dependent on developing mathematical models. Additionally, the variable speed/torque application offers a straightforward, effective control-based system that is both sturdy and dynamically responsive [10].


## 2. Review of the Literature

Here, the properties of the BLDC motor and its prior control techniques are addressed for the goals of application and research. The characteristics of the BLDC motor and its previous control strategies are examined.In the absence of a sensor for the brushless motor control system, the transmission signal serves as the primary indicator of the system’s performance. We presented a reconstruction technique based on the terminal voltage-transfer compensation strategy [1] in order to increase the accuracy of the converter. The active control system takes the role of the conventional control system, which controlled the speed and current of the BLDC motor. The suggested Field Programmable Gate Arrays (FPGAs) are controlled directly on the inverter input power with the aid of the Dynamic Power Containment Technology (DPCT) control system [2], which is based on Dynamic Power Containment Technology (DPCT). When this occurs, the magnetic flux density, flux distribution, and torque of finite element models will only be utilized to evaluate motor performance and to analyse and approve the design of the system [3, 4]. The improved Tunicate Swarm optimization algorithm (ITSA) was employed in this work to optimise the design, which was carried out utilizing speed and torque controllers. As a result, the best gain parameters are calculated with the aid of the intended scope function, which is necessary to increase the controller function [4, 5].These brushless DC motors have recently gained popularity among designers, who point to their benefits in terms of simplicity, high output (torque), long-term usage, and high-speed stability [6] as just a few of their many advantages. For the speed control of a BLDC motor, research has been conducted on the control rate, performance, and comparisons between a traditional Proportional-Integral (PI) controller and an artificial neural network (ANN). The design of a suitable PID controller for a BLDC motor speed controller is critical to the controller’s proper functioning. Design and speed control automated tuning, as well as an enhanced PID algorithm, are all presented in this system, which was recently inspired by a speed control approach for a BLDC motor [11–13]. Research and development are carried out in this system to achieve speed control of the BLDC motor utilizing the PI controllers and the fuzzy controllers, respectively. In most industrial applications, the BLDC motor control speed is used in conjunction with a normal PI controller; however, this produces nonlinear circumstances with detrimental impacts that are present at various levels. As a result, the fuzzy logic control technique [14–18] is used to counteract this obnoxious behaviour by implementing the constant speed control method.It is the primary focus of this article to explore the use of soft computing technology to manage the speed of BLDC motors. Instabilities in the control system include unwanted overshoot, a longer stabilisation period, and vibration as the system transitions from one state to the next [11]. When utilized in conjunction with a closed-loop controller setup, PID and self-adjusting fuzzy control technology may be employed to overcome maximal overshoot and a lengthy stabilisation time [19, 20]. In this work, the signal is communicated from the Android phone to the Arduino Uno through the Bluetooth module linked to the Arduino Uno, which is based on the wireless speed control technology and uses a DC motor that does not have a Bluetooth brush to convey the signal [12]. A pulse width modulation (PWM) approach is used to regulate the speed of a permanent magnet direct current (PLDC) motor [21–23].A significant influence has been made on engineering applications by advances in artificial intelligence (AI) approaches such as neural networks, fuzzy logic, genetic algorithms, and particle swarm optimization techniques [13]. Recently, artificial intelligence approaches have had a significant influence on the field of electrical engineering, notably in the domain of power electronics application in motor drive systems. In its most basic form, artificial intelligence (AI) is a computer simulation of human thought, which is referred to as computational intelligence. They are used in a variety of fascinating applications in the fields of power electronics and motor drives.Artificial intelligence approaches may be divided into four broad areas.The expert system, fuzzy logic (FL) system, artificial neural network (ANN), and genetic algorithm are the four types of algorithms.For expert systems, when it comes down to it, an expert system is just a computer software based on Boolean logic that is supposed to transmit the knowledge and competence of a human person across a variety of fields to solve complicated issues. Expert system computing is referred to as “hard” or exact computing, while FL, ANN, and GA computing are referred to as “soft” or approximation computing, respectively. The software for the knowledge base or the rule base is carefully structured in such a way that it is simple to learn, modify, and update its contents. Expert systems are used in a variety of applications, including controller parameter tweaking, problem diagnosis, and automated drive testing.Fuzzy logic systems are a kind of logic system that is ambiguous.Fuzzy logic control is another kind of artificial intelligence technology; however, it has a more recent history than evolutionary systems. A FLC is a heuristic method to nonlinear system design that incorporates knowledge and important features of human thinking into the process of creating nonlinear systems. In fuzzy set theory, a specific item has a degree of membership in a given set that may be anywhere between 0 and 1. The degree of membership in a given set can be anywhere in the range of 0 to 1.Each fuzzy set is defined by a linguistic variable, which is in turn defined by a multivalued membership function, which is defined by a linguistic variable. The fuzzy set theory is used to design the FL controllers. As a result, the bounds of fuzzy sets are hazy and unclear, which makes them suitable for approximation models since they may be approximated.Artificial neural networks (ANNs) are a kind of neural network that may be programmed to do certain tasks.Artificial neural networks (ANNs) have been widely used in the field of function approximation. It is not necessary to use a mathematical model while using ANN approaches.When correctly tuned, they provide better performance than traditional controllers while requiring less tuning work than conventional controllers. They have a straightforward design 6 approach that incorporates data from a real-world system, even in the lack of specialised knowledge or expertise. For applications in power electronics and motor drive, the ANN is used to estimate the rotor speed, flux, resistance, and position by measuring the position of the rotor.For algorithm with genetic components, genetic algorithms are a subset of evolutionary computing algorithms that employ a probabilistic approach to solve optimization and search issues. Genetic algorithms are a subset of evolutionary computation algorithms. In GA-based solutions, an initial population is assumed, and then, the optimization is achieved after numerous generations of reproduction, crossover, and mutation operations are performed on the population. Numerous circumstances, such as solving nonlinear system transcendental equations and optimising FLC, call for the use of genetic algorithms. In addition, genetic algorithms are not influenced by the local minima since they do not use derivatives.The FL control approach is used in the majority of consumer devices, including as washing machines, autofocus cameras, and air conditioners, among others. When compared to FLC and ANN, the use of the evolutionary system and the GA in the area of power electronics and motor drives is severely constrained [14].


## 3. Materials and Machines

This paper covers the design and analysis of a BLDC motor speed control system based on predictive nonlinear optimal control (PNOC) controllers. By regulating the magnetic flux and torque components of the BLDC motor drives, you may control the system’s quick unstable reaction and hence control its rapid unstable response [15]. This system employs a predictive nonlinear optimal control (PNOC) controller in order to obtain the best possible dynamic performance for the driver system that has been suggested.In the motor drive business, PI controllers are widely utilized because of their simplicity, robustness, clarity of operation, ease of control, and convenience of installation.This controller performs well in a linear system as well as in systems with a predetermined set of known parameters or load conditions, as seen in the example below. When the parameters depart from their known values, the responsiveness of the system deteriorates, resulting in a loss of stability in the system [16]. When the transfer function of the motor drive system changes depending on the operating circumstances, the controller settings must be adjusted to account for this fluctuation. Although the settings of the PI controller are generally preset offline, the controller is unable to deal with the operating circumstances of the drive system when it is in operation [17].The nonlinear VI characteristics of switches, nonlinear inductances, and electromagnetic couplings between components make BLDC motor drives very nonlinear owing to the fact that they are electronically commutated.Nonlinearity is caused primarily by the omnipresent switching element, which renders all power electronic systems substantially nonlinear, even if all components are considered to be perfect in their performance.Because of this, the controller’s parameter must be modified in order to accommodate the operating state. Customizing settings manually using the trial and error approach or the Ziegler-Nichols tuning criterion raises the computational 84 loads on the system and causes it to operate at a slower rate during its whole operation. In this chapter, we will examine how to regulate the speed of the BLDC motor drive with the use of a PI controller, whose gains are gained by trial and error [18]. The next part shows how the GA was employed in the optimum tuning of the gains of the PI controller, as well as the results of the experiment. The performance of the drive with the manually tuned PI controller is compared to the performance of the drive with the genetic algorithm-based optimally tuned PI controller for a change in the set speed, load disturbances, and variation of inertia, among other things.Figure1 depicts the architectural framework for a sensorless BLDC motor that has been presented. It is vital to note that during BLDC motor operation, the VSI, or voltage source inverter, creates magnetic flux and is also set at the motor angle to make its functioning easier and to play an important role [19]. According to the BLOC motor theory, there is basically a supply line running between the two phases of the motor. One of the phases generates an electromagnetic field (EMF). Back EMF provides fundamental sensing capabilities, which aid in the detection of postzero crossings. It also creates pulses with location codes, which aid in the detection of postzero crossings [20]. As a result, the switch operation choice may be regulated based on the switching table information. Incorporating this loop with an advanced predictive nonlinear optimal control (PNOC) controller will significantly improve the entire function’s stability.Figure 1
Proposed block diagram for the BLDC speed control.


### 3.1. Modelling of the BLDC Motor

The following four equations can describe the three-phase star connected to the BLDC motor. The three-phase BLDC motor equivalent circuit is shown in Figure2.Figure 2
Three-phase BLDC motor equivalent circuit.The benefits of using KVL loop phase stator windings are given below.(1)Va=Ra+Ladiadt+Mabdibdt+Macdicdt+ea,(2)Vb=Rb+Lbdibdt+Mbcdiadt+Mbadicdt+eb,(3)Vc=Rc+Lcdicdt+Mcadiadt+Mcbdibdt+ec.When the back EMF waveformea, eb, and ec and angular velocity of the rotor shaft function,
(4)e=Keωm,where Ke is the back EMF constant.Thus, the computed model of the BLDC motor can be represented by the following formula in the frame matrix:(5)LaMabMacMbaLbMbcMcaMcbLcddtiaibic=VaVbVc−R000R000Riaibic−eaebec.If it is considered that the rotor has a mounting surface design, which is frequently the case in the operation of the BLDC motor, which is based on the fact that the stator inductance is independent of the rotor position, it follows that the rotor position is independent of the stator inductance:(6)La=Lb=Lc=L.The mutual inductance formula is represented in the following form:(7)Mab=Mac=Mba=Mca=Mcb=M.Suppose the three-phase system and the resistance of all phases are equal:(8)Ra=Rb=Rc=R.Rearrange equation (5):
(9)LMMMLMMMLddtiaibic=VaVbVc−R000R000Riaibic−eaebec.The electromechanical torque is expressed as(10)Tem=Jdωrdt+Bωr+TL.The electromagnetic torque of a three-phase BLDC motor, on the other hand, is dictated by the current speed and the waveform of the opposing electromagnetic force, respectively. In this way, they are instantly subjected to electromagnetic torque:(11)Tem=1ωmeaia+ebib+ecic.The phase voltages are represented by the symbolsV, I, and e, while the phase current and back EMF power are represented by the symbols b and c, respectively. The resistance R and the inductance L represent the phases, and the values of the electrical torque and the load torque of Te and TL represent the corresponding values of the electrical torque and the load torque. J denotes the moment of inertia; kf denotes continuous friction; and _m denotes the rotational speed. Back EMF and electrical torque are represented by the following equations:
(12)ea=Ke2ωmFθe,(13)eb=Ke2ωmFθe−4π3,(14)Te=Kt2Fθe+Fθe−2π3+Fθe−4π3.The counterelectromotive force constant and torque constant are denoted by the lettersKe and Kt, respectively. It is common practice to change the machine model in order to simplify a rotating frame of reference and increase computing performance [22].


#### 3.1.1. Brushless DC Motor Operation Method

Three-phase BLDC motors operate in a two-phase configuration. In two-phase energization, the third stage is closed in order to provide the greatest amount of torque. The rotor location has an impact on the energization of the first and second stages [23]. Each time 600 milliseconds passes, the data from the position sensor outputs a three-digit number (H1, H2, and H3), which changes (electric degrees).The rotor is 1200 away from the stator field lines at the start of each interval and 600 away from the stator field lines at the conclusion of each interval. A simple representation of the magnetic field lines is that they are perpendicular to the highest torque. The current transfer is accomplished via a six-step inverter, as shown in Figure3. The switching interval of the six-step inverter is shown in the following Table 1.Figure 3
Simplified BLDC driver circuit.Table 1
Switching sequence of three-phase inverter.
SwitchingInput sequenceSensor positionSwitching levelCurrent level0-6001W1-W6Positive60-12011W1-W2Negative120-18020W3-W2Off180-24030W3-W4Positive240-30040W5-W4Negative300-36051W5-W6OffThe switching sequence, the current direction, and the position sensor signal are all shown in the first row of Table1. The proposed predictive nonlinear optimal control (PNOC) controller would adjust the pulse width modulation (PWM) based on the switching sequence, whose operation is explained below.


### 3.2. Proposed Predictive Nonlinear Optimal Control (PNOC) Algorithm-Based Motor Control

It is illustrated how a block diagram (PNOC) controller in combination with a speed controller may be used to demonstrate how the suggested predictive nonlinear optimum [24] control can be implemented. The speed of the BLDC motor in Plant G is regulated in the manner shown in Figure 4. There are two inputs in the plant that are used to take into account external influences. In addition to the two output terminals, which are designated by the letters u and W, this device has one for rated speed (y) and another for strong output (Z). It has three control signals: one control signal, one control signal, and one control signal, in addition to W.Figure 4
Block diagram for the predictive-nonlinear optimal control (PNOC) controller.In order to manage the speed of the motor as a result of the comparison between the anticipated and reference speeds, the errore output u is provided to the controller PNOC, which generates pulse width modulation (PWM) and controls the speed of the motor as a result of the comparison.The goal is to findK, which satisfies the expression of the feedback system:
(15)TZW∞≜W1SW1RW1T≤γ.This type of mixture has the following properties: the sensitivityS is a sensitivity function in the transfer matrix from zero to one, R; u is a sensitivity function in the transfer matrix from one watt to the transfer matrix input [24] sensitivity function, and the complementary sensitivity T is a function, and the sensitivity T is a function. The sensitivity is necessary in order to get a low-frequency signal from the region of the outer immunity, and it is given by expression (16). The sensitivity must be kept as little as possible in order to obtain the signal, ω⟶0.
(16)s=11+Gk.As a result of the existence of the high-frequency zone, the compensation of the sensitivity functionT=1−S should be limited to a bare minimum in order to minimise modelling error in the high-frequency zone.After the PNOC ring has been closed, the instability pole of the chosen band is adjusted in accordance with the new value of the instability pole. The technique illustrates how to build a frequency domain design cycle with pinpoint accuracy by including the appropriate weight into the design cycle throughout the generation process. If the plant is frequency-dependent and has an extended weight, it is feasible to produce the signal with the assistance of the MATLAB script “Hinfsin” composite controller. Once this is accomplished, the signal may be fine-tuned to achieve the appropriate levels of performance and resilience. Following the selection of the requisite weights, the frequency domain loop design may be finished, as seen in the following example. Depending on the state location, the acceptable waiting function for PNOC issue and error signalE, control signal U, and output signal Y is raised by W1 through W3 in order to achieve an even better waiting function. Because W1 through W3 are raised by W1 through W3, the waiting function becomes much better. The functional block design for the predictive optimum control strategy is seen in Figure 5.Figure 5
Functional block diagram for the predictive nonlinear optimal control (PNOC) controller.From Figure5, the below equation is defined:
(17)W1SW2RW3Te=W1−W1G0W20W3G1−Gwu.The computational model of improved plantP is attained as
(18)P=W1−W1G0W20W3G1−G.The MATLAB function is used to generate advanced plantB as the augw equation.
(19)P=augwG,W1,W2,W3.The MATLAB function “hinfsyn” PNOC controllerK to equation (20) provided to P is an advanced plant which is used to integrate the team, and the related transfer function KT is obtained (21).
(20)K=hinfsynP,(21)KT=tfK.In order to develop a successful control design, it is critical to choose a suitable weight design. This is a vital consideration that should not be disregarded. The following criteria must be satisfied in order to choose components that are compatible with the standards of the different frequency ranges.The main objective is to achieve a closed loop of tracking error with the least amount of interference in the low-frequency band, which is a difficult feat to do.In order to operate safely in the middle frequency band, it is necessary to maintain a constant and acceptable margin of safety at all times.The control signal must be kept within a certain range in order to function properly at higher frequency ranges.In order to choose the most appropriate reaction time, it is first required to select the most appropriate sensitivity weighting function, which should be developed based on specific aspects of the desired response time. After that, the reaction time may be selected. Low-pass filters with high- and low-frequency gains are used to govern the exchange of overshoot by balancing the required fixed-level error as well as the high- and low-frequency gains.In order to representW1 in equation (22) as a result of this decision, a simple low-pass filter is used to represent W1 in the following equation:
(22)W1=1MsτPs+1MsτPs+A/Ms,in such case, Ms.Maximum sensitivity functionA is used. The maximum permitted deviation as well as the standard state b system bandwidth is specified. In the selection of additional weights, the preservation [25] of the lower row controller is taken into consideration, since many weights may become typical selections. Furthermore, the constant is given to W1 and W2, both of which are constrained to keeping the control signal in their respective states.The six coefficient parametersa, b, c, and d of W1 and g and h of W3 are carefully chosen in order to achieve the right weights for the corresponding coefficients. Some “thumb rules” for adjusting weight have been submitted for consideration. The use of these factor weights in this study results in significant control improvement for PNOC.
(23)W1=as+bCS+d,(24)W2=g,(25)W3=h.


#### 3.2.1. PNOC Algorithm Steps

The rapid action of particle motion in PNOC allows for speedier fusion, which leads in the production of a higher-quality solution more quickly. A particle-initiated group is a term used to refer to a group of groups known as random persons in the PNOC setting. When it comes to optimization solutions, the search location is described as the collection of all viable optimization [26] solutions to the problem. Define the search area’s perimeter. The maximum and minimum values of the W1, W2, and W3 coefficients have been specified in advance of the experiment. Following the setup of the population members, the production of random locations and velocities for each particle is performed. Individuals’ finest performance memories are used in determining the value of the target function. The best neighbours on a personal level are the most valuable when compared to the best neighbours on a global level, which is the highest value.When particles move, their influence is felt more quickly in PNOC, allowing for faster integration and, ultimately, a more effective solution. A random human is referred to as a particle launched in the PNOC universe. In search engine optimization, search sites are defined as all of the potential solutions to optimization problems that have been discovered [27]. It is necessary to indicate the lowest and highest values of the W1, W2, and W3 coefficients in the search area range in order to define the search area range. Once the members of the population have been identified, a random location and velocity for each particle are generated. The objective function value is determined using the individual’s best performance memory as a starting point for the calculation. In comparison to one’s own personal best results as well as the best value of one’s neighbours, it is regarded as being the greatest wherever in the globe. Its personal best and the greatest particle motion in the world are on their way to achieving a new speed and current momentum and knowledge of the new situation, as well as his own personal best and the greatest particle motion in the world. In order to get the best coefficient, the optimization aim is to identify the optimal global cost, which is equal to the absolute value for error reduction, by using the PNOC weighting function and obtaining the best coefficient. In order to get the controller’s transfer function, it is important to generate the best prices in the world, namely, W1, W2, and W3, using the best available data. In this application, the controller is used as a speed controller, with the output of the controller providing a reference value for torque.Algorithm 1: Steps.
As part of Step 1, the following parameters of the original problem are taken into consideration: (1)In this section, the estimated number of particles (I a, I b, and I c) as well as the rotor speed (w r) is shown.(ii) The total number of evaluations has been calculated.(IV) Learning characteristics (C1, C2). (iv) Boundaries of the search space (iv).Step 2: in the search space, start producing random particle levels to see where they go.In Step 3, you will execute the predictive nonlinear optimal control (PNOC) controller assembly based on the weights determined from the particle levels you computed.In Step 4, PNOC controller models are simulated and synthesised in order to estimate the fitness value of the controller.Step 5: calculate the optimal global solution as well as the optimal local solution for each particle and for the whole system in order to maximise efficiency.Step 6: error signals are framed by employing the variables I d and I q, as well as their associated reference esteems. When applying rotor charging flux, the I d reference is utilized to govern the amount of flux that is applied. The rotor output is regulated by the I q reference, which is used in conjunction with the rotor. The error signals indicate the contributions made by the controller to the computations made by the PNOC controller. In the output of the controller, there is a voltage vector that will be delivered to the motor via the controller, denoted by the letters v d and q.When you get to Step 7, you should run the following procedures in the main loop.Weight-to-weight ratio of each particle increases as a result of the first point.Based on the particle velocity data acquired, modify the placement of the rotor as required.Repetition of Steps 3 through 6 as many times as required until you have achieved the maximum number of iterations is finished in Step 8.(9) The PNOC infinite controller has the optimal weight according to the best global solution to the entire issues1 (see Figure1) (see Step 9).Figure6 represents the flowchart of the proposed work. The control operations of the PNOC controller for the BLDCM speed control operation are shown in Figure 6. The set speed and reference speed are determined by the PNOC controller in this control module, which is located on the main board. The PWM of the inverter will be modified in response to the value.Figure 6
The flow chart for the PNOC-based BLDCM.


## 3.1. Modelling of the BLDC Motor

The following four equations can describe the three-phase star connected to the BLDC motor. The three-phase BLDC motor equivalent circuit is shown in Figure2.Figure 2
Three-phase BLDC motor equivalent circuit.The benefits of using KVL loop phase stator windings are given below.(1)Va=Ra+Ladiadt+Mabdibdt+Macdicdt+ea,(2)Vb=Rb+Lbdibdt+Mbcdiadt+Mbadicdt+eb,(3)Vc=Rc+Lcdicdt+Mcadiadt+Mcbdibdt+ec.When the back EMF waveformea, eb, and ec and angular velocity of the rotor shaft function,
(4)e=Keωm,where Ke is the back EMF constant.Thus, the computed model of the BLDC motor can be represented by the following formula in the frame matrix:(5)LaMabMacMbaLbMbcMcaMcbLcddtiaibic=VaVbVc−R000R000Riaibic−eaebec.If it is considered that the rotor has a mounting surface design, which is frequently the case in the operation of the BLDC motor, which is based on the fact that the stator inductance is independent of the rotor position, it follows that the rotor position is independent of the stator inductance:(6)La=Lb=Lc=L.The mutual inductance formula is represented in the following form:(7)Mab=Mac=Mba=Mca=Mcb=M.Suppose the three-phase system and the resistance of all phases are equal:(8)Ra=Rb=Rc=R.Rearrange equation (5):
(9)LMMMLMMMLddtiaibic=VaVbVc−R000R000Riaibic−eaebec.The electromechanical torque is expressed as(10)Tem=Jdωrdt+Bωr+TL.The electromagnetic torque of a three-phase BLDC motor, on the other hand, is dictated by the current speed and the waveform of the opposing electromagnetic force, respectively. In this way, they are instantly subjected to electromagnetic torque:(11)Tem=1ωmeaia+ebib+ecic.The phase voltages are represented by the symbolsV, I, and e, while the phase current and back EMF power are represented by the symbols b and c, respectively. The resistance R and the inductance L represent the phases, and the values of the electrical torque and the load torque of Te and TL represent the corresponding values of the electrical torque and the load torque. J denotes the moment of inertia; kf denotes continuous friction; and _m denotes the rotational speed. Back EMF and electrical torque are represented by the following equations:
(12)ea=Ke2ωmFθe,(13)eb=Ke2ωmFθe−4π3,(14)Te=Kt2Fθe+Fθe−2π3+Fθe−4π3.The counterelectromotive force constant and torque constant are denoted by the lettersKe and Kt, respectively. It is common practice to change the machine model in order to simplify a rotating frame of reference and increase computing performance [22].


### 3.1.1. Brushless DC Motor Operation Method

Three-phase BLDC motors operate in a two-phase configuration. In two-phase energization, the third stage is closed in order to provide the greatest amount of torque. The rotor location has an impact on the energization of the first and second stages [23]. Each time 600 milliseconds passes, the data from the position sensor outputs a three-digit number (H1, H2, and H3), which changes (electric degrees).The rotor is 1200 away from the stator field lines at the start of each interval and 600 away from the stator field lines at the conclusion of each interval. A simple representation of the magnetic field lines is that they are perpendicular to the highest torque. The current transfer is accomplished via a six-step inverter, as shown in Figure3. The switching interval of the six-step inverter is shown in the following Table 1.Figure 3
Simplified BLDC driver circuit.Table 1
Switching sequence of three-phase inverter.
SwitchingInput sequenceSensor positionSwitching levelCurrent level0-6001W1-W6Positive60-12011W1-W2Negative120-18020W3-W2Off180-24030W3-W4Positive240-30040W5-W4Negative300-36051W5-W6OffThe switching sequence, the current direction, and the position sensor signal are all shown in the first row of Table1. The proposed predictive nonlinear optimal control (PNOC) controller would adjust the pulse width modulation (PWM) based on the switching sequence, whose operation is explained below.


## 3.1.1. Brushless DC Motor Operation Method

Three-phase BLDC motors operate in a two-phase configuration. In two-phase energization, the third stage is closed in order to provide the greatest amount of torque. The rotor location has an impact on the energization of the first and second stages [23]. Each time 600 milliseconds passes, the data from the position sensor outputs a three-digit number (H1, H2, and H3), which changes (electric degrees).The rotor is 1200 away from the stator field lines at the start of each interval and 600 away from the stator field lines at the conclusion of each interval. A simple representation of the magnetic field lines is that they are perpendicular to the highest torque. The current transfer is accomplished via a six-step inverter, as shown in Figure3. The switching interval of the six-step inverter is shown in the following Table 1.Figure 3
Simplified BLDC driver circuit.Table 1
Switching sequence of three-phase inverter.
SwitchingInput sequenceSensor positionSwitching levelCurrent level0-6001W1-W6Positive60-12011W1-W2Negative120-18020W3-W2Off180-24030W3-W4Positive240-30040W5-W4Negative300-36051W5-W6OffThe switching sequence, the current direction, and the position sensor signal are all shown in the first row of Table1. The proposed predictive nonlinear optimal control (PNOC) controller would adjust the pulse width modulation (PWM) based on the switching sequence, whose operation is explained below.


## 3.2. Proposed Predictive Nonlinear Optimal Control (PNOC) Algorithm-Based Motor Control

It is illustrated how a block diagram (PNOC) controller in combination with a speed controller may be used to demonstrate how the suggested predictive nonlinear optimum [24] control can be implemented. The speed of the BLDC motor in Plant G is regulated in the manner shown in Figure 4. There are two inputs in the plant that are used to take into account external influences. In addition to the two output terminals, which are designated by the letters u and W, this device has one for rated speed (y) and another for strong output (Z). It has three control signals: one control signal, one control signal, and one control signal, in addition to W.Figure 4
Block diagram for the predictive-nonlinear optimal control (PNOC) controller.In order to manage the speed of the motor as a result of the comparison between the anticipated and reference speeds, the errore output u is provided to the controller PNOC, which generates pulse width modulation (PWM) and controls the speed of the motor as a result of the comparison.The goal is to findK, which satisfies the expression of the feedback system:
(15)TZW∞≜W1SW1RW1T≤γ.This type of mixture has the following properties: the sensitivityS is a sensitivity function in the transfer matrix from zero to one, R; u is a sensitivity function in the transfer matrix from one watt to the transfer matrix input [24] sensitivity function, and the complementary sensitivity T is a function, and the sensitivity T is a function. The sensitivity is necessary in order to get a low-frequency signal from the region of the outer immunity, and it is given by expression (16). The sensitivity must be kept as little as possible in order to obtain the signal, ω⟶0.
(16)s=11+Gk.As a result of the existence of the high-frequency zone, the compensation of the sensitivity functionT=1−S should be limited to a bare minimum in order to minimise modelling error in the high-frequency zone.After the PNOC ring has been closed, the instability pole of the chosen band is adjusted in accordance with the new value of the instability pole. The technique illustrates how to build a frequency domain design cycle with pinpoint accuracy by including the appropriate weight into the design cycle throughout the generation process. If the plant is frequency-dependent and has an extended weight, it is feasible to produce the signal with the assistance of the MATLAB script “Hinfsin” composite controller. Once this is accomplished, the signal may be fine-tuned to achieve the appropriate levels of performance and resilience. Following the selection of the requisite weights, the frequency domain loop design may be finished, as seen in the following example. Depending on the state location, the acceptable waiting function for PNOC issue and error signalE, control signal U, and output signal Y is raised by W1 through W3 in order to achieve an even better waiting function. Because W1 through W3 are raised by W1 through W3, the waiting function becomes much better. The functional block design for the predictive optimum control strategy is seen in Figure 5.Figure 5
Functional block diagram for the predictive nonlinear optimal control (PNOC) controller.From Figure5, the below equation is defined:
(17)W1SW2RW3Te=W1−W1G0W20W3G1−Gwu.The computational model of improved plantP is attained as
(18)P=W1−W1G0W20W3G1−G.The MATLAB function is used to generate advanced plantB as the augw equation.
(19)P=augwG,W1,W2,W3.The MATLAB function “hinfsyn” PNOC controllerK to equation (20) provided to P is an advanced plant which is used to integrate the team, and the related transfer function KT is obtained (21).
(20)K=hinfsynP,(21)KT=tfK.In order to develop a successful control design, it is critical to choose a suitable weight design. This is a vital consideration that should not be disregarded. The following criteria must be satisfied in order to choose components that are compatible with the standards of the different frequency ranges.The main objective is to achieve a closed loop of tracking error with the least amount of interference in the low-frequency band, which is a difficult feat to do.In order to operate safely in the middle frequency band, it is necessary to maintain a constant and acceptable margin of safety at all times.The control signal must be kept within a certain range in order to function properly at higher frequency ranges.In order to choose the most appropriate reaction time, it is first required to select the most appropriate sensitivity weighting function, which should be developed based on specific aspects of the desired response time. After that, the reaction time may be selected. Low-pass filters with high- and low-frequency gains are used to govern the exchange of overshoot by balancing the required fixed-level error as well as the high- and low-frequency gains.In order to representW1 in equation (22) as a result of this decision, a simple low-pass filter is used to represent W1 in the following equation:
(22)W1=1MsτPs+1MsτPs+A/Ms,in such case, Ms.Maximum sensitivity functionA is used. The maximum permitted deviation as well as the standard state b system bandwidth is specified. In the selection of additional weights, the preservation [25] of the lower row controller is taken into consideration, since many weights may become typical selections. Furthermore, the constant is given to W1 and W2, both of which are constrained to keeping the control signal in their respective states.The six coefficient parametersa, b, c, and d of W1 and g and h of W3 are carefully chosen in order to achieve the right weights for the corresponding coefficients. Some “thumb rules” for adjusting weight have been submitted for consideration. The use of these factor weights in this study results in significant control improvement for PNOC.
(23)W1=as+bCS+d,(24)W2=g,(25)W3=h.


### 3.2.1. PNOC Algorithm Steps

The rapid action of particle motion in PNOC allows for speedier fusion, which leads in the production of a higher-quality solution more quickly. A particle-initiated group is a term used to refer to a group of groups known as random persons in the PNOC setting. When it comes to optimization solutions, the search location is described as the collection of all viable optimization [26] solutions to the problem. Define the search area’s perimeter. The maximum and minimum values of the W1, W2, and W3 coefficients have been specified in advance of the experiment. Following the setup of the population members, the production of random locations and velocities for each particle is performed. Individuals’ finest performance memories are used in determining the value of the target function. The best neighbours on a personal level are the most valuable when compared to the best neighbours on a global level, which is the highest value.When particles move, their influence is felt more quickly in PNOC, allowing for faster integration and, ultimately, a more effective solution. A random human is referred to as a particle launched in the PNOC universe. In search engine optimization, search sites are defined as all of the potential solutions to optimization problems that have been discovered [27]. It is necessary to indicate the lowest and highest values of the W1, W2, and W3 coefficients in the search area range in order to define the search area range. Once the members of the population have been identified, a random location and velocity for each particle are generated. The objective function value is determined using the individual’s best performance memory as a starting point for the calculation. In comparison to one’s own personal best results as well as the best value of one’s neighbours, it is regarded as being the greatest wherever in the globe. Its personal best and the greatest particle motion in the world are on their way to achieving a new speed and current momentum and knowledge of the new situation, as well as his own personal best and the greatest particle motion in the world. In order to get the best coefficient, the optimization aim is to identify the optimal global cost, which is equal to the absolute value for error reduction, by using the PNOC weighting function and obtaining the best coefficient. In order to get the controller’s transfer function, it is important to generate the best prices in the world, namely, W1, W2, and W3, using the best available data. In this application, the controller is used as a speed controller, with the output of the controller providing a reference value for torque.Algorithm 1: Steps.
As part of Step 1, the following parameters of the original problem are taken into consideration: (1)In this section, the estimated number of particles (I a, I b, and I c) as well as the rotor speed (w r) is shown.(ii) The total number of evaluations has been calculated.(IV) Learning characteristics (C1, C2). (iv) Boundaries of the search space (iv).Step 2: in the search space, start producing random particle levels to see where they go.In Step 3, you will execute the predictive nonlinear optimal control (PNOC) controller assembly based on the weights determined from the particle levels you computed.In Step 4, PNOC controller models are simulated and synthesised in order to estimate the fitness value of the controller.Step 5: calculate the optimal global solution as well as the optimal local solution for each particle and for the whole system in order to maximise efficiency.Step 6: error signals are framed by employing the variables I d and I q, as well as their associated reference esteems. When applying rotor charging flux, the I d reference is utilized to govern the amount of flux that is applied. The rotor output is regulated by the I q reference, which is used in conjunction with the rotor. The error signals indicate the contributions made by the controller to the computations made by the PNOC controller. In the output of the controller, there is a voltage vector that will be delivered to the motor via the controller, denoted by the letters v d and q.When you get to Step 7, you should run the following procedures in the main loop.Weight-to-weight ratio of each particle increases as a result of the first point.Based on the particle velocity data acquired, modify the placement of the rotor as required.Repetition of Steps 3 through 6 as many times as required until you have achieved the maximum number of iterations is finished in Step 8.(9) The PNOC infinite controller has the optimal weight according to the best global solution to the entire issues1 (see Figure1) (see Step 9).Figure6 represents the flowchart of the proposed work. The control operations of the PNOC controller for the BLDCM speed control operation are shown in Figure 6. The set speed and reference speed are determined by the PNOC controller in this control module, which is located on the main board. The PWM of the inverter will be modified in response to the value.Figure 6
The flow chart for the PNOC-based BLDCM.


## 3.2.1. PNOC Algorithm Steps

The rapid action of particle motion in PNOC allows for speedier fusion, which leads in the production of a higher-quality solution more quickly. A particle-initiated group is a term used to refer to a group of groups known as random persons in the PNOC setting. When it comes to optimization solutions, the search location is described as the collection of all viable optimization [26] solutions to the problem. Define the search area’s perimeter. The maximum and minimum values of the W1, W2, and W3 coefficients have been specified in advance of the experiment. Following the setup of the population members, the production of random locations and velocities for each particle is performed. Individuals’ finest performance memories are used in determining the value of the target function. The best neighbours on a personal level are the most valuable when compared to the best neighbours on a global level, which is the highest value.When particles move, their influence is felt more quickly in PNOC, allowing for faster integration and, ultimately, a more effective solution. A random human is referred to as a particle launched in the PNOC universe. In search engine optimization, search sites are defined as all of the potential solutions to optimization problems that have been discovered [27]. It is necessary to indicate the lowest and highest values of the W1, W2, and W3 coefficients in the search area range in order to define the search area range. Once the members of the population have been identified, a random location and velocity for each particle are generated. The objective function value is determined using the individual’s best performance memory as a starting point for the calculation. In comparison to one’s own personal best results as well as the best value of one’s neighbours, it is regarded as being the greatest wherever in the globe. Its personal best and the greatest particle motion in the world are on their way to achieving a new speed and current momentum and knowledge of the new situation, as well as his own personal best and the greatest particle motion in the world. In order to get the best coefficient, the optimization aim is to identify the optimal global cost, which is equal to the absolute value for error reduction, by using the PNOC weighting function and obtaining the best coefficient. In order to get the controller’s transfer function, it is important to generate the best prices in the world, namely, W1, W2, and W3, using the best available data. In this application, the controller is used as a speed controller, with the output of the controller providing a reference value for torque.Algorithm 1: Steps.
As part of Step 1, the following parameters of the original problem are taken into consideration: (1)In this section, the estimated number of particles (I a, I b, and I c) as well as the rotor speed (w r) is shown.(ii) The total number of evaluations has been calculated.(IV) Learning characteristics (C1, C2). (iv) Boundaries of the search space (iv).Step 2: in the search space, start producing random particle levels to see where they go.In Step 3, you will execute the predictive nonlinear optimal control (PNOC) controller assembly based on the weights determined from the particle levels you computed.In Step 4, PNOC controller models are simulated and synthesised in order to estimate the fitness value of the controller.Step 5: calculate the optimal global solution as well as the optimal local solution for each particle and for the whole system in order to maximise efficiency.Step 6: error signals are framed by employing the variables I d and I q, as well as their associated reference esteems. When applying rotor charging flux, the I d reference is utilized to govern the amount of flux that is applied. The rotor output is regulated by the I q reference, which is used in conjunction with the rotor. The error signals indicate the contributions made by the controller to the computations made by the PNOC controller. In the output of the controller, there is a voltage vector that will be delivered to the motor via the controller, denoted by the letters v d and q.When you get to Step 7, you should run the following procedures in the main loop.Weight-to-weight ratio of each particle increases as a result of the first point.Based on the particle velocity data acquired, modify the placement of the rotor as required.Repetition of Steps 3 through 6 as many times as required until you have achieved the maximum number of iterations is finished in Step 8.(9) The PNOC infinite controller has the optimal weight according to the best global solution to the entire issues1 (see Figure1) (see Step 9).Figure6 represents the flowchart of the proposed work. The control operations of the PNOC controller for the BLDCM speed control operation are shown in Figure 6. The set speed and reference speed are determined by the PNOC controller in this control module, which is located on the main board. The PWM of the inverter will be modified in response to the value.Figure 6
The flow chart for the PNOC-based BLDCM.


## 4. Result and Discussion

For the proposed BLDC driver system, which is being developed in MATLAB2017b software, the system function will be simulated and the system will be coordinated in order to test the operation of the proposed model’s performance operation. Figure7 depicts the suggested BLDCM model’s implementation in MATLAB/Simulink, as well as the system’s operation and the ability to show library SIM power supply system-wide layouts.Figure 7
Final proposed system Simulink model.Figure7 depicts the suggested predictive nonlinear optimal regulation (PNOC) strategy-based speed control of the BLDC motor, which is based on PNOC. The performance of the BLDC motor is evaluated using a variety of torque-speed combinations, the results of which are shown below.On the basis of load torque variation, Figure8 depicts the current waveform for a BLDC motor. As can be seen in this figure, the initial current variation is significant during time period (0-2), as can be seen in the previous figure.Figure 8
Output current of the proposed system.The torque of a BLDC motor is seen in Figure9. The load torque is applied to the suggested model for the differential speed analysis at a time length of 0.2 seconds in order to conduct the differential speed analysis. The speed and current of the stator are adjusted in response to the torque value.Figure 9
BLDC motor torque.The suggested predictive nonlinear optimal control (PNOC) controller would automatically modify the pulse width modulation (PWM) and maintain the target speed of the BLDC motor based on the changing of the load torque. Figure10 shows how the load torque fluctuation is absorbed; the suggested PNOC would alter the PWM displayed.Figure 10
PWM waveform of the proposed controller.Figure11 shows the results of the BLDC motor speed stability study performed using the suggested motor. Using the predictive [28] nonlinear optimal control (PNOC) controller has been suggested. The driving cycle speed is set at 1500 rpm with a torque of 1 N-m at the moment (0-1), and the suggested PNOC controller will give suitable feedback to the inverter in order to maintain the desired speed, as seen in the preceding image [29].Figure 11
BLDC motor speed.Figure11 depicts a comparative examination of many metrics, including steady-state error, recovery time, and peak overshoot time, in order to evaluate the performance of the BLDCM algorithm [30]. The results of the simulation are summarised in Table 2, and the findings reveal that the PNOC-based controller outperforms the current Proportional Integral Derivative (PID) controller when compared to the existing PID controller.Table 2
The performance analysis of the BLDC motor.
ParametersPIDPNOCReference value (rpm)15001500Peak overshoot time (sec)0.95640.5663Recovery overshoot (%)0.8450.423Recovery time (sec)0.880.41Steady state error value (rpm)6.64.2Steady-state error (%)0.660.36In Table2 and in Figure 12, the control system parameters for varying various load torque situations are shown for each condition. The system will be evaluated in comparison to the proposed PNOC controller.Figure 12
Comparison analysis.Following thorough examination of both practical and empirical guidelines, the following test was selected: The battery had been completely charged before to the commencement of the experiment and had not been recharged in between the speed variations [30]. It was possible to measure the speed of the propeller using a laser speed calculator, which ranged from a minimum of 1400 rpm to a maximum of 10000 rpm. The servo tester was impossible [31] to be set on fixed speed values between 1400 and 3000 rpm since its discretion could not be set manually at low speed values between these numbers. After 3000 rpm, a step of 1000 rpm every moment was applied to achieve the desired speed. The power consumption was recorded in amperes and grammes for each speed measurement, as well as the thrust in grammes for each speed moment. At the end, the cost of speed/watt per total € spent was computed in order to provide an exact result of a cost and consumption efficient arrangement.


## 5. Conclusion

Using a predictive nonlinear optimal control (PNOC) controller, this paper presents the modelling and simulation of the speed control of BLDCM. Using MATLAB, we have validated the performance [32] of all of the controller settings, and we have produced a thorough analysis of the results. BLDC speed control working conditions are modified with the controller, as shown by the results obtained with this specific model from the simulation. The resulting steady-state value is 5.8 percent, which is much better than the traditional controllers. Based on the summary of data, it can be concluded that the proposed PNOC controllers have the distinct characteristics of error elimination and total reduction of steady-state error. The constant speed operation assures that the system will continue to operate indefinitely [33]. Achieving the highest steady-state value (rpm) of 4.2 by using sophisticated predictive nonlinear optimal control (PNOC) yields successful outcomes when used in the automobile industry.Because of the benefits of sensorless control for BLDC motor drives, which have gained popularity in recent years, a sensorless controlled BLDC motor drive was selected for this research to make use of those advantages. According to the findings of the literature review, the back EMF zero crossing detection approach is excellent and is extensively utilized in the motor drive sector. Due to the fact that the work is limited to the investigation of artificial intelligence controller strategies for BLDC motors, the sensorless control strategy based on the reverse EMF zero crossing was chosen for the investigation.We have improved upon the simple simulation model that we built for the BLDC motor drive to achieve sensorless speed control by using zero crossing of the back EMF. The BLDC motor drive is comprised of a PI speed controller and a current controller for controlling the motor speed. The sensorless controlled BLDC motor was subjected to a thorough investigation under a variety of operating situations, including beginning, load perturbations, and variations in the specified speed. In order to verify the reduced simulation model, a hardware setup was used. For the purpose of demonstrating the efficiency of the simplified modelling, the responses were compared to waveforms published in the literature as well as waveforms produced utilizing hall sensors. The findings of the simulation and the hardware were almost identical. As a result, the sensorless model was employed in the subsequent investigation of the suggested artificial intelligence controller to increase the dynamic performance of the BLDC motor drive system.Algorithm1 represents the flow of optimal function of the proposed algorithm.



---

*Source: 9644795-2022-04-18.xml*