Telechargé par Hassen Baccar

PID

publicité
International Engineering and Natural Sciences Conference (IENSC 2019)
6-8 November 2019, Dicle University, Diyarbakır, Turkey
REAL TIME PID CONTROLLED SPEED REGULATION OF A DC MOTOR USING
LABVIEW
Cihan Ersalı*1, Davut İzci2, Baran Hekimoğlu3
Batman University, Faculty of Engineering, [email protected]
2
Batman University, Faculty of Engineering, [email protected]
3
Batman University, Faculty of Engineering, [email protected]
1
*
Corresponding author: [email protected]
Abstract:
Purpose: In this study, a robust real-time PID controlled mechanism was developed to regulate the
speed of a DC motor in real-time using a simple setup. Previous studies indicate that real time control
is done by using more complicated setups which include components that make the system complex. To
overcome the complexity issue, LabVIEW software was used in this work to eliminate most of the
required components and create all necessary functions to achieve a stable real-time operated system.
Material and Methods: A discrete PID control scheme that operates the system in real-time was created
using LabVIEW software. A data acquisition card (DAQ) and a driving unit along with an attached
encoder was used to form the hardware of the system. PID parameters were obtained by creating an
autotuning algorithm which basically adopts Ziegler-Nichols Method; however, those parameters were
obtained by directly running the system under a stable condition without providing any transfer function
regarding system. It also considers the noise level in order to acquire better gain parameters for
obtaining a stable real-time operated system.
Results and Conclusion: The created algorithm was synchronized to communicate a National
Instruments’ DAQ card and this device was both used to obtain the actual speed in real-time from an
attached encoder and to send control signals to driving unit. The system was tested for real-time
dynamically alternated speed values as well as pre-defined values. A real-time controlled system
presenting good response to dynamic inputs was achieved through this approach. The results showed a
very good step response, almost no overshoot (0.34 %) and very decent rise time (3.5 s) and settling
time (6.1 s) along with good transitional behavior from one set point to another in real-time. In
conclusion, a robust real-time operated system was demonstrated by achieving aforementioned
parameters and highly adaptive transitional behavior.
Keywords: PID Control, LabVIEW, Data acquisition, Real-time Control.
Téléchargement