Escolar Documentos
Profissional Documentos
Cultura Documentos
Technical Reference
Version 1.0
VPAT-10
The Speed of the AC motor is controlled using Versamax Micro PLC. The PLC acts as a error detector and controller (PID).
The set point is given to PLC and the PLC compares the setpoint (SP) and process variable (PV) from the motor and creates an error value and produces the control variable (CV) to the motor unit. Thus the motor is controlled using PLC. SPEED CONTROL MODULE: This module maintains the speed of AC motor to the set point using PLC. The speed of the motor is measured using optocoupler sensor. The output of optocoupler will be a series of pulses depending upon speed of the motor. This pulses are converted into voltage using frequency to voltage converter. This voltage is a process variable (PV) and is applied to the analog input of PLC. The set point Is given through the software. The PID control action was taken by the PLC and gives the controlled output analog output channel. This controlled output will maintain the speed of AC motor at Its set point. Thus we form a closed loop control using PLC.
[1]
VPAT-10
[2]
VPAT-10
The independent algorithm (PID IND) is the close loop control algorithm. The PID function has six input parameter: a process set point (SP), a process variable (PV) , a manual / auto Booelan switch (MAN), a manual mode up adjustment input (UP), and manual mode down adjustment (DN). It also has an address, which specifies the location of a block of parameters associated with the function. It has two output parameters, a successful Boolean output and the control variable result (CV). If the manual input is true, the PID block is placed in manual mode and the output control variable is set from the Manual command paramter %Ref + 13. If either the UP or DN inputs are true, the manual command word is incremented or decremented by one CV count every PID solution. For faster manual changes of the output control variable, it is also possible to add or subtract any CV count value directly fo / from the manual command word. Parameter Address Description The Variable's address is the location of the PID control block information, which consists of 40 consecutive registers of %R, %P, or %L memory. SP is the control loop set point. Data Type: WORD
SP
PV
PV is the control loop process variable. Data type : word. When energised, the PID function is in MANUAL mode. When energised, if in MANUAL mode, the CV output is adjusted up. When energised, if in MANUAL mode, the CV output is adjusted down.
Use this function to scale an input value and place it in an accumulator. This function has five inputs/parameters. For the integer based version of the function (SCALE-fNT) all the paramets be integer based (signed).
[3]
VPAT-10
This input can either be %R, %AI, %AQ reference memory or constant. It represents the maximum input value. This input can either be %R, %Al, %AQ reference memory or constant. It represents minimum input value. This input can either be %R, %Al, %AQ reference memory or constant. It represents maximum scale value. When the IN input is at the IN Hi value, the accumulator value is the same as the OHI value. This input can either be %R, %Al, %AQ reference memory or constant. It represents the minimum scaled value. When the IN input Is at ILO value, the accumulator value is the same as of the OLO value. This input can either be %R, %Al, %AQ reference memory or constant. It represents the value to be scaled. Process Variable (PV) from the'motor. Control variable (CV) to the motor.
ILO
OHI
OLO
IN
The set point is given to PLC. The- process variable (PV) from the motor is given as input to the Analog input of PLC. The PLC performs, the control operation and gives the control variable (CV) to control AC motor.
[4]
SPEED CONTROL MODULE TRAINER EXPERIMENT AIM To control the speed of the AC motor using Versamax Micro PLC. APPARATUS REQUIRED 1. 2. 3. 4. 5. 6. Speed Control Module Trainer (VPAT-10). Versamax Micro PLC. PC RS-232Cable AC Motor Patch Chords.
VPAT-10
THEORY PID CONTROLLER One of the most powerful but complex controller mode operations combines the proportional, integral and derivative mode. This system can be used for virtually any process condition. The analytical expression is .
Where KP dep / dt KD KI
= = = =
Proportional gain between error and controller Ouptut (% per %) Rate of change of error (%S) Derivative gain constant (% - S/%) Scaling between error and controller output.
[5]
VPAT-10
This mode eliminates the offset of the proportional mode and still provides fast response. The three mode controller action exhibits proportional, Integral and derivative action. RELAY LADDER DIAGRAM
[6]
VPAT-10
= = =
PROCEDURE 1. 2. 3. 4. 5. 6. Load the Versapro Software in PC. Open the Versapro Software. PLC kit is switches ON. Interface PC to PLC through RS-232 cable. Open the New Folder and draw the ladder logic program. Connect the PLC.
[7]
SPEED CONTROL MODULE TRAINER 7. 8. 9. Select the correct hardware configuration [PLC Sl.No] Store the program to PLC.
VPAT-10
Using patch chards, connect the PLC analog output to the input of the PWM (i.e Analog output of the speed control module trainer kit.). Using Patch chards connect the speed control module trainer kit analog input to PLC analog input. Run the program Check the motor speed [1500 rpm].
10.
11. 12.
[8]
VPAT-10
[9]