A proportional–integral–derivative controller (PID controller or three term controller) is a control loop feedback mechanism widely used in industrial control systems and a variety of other applications requiring continuously modulated control. A PID controller continuously calculates an error value e(t) as the difference between a desired setpoint SP and a measured process variable (PV) and applies a correction based on proportional, integral, and derivative terms (denoted P, I, and D respectively) which give the controller its name.
In practical terms it automatically applies accurate and responsive correction to a control function. An everyday example is the cruise control on a road vehicle; where external influences such as gradients would cause speed changes, and the driver has the ability to alter the desired set speed. The PID algorithm restores the actual speed to the desired speed in the optimum way, without delay or overshoot, by controlling the power output of the vehicle's engine.
The first theoretical analysis and practical application was in the field of automatic steering systems for ships, developed from the early 1920s onwards. It was then used for automatic process control in manufacturing industry, where it was widely implemented in pneumatic, and then electronic, controllers. Today there is universal use of the PID concept in applications requiring accurate and optimised automatic control.
Fundamental operation
Fig.1 PID control system
A block diagram of a PID controller in a feedback loop. r(t) is the desired process value or setpoint (SP), and y(t) is the measured process value (PV).
The distinguishing feature of the PID controller is the ability to use the three control terms of proportional, integral and derivative influence on the controller output to apply accurate and optimal control. The block diagram on the right shows the principles of how these terms are generated and applied. It shows a PID controller, which continuously calculates an error value e(t) as the difference between a desired setpoint SP = r(t) and a measured process variable PV = y(t), and applies a correction based on proportional, integral, and derivative terms. The controller attempts to minimize the error over time by adjustment of a control variable u(t), such as the opening of a control valve, to a new value determined by a weighted sum of the control terms.
In this model:
· Term P is proportional to the current value of the SP − PV error e(t). For example, if the error is large and positive, the control output will be proportionately large and positive, taking into account the gain factor "K". Using proportional control alone in a process with compensation such as temperature control, will result in an error between the setpoint and the actual process value, because it requires an error to generate the proportional response. If there is no error, there is no corrective response.
· Term I accounts for past values of the SP − PV error and integrates them over time to produce the I term. For example, if there is a residual SP − PV error after the application of proportional control, the integral term seeks to eliminate the residual error by adding a control effect due to the historic cumulative value of the error. When the error is eliminated, the integral term will cease to grow. This will result in the proportional effect diminishing as the error decreases, but this is compensated for by the growing integral effect.
· Term D is a best estimate of the future trend of the SP − PV error, based on its current rate of change. It is sometimes called "anticipatory control", as it is effectively seeking to reduce the effect of the SP − PV error by exerting a control influence generated by the rate of error change. The more rapid the change, the greater the controlling or dampening effect..
Tuning – The balance of these effects is achieved by "loop tuning" (see later) to produce the optimal control function. The tuning constants are shown below as "K" and must be derived for each control application, as they depend on the response characteristics of the complete loop external to the controller. These are dependent on the behaviour of the measuring sensor, the final control element (such as a control valve), any control signal delays and the process itself. Approximate values of constants can usually be initially entered knowing the type of application, but they are normally refined, or tuned, by "bumping" the process in practice by introducing a setpoint change and observing the system response.
Control action – The mathematical model and practical loop above both use a "direct" control action for all the terms, which means an increasing positive error results in an increasing positive control output for the summed terms to apply correction. However, the output is called "reverse" acting if it is necessary to apply negative corrective action. For instance, if the valve in the flow loop was 100–0% valve opening for 0–100% control output – meaning that the controller action has to be reversed. Some process control schemes and final control elements require this reverse action. An example would be a valve for cooling water, where the fail-safe mode, in the case of loss of signal, would be 100% opening of the valve; therefore 0% controller output needs to cause 100% valve opening.
The overall control function can be expressed mathematically as
Although a PID controller has three control terms, some applications use only one or two terms to provide the appropriate control. This is achieved by setting the unused parameters to zero and is called a PI, PD, P or I controller in the absence of the other control actions. PI controllers are fairly common, since derivative action is sensitive to measurement noise, whereas the absence of an integral term may prevent the system from reaching its target value.
The use of the PID algorithm does not guarantee optimal control of the system or its control stability Situations may occur where there are excessive delays: the measurement of the process value is delayed, or the control action does not apply quickly enough. In these cases lead–lag compensation is required to be effective. The response of the controller can be described in terms of its responsiveness to an error, the degree to which the system overshoots a setpoint, and the degree of any system oscillation. But the PID controller is broadly applicable, since it relies only on the response of the measured process variable, not on knowledge or a model of the underlying process.
Simulink Model
The model shown in following figure can be given by this equation:
Fig.2 Simulink Model of PID control system
Result:
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8085 Microprocessor programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
The program takes the content of memory location 2009, adds it with the content of memory location 200A & stores the result back at memory location 200B.
Steps:
1. Initialize HL Reg. pair with address where the first number is lying.
2. Store the number in accumulator.
3. Get the second number.
4. Add the two numbers and store the result in 200B.
5. Go back to Monitor
Steps taken by Microprocessor in executing the program are:
· Let: (2009 H) = 05 H
· (200B H) = 03 H
· Result = 05 H + 03 H = 08 H
Flow of data during the execution can be given as under:
· (2009 H) >> A
· A >> B
· (200B H)>> A
· A + B>> A
· A >>(200C H)
Fig. 1 Flowchart for hexadecimal addition
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8085 kit.
2. Press “1”
3. Press “A”
4. Enter starting address (e.g. 2000)
5. Enter the mnemonics of the program
6. After entering the complete program press “Esc”
7. For entering the data in memory location press “M”
8. After entering the data press “G” following the starting address.
9. Press “.”
10. Then check the result in particular memory location as per step-7
11. To check the content of accumulator – A (or any other registers) press “R” followed by “A”
Conclusion:
The assembly language program for 8 bit addition of two numbers was executed successfully by using 8085 microprocessor kit. It gives the result as per mathematical operation done manually.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8085 Microprocessor programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
The program takes the content of memory location 2009, subtracts it with the content of memory location 200A & stores the result back at memory location 200B.
Steps:
1. Initialize HL Reg. pair with address where the first number is lying.
2. Store the number in accumulator.
3. Get the second number.
4. Subtract the second number from the first and store the result in 200B.
5. Go back to Monitor
Steps taken by Microprocessor in executing the program are:
· Let: (2009 H) = 05 H
· (200B H) = 03 H
· Result = 05 H - 03 H = 02 H
Flow of data during the execution can be given as under:
· (2009 H) >> A
· A àB
· (200A H) >> A
· A - B >> A
· A à(200B H)
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8085 kit.
2. Press “1”
3. Press “A”
4. Enter starting address (e.g. 2000)
5. Enter the mnemonics of the program
6. After entering the complete program press “Esc”
7. For entering the data in memory location press “M”
8. After entering the data press “G” following the starting address.
9. Press “.”
10. Then check the result in particular memory location as per step-7
11. To check the content of accumulator – A (or any other registers) press “R” followed by “A”
Conclusion:
The assembly language program for 8 bit addition of two numbers was executed successfully by using 8085 microprocessor kit. It gives the result as per mathematical operation done manually.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8085 Microprocessor programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
Store one of the data in a register (say C register). Move the second data to accumulator. Move the accumulator content to another register (say B register). Set the data in the C register as a counter. Add the data in B register to the content of accumulator. Decrement the value in C register. Repeat the addition until the value in the counter register C is zero. The final value in the accumulator will be the product of the two values.
Steps:
1. Store the number 05h in Register B.
2. Store the number 03h in Register C.
3. Clear Accumulator
4. Add the content of B to Accumulator.
5. Decrease the value of C by 1 and repeat the step 4 until data in C becomes 0.
6. Store the result in memory location 2012 and register E.
Steps taken by Microprocessor in executing the program are:
· Let: (Reg C) = 05 H
· (Reg. B) = 03 H
· A = 05 H + 05 H + 05H= F H
Flowchart:
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8085 kit.
2. Press “1”
3. Press “A”
4. Enter starting address (e.g. 2000)
5. Enter the mnemonics of the program
6. After entering the complete program press “Esc”
7. For entering the data in memory location press “M”
8. After entering the data press “G” following the starting address.
9. Press “.”
10. Then check the result in particular memory location as per step-7
11. To check the content of accumulator – A (or any other registers) press “R” followed by “A”
Conclusion:
The assembly language program for 8 bit addition of two numbers was executed successfully by using 8085 microprocessor kit. The repeated addition method is used here for multiplication of two numbers. It gives the result as per mathematical operation done manually. The result is available in memory location 2012 and register E after running the program.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8085 Microprocessor programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
Assembly Language Program for 8085 Microprocessor is prepared using following steps. The program is presented in table-1. Fig. 1 shows how character codes are selected for program. Fig. 2 shows schematic diagram for interfacing of LCD display with 8085 μP
Steps:
Step-1
Clear the LCD display by calling the subroutine LECHO.
Step-2
Define register B with 0Fhex to display first 16 characters in first row.
Step-3
Initialize HL to memory pointer of message (2030 Hex).
Step-4
Call PRINTF for displaying of first row of LCD.
Step-5
Set curser to second row (out C0 at address 38 Hex).
Step-6
Call delay 1
Step-7
Set register B to 0C & call PRINTF to display 12 characters in 2nd row.
Assembly Language Program:
Fig. 1 Character Codes to display in LCD
Fig. 2 Interfacing of LCD display with 8085
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8085 kit.
2. Press “1”
3. Press “A”
4. Enter starting address (e.g. 2000)
5. Enter the mnemonics of the program
6. After entering the complete program press “Esc”
7. For entering the data/code in memory location press “M”
8. After entering the data press “G” following the starting address.
9. Press “.”
10. See the output of the display
Conclusion:
The program entered for LCD display to display “ELECTRICAL DEPTT.” in the first row and “WELCOMES YOU” in the second row is executed successfully and LCD display shows the result as per requirement.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8051 Microcontroller programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
Assembly Language Program for 8051 Microcontroller is prepared using following steps. The program is presented in Table-1.
Steps:
Step-1
Read the first decimal number.
Step-2
Read the second decimal number.
Step-3
Add two numbers (Result stores in accumulator).
Step-4
Decimal adjust accumulator.
Step-5
Display the result (in decimal) on LCD display.
Assembly Language Program:
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8051 kit.
2. Following message will display on LCD
COMMAND : A, B, C, D, E, F
G, I, L, M, N, P, R, S, T, Y
3. Press “A”
4. Enter : ASM ORG 3000H (to start the program from location 3000H.
5. Enter the mnemonics of the program using ASCII Keyboard.
6. After entering the program, come out from that process and LCD will display again this:
COMMAND : A, B, C, D, E, F
G, I, L, M, N, P, R, S, T, Y
7. Press “G” to execute the program.
8. Enter : <RAM STARTING ADDRESS> <ENTER>
9. Display will ask for first number for addition. Enter <first number> <ENTER>
10. Now display will ask for second number for addition. Enter <second number> <ENTER>
11. LCD Display will show the result in decimal.
Conclusion:
After executing the program (entered for) decimal number addition in given 8051 microcontroller kit, it asks for first number. After entering first number it asks for second number. After entering the second number it immediately gives the result in decimal.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 8051 Microcontroller programming kit, instruction coding sheet.
2. Power supply A.C (230V Mains)
3. ASCII key board
Assembly Language Program for 8051 Microcontroller is prepared using following steps. The program is presented in table-1.
Steps:
Step-1
Enter the program from specified location
Step-2
Run the program
Step-3
Enter the number (Enter the number when it is asked by controller)
Step-4
LCD display will display the message regarding type of number entered
(Either odd or even)
Assembly Language Program:
Procedure to use the kit:
1. Switch on the power supply and connect ASCII key board to the 8051 kit.
2. Following message will display on LCD
COMMAND : A, B, C, D, E, F
G, I, L, M, N, P, R, S, T, Y
3. Press “A”
4. Enter : ASM ORG 3000H (to start the program from location 3000H.
5. Enter the mnemonics of the program using ASCII Keyboard.
6. After entering the program, come out from that process, LCD will display again this:
COMMAND : A, B, C, D, E, F
G, I, L, M, N, P, R, S, T, Y
7. Press “M” to enter the ASCII codes for message 1 (NUMBER IS ODD) and message 2 (NUMBER IS EVEN).
8. After entering the program, come out from that process and LCD will display again this:
COMMAND : A, B, C, D, E, F
G, I, L, M, N, P, R, S, T, Y
9. Press “G”
10. Enter : <RAM STARTING ADDRESS> <ENTER>
11. Display will ask for number. Enter < number> <ENTER>
12. Now display will show the message as per the type of number entered.
Conclusion:
After executing the program (to decide the number odd or even) in given 8051 microcontroller kit, it asks for number. After entering the number it will display the message depending upon type of number entered. If entered number is odd, the LCD display displays : “NUMBER IS ODD”. If entered number is even, the LCD display displays: “NUMBER IS EVEN”.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1 Proteus software
2. Keil uVision2 software
A Stepper Motor rotates in steps instead of rotating continuously. It may be variable reluctance type or permanent magnet type. It has many applications in the field of robotics and mechatronics. The total rotation of the motor is divided into steps. The angle of a single step is known as the stepper angle of the motor. There are two types of stepper motors; unipolar and bipolar. Due to the ease of operation unipolar stepper motor is widely used. Stepper Motors can be easily interfaced with a microcontroller using driver ICs such as L293D or ULN2003.
Fig. 1 Unipolar stepper motor
Unipolar stepper motors can be used in three modes namely the Wave Drive, Full Drive and Half Drive mode. Each drive have its own advantages and disadvantages, thus we should choose the required drive according to the application and power consumption.
In this mode only one electromagnet is energized at a time. Generated torque will be less when compared to full drive in which two electromagnets are energized at a time but power consumption is reduced. It has same number of steps as in the full drive. This drive is preferred when power consumption is more important than torque. It is rarely used.
Table-I
In this mode alternatively one and two electromagnets are energized, so it is a combination of Wave and Full drives. This mode is commonly used to increase the angular resolution of the motor but the torque will be less, about 70% at its half step position. We can see that the angular resolution doubles when using Half Drive.
Table-II
In this mode two electromagnets are energized at a time, so the torque generated will be larger when compared to Wave Drive. This drive is commonly used than others. Power consumption will be higher than other modes.
Table-III
Interfacing Using ULN2003
This is the circuit diagram of driving a bipolar stepper motor using 8051 microcontroller using ULN2003. 12 MHz crystal is connected to provide the required clock for the microcontroller. 10μF capacitor and 10KΩ is used to provide Power On Reset (POR) for the 8051 microcontroller. ULN2003 is connected to pins P2.0, P2.1, P2.2, P2.3 of the microcontroller. Logic Voltage (5V) is connected to Vss pin and Motor Supply (12V) is connected to the Vs pin of ULN2003. Center Tap of each windings of stepper motor is shorted and connected to the motor supply. Now we can energize each winding of the motor by making corresponding pin of ULN2003 LOW.
Fig.2 Schematic diagram of speed control of stepper motor using 8051 microcontroller
Assembly Language Program:
/********************************
FILE NAME: stepper.c
CHIP TYPE: AT89C51
CLOCK FREQUENCY: 12MHZ
IDE: VSMStudio
COMPILER: IAR for 8051
********************************/
#include “ioAT89C51.h”
// Definition for output port and input pins
#define out_port (P2)
#define key_for (P0_bit.P0_0)
#define key_rev (P0_bit.P0_1)
// Define new types
typedef unsigned char uchar;
typedef unsigned int uint;
void delayms(uint);
// Array of Stepping Sequences
uchar const sequence[8] = {0x02,0x06,0x04,0x0c,0x08,0x09,0x01,0x03};
void main(void)
{ uchar i;
out_port = 0x03;
while(1)
{ // Has the forward key been pressed ?
if (!key_for)
{ i = i<8 ? i+1 : 0;
out_port = sequence[i];
delayms(50);
}
// Has the reverse key been pressed ?
else if (!key_rev)
{ i = i>0 ? i-1 : 7;
out_port = sequence[i];
delayms(50);
}
}
}
void delayms(uint j)
{ uchar i;
for(; j>0; j--)
{ i = 120;
while (i--);
}
}
The new project file in Proteus software is made similar to the schematic diagram shown in Fig.2. it is presented in Fig. 3. The program in C++ is entered in Keil uvision software and run in it. Hex file is made using Keil uvision software. The hex file is loaded in the 8051 microcontroller inserted in the schematic shown in the Proteus software. After running the simulation shown in Fig. 3, we can observe the performance of the stepper motor.
Fig.3 schematic file made in proteus software
Conclusion:
When we run the simulation and press Forward switch as shown in Fig. 3, we can observe that, motor runs in forward direction. When we press again and again the Forward switch, speed of stepper motor also increases. Similarly, press Reverse switch as shown in Fig. 3, we can observe that, motor runs in reverse direction. When we press again and again the Reverse switch, speed of stepper motor also increases in reverse direction.
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar
APPARATUS REQUIRED: -
1. PC with Internet connection
Pre-requisites:-
Basics of Digital Electronics and Boolean Algebra.
Theory:
Evolution of PLC:-
When the first electronic machine control was designed, relays were to control the machine logic.
Relay logic has its own limitations.
1.Less reliability
2.The delay involved in switching of contacts
3.Less flexibility and difficult troubleshooting due to hard wired connection
What is PLC?
A Programmable Logic Controller, PLC, or Programmable Controller is an electronic device used for Automation of industrial processes, such as control of machinery on factory assembly lines. A programmable controller is a digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions for implementing specific functions, such as logic, sequencing, timing, counting and arithmetic, to control various machines or processes through digital or analog input/output devices. Unlike general purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibrations and impacts.
Programs to control machine operation are typically stored in battery-backed or non volatile memory. A PLC is an example of a real time system since output results are produced in response to input conditions within a bounded time, otherwise unintended operation results.
Basic Components of PLC:-
1.CPU and Memory module
2.Power supply
3.Input and output module
4.Programming device
Fig.1 Block diagram of PLC
Digitization is a process where continuous analog signal is converted into a finite number of discrete states. These states are well separated so that noise does not create errors.
The resulting digital signal has following advantages:
1. storage over arbitrary periods of time.
2. flawless retrieval and reproduction of the stored information
3. flawless transmission of the information
Some information is essentially digital. Hence it is natural to process and manipulate such information using purely digital techniques. Examples are numbers and words.
The drawback to digitization is that a single analog signal (e.g. a voltage which is a function of time, like a stereo signal) needs many discrete states, or bits, in order to give a satisfactory reproduction.
Logic
What can a digital circuit do?
The simplest task we can think of is a combinational type of logic decision. For example, we can design a digital electronic circuit to make an instant decision based on some information. Here we emphasize “instant” in the decision making process. That means, the process has no time delay.
X = It is a sunny day? Yes
Y = Is it Sunday or holiday? Yes
Action Z = Go for shopping
The rule is Z = X and Y. The circuit is a simple AND gate .
Each manufacturer of PLC systems has own style of writing the instructions. Different PLCs has different instruction sets but even some common basic instructions are shared by all the PLCs. All manufacturers give different software packages for programming PLCs. Ladder is most commonly used programming language. Prior to PLCs, relay logic was used in industry. Ladders were developed to mimic or imitate relay logic.
Relay Logic / Instructions
A relay is simple magnetic device which acts as a control switch.
When the switch is on, current will flow through the coil on iron piece. This iron core acts a electromagnet and due to the magnetic field upper contact gets attracted towards lower one and circuit gets completed, allowing current to flow from load.
Ladder_Programming
Ladder diagram is popular language of programming the PLCs. Ladder diagram shows the sequence of the logic execution which is presented diagrammatically. In ladder diagram, There are two vertical lines generally called as Phase (positive) or neutral. Rungs which show current flow in horizontal direction are the sequence in which the logic executes. The Analogous to relay, ladder has two main symbols which are contacts and output coil. Generally each rung has inputs (contacts) on left hand side and outputs (coil) on the right hand side. These contacts and coils are called as bits of the relays. Each input and output are individual bit in I/O files. An instruction in ladder instructs PLCs how to respond to the bits in I/O files which are stored in the memory. Input contacts are the condition area, the conditions must be fulfilled to change the status of the output coils.
Fig.4 Ladder Programming
Ladder programming for OR gate:
To represent OR gate using PLC, two switches are connected in parallel to give supply to the load/lamp. When both switches are off the output remains low. If any one or both the switches are ON, output becomes high.
Fig. 5 Simulation of OR gate using PLC
Ladder programming for AND gate:
To represent AND gate using PLC, two series connected switches are used to give supply to the load/lamp. When both switches are ON the output becomes high. If any one or both the switches are OFF, output becomes low.
Fig. 6 Simulation of AND gate using PLC
Conclusion:
The performance of AND and OR gates ladder program made in virtual lab gives output as per the truth table of respective gate. Before running the simulation it is required to compile the program.
After running the simulation, to check the output (for various condition of input), it is required change the logic states of inputs A and B.
Source: http://vlabs.iitb.ac.in/vlab/
Prepared by: Shri H I Joshi (M.Tech - Electrical, PhD - Electrical) LEE, G P Himatnagar
APPARATUS REQUIRED: -
1. PC with Internet connection
Theory:
Evolution of PLC:-
When the first electronic machine control was designed, relays were to control the machine logic.
Relay logic has its own limitations.
1.Less reliability
2.The delay involved in switching of contacts
3.Less flexibility and difficult troubleshooting due to hard wired connection
What is PLC?
A Programmable Logic Controller, PLC, or Programmable Controller is an electronic device used for Automation of industrial processes, such as control of machinery on factory assembly lines. A programmable controller is a digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions for implementing specific functions, such as logic, sequencing, timing, counting and arithmetic, to control various machines or processes through digital or analog input/output devices. Unlike general purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibrations and impacts.
Programs to control machine operation are typically stored in battery-backed or non volatile memory. A PLC is an example of a real time system since output results are produced in response to input conditions within a bounded time, otherwise unintended operation results.
Basic Components of PLC:-
1.CPU and Memory module
2.Power supply
3.Input and output module
4.Programming device
Working of Direct-On-Line (DOL) starter:
One method of starting electric motors is using direct on line (DOL) or across the line starter. In this method full line voltage is applied to the motor terminals. This is simplest type of motor starter. An electrical wiring diagram for single phase DOL starter is shown below.
Fig. 2 Single phase DOL starter
A DOL motor starter contains fuse and over load relay (OLR) for protection purpose. The starter can be contain momentary contact or maintained contact push buttons. The example considered here is momentary contact push buttons. For starting purpose normally open (NO) push button is preferred whereas normally closed (NC) push button is used to stop the motor.
The excessive supply voltage drop causing high inrush current is the criteria to limit the use of DOL starter. Conveyor motors, water pumps are the applications where DOL starters are used.
Procedure
Problem Statement: To start a motor using DOL starter.
The simple P&I; diagram for this problem is as below.
Fig. 3 Motor and two push buttons
Listing of Input and Output devices:
Inputs: PB1- To start the motor
PB2- To stop the motor
Output: M1- Motor
Sequence of Events :
1. When Start push button (PB1) is pressed, Motor (M1) has to start.
2. If Start pushbutton (PB1) is released and Stop pushbutton (PB2) is not pressed, Motor (M1) should remain on.
3. When Stop push button (PB2 is pressed, Motor (M1) has to stop.
4. If stop push button is released and start is not pressed (released) motor should remain off.
The Boolean equation to represent this sequence is
The ladder diagram to implement these equations is shown below.
Fig. 4 Ladder diagram for DOL starter
AS the momentary contact push buttons are used here, the condition of PB1 is maintained through contact of coil C1. This contact is called as latching contact.
Result:
After opening the simulator and making the ladder diagram it is required to compile the connection diagram. It shown in Fig. 5.
Fig. 5 View of simulation diagram before starting the Motor
After running the simulator, and changing the status of switch PB1 from Low to High, Motor starts. It is shown in Fig. 6.
Fig. 6 View of simulation diagram after starting the Motor (with switch PB1)
Conclusion:
The ladder program made in virtual lab works as per requirement of DOL starter. Before running the simulation it is required to compile the program.
Source: http://vlabs.iitb.ac.in/vlab
Prepared by: H I Joshi, M.Tech (Electrical), PhD (Electrical), LEE, GP Himatnagar