FUNCTION CHARACTERISTICS
19
NA016 - Manual - 05 - 2022
4.2
SOFTWARE DESCRIPTION
The program which handles operation of the Pro-N relays is made up of three fundamental elements
shown in the following block diagram.
Kernel
The kernel represents the nucleus of the system: it includes the processing functions closest to the
electronic circuits; particularly the algorithms providing for the generation of the synchronisms (tim-
ers) for sampling the analogue signals and numerical processing.
The software is structured with interrupts operating with various priority levels in a non “pre-emp-
tive” task system. By means of Discrete Fourier Transform calculation, based on 32 samples/period,
information is deduced in relation to the amplitude and phase of all the current measurements; these
are constantly updated and at the disposal of all the protection and control application algorithms.
In addition, the kernel manages a service communication protocol known as Basic Protocol (BP).
Drivers
The driver library contains all the specialised modules for the command and control functions which
make up the connection ring between the kernel and the application. Examples of drivers include the
Modbus communication and LCD display modules.
Application
The application contains all the elements which carry out the protection and control functions.
The main modules are:
- diagnostic function,
- input management (logical inputs and block signal),
- protective functions,
- event recording,
- output management (output relays, LEDs and block signals).
Each element (Kernel, Drivers and Application) may, in turn, be split into modules:
Base protocol (kernel)
The module known as the Basic Protocol (BP) manages the service communication between the
kernel and the other modules through the communication buses:
- direct for internal functional call,
- SPI over synchronous serial,
- SCI over asynchronous serial.
The activities which may be performed by means of BP include:
- measurement configuration ,
- measurement reading,
- measurement enabling.
Calibration (kernel)
Calibration is performed using the base protocol functions for coordinating the calibration and test-
ing stages with the automatic testing equipement (ATE).
Communication (drivers)
The protective device implements the MODBUS RTU protocol for communicating via the RS232 inter-
face with the ThyVisor setting software and via the RS485 interface with the field bus.
All major codes according to the Modbus standard are envisaged; for a complete description and
map of the addresses, please refer to the appendix mentioned further in this manual.
MMI (drivers)
This handles the menus, available both on the panel and by means of Modbus messages, which
may be run from commands using the keyboard, LEDs and LCD display.
MMI information is stored in EEPROM and may be loaded remotely by means of the basic protocol
functions.
sw.ai
APPLICATION
DRIVERS
timers
KERNEL
sampling