# Application of the PID control to the programmable logic controller course

Research output: Contribution to journalConference articlepeer-review

## Abstract

The proportional, integral, and derivative (PID) control is the most widely used control technique in the automation industries. The importance of the PID control is emphasized in various automatic control courses. This topic could easily be incorporated into the programmable logic controller (PLC) course with both static and dynamic teaching components. In this paper, the integration of the PID function into the PLC course is described. The proposed new PID teaching components consist of an oven heater and a light dimming control as the static applications, and the closed-loop velocity control of a permanent magnet DC motor (PMDCM) as the dynamic application. The RSLogix500 ladder logic programming software from Rockwell Automation has the PID function. After the theoretical background of the PID control is discussed, the PID function of the SLC500 will be introduced. The first exercise is the pure mathematical implementation of the PID control algorithm using only mathematical PLC instructions. The Excel spreadsheet is used to verify the mathematical PID control algorithm. This will give more insight into the PID control. Following this, the class completes the exercise with the PID instruction in RSLogix500. Both methods will be compared in terms of speed, complexity, and accuracy. The laboratory assignments in controlling the oven heater temperature and dimming the lamp are given to the students so that they experience the effectiveness of the PID control. The students will practice the scaling of input and output variables and loop closure through this exercise. The closed-loop control concept is emphasized through these exercises. The closed-loop PMDCM control is the last assignment of the PID teaching components. The two PMDCMs are connected back-to-back to form a motor-generator set. The PMDCM generator works as a tachometer to close the velocity loop. The various step responses of the proposed PID controller based on the SLC500 PLC are investigated to decide the optimal tuning of the velocity control loop. The assessment methods are included in the assessment section.

Original language English (US) ASEE Annual Conference and Exposition, Conference Proceedings Published - Jan 1 2009 2009 ASEE Annual Conference and Exposition - Austin, TX, United StatesDuration: Jun 14 2009 → Jun 17 2009

## All Science Journal Classification (ASJC) codes

• General Engineering

## Fingerprint

Dive into the research topics of 'Application of the PID control to the programmable logic controller course'. Together they form a unique fingerprint.