ELK415E Chapter 2.1 introduction-to-MPS
ELK415E Chapter 2.1 introduction-to-MPS
ELEK455E COMPUTER
NETWORKS FOR POWER
SYSTEMS
ELK455E ELEKTRİK ŞEBEKELERİ İÇİN
BİLGİSAYAR AĞLARI
CHAPTER 0:
AN INTRODUCTION TO COMPUTER SYSTEMS
ITU, O USTA 1
COMPUTER SYSTEMS
Sampling Unit
A/D Converter
VTS & CTs
Power
Interface Network
Computer
System
Digital System High Voltage
Very Low Voltage,
±10V &Analog
Computer is used for:
Power System Monitoring, Power System Protection & Control,
Communication for Power Systems, Power System automation,
Power System Management ITU, O USTA 2
COMPUTER SYSTEMS
BINARY SYSTEM
Bit (digit): the smallest unit of data that a computer uses
(microprocessors). It can be used to represent two states of
information, such as Yes or No (0,1), open or close (0,1).
Byte: is equal to 8 Bits. A Byte can represent 256 (28) states of
information, for example, numbers or a combination of
numbers and letters. 1 Byte could be equal to one character.
Word: the number of bits that a CPU can process at one time
depends on the width of the CPU’s registers and that of the
data bus.
-if the width of the data bus is 16 bits, then a word is 16 bits;
-if the width of the data bus is 32 bits, then a word is 32 bits.
-Usually 16-bits is called a word. 32- bits is called a double
word, 64-bits is called a long word.
ITU, O USTA 5
BINARY SYSTEM
1 byte = 8 bits
1 kilobyte (K / Kb) = 1,024 bytes
1 megabyte (M / MB) = 1,048,576 bytes
1 gigabyte (G / GB) = 1,073,741,824 bytes
1 terabyte (T / TB) = 1,099,511,627,776 bytes
ITU, O USTA 6
BINARY SYSTEM
Data coding techniques are used to convert alphanumeric
characters into binary numbers.
Data codes are also called character sets or character codes.
Various character codes have been used in data
communication including:
Morse, Baudot
EBCDIC, ASCII
Unicode
The morse code was the first code and designed with a
telegraph operator in mind, the operator sends
combination of a short beep and a long beep to transmit
each character.
ASCII CODE: The American Standard Code for
Information Interchange (ASCII) is the most common
code for communications between microcomputers. ITU, O USTA 7
DATA CODING
ITU, O USTA 8
UNICODE
• Designed to support international languages:
• Uses a 16-bit code for total of 65,536 possible characters.
• Incorporates ASCII in first 128 codes
• Incorporates LATIN in first 256 codes
• Support found in newer hardware & software, especially web
technologies (e.g., JAVA, XML, HTML).
ITU, O USTA 9
ITU, O USTA 10
COMPUTER-BASED SYSTEM
A Basic computer system consist of a Central processing
unit (CPU or Microprocessor), main memory (RAM and
ROM), input/output (I/O) unit.
Main memory
(I/O) unit
Address bus
CPU
Data bus
Control Bus
ITU, O USTA 11
ITU, O USTA 12
CPU/MPU MICROPROCESSORS
• The world's first microprocessor, the Intel 4004, was a
4-bit microprocessor-a programmable controller on a
chip-that was meager by today's standards.
• It addressed a mere 4096 4-bit memory locations.
• Its instruction set contained only 45 different
instructions.
• Microprocessors that are common today include the
8086/8088, which were the first 16-bit microprocessors.
• Following these early 16-bit machines were the 80286,
80386, 80486, Pentium, Pentium Pro, Pentium II,
Pentium III, Pentium 4, and Core2 processors.
• The architecture has changed from 16 bits to 32 bits and,
with the Itanium, to 64 bits.
ITU, O USTA 13
2. Main Memory
physical devices used to store data or programs (sequences
of instructions) on a temporary or permanent basis for use in
an electronic digital computer.
Computer main memory comes in two principal varieties:
random-access memory (RAM) and read-only memory
(ROM).
RAM can be read and written to anytime the CPU
commands it, but ROM is pre-loaded with data and software
that never changes, so the CPU can only read from it.
ROM is typically used to store the computer's initial start-up
instructions.
In general, the contents of RAM are erased when the power
to the computer is turned off, but ROM retains its data
indefinitely.
In a PC, the ROM contains a specialized program called the
BIOS that orchestrates loading the computer's operating
system from the hard disk drive into RAM whenever the
computer is turned on or reset.
ITU, O USTA 14
Memory Classification
Onetime programmable
Electronically Erasable
PROM
ITU, O USTA
15
3. I/O Unit
Input/output (I/O), refers to the communication
between an information processing system (such as a
computer), and the outside world possibly a human, or
another information processing system.
Inputs are the signals or data received by the system,
and outputs are the signals or data sent from it
Devices that provide input or output to the computer
are called peripherals
On a typical personal computer, peripherals include
input devices like the keyboard and mouse, and output
devices such as the display and printer. Hard disk
drives, floppy disk drives and optical disc drives serve
as both input and output devices. Computer
networking is another form of I/O.
ITU, O USTA 16
ITU, O USTA 18
CONTROL UNIT
ITU, O USTA 19
BUS SYSTEM
a subsystem that transfers data between computer
components inside a computer or between computers.
The three components – MPU, memory, and I/O – are
connected by a group of wires called the BUS
Address bus
consists of 16, 20, 24, or 32 parallel signal lines (wires) -
unidirectional
these lines contain the address of the memory location to read or
written
Control bus
consists of 4 to 10 (or more) parallel signal lines
CPU sends signals along these lines to memory and to I/O ports
examples: Memory Read, Memory Write, I/O Read, I/O
Write
Data bus
consists of 8,16, or 32 parallel signal lines
bi-directional
only one device at a time can have its outputs enabled,
this requires the devices to have three-state output ITU, O USTA 20
Memory Modelling
Word Size
Address Contents
00000000H 1 0 1 0 1 0 010001010 0
00000001H 1 1 1 0 1 110101011 1 0
00000002H 1 0 1 1 1 0 010101011 1
00000003H 110101011 0 1 1 1 1 0 1
00000004H 1 1 101010101 1 1 0 0 1 Memory Location
00000005H 1 0101010111 1 1 10 0 1
00000006H 111100101 0 1 1 1 1 1 1
Address Bus length 110101011 1 1 1 1 0 0 1
FFFFFFFDH
FFFFFFFEH
FFFFFFFFH 111100101 0 1 1 1 1 1 1
ITU, O USTA 23
ITU, O USTA 24
ITU, O USTA 25
COMPUTER SOFTWARE
ITU, O USTA 26
COMPUTER SOFTWARE
Application Software: designed and created
to perform specific personal, business,
scientific processing tasks.
Word Processors
Word perfect
Microsoft Word
Electronic Spreadsheet
Lotus 1-2-3
MS EXCEL
FRAMEWORK
ITU, O USTA 27
Embedded System
An embedded system is a special-purpose
computer system designed to perform one or a
few dedicated functions often with real-time.
ITU, O USTA 29
Digital
signals Interface Analog signals Power
IED Unit Networks
ITU, O USTA 32
Digital Digital
Inputs outputs
HMI
ADC LCD
Analog Analog
Inputs LEDs O KEY Outputs
USB Jacks
RS485 MODBUS RTU/60870-103
Time
Communications
Synch
IEC 61850
Ethernet Communications
Local Communications
Power
Supply
I. System Software:
• HMI Software (for USB, LCD, Operation Keys,
LEDs)
• Data Acquisition and Collection Software,
• Remote Communications Software (using one or
more of following protocols MODBUS RTU,
MODBUS TCP/IP, DNP3, IEC60870-103,
IEC61850),
• Others.
II. Application (Functionas) Software
• Meaurement, monitoring, protection, operation,
mangement.
ITU, O USTA 34
Station Host
Computer RTU
Midle Layer
MODBUS
MODBUS
RTU
RTU
Lower Layer
Electrical
Network
Modbus TCP/IP
Sub-station Operation Center
Host N
MODBUS RTU/IEC61850
Middle Layer
Sub-stations
Internet Host 2
Sub-station Sub-stations
Host N host 3
MODBUS RTU
LAN Bus Bar
a
b
IED1 IED2 IED 3 IED Interface c
…… 32
4i, 4v
Home Energy
Remote Reading of Management
Electricity Meters
THANKS
ITU, O USTA 40