Upload
usaid-javaid
View
143
Download
2
Tags:
Embed Size (px)
Citation preview
APPLICATION OF SCADA ON AN
11KV/440V K-ELECTRIC DISTRIBUTION
SYSTEM USING SMART RELAY
By:
EE-001: Omer Sayeed
EE-002: Hafsa Abdul Hai
EE-010: Usaid Javaid
EE-029: Ummat Ul Ain (Group Leader)
DEPARTMENT OF ELECTRICAL ENGINEERING
Project Advisors:
Mr. Fezan Rafique (Project Internal Advisor)
Mr. Qazi Arsalan Hamid (Project External Advisor)
Overview
Introduction
MiCom P115 Relay
Communication Via The Rear Port
Communication Via The Front USB Port
Data Extraction
Data Processing
Programming Using Java Script
Programming Using Html
Conclusion
Department Of Electrical Engineering 2
Department Of Electrical Engineering 3
Introduction
The aim of our project is to inform the
control room engineers about the breaker
tripping and the voltage and current values
sensed by the relay.
This can be done by transferring the relay’s
data to a host computer which uploads it on
a web server giving the fault correction
department continuous eyes on supply.
Objectives
To explore the active features of a ‘Smart
Relay’.
Explore and utilize the concept of time
value of money.
To learn different web designing languages
and techniques for the designing of the
web server.
Department Of Electrical Engineering 4
Department Of Electrical Engineering 5
What is MiCom P115 Relay?
MiCom P115 are
numerical relays
designed to offer
over current plus
single, double or
three phase
earth fault and
phase to phase
short circuit
protection.
Department Of Electrical Engineering 6
Features of MiCom P115 Relay
1. Communication Functions
Front USB Port
RS 485 Rear port
2. Measurements and Recordings
3. Protection Functions
4. Input and Output Functions
Department Of Electrical Engineering 7
FUNCTIONAL DIAGRAM OF P115 RELAY
Department Of Electrical Engineering 8
COMMUNICATION VIA THE REAR PORT
There are two models of this relay:
Self-powered Model
Dual-powered Model
Self-powered model powers up only when
internal (i.e. CT current) supply is available
whereas the dual powered model can power up
using auxiliary supply as well.
Department Of Electrical Engineering 9
The rear RS 485 port is operational only in the
dual-powered model of this relay.
This port remains inactive unless the sum of
currents which power up relay isn’t greater than or
equal to:
0.5In= Ia: 0.25In + Ib: 0.25In+ Ic: 0In +IN: 0Ien.
Here,
Ia,Ib and Ic = Phase current values.
In = nominal secondary current of phase CT(5A).
IN = the neutral or residual current.
Ien = the rated secondary current of earth fault CT.
Department Of Electrical Engineering 10
FEATURES OF RS-485 STANDARD
Communication over longer distances
(upto 1200m).
Communication at quicker rates.
Good noise immunity.
Network Topology: Multi-point
Mode of operation: Half Duplex
Department Of Electrical Engineering 11
DISADVANTAGES OF RS-485 PORT
The RS 485 port cannot be utilized to
communicate with a PC directly. So, it can be
converted to RS 232 port for the data
communication.
SPECIFICATIONS OF RS-232 STANDARD
Network Topology: Point-to-point.
Mode of operation: Full Duplex
Department Of Electrical Engineering 12
CONVERSION FROM RS 485 TO RS 232
Department Of Electrical Engineering 13
FEATURES OF THE FRONT USB PORT
Simple to use for end client
Extensive variety of applications
High data transfer rates
Low cost implementation
Department Of Electrical Engineering 14
USB INTERFACE WITH THE USB PORT
A USB client interface MiCom S1 Studio
software is used in the P115 overcurrent relay.
MiCom S1 Studio is an integrated
engineering tool that provides users with the
ability to view the measurement information
and extract all the events and fault records
stored in the relay.
Department Of Electrical Engineering 15
Relay Settings:Baud Rate = 115200 bits per second
Stop bits = one stop bit
Data Bits = 8
Parity = None
These settings can be changed via the HMI panel
or through the USB port.
Measurement and Recordings:Events
Faults
DATA EXTRACTION
Department Of Electrical Engineering 16
DATA PROCESSING
File Conversion from .MS1
format to .CSV Format.
Parsing the CSV file
Transposing the CSV file
Department Of Electrical Engineering 17
FILE CONVERSION FROM .MS1
FORMAT TO .CSV FORMAT
Department Of Electrical Engineering 18
PARSING THE CSV FILE
Department Of Electrical Engineering 19
PARSED OUTPUT
Department Of Electrical Engineering 20
TRANSPOSED OUTPUT
Department Of Electrical Engineering 21
WEBPAGE DESIGNING
1. PROGRAMMING USING JAVASCRIPT
Importing the files.
Reading the files and declare them in
an array.
Selecting data that is to be displayed
on the web page.
Department Of Electrical Engineering 22
Importing the files
<script
src="http://127.0.0.1:8000/jquery.min.js"></script>
<script src="http://127.0.0.1:8000/jquery.csv-
0.71.js"></script>
<script>
function readText(x) {
var rq = new XMLHttpRequest();
rq.open('GET', x , false);
rq.send("");
if (rq.status >= 200 && rq.status < 400) {
return rq.responseText;
}
Reading the files
Department Of Electrical Engineering 23
•Using JavaScript, some specific fields were
selected by accessing the ‘p1’ array where
the imported file was stored.
•The selected fields were: ‘Date’, ‘Time’,
‘Code’ and ‘Line 001’ to ‘Line 009’.
•Each individual value in the CSV file was
accessed using a for-loop.
•For loop was used to display all the events
sequentially.
Selection of Data
Department Of Electrical Engineering 24
The ‘setInterval()’ function achieves this
purpose.
Using this function, the JavaScript code is run
repeatedly after every second.
Each time it runs, the details of an ‘event’ or a
‘fault’ are displayed onto the console window.
After all the events have exhausted,
‘clearInterval’ function breaks the repeated
execution of the ‘setInterval()’ function.
REAL TIME DATA TRANSMISSION
Department Of Electrical Engineering 25
2. PROGRAMMING USING HTML
Linking the Java Script Code
<script></script>
Displaying the data on the
webpage
Styling the webpage
Animating the webpage
Department Of Electrical Engineering 26
DISPLAYING THE DATA ON THE
WEBPAGE
document.write(String that is to be displayed);
Department Of Electrical Engineering 27
STYLING THE WEBPAGE
a. Data Tabulation
Initialization of the table
<table></table>
Rows and Columns
<tr></tr> and <td></td>
Table border and cell spacing
Height and width
Department Of Electrical Engineering 28
TABULATED WEBPAGE OUTPUT
Department Of Electrical Engineering 29
b. Highlighting the cells
bgcolor="#D8D8D8" and bgcolor="#FF0000"
Department Of Electrical Engineering 30
ANIMATING THE WEBPAGE
Properties
Type: Plain Object
Duration (default: 400)
Type: Number or String
Easing (Type: String)
It has two types:
a. Swing
b. Linear
Complete
Type: Function()
.animate(properties,[duration],[easing],[complete])
Department Of Electrical Engineering 31
HOW WILL IT BENEFIT THE
BUSINESS?
Efficient transfer of information
between the relay and the control
room.
Fuel and transportation costs
will be saved.
Labor costs will be saved.
Upgradation of the system
Department Of Electrical Engineering 32
Beneficial for business.
An opportunity for us to study about
the functions and working of Schneider
Electric’s MiCom P115 Relay.
An opportunity to gain an experience
of working with K-electric.
Conclusion
Thank
YouQ/A
Department Of Electrical Engineering 33