KR100972228B1 - Recovery method of remote terminal unit error - Google Patents

Recovery method of remote terminal unit error Download PDF

Info

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
Application number
KR1020100039434A
Other languages
Korean (ko)
Inventor
김용승
Original Assignee
주식회사 유네트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 유네트 filed Critical 주식회사 유네트
Priority to KR1020100039434A priority Critical patent/KR100972228B1/en
Application granted granted Critical
Publication of KR100972228B1 publication Critical patent/KR100972228B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof

Abstract

PURPOSE: A method for recovering an error of a remote control/management device is provided to recover a remote control/management device by automatically restarting a system without directly visiting a spot when the remote control/management device is broken down due to a not-known reason. CONSTITUTION: A communication state is sensed by connecting an input/output device connected to remote control/management device to a serial communication line. A communication format including the address of an input/output device and the maximum error frequency are inputted(S210). The address is read out from the transmission and reception signal information of the input/output device(S230). The error frequency is judged based on whether or not the address is included(S240). If the maximum error frequency is over the maximum error frequency, a reset signal is transmitted to a relay switching device(S310).

Description

Recovery method of remote control / management unit {recovery method of Remote Terminal Unit error}

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 system power supply 130; A central processing unit (CPU) 10 for controlling operations of the plurality of external management target devices; An input / output device (120) for transmitting / receiving input / output commands of the plurality of external management target devices through serial communication with the CPU; And a communication terminal (140) configured to communicate with the CPU via the Internet, comprising: a serial transmission / reception line (TXD / RXD) connected to the input / output device; A communication line detecting unit 210 connected to monitor a state of communication; An error determination unit 220 for inspecting and determining a system error based on the signal received by the communication line detection unit 210; An address input unit 230 inputted and stored in the address of the input / output device and connected to the error determining unit; And a relay switching device 240 that receives the error signal and shuts off the power of the system power supply 130 of the remote control device 100 when the error determination unit 220 determines that the system error is a system error. do.

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 central processing unit 110 An input / output (I / O) device 120 connected to a line and transmitting / receiving an input / output command signal of an external management target device, the system power supply device 130, and a communication interface for communicating with the outside 140.

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 system power supply 130 of the remote control / management device 100 through the relay switching device 240. .

As described above, in the present invention, when the remote control / management apparatus 100 generates a system error due to an error or an external factor of the internal system, the administrator needs to visit the site directly and reset the power. If an error occurs due to noise, a device such as a watch dog timer (WDT) could not solve the problem by analyzing the signal from the serial communication line of the input / output device to determine the error, and accordingly, to reset the device accordingly. Suggest.

Referring to FIG. 1, the remote control / management apparatus 100 is connected to a serial communication line including a CPU 110, an input / output device, a TXD line, and an RXD line. TXD and RXD are abbreviations generally used for serial communication ports. In serial communication such as RS-232C, three wires are basically used, consisting of RXD for data transmission, TXD for reception, and GND line for reference voltage of signal line. That is, once TXD means a transmission data line, RXD means a reception data line.

The TXD line and the RXD line are serially connected to determine an error of the RTU device 100 and reset through the relay switching device 240. The recovery system 200 according to the present invention includes a communication line detector 210 and an error determiner 220 for determining an error, an address input device 230 of an input / output device included in a communication format, and a power supply device. And a relay switching device 240.

First, a signal is received by a communication line detector 210 connected to a TXD line and an RXD line. In the present invention, a format used in serial communication is a packet format including addresses of the plurality of input / output devices. Consists of. As illustrated in FIG. 4, one example of a serial communication format applied in the present invention includes STX, address, length, data, CRC, and ETX.

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 RTU apparatus 100 and automatically resetting the system, by focusing on the fact that the error of the RTU apparatus 100 can be determined.

2 is a block diagram illustrating a configuration of an error recovery system 200 of a remote control / management apparatus as another embodiment according to the present invention. As shown in FIG. 2, the system of the present invention comprises an error consisting of a serial communication interface 210 connecting the TXD line and the RXD line, a fresh memory 223, and a microprocessor (MPU) 221. The determination unit 220, a memory 230, a reference time generation circuit, an output port (serial output) and the power supply 250 is composed of.

The serial communication interface 210 is connected to the TXD line and the RXD line of the RTU 100 device to receive signals from a plurality of input / output devices, and transmits the signals to the microprocessor 221. The microprocessor (MPU) 221 determines whether an address of an input / output device is included in the communication format of the signal, and if it is not included, treats it as an error. do.

When the microprocessor 221 determines that the system error, the error time is measured by the reference time generation circuit and the error history is stored in the flash memory 223. In addition, the microprocessor 221 stores the address of an input / output device previously stored or input in the memory 230 in order to determine a system error in the serial communication format.

And, if it is determined that the system error, the microprocessor 221 sends a reset signal to the relay switching device 240, the relay switching device 240 and the external input power source and the power supply unit 130 of the RTU device 100 and It is connected to auto reset after power off.

By providing such a system in the present invention, when the remote control / management device 100 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 It can be easily installed in a device with high frequency of system error due to exposure to nature and can be managed efficiently.

In addition, by configuring a single system separately from the RTU device 100 in a simple configuration, it is possible to increase the reliability of the system by providing a better function at a lower price, and can be selectively used by the user in the form of a card or a terminal . 3 is a diagram illustrating a form of an error recovery system of a remote control / management apparatus according to the present invention. Since it can be implemented in the form of a card or a terminal, not only can be selectively applied to various systems, but also has an advantage of easy installation.

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)

delete delete delete delete delete Detecting a communication state by connecting to a serial communication line connected to an input / output (I / O) device of a remote control / management device;
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.
The method of claim 6,
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.
The method of claim 7, wherein
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.





KR1020100039434A 2010-04-28 2010-04-28 Recovery method of remote terminal unit error KR100972228B1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
KR101817219B1 (en) automatic fault sensing system for mechanical parking equipment using IOT apparatus
CN107342909B (en) Control system, control method, and recording medium
JP5971225B2 (en) Wireless device, wireless module, interface module, and communication method
KR100972228B1 (en) Recovery method of remote terminal unit error
CN103495979A (en) Explosive-handling robot controlled through wireless and wired channels
EP2955806B1 (en) Protective relaying system and method for gathering data using thereof
US8804750B2 (en) Field device
KR20190078677A (en) Remote meter reading system, remote meter reading device and remote meter reading method
US20080285461A1 (en) Method for remotely monitoring system
JP2021114701A (en) Server, management device, apparatus management system, apparatus management method, and program
KR101574201B1 (en) Apparatus and method of seamless smart telecommunication
JP2004107044A (en) Elevator remote monitoring system
CN114244686B (en) Communication fault detection method, device and system
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
CN113098698A (en) Communication recovery method, equipment, storage medium and communication interruption restarting device
KR200401936Y1 (en) Re-booting apparatus of home network system
CN106708759B (en) Method for controlling digital input/output interface and processor
KR102436486B1 (en) Network system and the method perceiving and reset of abnormal power
TWI822215B (en) An alarm system and method for narrowband iot terminal
KR101209808B1 (en) River monitoring rtu system can transmit failure signal
JP7154569B2 (en) Communication device
JP7192155B1 (en) Anomaly detection server, anomaly detection system, and anomaly detection method
JP5507836B2 (en) Wireless alarm
CN109889591B (en) Data reading wireless reporting system of water resource flow measuring equipment

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