PID CONTROLLER DESIGN FOR CONTROLLING DC MOTOR SPEED USING MATLAB ....pdfl

0 views
Skip to first unread message
Message has been deleted

Mazie Wingeier

unread,
Jul 16, 2024, 12:22:25 AM7/16/24
to firsmonscolla

To capture motor dynamics and facilitate motor control design, parameterize your motor by estimating motor parameters with the help of parameter estimation blocks or by importing your motor's finite element analysis (FEA) data. Investigate motor control trajectories using characteristic plots that help identify operational boundaries for PMSM control.

Decoders optimized offline to reconstruct intended movements from neural recordings sometimes fail to achieve optimal performance online when they are used in closed-loop as part of an intracortical brain-computer interface (iBCI). This is because typical decoder calibration routines do not model the emergent interactions between the decoder, the user, and the task parameters (e.g. target size). Here, we investigated the feasibility of simulating online performance to better guide decoder parameter selection and design. Three participants in the BrainGate2 pilot clinical trial controlled a computer cursor using a linear velocity decoder under different gain (speed scaling) and temporal smoothing parameters and acquired targets with different radii and distances. We show that a user-specific iBCI feedback control model can predict how performance changes under these different decoder and task parameters in held-out data. We also used the model to optimize a nonlinear speed scaling function for the decoder. When used online with two participants, it increased the dynamic range of decoded speeds and decreased the time taken to acquire targets (compared to an optimized standard decoder). These results suggest that it is feasible to simulate iBCI performance accurately enough to be useful for quantitative decoder optimization and design.

PID CONTROLLER DESIGN FOR CONTROLLING DC MOTOR SPEED USING MATLAB ....pdfl


DOWNLOAD https://urllie.com/2yXLon



We demonstrated the utility of a simulation-based optimization approach by using the PLM to design such a transform. The resulting function scales up higher speeds (allowing quick movements to the target) while still mapping a wide range of decoded speeds to lower values (to retain the same or better stopping precision). Online results from participants T5 and T8 show that this approach is indeed one possible way to achieve a greater dynamic range of speed and precision than what a linear decoder can provide. Other solutions to this same problem have also been proposed, including attenuating the cursor speed when the cursor is changing directions more quickly32, using a nonlinear two state decoder that can switch between a postural decoder and a movement decoder33, and using a hidden Markov model to detect a stopping state34. Combining the nonlinear transform with these other improvements might yield greater gains in performance.

Finally, to demonstrate the versatility of the PLM for helping to design new decoding innovations, we used it to design a static nonlinear function that transforms the speeds decoded by a linear velocity decoder. We collected four additional sessions (two with T5 and two with T8) that measured the online performance benefits of using the model-designed nonlinearity. Each session is listed in Supplemental Table 3.

Designing and tuning a PID controller appears to be conceptually intuitive, but can be hard in practice, if multiple (and often conflicting) objectives, such as short transient and high stability, are to be achieved. PID controllers often provide acceptable control using default tunings, but performance can generally be improved by careful tuning, and performance may be unacceptable with poor tuning. Usually, initial designs need to be adjusted repeatedly through computer simulations until the closed-loop system performs or compromises as desired.

One distinctive advantage of PID controllers is that two PID controllers can be used together to yield better dynamic performance. This is called cascaded PID control. Two controllers are in cascade when they are arranged so that one regulates the set point of the other. A PID controller acts as outer loop controller, which controls the primary physical parameter, such as fluid level or velocity. The other controller acts as inner loop controller, which reads the output of outer loop controller as setpoint, usually controlling a more rapid changing parameter, flowrate or acceleration. It can be mathematically proven[citation needed] that the working frequency of the controller is increased and the time constant of the object is reduced by using cascaded PID controllers.[vague].

For example, a temperature-controlled circulating bath has two PID controllers in cascade, each with its own thermocouple temperature sensor. The outer controller controls the temperature of the water using a thermocouple located far from the heater, where it accurately reads the temperature of the bulk of the water. The error term of this PID controller is the difference between the desired bath temperature and measured temperature. Instead of controlling the heater directly, the outer PID controller sets a heater temperature goal for the inner PID controller. The inner PID controller controls the temperature of the heater using a thermocouple attached to the heater. The inner controller's error term is the difference between this heater temperature setpoint and the measured temperature of the heater. Its output controls the actual heater to stay near this setpoint.

