Professional Documents
Culture Documents
2. Distributed: where the SCADA system is shared across several small computers (usually PCs). Although the disadvantages of the centralized approach above are addressed with a distributed system, the problems are: Communication between different computers is not easy, resulting in configuration problems Data processing and databases have to be duplicated across all computers in the system, resulting in low efficiencies There is no systematic approach to acquiring data from the plant devices if two operators require the same data, the RTU is interrogated twice
A. Redundancy
A typical example of a SCADA system where one component could disrupt the operation of the entire system is given in the diagram below.
If any processes or activities in the system are critical, or if the cost of loss of production is high, redundancy must be built into the system. This can be done in a number of ways as indicated in the following diagrams. The key to the approach is to use the clientserver approach, which allows for different tasks (comprising the SCADA system) to run on different PC nodes. The primary server would constantly communicate with the secondary server updating its status and the
appropriate databases. If the primary server fails, the standby server will then take over as the primary server and transfer information to the clients on the network.
are identical, the message is accepted; otherwise, a retransmission of the original message is requested. A typical example of commonly used asynchronous message format is shown below:
The information field contains 20 bits, of which eight bits are a function code and 12 bits are used for data. For remote-to-master messages, this represents the first message in a sequence, additional messages directly following the first message also transmit information in the RTU address and function code spaces, so that 24 bits of data are transmitted. These 24 bits may contain two 12 bit analog values or 24 device statues. The message termination field contains: BCH (Bose-Chaudhuri-Hocquenghem) security code, which has five bits and allows the receiving logic to detect most message errors. If an error is detected, the message may then be retransmitted to obtain a correct message. End of message mark, which provides the last bit as a mark, so that another message can follow immediately after this message (due to the requirement for a mark-to-space transition for synchronization). A. Information transfer Master-to-remote data transfer Information transmitted from master to remote is for the purpose of device control, setpoint control, or batch data transfer. Due to the possible severe consequences of operating the wrong device or receiving a bad control message, additional security is required for control. This is provided in the form of a sequence of messages, commonly called a select-before-operate sequence, as shown in Figure 3.10
A master-to-remote execute message is transmitted only upon receipt of a proper checkback message. A remote-to- master execute acknowledge message is a positive indication that the desired control action was initiated. The above sequence of messages provides additional security by the check-back and execute messages, since undetected errors must occur in the control, select, check-back, and execute messages in order to operate the wrong control device. Before transmission of the above sequence, a control operator or dispatcher performs a similar select-verifyexecute-acknowledge sequence via his/her control console.
Remote-to-master data transfer All remote-to-master data transfer is accomplished with one basic message sequence by using variations in the field definitions to accommodate different types of data. The basic sequence is shown in Figure 3.12:
The following explanatory notes apply to Figure 3.12: Message establishment and message termination fields are not shown. Function code specifies the type of data to be transferred by the RTU. Data identification Three basic types of data are transferred using the sequence of Figure 3.12: Current data pertaining to the current state of external equipment and processes at the time the data is transmitted to the master station. Data units may be analog values (usually represented by 12 bits per value), binary state of switches (one bit per switch) or the binary state of switches with past changes of state (two bits per switch). Each message may contain many data units of the above types of data, transmitted in predefined order. Messages are usually of fixed length, so that the master station knows the number of data units to expect. If not all data can be transmitted in one message, the master station will request additional messages until all data is received. Transmitted messages containing memory of past changes of state must be protected by a transmit buffer to avoid any loss of data. Data snapshot consisting of information stored at the RTU at some previous instant oftime (usually commanded by the master station or by a local time source at the RTU). Data units may be analog values (usually 12 bits per value), or memory locations (8 or 16 bits per location).
The MAC frame consists of seven bytes of preamble, one byte of the start frame delimiter and a data frame. The data frame consists of a 48-bit source and destination address, 16 bits of length or type fields, data and a 32-bit CRC field. The minimum and maximum sizes of the data frames are 64 bytes and 1518 bytes respectively.
Error detection
Error detection was briefly discussed earlier under protocols. Most error detection schemes involve having redundant bits transmitted with the message to allow the receiver to detect errors in the message bits (and sometimes to reconstruct the message without having to request a retransmission).
A. Causes of errors
Typically a signal transmitted across any form of transmission medium can be practically affected by four phenomena: Attenuation As a signal propagates down a transmission medium its amplitude decreases. This is referred to as signal attenuation. A limit should be set on the length of the cable and one or more amplifiers (or repeaters) must be inserted at these set limits to restore the signal to its original level. Limited bandwidth Essentially the larger the bandwidth of the medium the closer the received signal will be to the transmitted one. Delay distortion When transmitting a digital signal the various frequency components of the signal arrive at the receiver with varying delays between them. Hence the received signal is distorted with the effects of delay distortion. When the frequency components from different discrete bits interfere with each other, this is known as intersymbol interference.This can lead to an incorrect interpretation of the received signal as the bit rate increases. Noise An important parameter associated with the transmission medium is the concept of signal to noise ratio.