Relay Description P44x/EN HW/E33
MiCOM P441/P442 & P444
Page 13/44
3. RELAY SOFTWARE
The relay software was introduced in the overview of the relay at the start of this chapter.
The software can be considered to be made up of four sections:
• the real-time operating system
• the system services software
• the platform software
• the protection & control software
This section describes in detail the latter two of these, the platform software and the
protection & control software, which between them control the functional behaviour of the
relay. figure 3 shows the structure of the relay software.
Protection & Control
Software
Disturbance
recorder task
Programables &
fixed scheme logic
Protection task
Fourier signal
processing
Protection
algorithms
Measurements and event, fault
& disturbance records
Platform Software
Protection & control settings
Event, fault,
disturbance,
maintenance record
logging
Remote
communications
interface -
CEI 60870-5-103
Remote
communications
interface - Modbus
Settings
database
Local & Remote
communications
interface - Courier
Front panel
interface - LCD &
keypad
Relay hardware
System services software
Supervisor task
Sampling function -
copies samples into
2 cycle buffer
Sample data & digital
logic input
Control of output contacts and
programmable LEDs
Control of interfaces to keypad, LCD,
LEDs, front & rear comms ports.
Self-checking maintenance records
P0128ENa
FIGURE 3 - RELAY SOFTWARE STRUCTURE
3.1 Real-time operating system
The software is split into tasks; the real-time operating system is used to schedule the
processing of the tasks to ensure that they are processed in the time available and in the
desired order of priority. The operating system is also responsible in part for controlling the
communication between the software tasks through the use of operating system messages.
3.2 System services software
As shown in figure 3, the system services software provides the interface between the
relay’s hardware and the higher-level functionality of the platform software and the protection
& control software. For example, the system services software provides drivers for items
such as the LCD display, the keypad and the remote communication ports, and controls the
boot of the processor and downloading of the processor code into SRAM from non-volatile
flash EPROM at power up.