The brushless DC motor is a synchronous electric motor that, from a modelling perspective, looks exactly like a DC motor, having a linear relationship between current and torque, voltage and rpm. It is an electronically controlled commutation system, instead of having a mechanical commutation, which is typical of brushed motors. Additionally, the electromagnets do not move, the permanent magnets rotate and the armature remains static. This gets around the problem of how to transfer current to a moving armature. In order to do this, the brush-system/commutator assembly is replaced by an intelligent electronic controller, which performs the same power distribution as a brushed DC motor [3]. BLDC motors have many advantages over brushed DC motors and induction motors, such as a better speed versus torque characteristics, high dynamic response, high efficiency and reliability, long operating life (no brush erosion), noiseless operation, higher speed ranges, and reduction of electromagnetic interference (EMI). In addition, the ratio of delivered torque to the size of the motor is higher, making it useful in applications where space and weight are critical factors, especially in aerospace applications.

Due to the fact that these sensors are very small, they can be embedded in places where other sensors may not fit. For instance, when sealed in protective cases they can be resistant to high temperatures and high pressures, as well as chemical attacks [13]. Through the monitoring of the health of running motors, severe and unexpected motor failures can be avoided and control system reliability and maintainability can be improved. If the VR was integrated inside a motor case for an application in a harsh environment, sensor cables could be easily damaged in that environment. Then, a wireless and powerless sensing solution should be applied using electromagnetic pulses for passing through the motor casing to deliver the sensor signal to the motor controller [14].

On the other hand, instead of using analogue LPFs, a unipolar pulse width modulation (PWM) scheme can be used to measure terminal voltages [27,28]. The difference of the ZCD method between on and off state of the PWM signal can also be taken into account [29,30]. Also, the true phase back-EMF signal could be directly obtained from the motor terminal voltage by properly choosing the PWM and sensing strategy (without the motor neutral point voltage information This would provide advantages such as no sensitivity to switching noise, no filtering required, and good motor performance a wide speed range [24,31].

An indirect way of detecting the ZCP of the back-EMF from the three terminal voltages without using the neutral potential is using the difference of the line voltages [33]. Another modification of the technique is to achieve the sensorless commutation by means of a Phase Locked Loop (PLL) and sensing of the phase winding back-EMF voltages [8]. This PLL has a narrow speed range due to the capabilities of the phase detector, and is sensitive to switching noise. In order to simplify the BLDC driver design, it can be built around a sensorless controller chip ML4425 from Fairchild Semiconductor [34,35].

In the Direct Torque Control method (DTC), the state equation of the BLDC motor is utilized to achieve a relationship between the angle of the stator current vector and the back-EMF vector angle, obtaining minimum error angle estimation and reducing the torque ripple in com-mutation regions. In this control method, the proper voltage vector is selected from a look-up table using the rotor flux vector position and torque error, which is led to the predefined hysteresis [58]. However, DTC methods based on hysteresis controllers have some serious drawbacks such as a high amount of torque and flux pulsations and variable switching frequency of the inverter [59]. Also, in the direct torque control of brushless DC motor, the stator flux linkage observation is needed, and the accuracy of the observed stator flux linkage is affected by the variation of stator resistance, electric interference, magnetic interference, measurement error and so on [60]. These drawbacks are solved with the DTC Space Vector Modulation (DTC-SVM) scheme, which uses a constant switching frequency. However, the DTC-SVM scheme needs a transformation from stationary reference frame to stator flux field orientation frame and vice versa, therefore it has a high computation time and could be an erroneous cumulative scheme [61]. Also, with the introduction of DTC technique and the advances of speed sensorless systems, the interest in stator resistance adaptation came to scene for an optimal performance of speed sensorless systems in low speed region [62].

aa06259810
Reply all
Reply to author
Forward
0 new messages