KR100972228B1 - Recovery method of remote terminal unit error - Google Patents
Recovery method of remote terminal unit error Download PDFInfo
- Publication number
- KR100972228B1 KR100972228B1 KR1020100039434A KR20100039434A KR100972228B1 KR 100972228 B1 KR100972228 B1 KR 100972228B1 KR 1020100039434 A KR1020100039434 A KR 1020100039434A KR 20100039434 A KR20100039434 A KR 20100039434A KR 100972228 B1 KR100972228 B1 KR 100972228B1
- Authority
- KR
- South Korea
- Prior art keywords
- error
- remote control
- input
- address
- management device
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
The present invention relates to an error recovery system and a recovery method of a remote control / management system such as a water management automation system, and more particularly, to an error recovery system and a recovery method of a remote control / management device using a serial communication format. .
In the water management automation system, data communication between CPU and I / O UNIT is available in several ways. This proposal applies to RTU (Remote Terminal Unit) using serial communication methods (RS232, RS422, RS485, CAN, etc.).
Most of the current automation systems are operated using a remote terminal unit (RTU). Internal system error and external factors may cause system error, requiring power on / off. At present, the operator must visit several KM ~ tens of KM sites and solve the error by operating the power switch.
Common system initializations are hardware and software. Hardware methods are divided into Power on Reset, Switch Reset, and Reset using WDT. Software type is divided into Software WDT Reset and Reset using Reset command.
Problems of internal logic or abnormalities of the system caused by external noise are difficult to solve by software method. In this case, most problems are solved by making a WDT external circuit and making a reset if no signal comes in within a certain time.
However, if the reset logic of the CPU is abnormal due to external noise (especially instantaneous noise such as an impulse), such a reset using WDT may be useless. In particular, power sources are unstable and sources of external noise are more common in many outdoor systems.
In this case, the solution cannot be solved unless the power is on. Most facilities are located several kilometers to several tens of kilometers away from the control station, making it difficult for workers to visit the site. Therefore, when a worker fails to visit a remote RTU power source without a site visit, equipment is required to be automatically restarted. In addition, the equipment is required to automatically restart when an unexpected system error occurs due to an external environment.
An object of the present invention for solving the above problems is that when the remote control / management device due to an unknown cause is an error, it is possible to automatically restart the system to recover the error without visiting the site directly, the external environment It is intended to provide a device and a recovery method that can be easily installed and efficiently managed in a device that is frequently exposed to system errors.
A first aspect of the present invention for solving the above problems is a system power supply; A central processing unit (CPU) for controlling operations of the plurality of external management target devices; An input / output device configured to transmit / receive input / output commands of the plurality of external management target devices through serial communication with the CPU; And a communication interface for communicating with the CPU via the Internet, the remote control apparatus comprising: a communication line detector connected to a serial transmission / reception line connected to the input / output device to monitor a communication state; An error determination unit for inspecting and determining a system error from a signal received from the communication line sensing device; An address input unit configured to store and input an address of the input / output device and to be connected to the error determining unit; And a relay switching device that receives the error signal and shuts down the power of the system power supply of the remote control device to return the system after the error determination unit determines that the system error is a system error.
Here, the error determining unit may include a microprocessor unit for analyzing or determining an error of a system based on information received from the communication line detecting unit, and a flash memory storing an error history of the system. It is preferable to further include a reference time generation circuit for generating a reference time point that the error is connected to.
In addition, the system may be characterized in that the card form or the terminal form.
In addition, the error recovery method of the remote control / management device as a second feature of the present invention (a) detects a communication state by connecting to the serial communication line connected to the input / output (I / O) device of the remote control / management device Making; (b) determining an error of the remote control / management device based on the transmitted / receive signal information of the detected input / output device; (c) transmitting a reset signal to the relay switching device when it is determined that the error is determined; And (d) shutting off and returning power to the remote control / management device connected to the relay switching device by the reset signal.
Here, the step (b) may include: inputting a communication format including an address of the input / output device and setting a maximum number of errors; Extracting the address from the transmitted / received signal information of the detected input / output device; Determining an error count according to whether the set address is included in the signal information; And determining that the error count is a system error when the error count exceeds the preset error count.
In addition, when the remote control / management device is determined to be an error, transmitting the stored error information to the central processing unit of the remote control / management device; The method may further include determining, by the central processing unit of the remote control / management apparatus, an error of the system according to the received error information, and starting a system recovery program corresponding thereto.
Preferably, the step of storing the error history information in the flash memory at the reference time generated by the error reference time generation circuit; And outputting the error history information stored in the flash memory through internet communication.
According to the present invention, when a remote control / management device due to an unknown cause has an error, the error can be recovered by restarting the system automatically without visiting the site, and the system is exposed to the outside nature. It can be easily installed in a device with high error occurrence rate and can be efficiently managed.
In addition, it is possible to increase the reliability of the system by providing better functions at a lower price, and can be selectively used by the user in the form of a card or a terminal.
1 is a block diagram illustrating a configuration of an error recovery system of a remote control / management apparatus according to the present invention;
2 is a block diagram illustrating a configuration of an error recovery system of a remote control / management apparatus as another embodiment according to the present invention;
3 is a diagram illustrating a form of an error recovery system of a remote control / management apparatus according to the present invention;
4 is a flowchart illustrating an error recovery method of a remote control / management apparatus according to the present invention;
5 is a diagram illustrating a flowchart of an error determination method of an RTU apparatus applied to an embodiment of the present invention;
6 is a view showing an example of a serial communication format applied in the present invention.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
1 is a block diagram illustrating a configuration of an error recovery system of a remote control / management apparatus according to the present invention. As shown in FIG. 1, the recovery system of the present invention includes a
In general, a remote control unit (RTU) remote terminal unit (RTU) 100 is a central processing unit (CPU) 110 for generating a control and management signal of the managed device, and serial communication with the
The present invention is connected to the serial communication line (TXD, RXD) in such a remote control / management device, receives the transmission / reception signal of the input / output device, whether the address information of the predetermined input / output device among the signals included or not? Determining a system error through, and if it is determined to be an error, the device to perform an automatic reset to shut off and restore the
As described above, in the present invention, when the remote control /
Referring to FIG. 1, the remote control /
The TXD line and the RXD line are serially connected to determine an error of the
First, a signal is received by a
Serial communication uses protocols such as <start bit> + <data bit string> + <parity> + <stop bit> to transmit one byte like RS-232.
In the RS-232 protocol, what you really want to be passed is <data bitstream>, for the same reason that you add <STX> and <ETX> in the structure of <STX> + 'LON' + <ETX>. <STX> and <ETX> are for the sake of clarity that 'LON' is a command, and is the same structure as <start bit> and <stop bit> in the RS-232 protocol. Later, it sends a <stop bit> to make it clear that the transmission is completed and forms the overall format.
In the present invention, the address of each input / output device is included in the <data bit string> so that it is possible to determine which input / output device is the transmission data. The present invention proposes a structure for detecting a system error of the
2 is a block diagram illustrating a configuration of an
The
When the
And, if it is determined that the system error, the
By providing such a system in the present invention, when the remote control /
In addition, by configuring a single system separately from the
4 is a flowchart illustrating an error recovery method of a remote control / management apparatus according to the present invention. As shown in Figure 4, the error recovery method of the present invention, a) step of detecting a communication state by connecting to the serial communication line connected to the input / output (I / O) device of the remote control / management device (S100) ; (b) determining an error of the remote control / management device based on the transmitted / receive signal information of the detected input / output device (S200); (c) transmitting a reset signal to the relay switching device when it is determined that the error is detected (S230); And (d) shutting down and returning power of the remote control / management device connected to the relay switching device by the reset signal (S400).
That is, it detects the transmission / reception signal by connecting to the serial communication line connected to the input / output device of the RTU device (S100), and determines the error of the system by determining the presence or absence of the address information of the input / output device from the detected signal. And (S200, S250), if it is determined that the error is a method comprising the step (S400) to drive the reset through the relay switching device connected to the entire external input power (S300).
In addition, when it is determined that the error, the error occurrence time is measured and the error history information is stored, and the error information is transmitted to the RTU device by SMS or error data (S355) so that the RTU device can take appropriate measures. Ensure that appropriate responses are made to the environment and circumstances.
Hereinafter, the error determination method of the RTU apparatus applied in the present invention will be described in more detail. 5 is a diagram illustrating a flowchart of an error determination method of an RTU apparatus applied to an embodiment of the present invention. As illustrated in FIG. 5, the microprocessor of the recovery system sets and inputs each address of an input / output device of a preset RTU device, and sets and inputs a maximum number of errors for determining an error of the system (S210).
In addition, the signal received from the RXD line and the TXD line of the RTU device is received or input (S220), the address of each input / output device is extracted from the format (serial communication format) of the signal (S230), and the extracted address It is determined whether is included in the preset address or exists (S235).
If the set address exists, reception of serial communication is continued again, and if it does not exist, it is determined as an error and the number of errors is increased (S240), and if it is larger than the preset maximum number of errors, the system error of the RTU device is determined. (S250)
If it is determined that the system error (S240), the reset signal is transmitted to the relay switching device to perform a reset operation (S310, S330), and transmits the error signal to the RTU device (S400) where the reset operation is a relay switching device. And the external input power source and the RTU device are connected to each other, the power is cut off through the switching device (S310), and then returned to operation (S330).
As described above, in the present invention, the error of the system can be determined by using the address information of each input / output device in the serial communication format used in the RTU device according to the presence or absence of the address information of the communication format received in the communication signal. In this case, the error information is measured by extracting address information from the serial communication lines (TXD, RXD), and when more than the maximum error number, which is a preset system error criterion, it is determined as an error of the RTU system and the power is reset through the relay device. Adopt the method of doing so.
6 is a view showing an example of a serial communication format applied in the present invention. As shown in FIG. 5, the format for communicating between the input / output device and the microprocessor includes address information of each input / output device, and when the corresponding address is not detected, communication with the corresponding input / output device is disconnected. As you can see, you can identify problems with the system.
In this way, the conventional software method Sorftware WDT Reset, Reset command method could not solve the problem of system internal logic or abnormality of the system by external noise, and due to external noise (especially instantaneous noise such as impulse) The problem that could not be solved when the reset logic of the CPU is abnormal is analyzed by analyzing the serial communication format (address of the input / output device) received from the RTU device using the I / O interface using the serial communication as in the present invention. By suggesting a method to restart the system, it is possible to recover the error by automatically restarting the system without visiting the site directly, and it can be easily installed and efficiently managed in a device that is frequently exposed to the external environment. It becomes possible.
While the invention has been shown and described in connection with specific embodiments thereof, it is well known in the art that various modifications and changes can be made without departing from the spirit and scope of the invention as indicated by the claims. Anyone who owns it can easily find out.
100: remote control / management unit (RTU), 110: central processing unit (CPU),
120: input / output device, 130: system power supply, 200: system recovery device,
221: microprocessor (MPU), 223: flash memory, 230: memory,
210: communication line detection unit, 220: error determination unit, 230: I / O address input device,
240: relay switching device, 250: power supply
Claims (8)
Inputting a communication format including an address of the input / output device and setting a maximum number of errors;
Extracting the address from the transmitted / received signal information of the detected input / output device;
Determining an error number according to whether the set address is included in the signal information;
Determining as a system error when the error count exceeds the maximum error count;
Transmitting a reset signal to a relay switching device when it is determined that the system error is detected; And
And turning off the power of the remote control / management device connected to the relay switching device by the reset signal and then returning the power to the remote control / management device.
If it is determined that the system error,
Transmitting the stored error information to the central processing unit of the remote control / management apparatus;
Determining the error of the system according to the received error information in the central processing unit of the remote control / management device, and further comprising the step of operating a system recovery program corresponding to the error of the remote control / management device Recovery method.
Storing error history information in a flash memory at a reference time generated by the error reference time generation circuit; And
And outputting the error history information stored in the flash memory through internet communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100039434A KR100972228B1 (en) | 2010-04-28 | 2010-04-28 | Recovery method of remote terminal unit error |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100039434A KR100972228B1 (en) | 2010-04-28 | 2010-04-28 | Recovery method of remote terminal unit error |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100972228B1 true KR100972228B1 (en) | 2010-07-26 |
Family
ID=42645994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100039434A KR100972228B1 (en) | 2010-04-28 | 2010-04-28 | Recovery method of remote terminal unit error |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100972228B1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101077591B1 (en) | 2011-06-01 | 2011-10-27 | 한국이미지시스템(주) | Total monitoring control system |
KR20180105102A (en) | 2018-09-04 | 2018-09-27 | 에스앤즈 주식회사 | Remote fault recovery system |
KR101940811B1 (en) * | 2018-08-25 | 2019-01-21 | (주)화성정보기술 | Power auto restoration device for observation of communacation port(rs-232) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100674574B1 (en) | 2005-02-04 | 2007-01-26 | 주식회사 한터기술 | Network system for transmission of security information using wireless communication and method thereof |
KR100712957B1 (en) * | 2006-01-27 | 2007-05-02 | 부흥시스템(주) | Distribution automation system with auto-reset device |
-
2010
- 2010-04-28 KR KR1020100039434A patent/KR100972228B1/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100674574B1 (en) | 2005-02-04 | 2007-01-26 | 주식회사 한터기술 | Network system for transmission of security information using wireless communication and method thereof |
KR100712957B1 (en) * | 2006-01-27 | 2007-05-02 | 부흥시스템(주) | Distribution automation system with auto-reset device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101077591B1 (en) | 2011-06-01 | 2011-10-27 | 한국이미지시스템(주) | Total monitoring control system |
KR101940811B1 (en) * | 2018-08-25 | 2019-01-21 | (주)화성정보기술 | Power auto restoration device for observation of communacation port(rs-232) |
KR20180105102A (en) | 2018-09-04 | 2018-09-27 | 에스앤즈 주식회사 | Remote fault recovery system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107342909B (en) | Control system, control method, and recording medium | |
KR101817219B1 (en) | automatic fault sensing system for mechanical parking equipment using IOT apparatus | |
CN105224362A (en) | Host computer carries out the method and system of program upgrade to slave computer | |
CN105140886A (en) | Protective relaying system and method for gathering data using thereof | |
JP5971225B2 (en) | Wireless device, wireless module, interface module, and communication method | |
CN102662782A (en) | Method and device for monitoring system bus | |
KR100972228B1 (en) | Recovery method of remote terminal unit error | |
CN103495979A (en) | Explosive-handling robot controlled through wireless and wired channels | |
US8804750B2 (en) | Field device | |
KR20190078677A (en) | Remote meter reading system, remote meter reading device and remote meter reading method | |
KR101574201B1 (en) | Apparatus and method of seamless smart telecommunication | |
JP2015056875A (en) | Radio communication system and radio controller | |
KR100902808B1 (en) | Debugging terminal with a real-time debugging function for a large scale real-time monitoring system, and debugging system with the same | |
WO2005036493A1 (en) | Remote meter-reading system using in wire and wireless | |
JP2020095362A (en) | Remote monitoring system | |
CN115421801A (en) | Method and system for configuring peripheral parameters through serial port | |
CN115267841A (en) | Fault detection method and device and GNSS positioning equipment | |
CN114244686A (en) | Communication fault detection method, device and system | |
CN113098698A (en) | Communication recovery method, equipment, storage medium and communication interruption restarting device | |
KR101209808B1 (en) | River monitoring rtu system can transmit failure signal | |
CN113759394B (en) | GNSS receiver remote maintenance system, method and storage medium | |
JP7192155B1 (en) | Anomaly detection server, anomaly detection system, and anomaly detection method | |
KR200401936Y1 (en) | Re-booting apparatus of home network system | |
JP7154569B2 (en) | Communication device | |
JP5507836B2 (en) | Wireless alarm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
A302 | Request for accelerated examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |