Professional Documents
Culture Documents
--------------------------------------------------------------------------------------------------------
Experiment#1
Introduction to Siemens PLCs
Object:
Pre lab:
Study the theory behind the Siemens PLCs
Equipments Required:
SIMATIC C7-621, SIMATIC S5-100U, PG 605U Programmer, STEP 7 programming
software.
Procedure:
Create new step 7 software project using SIMATIC Manager program.
Select the C7-621 hardware from SIMATIC 300>>C7.
From the Blocks folder, open the organization block OB1.
1
ENEE512
--------------------------------------------------------------------------------------------------------
Save the symbol table and Exit from the symbol editor.
To change from absolute addressing to symbolic addressing, select the menu
item (View>>Display>>Symbolic Representation) or press (Ctrl+Q) on the
keyboard.
Figure 1.1
2
ENEE512
--------------------------------------------------------------------------------------------------------
Create the same program on SIMATIC S5-100U PLC using statement list
programming as follows. Then test its operation.
A I 0.0
AN I 0.1
S Q 1.0
O I 0.2
O I 0.3
R Q 1.0
Open the timer's folder in the program elements, and check out the
different types of timers. Mark each timer and press F1 to display the
help to that timer.
3
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 1.2
A I 0.0
L KT 5.2
SR T 1
A T 1
= Q 1.0
A T 1
L KT 7.2
SR T 2
A I 0.1
R T 2
A T 2
= Q 1.1
A I 0.1
R T 1
4
ENEE512
--------------------------------------------------------------------------------------------------------
Create the following ladder diagram, then test its operation using PLC
SIMATIC C7-621.
Figure 1.3
A I 0.0
L KC 5
S C 1
A I 0.1
CU C 1
A I 0.2
CD C 1
A C 1
= Q 1.0
A I 0.3
R C 1
5
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 1.4
A I 0.0
CU C 1
A I 0.1
CD C 1
A I 0.2
L KC 10
S C 1
A I 0.3
R C 1
A C 1
= Q 1.0
L C 1
L KC 5
>=F
= Q 1.1
6
ENEE512
--------------------------------------------------------------------------------------------------------
Exercise: Using simatic S5-100U and PG 605U Programmer, write a program that
set an on delay timer to count for 10 seconds, and display the time value (as a
progress bar) on the output port with at least five steps.
Hints:
Timers count down from set value to zero.
Use comparison instructions in your program.
In your program, the comparison must occur only if the timer is set.
You can use KC or KF to load your comparison value to the accumulator.
7
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment#2
Variable Frequency Speed Control
Equipments Required:
DL 2309a1 = Digital controlled inverter
M = Asynchronous three-phase motor with squirrel cage rotor
K2 = Optical transducer
G = Electromagnetic brake
K = Torque meter
PS = Brake power supply
Figure 2.1
8
ENEE512
--------------------------------------------------------------------------------------------------------
Procedure:
1. Connect the motor M to terminals L1 (U), L2 (V) and L3 (W).
2. make the following basic settings of DL 2309a1:
Set both key and LOOP switches to "off".
Set JOG switch to "L".
Set P1=0
Set P2 and P3 potentiometers to desired acceleration and deceleration times
(Add 10s for factory default values of parameters P3 and P4).
Set switch "cw/ccw" to "cw" (cw rotation of the motor shaft).
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY].
4. Set the frequency control from potentiometer P1(Remote Mode: Parameter
P13/ Mode 0) and the desired frequency range programming the digital
control:
Parameter P1 = (0Hz) minimum operation frequency
Parameter P2 = (60Hz) maximum operation frequency
5. Set the inverter maximum output frequency at which maximum voltage is
reached according to motor specific characteristics ( Motor 1.1kW/220V
/50Hz):
Parameter P7 = (50Hz) base frequency
6. Turn "on" the key switch.
Push "start" button and increase the SPEED signal adjusting the
potentiometer P1 to desired speed value.
The motor has to start with the set acceleration ramp and settle to speed
corresponding to the potentiometer P1 value.
7. The motor revolving speed is directly read on the tachometer, the motor speed
can be changed adjusting the potentiometer P1 value.
9
ENEE512
--------------------------------------------------------------------------------------------------------
8. Stop the motor by setting P1=0 or pressing button "stop": after the motor
deceleration according to the set deceleration ramp, the inverter is inhibited
and the motor stops.
9. Set the key switch to "off" and open the rear main switch.
10
ENEE512
--------------------------------------------------------------------------------------------------------
Set the running frequency [50.0]: the max running frequency depends on the
Parameter P2 value.
While in the stopped state pressing the (M) red key will show the current
direction: this direction may be changed by holding down the (M) key while
simultaneously pressing either the ( ) key for forward [Frd] or the ( )
key for reverse [rEU].
7. Now the (E) green key can be used to start the inverter.
8. The motor revolving speed is directly read on the tachometer, the motor speed
can be changed pressing either the ( ) key or the ( ) key.
9. Stop the motor by pressing the (M) red key.
10. To return to Remote Mode [rdY] press ( ) and ( ) simultaneously.
11. Open the rear switch.
Jog Speed
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY] .
4. Set the frequency control for Jog speed and for the motor running speed:
Parameter P8 = (30Hz) running freq. the max running frequency
depends on the Parameter P7 value.
11
ENEE512
--------------------------------------------------------------------------------------------------------
6. Now it is possible to start the motor setting the Jog switch in "H" position: the
motor has to start with the set acceleration ramp and to settle to speed
corresponding to the Jog value.
7. To reverse the direction of rotation of the motor set the "cw/ccw" to "ccw"
position, stop the motor by setting the Jog switch in "L" position. Then open
the rear main switch.
Multistep Control
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY] .
12
ENEE512
--------------------------------------------------------------------------------------------------------
Parameter P8 = (25Hz)
Parameter P9 = (50Hz)
The object of this exercise is the measure of the motor torque versus the absorbed
current for different frequency values.
Connect the circuit in figure 2.2
1. Connect the motor M to terminals L1 (U), L2 (V) and L3 (W) with the ammeter
A to measure the motor current and the voltmeter V to measure the inverter
output voltage.
2. Make the following basic settings of DL 2309a1:
Set the key switch to "off".
Set JOG switch to "L".
13
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 2.2
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY] .
14
ENEE512
--------------------------------------------------------------------------------------------------------
7. Now the (E) green key can be used to start the inverter.
8. Supply the brake and increase the brake setting by 0.5 N.m up to 4N.m, at
each brake setting measure and record in a table the torque, the voltage and the
absorbed current values.
9. Stop the motor pressing the (M) red key and de-energize the brake.
With standstill motor return to Remote Mode [rdY] pressing ( ) and ( )
simultaneously and set the second running frequency f2 = (40Hz)
Change the Parameter P7= (40Hz).
10. Return to the Local Mode [LOC].
Set the second running frequency f2: [40.0].
11. Start again the motor repeating step 7 and make the measurements following
step8.
12. Repeat for new frequency f3:[60.0].
13. Stop the motor pressing (M) key, de-energize the brake and open the rear main
switch.
14. Construct on a graph the power curves T vs I for different frequency values.
15
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 2.3
1. Connect the motor M to terminals L1(U), L2(V) and L3(W) with the ammeter
A to measure the motor current and the voltmeter V to measure the inverter
output voltage.
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY] .
16
ENEE512
--------------------------------------------------------------------------------------------------------
7. Now the (E) green key can be used to start the inverter.
8. Supply the brake and increase the brake setting by 0.5 N.m up to 4N.m, at
each brake setting measure and record in a table the torque , the voltage and
the speed values.
9. De-energise the brake and change the motor speed for a frequency f2 = [25.0]
by pressing the ( ) key.
10. Repeat the measurements following step 8.
11. Stop the motor pressing the (M) key, de-energise the brake and open the rear
switch.
12. Construct on a graph the torque T vs n the speed for the two frequency
values.
The object of this exercise is the measure of the torque-speed curve of the motor-
inverter system.
Connect the same circuit of the previous part.
17
ENEE512
--------------------------------------------------------------------------------------------------------
1. Connect the motor M to terminals L1(U), L2(V) and L3(W) with the ammeter
A to measure the motor current and the voltmeter V to measure the inverter
output voltage.
3. Press both ( ) and ( ) keys simultaneously and then switch on the main
supply closing the rear switch.
The display shows [rSt]: release the two keys.
The parameters are reset to factory defaults.
Press (M) key: now the display shows [rdY] .
7. Now the (E) green key can be used to start the inverter.
18
ENEE512
--------------------------------------------------------------------------------------------------------
8. Supply the brake and increase the brake setting so the motor absorbs a set
current of 4.3A , measure and record in the table the voltage, the speed and
torque values .
9. Decrease the frequency value to 30 Hz value by 5Hz at a time using the ( )
key.
At each frequency setting adjust the brake supply so the absorbed current is
always equal to 4.3A, and measure and record in the table the voltage, the
speed and torque values.
10. Stop the motor pressing the (M) key, de-energise the brake and open the rear
switch.
12. Construct the motor-inverter characteristic curves T vs n and Po vs n.
The object of this exercise is to check the motor speed regulation by tachometric
feedback.
Figure 2.4
19
ENEE512
--------------------------------------------------------------------------------------------------------
1. Connect the motor M to terminals L1(U), L2(V) and L3(W) with the ammeter
A to measure the motor current and the voltmeter V to measure the inverter
output voltage.
20
ENEE512
--------------------------------------------------------------------------------------------------------
7. Supply the brake and increase the brake setting by 0.5 N.m up to 4N.m, at
each brake setting measure and record in a table the torque , the speed and the
output frequency of the inverter shown on the display.
11. Stop the motor pressing the button "stop" and set the key switch to"off", de-
energise the brake and open the rear switch.
12. Construct on a graph the torque T vs n the speed for the different frequency
values.
21
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment # 3
POWER-FACTOR IMPROVEMENT
Object:
To study and examine ways of improving the power-factor of single and 3-phase
induction motors, using capacitors.
Equipment Required:
FH80, FH90.
Voltmeter, Ammeter, Wattmeter.
Capacitors.
Theory:
Power-factor fundamentals:
The usual definition of power factor based on the fact that there are two types of
current in an AC circuit is particularly helpful in understanding the effect of power
factor on system operation and understanding capacitor applications.
Although the following discussion on fundamentals is written around the use of
capacitors because they generally are the most practical and economical means for
improving the PF, these fundamentals also apply to other methods, such as
synchronous motors and condensers.
The current required by induction motors, transformers, fluorescent lights, induction
heating furnaces, resistance welders, etc., may be considered to be made up of two
separate kinds of current: magnetizing current and power-producing current.
Some loads, such as incandescent lights, require only power-producing current.
22
ENEE512
--------------------------------------------------------------------------------------------------------
transformer or across the air gap of an induction motor. The unit of measurement of
magnetizing volt-amperes is the kilovar (kVAR).
Total current is the current that is read on an ammeter in the circuit. It is generally
made up of both magnetizing and power-producing currents. The unit of measurement
of total volt-amperes or "apparent power" is the kilovolt-ampere (kVA).
Most AC power systems require both kilowatts and kilovars.
The following useful formulas apply when kW, kVAR, and kVA are substituted for
their respective currents:
(Kva)2 = (Kw)2 + (Kvar)2
(Kw)2 = (Kva)2 - (Kvar)2
(Kvar)2 = (Kva)2 - (Kw)2
KW Current 2 amp
KVAR
Current
Total
Current
2amp
2.83 amps
What is power-factor:
23
ENEE512
--------------------------------------------------------------------------------------------------------
When the kilovar current in a circuit is reduced, the total current is reduced. If the
kilowatt current does not change, as is usually true, the power factor will improve as
kilovar current is reduced. When the kilovar current becomes zero, all the current is
kilowatt current and therefore the power factor will be 1.0 (unity) or 100%. This could
be done by installing capacitors to supply the load kilovar requirements.
Procedure:
I. Single-phase induction motor.
1. Using FH80, connect the circuit as in fig.(2).
24
ENEE512
--------------------------------------------------------------------------------------------------------
25
ENEE512
--------------------------------------------------------------------------------------------------------
Questions:
Single-phase induction motor
1. Compute the efficiency with capacitors and without and discuss the
results?
2. Complete the table to find Q in case without and with capacitors?
3. Discuss the results of compensation of reactive power when we are
using Y-connection and delta-connection?
4. Compute Q and compare it at the same PF in Y and delta?
26
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment #4
Introduction to Power World Simulator
Part 1:
Inserting a Bus
The most important component of the power system model is the bus. Buses are
used to represent junction points in the power system where a number of devices are
connected together. In building a power system model using Simulator, you will draw
buses onto the oneline diagram, attach devices such as generators and loads to the
buses, and connect different buses together with transmission lines and transformers.
Inserting buses on the oneline diagram is very easy:
Select Insert > Bus from the main menu, or select the Bus button on the Insert Palette.
This prepares Simulator to insert a new bus.
Left-click on the oneline background at the location where you want to place the new
bus. This invokes the Bus Option Dialog.
Use the Bus Option Dialog Box to specify the name, size, orientation, area, zone, and
nominal voltage of the bus, as well as the load and shunt compensation connected to
it.
27
ENEE512
--------------------------------------------------------------------------------------------------------
Click OK on the Bus Option Dialog to finish creating the bus and to close the dialog.
After the dialog box closes, the new bus will appear on the oneline at the location you
specified.
For example, let‟s add a bus to the new case. Select Insert > Bus from the main
menu and click somewhere in the middle of the display. The Bus Options Dialog will
open, inviting you to enter information about the bus. The Bus Number fields will
automatically display „1‟. Simulator requires that each bus have a unique number.
For convenience, we will just accept the default value. In the Bus Name field, enter a
name for the bus with up to eight characters. For this example, enter ONE. Next,
check the System Slack Bus field, which is located toward the bottom of the Bus
Information Tab. The Slack Bus is a modeling construct that ensures that the power
system has enough generation to meet the load. In other words, the slack bus "picks
up the slack" caused by system losses. For now, we will just leave the remainder of
the fields with their default values. Click on the OK button at the bottom of the dialog
to insert the bus. You should now see a single horizontal line in the middle of the
oneline; this is your first bus.
Inserting a Generator
Next we are going to attach a generator to the bus. Generators may be inserted by
following a procedure that is very similar to the one used for inserting a bus:
Select Insert > Generator from the main menu, or click the Generator button on the
Insert Palette.
Left-click the bus on the oneline diagram to which you want to attach the generator.
This brings up the Generator Option Dialog.
Using the Generator Option Dialog, specify the new generator ‟ s unit identifier,
display size, orientation, MW output and limits, reactive power limits, setpoint
voltage, and cost model.
Select the orientation of the generator; this is the direction in which the generator will
extend from the bus.
28
ENEE512
--------------------------------------------------------------------------------------------------------
Click OK on the Generator Option Dialog to finish creating the generator and to close
the dialog. After the dialog box closes, the new generator will appear on the oneline
attached to the bus on which you clicked in step 2.
Check the Anchored checkbox so that when you move the bus around the oneline the
generator will move with it.
Follow this procedure to attach a generator to the slack bus, bus 1. When the
generator option dialog box appears, simply accept the default fields.
To save the work that we have done so far, select File > Save Case from the main
menu, or click on the Save Case button. Before the case is saved, Simulator
validates the case to make sure that it does not contain any errors. Results from this
validation are displayed in the Message Log display, usually shown in the lower right-
hand corner of the display. If the log is not visible, simply click the Log button on
the Program Palette. Since we have not yet named the case, the Save As dialog is
displayed. Enter the filename and select OK. By default the case is saved using the
Power World Binary format (*.pwb). When saving the case in the future, you will
not have to reenter its name. Simulator also asks you to supply a name for saving the
oneline diagram we have been drawing. The oneline diagram files have a default
extension of *.pwd, which identifies them as Power World Display files. Supply the
same name as you gave to the case. Note that, because the case and the oneline are
stored in separate files, multiple onelines can be assigned to the same case, and the
same oneline can be used by many cases.
29
ENEE512
--------------------------------------------------------------------------------------------------------
Edit Bus Load. Enter 200 in the MW Value field and 100 in the Mvar Value field.
Click OK to close the load dialog. Click on the OK button at the bottom of the dialog
to insert the bus.
At this point, the oneline diagram does not show the load at bus 2, even though it is
represented in the power system model (you can confirm this by right-clicking on bus
2, selecting Bus Information Dialog from the resulting local menu, and inspecting the
Load Summary Information fields again). To draw the load on the oneline diagram,
select Insert > Load from the main menu, or select the Load button on the Insert
Palette. Now, left-click the mouse near the right edge of this bus. You should
immediately see the Load Options dialog box , whose Constant Power MW and MVR
fields confirm that the load is 200 MW and 100 MVR. In addition to constant power
loads, Simulator also allows the modeling of voltage dependent load.
The Orientation field determines the orientation of the symbol when it is drawn on
the oneline. Check the Up entry to make the load point up. Also, verify that the
anchored box is checked. By anchoring the load to the bus, the load moves anytime
you move the bus. Then click on the OK button to insert the load. A circuit breaker
symbol is automatically included with each load.
Now, try moving bus 2. To do this click somewhere on the bus (not on the load).
Holding down the left mouse, move the bus (this is known as "dragging"). The load
should move as well, because it is anchored. To reposition the load on the bus, simply
click on the load, and then drag it (holding the left button down) to a new position on
the bus.
Select Insert > Transmission Line from the main menu, or click the Transmission Line
button on the Insert Palette.
Left-click at the point where you want the new line to originate. This point is usually
located on one of the proposed line‟s terminal buses.
30
ENEE512
--------------------------------------------------------------------------------------------------------
Without holding down the mouse button, drag the mouse. You will notice that a line
segment connected to the point of origin will follow your mouse movements.
Transmission lines and transformers are drawn as a series of line segments. To
terminate a line segment, simply click the left mouse button. To begin drawing the
next line segment, simply move the mouse again. Each time you click the mouse to
terminate a line segment; a new vertex is defined for the line. These vertices may
later be moved or deleted to reshape the line. To create curved lines, hold the left
mouse button down while dragging.
To terminate the final line segment comprising the line (and thus conclude drawing
the line), double click the left mouse button at the point where the line should
terminate. The termination point is usually the line‟s other terminal bus. The
Transmission Line/Transformer Dialog will appear.
Specify the new line‟s parameters using the Transmission Line Dialog and click OK.
The new transmission line will appear on the oneline.
We will now insert a transmission line between buses 1 and 2. Select Insert >
Transmission Line from the main menu, and click at the point on bus 1 at which you
would like the line to start. This begins the process of inserting the line. Move the
cursor upwards a short distance and then click the left mouse button to terminate the
first segment. Then move the mouse horizontally until the cursor is above bus two and
click the left mouse button to define the second segment. Finally, move the cursor
down to the location on bus 2 where you would like to attach the line and double-
click. You should immediately see the Transmission Line/Transformer Dialog. The
dialog should already contain a 1 in the From Bus Number field and a 2 in the To
Bus Number Field. The Resistance, Reactance, and Capacitance fields are used to
enter the per unit parameters associated with the line. The Capacitance field contains
the total per unit charging capacitance for the line. Enter a 0.02 in the Resistance
field, 0.08 in the Reactance field and 0.1 in the Capacitance field. The MVA Rating
field contains the MVA rating for the line; enter a value of 1000.
31
ENEE512
--------------------------------------------------------------------------------------------------------
If the dialog did not contain a „1‟ in the From Bus Number field and/or a „2‟ in the To
Bus Number field, you probably did not have the cursor directly on the bus when you
were drawing the line. Simply enter the correct bus numbers.
Finally, click the OK button to insert the transmission line.
By default, the transmission line is anchored to both terminal buses. If you try to
move bus 2, the transmission line should move with it.
Color and behavior of pie charts are set in the Oneline Display Options; right-click
anywhere in the background of the oneline, select Oneline Display Options from the
pop-up menu, and then select the Pie Charts tab.
We will now place circuit breakers on the line. (If the line already has circuit
breakers at each end, then Simulator has been instructed to insert circuit breakers
automatically. You can configure this option from the Default Drawing Options
Dialog). Circuit breakers are used to control the status of the line. Click somewhere
on the line near bus 1. Then select Insert > Circuit Breaker from the main menu, or
select the Circuit Breaker button and then click on the line near bus 1. You should
immediately see the Circuit Breaker Options dialog with the From Bus and To Bus
fields correctly set to „ 1 ‟ and „ 2 ‟ . If they are „0‟, enter the correct value. Set the
Size field to „1‟ (you can either enter a 1, or use the spin arrows in change the value).
Click the OK button to insert the circuit breaker.
32
ENEE512
--------------------------------------------------------------------------------------------------------
In Simulator, the location of the circuit breaker does not matter, because changing the
status of the circuit breaker changes the status of the entire line. However, since most
transmission lines have circuit breakers at each end, we will also place a circuit
breaker near bus 2. To accomplish this, just repeat the above process near bus 2. Save
your case.
For this example, we will add a Name, Bus Voltage Magnitude, Actual Gen MW, and
Actual Gen MVR fields to bus 1, and Name, Bus Voltage, Load MW, and Load MVR
fields to Bus 2. We can accomplish this in four steps. First, right click on bus 1 and
33
ENEE512
--------------------------------------------------------------------------------------------------------
select the Add New Fields Around Bus option, which brings up the Insert Fields
dialog. Because Bus 1 is horizontal, the possible
Positions for the fields we will be adding are shown in the diagram located in the top
right half of the dialog. We will insert the Name field for bus 1 in position 1 and the
voltage field in position 5.
Use the combo boxes to specify assign the Name field to position 1 and the Voltage
field to position 5, and press OK. The name and voltage fields are to the oneline
diagram around bus 1 in the positions we specified. Repeat this same process for bus
2. If necessary, you may move each of the four newly added fields manually with the
mouse. Next add the Actual Gen MW and
Actual Gen MVR fields to the generator at bus 1. Right-click on the generator and
select the Add New Fields Around Gen option to bring up the Insert Fields dialog.
Since the generator is oriented down, the possible positions for the new fields we are
adding are shown in the rightmost illustration on the top half of the dialog. Use the
dropdown boxes to assign Actual MW to position 1 and Actual MVR to position 2.
Finally, let us add the MW and MVR fields for the load at bus 2. Right-click on the
load and select the Add New Fields Around Load option to invoke the Insert Fields
dialog. Since the bus is oriented upward, the relevant position diagram is the second
one from the left. Use the dropdown boxes to assign MW to position 5 and Mvar to
position 6.
Next we will insert fields showing the power flow on the transmission line. Right
click on the line between buses 1 and 2 and select the Add New Fields Around Line
option to bring up the Insert Fields Dialog. Use the dropdown boxes to assign MW
Flow to position 3 and Mvar Flow to position 4, and MW Flow to position 9 and
Mvar Flow to position 10. Click OK to add the fields
to the oneline. You may need to move the newly inserted fields with the mouse to
improve their appearance.
34
ENEE512
--------------------------------------------------------------------------------------------------------
Mode. To start simulating the case, simply select Simulation, Play. Alternatively, to
perform just a single Power Flow Solution,
Click Single Solution on the Program Palette. Try clicking on the load circuit breaker
to toggle the load‟s status. A solid red circuit breaker indicates that it is closed, a
hollow green box indicates it is open. If the Log window is visible, you will get a
“backstage view of what Simulator is doing. Feel free to close the log. Then, with the
load circuit breaker closed, try clicking on a transmission line circuit breaker.
Congratulations, you‟ve just blacked-out your case!
To create another control area, go back to editing by clicking the Edit Mode button.
Then add a third bus located below buses one and two. Set the bus number to „3‟ and
the bus name to „THREE‟. Set the Base MW field to 200 and the Base Mvar field to
100. However, in the Area Number field enters „2‟; in the Area Name field enter
„TWO‟. Entering a number for an area that does not already exist automatically
creates a new area. Next, enter a generator and a load at bus three. Then enter a
transmission line between buses 1 and 3 and another between buses 2 and 3.
For each line enter a 0.02 in the Resistance field, 0.08 in the Reactance field, 0.1 in
the Capacitance field, and 400 in the MVA Rating field.
35
ENEE512
--------------------------------------------------------------------------------------------------------
To verify that the case now has two areas, select Case Information, Case Summary.
The Case Information displays allow you to view the entire case using non-graphical
displays. The Case Summary dialog shows the number of buses, generators,
lines/transformers, and control areas in the case. You cannot modify any of these
values. Now we will make sure that both of the control areas are initially set as being
on automatic generation control (AGC). AGC insures that the generation in the area is
equal to the load plus losses plus and scheduled transactions. Select Case
Information, Areas. The Area display provides a convenient summary of all the
control areas in the case. Similar displays exist for buses, generators,
lines/transformers, etc. Right-click
Anywhere on the record for the first area and select the Show Dialog option. The Area
Display Dialog is shown. Change the Area Name to „ONE‟ and set the AGC Status to
ED Control. Select SAVE to save this information. Next click on the up arrow next to
the right of the Area Number field. This displays the Area Record dialog for the next
area. Set the AGC Status to ED Control,
And select OK to save your changes and close the dialog. Close the Area Records
display as well.
Solve the case using the Run Mode. While the simulation is running, click on the
circuit breakers and note the nearly instantaneous change in system flows.
Case Customization
Simulator allows you to customize your case in a number of different ways. We will
touch on just two of these options in this section.
For example, suppose we want to prescribe how the load should vary over the course
of the simulation. To accomplish this, first switch back to Edit Mode, and then select
Case Information, Others, Load Variation Schedules from the main menu. The
Load Variation Schedule Dialog will appear. Use the Load Variation Schedule Dialog
to define how load should vary over time. These prescriptions are stored as records
which may then be associated with a particular area or areas to govern how the load
changes in those areas during the simulation. At this time, no load schedules exist, and
you will thus have to define one. Designate the Schedule Type as Daily. Then, edit the
table that lists time points and corresponding load scales such that the load scale is
1.000 at hour 0, 0.8 at 06:00, 1.3 at 12:00, 2.0 at 18:00, and back down to 1.000 at
36
ENEE512
--------------------------------------------------------------------------------------------------------
hour 24:00. This load schedule might approximate a control area‟s typical summer
load variation, with peak load occurring in the late afternoon. Then click the Save
Record As button to save the schedule with name Area1Daily. Then, to associate the
Area1Daily load schedule with Area 1, choose Case Information, Areas from the
main menu. Right-click on the record corresponding to area 1 and select the Show
Dialog option. In the resulting Area Information Dialog, designate the load schedule
as Area1Daily. Then, when you restart the simulation, you will find that load in area 1
will vary according to the Area1Daily load schedule. The same load schedule can be
Applied to the other area in the case, or you may define a new load schedule.
As another example of customization, we will explore how to change the animation of
power flows. Select the Animated Flows Options Tab of the Oneline Display Options
Dialog by selecting Options/Tools, Oneline Display from the main menu. Check the
Show Animated Flows box and the Use Fill Color box. Then select the Change Fill
Color button. Select a greenish
color. Then choose OK to close the Color dialog and OK again to close the Oneline
Display Options Dialog. Save the case and again start the simulation in the Run
Mode. You should see the power flowing down the line. Notice that the load in area 1
is changing and that the generation changes as well to maintain the balance between
supply and demand.
Exercise
Construct the oneline diagram of a four bus system, then solve it using Power World
Simulator, use the following data:
Line data
Generation Load
Bus P,MW Q,Mvar P, MW Q,Mvar V, per unit Remarks
1 ----- ----- 50 30.99 1.00 Slack bus
2 0 0 170 105.35 1.00 Load bus
3 0 0 200 123.94 1.00 Load bus
4 318 ----- 80 49.58 1.02 PV bus
37
ENEE512
--------------------------------------------------------------------------------------------------------
From the solution at each bus specify the voltage magnitude and angle, and for each
line specify the losses.
Part 2:
In large cases such this case it is useful to use Area/Zone Filters which allow filtering
of most case information display by area or zones.
To display use Case Information, Area/Zone Filters.
Set all areas to "No" except for area IP.
How many buses are there in this area?
To show the complete power flow information for areas with display filter set to "yes"
use Case Information/Power Flow List.
Another feature is the Quick Power Flow List which can be used to show flow at
individual or a set of buses.
To display use Case Information/ Quick Power Flow List, enter bus number 32353,
what data you got?
38
ENEE512
--------------------------------------------------------------------------------------------------------
For bus number enter 32353, select find by number to view bus info, then select OK
to place the bus.
Repeat this procedure, entering buses 32370 and 32371
Save your case using the default PWB format, the oneline is saved separately as a
PWD file.
Lines between uses can be inserted manually, but it is easier to use automatic line
insertion, select Insert/Auto insert/Lines, select default options then click OK.
You can insert also loads and generators automatically.
Another way to insert buses is the Bus Palette Tool, selects Insert/Show Insert Palette
For/Buses; select a displayed bus to see its displayed and undisplayed neighbors.
Add buses 32364 and 32372, insert transmission lines by selecting insert/auto
insert/lines.
Simulate the case, if all worked fine, you are simulating a 10452 bus case.
Contingency Analysis
Power systems are operated so that overloads do not occur both in real-time and
under any statistically likely contingency. This is often called maintaining system
"security".
Simulator is equipped with tools for analyzing contingencies in an automatic fashion,
contingencies can consist of several actions or elements
- simple example: outage of a single transmission line
- Complex: outage of several lines, a couple generators, and the closure of
normally open transmission line.
39
ENEE512
--------------------------------------------------------------------------------------------------------
Fault Analysis
Analysis of power system parameters resulting from a ground or line to line fault
some where in the system, simulator contains a tool for analyzing faults in an
automatic fashion, can perform single and three phase faults.
Fault types include:
- Single line to ground.
- Line to line.
- Double line to ground.
- Three phase balanced.
The general fault analysis tool can be accessed from the run mode Options/Tools
menu, or from the run mode toolbar.
40
ENEE512
--------------------------------------------------------------------------------------------------------
Open B7FaultExample.pwb, run the Fault Analysis tool from the run mode
Options/Tools menu. From the Fault Data tab, select fault bus number 3, leave as bus
fault, single line to ground, click calculate
Results are displayed on the five tab sheets on the Fault Data page
Copy all the results into excel and comment on them.
Try to figure out other kinds of faults.
Contouring
Contouring is used to analyze large amounts of information all at once, get an
overview at a glance, monitor and present data.
Contour options dialog is used to control the contouring used on a oneline, it can be
viewed by
- contouring option on oneline local menu
- Options/Tools, contouring on main menu
- Toolbar button on Run Mode toolbar
41
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment #5
Three-Phase Banking of Single-Phase Transformers
Object:
To study the phase relationship between primary and secondary windings of a
transformer when connected in different combinations .
Equipments required:
Distribution Transformer Trainer, Voltmeter.
Introduction:
When three single-phase transformers are used to transform a three-phase voltage, the
windings can be connected in several ways. The primaries may be connected in delta
and the secondaries in wye, or vice versa. As a result the ratio of the three-phase input
voltage to the three-phase output voltage depends not only upon the turn's ratio of the
transformers, but also upon how the windings are connected. The figure below shows
various connection configurations.
Figure 5.1
42
ENEE512
--------------------------------------------------------------------------------------------------------
A three-phase transformer bank can also produce a phase shift between the three-
phase input voltage and the three-phase output voltage. The amount of phase shift
depends on the turn's ratio of the transformers, and how the primary and secondary
windings are interconnected.
Procedure:
Figure 5.2
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
Turn off the Distribution Transformer Trainer. Leave this configuration connected so
as to compare it with the next configuration.
43
ENEE512
--------------------------------------------------------------------------------------------------------
Repeat the circuit shown in the previous part, use transformers T4, T5, and T6 and
lines a2, b2, and c2. Connect bushing X2 of transformer T4 to the ground terminal.
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and a2 -------------
- b1 and b2 -------------
- c1 and c2 ---------
Turn off the Distribution Transformer Trainer. Leave the configuration connected To
T1, T2 and T3 so as to compare it with the next configuration, and disconnect the
delta-delta configuration, 0o phase shift on T4, T5 and T6.
Figure 5.3
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a2 and b2 -------------
- b2 and c2 -------------
- c2 and a2 ---------
44
ENEE512
--------------------------------------------------------------------------------------------------------
What can you conclude about the phase shift between lines a1 and a2 ?
Figure 5.4
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
Do your results demonstrate that it is possible to supply a three-phase load with only
two transformers?
45
ENEE512
--------------------------------------------------------------------------------------------------------
Repeat the circuit shown in the previous part, use transformers T4 and T5 and lines a2,
b2, and c2. Connect bushing X2 of transformer T4 to the ground terminal.
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and a2 -------------
- b1 and b2 -------------
- c1 and c2 ---------
What can you conclude about the phase shift between lines a1 and a2 ?
Turn off the Distribution Transformer Trainer. Leave the open-delta configuration
connected to T1 and T2 so as to compare it with the next configuration. Disconnect
the open-delta configuration. 0o phase shift on T4 and T5.
Figure 5.5
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a2 and b2 -------------
- b2 and c2 -------------
- c2 and a2 ---------
46
ENEE512
--------------------------------------------------------------------------------------------------------
What can you conclude about the phase shift between lines a1 and a2 ?
Wye-Delta Connection
Figure 5.6
Turn on the Distribution Transformer Trainer and determine the voltage between
Terminals H1 and H2 of Transformer
- T1 -------------
- T2 -------------
- T3 ---------
47
ENEE512
--------------------------------------------------------------------------------------------------------
What is the phase shift between the primary and secondary voltage?
Turn off the Distribution Transformer Trainer. Leave this configuration connected so
as to compare it with the next configuration.
Wye-Delta vs Wye-Delta
Figure 5.7
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and a2 -------------
- b1 and b2 -------------
- c1 and c2 ---------
What can you conclude about the phase shift between lines a1 and a2 ?
48
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 5.8
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
- a1 and N ------------
- b1 and N -------------
- c1 and N ------------
49
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 5.9
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a2 and b2 -------------
- b2 and c2 -------------
- c2 and a2 ---------
- a2 and N ------------
- b2 and N -------------
- c2 and N ------------
What can you conclude about the phase shift between lines a1 and a2 ?
50
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 5.10
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
Do your results demonstrate that it is possible to supply a three-phase load with only
two transformers?
51
ENEE512
--------------------------------------------------------------------------------------------------------
Delta-Wye connection.
Figure 5.11
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
- a1 and N -------------
- b1 and N -------------
- c1 and N -------------
- A and B -------------
- B and C -------------
- C and A -------------
52
ENEE512
--------------------------------------------------------------------------------------------------------
Wye-Wye Connection.
Figure 5.12
Turn on the Distribution Transformer Trainer and determine the voltage between lines
- a1 and b1 -------------
- b1 and c1 -------------
- c1 and a1 ---------
- A and B -------------
- B and C -------------
- C and A -------------
53
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment # 6
CONTROL OF DC SHUNT MOTOR
Object of Experiment:
1. To study the operation of basic speed control system and observe the
torque/speed characteristics for several settings of the reference voltage.
2. To study the effect of feeding a signal proportional to armature voltage into
the bias circuit of the trigger pulse generator.
3. To study the effect of feeding a signal proportional to armature current into the
bias circuit of the trigger pulse generator.
4. To study the effect of both types of feedback on the performance of the control
system.
SHUNT MOTOR WITHOUT FEEDBACK
1. Connect the armature and shunt field of the motor to the corresponding
terminals on the front panel.
2. Connect the voltmeter and ammeter to measure the mean values of armature
voltage and armature current.
3. Connect the tachogenerator terminals to the speed meter using a jack plug in
the jack socket of the Tachogenerator T100.
4. Do not connect the FLYWHEEL diode.
5. Turn the REFERENCE VOLTAGE to the minimum position.
6. Switch on the supply to the Thyristor Control Unit.
7. Gradually increase the REFERENCE VOLTAGE until the speed of the motor
reaches the maximum value.
8. Check that:
a. The torque indicator is reading upscale when the torque control is
turned up ( if not, reverse the leads to the shunt field ).
b. The speed indicator is reading upscale ( if not, reverse the indicator
leads ).
54
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 6.1
55
ENEE512
--------------------------------------------------------------------------------------------------------
1. Add the connection of armature voltage feed back to the circuit of previous
part.
2. Connect FLYWHEEL diode.
3. Turn the REFERENCE VOLTAGE to the minimum position.
4. Switch on the supply to the Thyristor Control Unit.
5. Gradually increase the REFERENCE VOLTAGE until the motor reaches top
speed.
6. Take readings of motor speed and armature voltage at several settings of
reference voltage. Compare with previous part.
7. Carry out load tests, with constant reference voltage, at 800 and maximum
r.p.m. Increase the torque in steps of 0.05 N.m until the motor stalls. Measure
torque, speed, armature voltage and armature current. Plot speed and armature
current against torque for comparison with graphs already obtained.
8. Observe the following waveforms:
a. trigger pulse
b. armature voltage
Figure 6.2
56
ENEE512
--------------------------------------------------------------------------------------------------------
Figure 6.3
57
ENEE512
--------------------------------------------------------------------------------------------------------
1. Add armature voltage feedback to the circuit of previous part, so that two
feedback signals are applied to the control circuits of the trigger module.
2. Connect FLYWHEEL diode.
3. Turn the REFERENCE VOLTAGE to the minimum position. Select a low
value of CURRENT FEEDBACK.
4. Switch on the supply to the Thyristor Control Unit.
5. Gradually increase the REFERENCE VOLTAGE until the motor reaches top
speed or instability occurs. If stability does not occur increase the amount of
CURRENT FEEDBACK and repeat.
6. Carry out load testes, with constant reference voltage, at the two speeds
selected in previous parts. For each speed setting select the value of current
feedback which just allows stability at no load. Increase the torque in steps of
0.05 N.m until the motor stalls. Measure torque, speed, armature voltage and
armature current. Plot speed against torque for comparison with the results
already obtained.
Figure 6.4
58
ENEE512
--------------------------------------------------------------------------------------------------------
Experiment #7
Control of Conveyor System Using PLCs and
Sensors
Object:
To learn how PLCs are used in automation systems.
To learn how to use sensors in automation systems.
Equipments Required:
SIMATIC S5-100U, PG 605U Programmer, simple conveyor belt, proximity sensor,
switch relays, DC power supply, DC motor.
Procedure:
Figure 7.1
Write the following program and use the proper connections using switch relays to
control the conveyor belt. Use absolute addresses instead of the symbolic addresses.
A START_RIGHT
AN MOTOR_ON_LEFT
S MOTOR_ON_RIGHT
A START_LEFT
AN MOTOR_ON_RIGHT
59
ENEE512
--------------------------------------------------------------------------------------------------------
S MOTOR_ON_LEFT
O STOP
O SENSOR
R MOTOR_ON_RIGHT
R MOTOR_ON_LEFT
In this part, the conveyor belt is used to deliver items to a temporary storage area and
to transport these items from that storage area. Using a proximity sensor, we must
keep track of the number of items in the storage area. When the conveyor belt is on in
the right direction, it delivers items to the storage area, while when it is on in the left
direction, it transport items from the storage area.
Modify the following program and write it and test its operation.
ASTART_DELIVER
AN MOTOR_ON_TRANSPORT
S MOTOR_ON_DELIVER
A START_TRANSPORT
AN MOTOR_ON_DELIVER
S MOTOR_ON_TRANSPORT
A STOP
R MOTOR_ON_DELIVER
R MOTOR_ON_TRANSPORT
A SENSOR
A MOTOR_ON_DELIVER
CU COUNTER
A SENSOR
A MOTOR_ON_TRANSPORT
CD COUNTER
A COUNTER
= ONE_ITEM
L COUNTER
L KC 2
>=F
= TWO_ITEMS
L COUNTER
L KC 3
>=F
= THREE_ITEMS
L COUNTER
L KC 4
>=F
= FOUR_ITEMS
L COUNTER
L KC 5
60
ENEE512
--------------------------------------------------------------------------------------------------------
>=F
= FIVE_ITEMS
L COUNTER
L KC 6
>=F
= FULL
A FULL
R MOTOR_ON_DELIVER
AN COUNTER
R MOTOR_ON_TRANSPORT
61
ENEE512
------------------------------------------------------------------------------------------------------------
Experiment #9
Creating a Program with Function Blocks and Data
Blocks Using Siemens PLCs
Objectives:
To learn how to create a PLC program with function blocks and data blocks using
step 7 software tools. And to test this program using Siemens PLCs.
To show you how to program a function block which can, for example, control and
monitor petrol or diesel engine using two different data blocks.
Equipment Required:
SIMATIC C7-621 PLC, STEP 7 programming software.
Procedure:
Create new step 7 software project using SIMATIC Manager program.
Select the C7-621 hardware from SIMATIC 300>>C7
Open the S7 Program (1) folder and double click on the Symbols icon to open the
symbol table.
Fill the symbol table as follows:
Table 9.1
62
ENEE512
------------------------------------------------------------------------------------------------------------
63
ENEE512
------------------------------------------------------------------------------------------------------------
Enter the following declaration in the variable declaration table. To do this, click
a cell and use the corresponding name and the comment from the illustration
below.
You can select the type with the pop-up menu command Elementary Types using
the right mouse button. When you press Enter, the curser jumps to the next
column, or a new row is inserted.
Table 9.2
64
ENEE512
------------------------------------------------------------------------------------------------------------
Build the following Circuit in FB1. this circuit controls the switching on and off
of the engine.
Figure 9.1
Figure 9.2
65
ENEE512
------------------------------------------------------------------------------------------------------------
In order for you to be able to program the call for the function block in OB1 later on, you
must generate the corresponding data block. An instance data block (DB) is always
assigned to a function block.
The function block is to control and monitor a petrol or diesel engine. The different set
point speeds of the engines are stored in two separate data blocks, in which the actual
value (#Preset _Speed) is changed.
By centrally programming the function block only once, you can cut down on the amount
of programming involved.
Navigate to the Blocks folder and click in the right half of the window with the right
mouse button.
Insert a data block using the pop-up menu with the right mouse button.
Accept all the setting displayed in the "properties" dialog box with OK. The data
block DB1 is added to your project.
Double-click to open DB1.
Activate the option Data block referencing a function block in the "New Data
Block" dialog box.
Confirm the assignment "FB1, Engine" with OK. The LAD/STL/FBD program
window opens with the data from the variable declaration table for FB1. DB1 is
now to contain the data specific to a petrol engine. You still have to enter these
data. First set the Data View.
Next enter the value "1500" for the petrol engine in the Actual Value column (in the
row "Preset_Speed"). You have now defined the maximum Speed for this engine.
Save DB1 and chose the program window.
In the same way as for DB1, generate another data block, DB2, for FB1.
Now enter the actual value "1200" for the diesel engine.
Table 9.3
66
ENEE512
------------------------------------------------------------------------------------------------------------
All the work you have done programming a function block is of no use unless you call
this block in OB1. A data block is used for each function block call, and in this way , you
can control both engines.
Figure 9.3
67
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 9.4
Insert two new network in OB1, and use two move blocks to enter values to the
DE_Actual _Speed and the PE_Actual _Speed.
Navigate to the blocks folder and open it. Then download all the function and data
blocks, and also download OB1 on the SIMATIC C7-621 PLC, and test its
operation.
Note: To download any Block, right click on that Block, and select from the pop-up
menu PLC>> Download.
Enter several values of Actual Speeds, and see the effect on the output.
68
ENEE512
------------------------------------------------------------------------------------------------------------
Experiment 10
Bus bar Simulator
Switchgear system forms a central part in the distribution of energy. Their correct
functioning ensures uninterrupted supplies of electrical energy.
69
ENEE512
------------------------------------------------------------------------------------------------------------
Larger systems and those for supplying particularly important switchgear systems,
employ double busbars.
Procedure
1) Manual Busbar Change (control the busbar simulator manually ).
Connect the Busbar simulator SE 2663-8G at the INPUT and socket N (blue) to a
source of 230 V AC having identical frequency, magnitude and phase to
termination 1 and 2.
Connect the d.c. input voltage ± to 24 V.
Connect the housing to the PE terminal.
The maximum power consumption in the a.c section is in the order of 23 VA and
approximately 0.5 A at 24 V (without PLC) (12 W).
70
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 10.1
All error acknowledge control switch in off-setting (i.e all levers are horizontal, all lamp
are off).
71
ENEE512
------------------------------------------------------------------------------------------------------------
Turn lever of Q31, 900 cw; the lamp lights. Allow the levers to detent and turn a
further 200 until the lamp is extinguished. The Circuit breaker is now switched on
and is connected to busbar I (SS I) .
Switching on Supply 1
3. Switch on power switch Q33 of supply field 1.
-Turn lever of Q33, 900 cw; the lamp lights. Allow the lever to detent and turn a
further 200 until the lamp is extinguished. The power switch is now switched on.
What indication of the bus bar voltage in the test field of busbar 1?
72
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 10.2
Switching sequence
1. Switch on circuit breaker Q61 of supply 2:
- Turn lever of Q61 by 900 cw, detent and turn further until the Acknowledge lamp is
extinguished. Circuit breaker Q61 is now connected to bus bar 1.
2. Switch on power switch Q63 of supply 2.
Now what are the new meters indications? What are the relation between these
readings?
73
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 10.3
74
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 10.4
75
ENEE512
------------------------------------------------------------------------------------------------------------
Coupling busbar I and busbar II
Prequisite: Voltage on SS I and SS II are identical in magnitude, frequency and phase.
Since the coupling field switch is closed and thus, the samepotential is present on
busbars I and II, Circuit breaker Q22 of Output 2 may be switched on and its isolator
Q21, switched off. Although a current is present, no power is being switched, as can be
followed bellow:
The coupling field must now be switched back to its neutral position.
The switching sequence described below must be followed:
76
ENEE512
------------------------------------------------------------------------------------------------------------
Figure 10.5
2) Automatic bus busbar Change, using a PC.(Control the bus bar simulator using
computer).
In this method we can switch on or off the bus bar components simply using the mouse
by clicking on the desired element.
77