KR102025736B1 - Device and method for remotely diagnosing programmable logic controller - Google Patents

Device and method for remotely diagnosing programmable logic controller Download PDF

Info

Publication number
KR102025736B1
KR102025736B1 KR1020190050373A KR20190050373A KR102025736B1 KR 102025736 B1 KR102025736 B1 KR 102025736B1 KR 1020190050373 A KR1020190050373 A KR 1020190050373A KR 20190050373 A KR20190050373 A KR 20190050373A KR 102025736 B1 KR102025736 B1 KR 102025736B1
Authority
KR
South Korea
Prior art keywords
plc
plc device
output data
data
similarity
Prior art date
Application number
KR1020190050373A
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 KR1020190050373A priority Critical patent/KR102025736B1/en
Application granted granted Critical
Publication of KR102025736B1 publication Critical patent/KR102025736B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0283Predictive maintenance, e.g. involving the monitoring of a system and, based on the monitoring results, taking decisions on the maintenance schedule of the monitored system; Estimating remaining useful life [RUL]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • G05B19/4187Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow by tool management
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0224Process history based detection method, e.g. whereby history implies the availability of large amounts of data
    • G05B23/0227Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions
    • G05B23/0235Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions based on a comparison with predetermined threshold or range, e.g. "classical methods", carried out during normal operation; threshold adaptation or choice; when or how to compare with the threshold
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

According to one embodiment of the present invention, provided is a PLC remote diagnosis device, which can perform wireless communication with a PLC device set as a diagnosis target to transmit input data for remote diagnosis to the PLC device, receive output data for the input data from the PLC device, and determine whether the PLC device has a failure based on the output data, or predict a failure time point of the PLC device based on multiple types of output data which are accumulated and stored.

Description

PLC 원격 진단 장치 및 방법{DEVICE AND METHOD FOR REMOTELY DIAGNOSING PROGRAMMABLE LOGIC CONTROLLER}PLC remote diagnostic device and method {DEVICE AND METHOD FOR REMOTELY DIAGNOSING PROGRAMMABLE LOGIC CONTROLLER}

본 발명은 PLC 원격 진단 장치 및 방법에 관한 것으로, 더욱 상세하게는 PLC를 원격으로 진단하여 현장 방문 없이도 PLC 모듈을 간편하게 진단할 수 있는 전력선통신 원격 진단 장치 및 방법에 관한 것이다.The present invention relates to a PLC remote diagnostic apparatus and method, and more particularly to a power line communication remote diagnostic apparatus and method that can easily diagnose the PLC module without a site visit by remotely diagnosing the PLC.

PLC(Programmable Logic Controller)는 디지털 또는 아날로그 입출력 모듈을 통하여 로직, 시퀀싱, 타이밍, 카운팅, 연산과 같은 특수한 기능을 수행하기 위하여 프로그램 가능한 메모리를 사용하고 여러 종류의 기계나 프로세서를 제어하는 디지털 동작의 전자장치로, 입출력부, 저장부, 연산 제어부 등을 갖추어 컴퓨터와 유시한 기능을 수행하는 시퀸스 제어 장치이다.Programmable Logic Controllers (PLCs) are digital electronic controllers that use programmable memory to control special functions such as logic, sequencing, timing, counting, and computation through digital or analog I / O modules, and control various types of machines or processors. The device is a sequence control device having an input / output unit, a storage unit, an operation control unit, and the like, which performs a similar function with a computer.

PLC는 주로 산업용 제어업무에 사용되는 장치로서 높은 신뢰성과 간편한 제어 소프트웨어, 유지 보수의 간편성, 저렴한 가격 등의 특징을 갖고 있기 때문에 많은 분야에서 이용하고 있으며, 그 적용 분야로는 대, 중, 소규모의 공장자동화나 송유관 가스관의 감시제어, 각종 시퀸스 제어 등에 사용되고 있다.PLC is mainly used for industrial control work, and it is used in many fields because of its features such as high reliability, simple control software, ease of maintenance, and low price, and its applications are large, medium and small. It is used for factory automation, monitoring and control of oil pipeline gas pipe, and various sequence control.

이러한 PLC는 고장 진단시 사람이 현장에 나가 직접 PLC에 노트북 및 로더(LOADDER)를 접속하고 테스트를 통하여 이상 유무를 확인하였다. 즉, 현장에 직접 가서 정기적으로 테스트함으로써, PLC 모듈의 고장 여부를 확인하는 것은 많은 인력을 필요로 하고, 그에 따른 인력 낭비, 시간 낭비, 비용 낭비를 발생하는 문제가 있다.When the PLC diagnoses a fault, a person goes out to the field and directly connects a laptop and a loader to the PLC and checks for abnormalities through a test. That is, by going directly to the site and regularly testing, checking whether the PLC module is broken requires a lot of manpower, and there is a problem in that manpower waste, time waste, and cost waste are caused.

한국등록특허 제10-0823720호Korean Patent Registration No. 10-0823720 한국등록특허 제10-0549216호Korea Patent Registration No. 10-0549216

본 발명의 일측면은 사용자가 원격에서도 PLC의 고장여부를 편리하게 진단할 수 있을 뿐만 아니라 PLC의 열화 발생 빈도에 따라 PLC의 고장 시점을 신뢰성 있게 예측할 수 있는 PLC 원격 진단 장치 및 방법을 제공한다.One aspect of the present invention provides a PLC remote diagnosis device and method that allows a user to conveniently diagnose whether or not a PLC failure is remote, as well as to reliably predict a failure point of a PLC according to a frequency of degradation of the PLC.

본 발명의 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problem of the present invention is not limited to the technical problem mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명의 일 실시예에 따른 PLC 원격 진단 장치는, 진단대상으로 설정된 PLC 장치와 무선 통신을 수행하여, 상기 PLC 장치로 원격 진단을 위한 입력 데이터를 전송하고, 상기 PLC 장치로부터 상기 입력 데이터에 대한 출력 데이터를 수신하는 측정부 및 상기 출력 데이터를 기초로 상기 PLC 장치의 고장여부를 판단하거나, 누적 저장된 복수의 상기 출력 데이터를 기초로 상기 PLC 장치의 고장 시점을 예측하는 진단부를 포함할 수 있다.The PLC remote diagnosis apparatus according to an embodiment of the present invention performs wireless communication with a PLC device set as a diagnosis target, transmits input data for remote diagnosis to the PLC device, and transmits the input data for the input data from the PLC device. The apparatus may include a measuring unit configured to receive output data and a diagnosis unit configured to determine whether the PLC device is faulty based on the output data, or to predict a failure point of the PLC device based on a plurality of accumulated and stored output data.

상기 진단부는, 상기 출력 데이터를 미리 설정된 기준 구간과 비교한 결과에 따라 상기 PLC 장치의 고장여부를 판단하거나 상기 PLC 장치의 고장 시점을 예측할 수 있다.The diagnosis unit may determine whether the PLC device is faulty or predict a failure point of the PLC device according to a result of comparing the output data with a preset reference section.

상기 진단부는, 상기 출력 데이터가 제1 기준 구간에 포함된 것으로 확인되면 상기 PLC 장치가 고장인 것으로 판단하되, 상기 출력 데이터가 상기 제1 기준 구간보다 낮은 제2 기준 구간에 포함된 것으로 확인되면 상기 PLC 장치가 열화된 것으로 판단하여 열화 상태로 판단된 시점에 수신된 출력 데이터를 고장 시점 예측을 위한 히스토리 데이터셋에 포함시킬 수 있다.The diagnosis unit may determine that the PLC device is out of order when it is determined that the output data is included in the first reference section, and when it is determined that the output data is included in a second reference section that is lower than the first reference section. It may be determined that the PLC device is deteriorated, and the output data received at the time determined as the deteriorated state may be included in the history data set for predicting the failure point.

상기 진단부는, 상기 출력 데이터가 상기 제2 기준 구간에 포함된 지속 시간을 측정하여, 상기 출력 데이터가 상기 제2 기준 구간에서 미리 설정된 기준시간 이상 지속되는 경우 상기 출력 데이터를 상기 히스토리 데이터셋에 포함시킬 수 있다.The diagnostic unit measures the duration of time that the output data is included in the second reference section, and includes the output data in the history data set when the output data lasts more than a preset reference time in the second reference section. You can.

상기 진단부는, 상기 제2 기준 구간의 크기에 반비례하여 상기 기준시간을 설정할 수 있다.The diagnosis unit may set the reference time in inverse proportion to the size of the second reference section.

상기 진단부는, 상기 히스토리 데이터셋에 포함된 복수의 출력 데이터의 시계열적 변동추이를 기초로 상기 PLC 장치의 고장 시점을 예측할 수 있다.The diagnosis unit may predict a failure point of the PLC device based on a time series variation of a plurality of output data included in the history data set.

상기 측정부는, PLC 장치의 종류별로 최적화된 입력 데이터를 전송하도록, 서로 다른 복수의 입력 데이터가 미리 저장되며, 상기 PLC 장치로 상기 입력 데이터를 전송하기 전에 테스트 신호를 전송하여 상기 테스트 신호에 대한 응답 신호를 분석하여 미리 저장된 복수의 입력 데이터 중 상기 PLC 장치로 전송할 입력 데이터를 동적으로 설정할 수 있다.The measuring unit may store a plurality of different input data in advance so as to transmit optimized input data for each type of PLC device, and transmit a test signal before transmitting the input data to the PLC device to respond to the test signal. The signal may be analyzed to dynamically set input data to be transmitted to the PLC device among a plurality of prestored input data.

또한, 본 발명의 일 실시예에 따른, 진단대상으로 설정된 PLC 장치와 무선 통신으로 연결되어 상기 PLC 장치를 원격으로 진단하는 PLC 원격 진단 장치에 의해 수행되는 PLC 원격 진단 방법은, 상기 PLC 장치로 원격 진단을 위한 입력 데이터를 전송하고, 상기 통신부를 통해 상기 상기 PLC 장치로부터 상기 입력 데이터에 대한 출력 데이터를 수신하며, 상기 출력 데이터를 기초로 상기 PLC 장치의 고장여부를 판단하거나, 누적 저장된 복수의 상기 출력 데이터를 기초로 상기 PLC 장치의 고장 시점을 예측할 수 있다.In addition, a PLC remote diagnosis method performed by a PLC remote diagnosis device for remotely diagnosing the PLC device by connecting to a PLC device set as a diagnosis target by wireless communication, according to an embodiment of the present invention, is remote to the PLC device. Transmitting input data for diagnosis, receiving output data for the input data from the PLC apparatus through the communication unit, determining whether the PLC apparatus is faulty based on the output data, or accumulating a plurality of the A failure point of the PLC device can be predicted based on the output data.

상기 PLC 장치의 고장여부를 판단하는 것은, 상기 출력 데이터가 미리 설정된 제1 기준 구간에 포함된 것으로 확인되면 상기 PLC 장치가 고장인 것으로 판단하는 것일 수 있다.Determining whether the PLC device is faulty may determine that the PLC device is faulty when it is determined that the output data is included in a first preset reference section.

상기 PLC 장치의 고장 시점을 예측하는 것은, 상기 출력 데이터가 상기 제1 기준 구간보다 낮은 제2 기준 구간에 포함된 것으로 확인되면, 상기 출력 데이터가 상기 제2 기준 구간에 포함되는 지속 시간을 측정하여 지속 시간이 상기 제2 기준 구간의 길이에 따라 설정되는 기준 시간 이상인 것으로 확인되면 상기 출력 데이터를 히스토리 데이터셋에 포함시키고, 상기 히스토리 데이터셋에 누적 포함되는 복수의 출력 데이터의 시계열적 변동추이를 분석하여 상기 PLC 장치의 고장 시점을 예측하는 것일 수 있다.Predicting a failure point of the PLC device, when it is determined that the output data is included in the second reference interval lower than the first reference interval, by measuring the duration of the output data included in the second reference interval If it is determined that the duration is greater than or equal to the reference time set according to the length of the second reference interval, the output data is included in the history data set, and the time series variation of the plurality of output data accumulated in the history data set is analyzed. By predicting the failure time of the PLC device.

상술한 본 발명의 일측면에 따르면, 사용자는 원격에서도 PLC고장여부를 편리하게 진단할 수 있으며, 진단 시점에 PLC가 고장인 것으로 진단되지 않더라도 PLC의 누적 열화도에 따라 PLC의 고장 시점을 신뢰성 있게 예측할 수 있다.According to one aspect of the present invention, the user can conveniently diagnose whether or not the PLC failure even remotely, and even if the PLC is not diagnosed as a failure at the time of diagnosis, reliable failure time of the PLC according to the cumulative degradation degree of the PLC It can be predicted.

도 1은 본 발명의 일 실시예에 따른 PLC 원격 진단 시스템의 개략적인 구성이 도시된 개념도이다.
도 2 및 도 3은 도 1의 PLC 원격 진단 장치의 구체적인 구성이 도시된 블록도이다.
도 4는 PLC 장치로부터 수신된 출력 데이터를 이용하여 PLC 장치의 고장여부를 판단하는 구체적인 과정을 설명하기 위한 도면이다.
도 5 및 도 6은 본 발명의 일 실시예에 따른 PLC 원격 진단 방법의 개략적인 흐름이 도시된 순서도이다.
1 is a conceptual diagram illustrating a schematic configuration of a PLC remote diagnostic system according to an embodiment of the present invention.
2 and 3 are block diagrams showing the specific configuration of the PLC remote diagnostic apparatus of FIG.
4 is a view for explaining a specific process of determining whether or not the PLC device failure using the output data received from the PLC device.
5 and 6 are flow charts showing a schematic flow of a PLC remote diagnostic method according to an embodiment of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예와 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.DETAILED DESCRIPTION The following detailed description of the invention refers to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be embodied in other embodiments without departing from the spirit and scope of the invention in connection with one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. Like reference numerals in the drawings refer to the same or similar functions throughout the several aspects.

이하, 도면들을 참조하여 본 발명의 바람직한 실시예들을 보다 상세하게 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings.

도 1은 본 발명의 일 실시예에 따른 PLC 원격 진단 시스템의 개략적인 구성이 도시된 개념도이다.1 is a conceptual diagram illustrating a schematic configuration of a PLC remote diagnostic system according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 PLC 원격 진단 시스템(1000)은 PLC 원격 진단 장치(100) 및 PLC 장치(200)를 포함할 수 있다.The PLC remote diagnosis system 1000 according to an embodiment of the present invention may include a PLC remote diagnosis apparatus 100 and a PLC apparatus 200.

PLC(Programmable Logic Controller) 장치(200)는 디지털 또는 아날로그 입출력 모듈을 통하여 로직, 시퀀싱, 타이밍, 카운팅, 연산과 같은 특수한 기능을 수행하기 위하여 프로그램 가능한 메모리를 사용하고 여러 종류의 기계나 프로세서를 제어하는 디지털 동작의 전자장치로, 입출력부, 저장부, 연산 제어부 등을 갖추어 컴퓨터와 유시한 기능을 수행하는 시퀸스 제어 장치이다.Programmable Logic Controller (PLC) device 200 uses programmable memory to perform special functions such as logic, sequencing, timing, counting, and operation through digital or analog input / output modules and controls various types of machines or processors. As an electronic device for digital operation, a sequence control device having an input / output unit, a storage unit, an operation control unit, and the like that performs a similar function with a computer.

PLC 장치(200)는 다양한 설비에 구비될 수 있는데, 예를 들어 공장 설비의 자동화를 위해 설치될 수 있으며 이러한 경우 생산 라인의 주변 장치들을 효율적으로 제어할 수 있는 기능을 내장하여 컨베이어의 총괄 제어, 각종 근접 센서, 온도센서, 솔레노이드 밸브 및 모터 등과 같은 외부 부하를 접속한 뒤 일정한 시퀀스로 움직이게 하는 작업을 수행할 수 있다. 또한, PLC 장치(200)는 로봇, 상위 컴퓨터 등과 이더넷과 같은 통신을 통하여 대단위 공장 자동화 또는 무인 공장 자동화를 가능케한다.PLC device 200 may be provided in a variety of equipment, for example, can be installed for the automation of plant equipment, in this case, the integrated control of the peripheral devices of the production line to efficiently control the overall control of the conveyor, External loads such as proximity sensors, temperature sensors, solenoid valves and motors can be connected and moved in a certain sequence. In addition, the PLC device 200 enables large-scale factory automation or unmanned factory automation through communication such as a robot, a host computer, and the like with Ethernet.

PLC 원격 진단 장치(100)는 이러한 PLC 장치(200)의 오작동 여부를 원격에서 진단하는 장치이다.The PLC remote diagnosis apparatus 100 is a device for remotely diagnosing whether or not the PLC apparatus 200 is malfunctioning.

본 발명에 따른 PLC 원격 진단 장치(100)는 이동성을 갖거나 고정된 장치일 수 있으며, PC(Personal Computer), 스마트폰(smartphone), 디바이스(device), 노트북(notebook), 기구(apparatus), 단말(terminal), UE(user equipment), MS(mobile station), 무선기기(wireless device), 휴대기기(handheld device) 등 다른 용어로 불릴 수 있다.The PLC remote diagnosis apparatus 100 according to the present invention may be a mobile device or a fixed device, and may be a personal computer (PC), a smartphone, a device, a notebook, an apparatus, The term "terminal" (UE), a user equipment (UE), a mobile station (MS), a wireless device, a handheld device, etc. may be called.

PLC 원격 진단 장치(100)는 후술하는 본 발명에 따른 PLC 원격 진단 방법을 구성하는 각 단계를 수행하기 위한 소프트웨어(애플리케이션)이 미리 설치될 수 있다. 이에 따라, 사용자는 미리 설치된 소프트웨어를 실행하여 PLC 원격 진단 장치(100)을 원거리에 설치된 PLC 장치(200)와 무선 통신으로 연결시킬 수 있으며, PLC 원격 진단 장치(100)를 이용하여 PLC 장치(200)의 원격 진단 서비스를 제공받을 수 있다.The PLC remote diagnosis apparatus 100 may be preinstalled with software (application) for performing each step of configuring the PLC remote diagnosis method according to the present invention described below. Accordingly, the user may execute the pre-installed software to connect the PLC remote diagnosis apparatus 100 to the PLC apparatus 200 installed at a long distance by wireless communication, and use the PLC remote diagnosis apparatus 100 to execute the PLC apparatus 200. Remote diagnostic services).

이를 위해, PLC 원격 진단 장치(100)는 진단 대상으로 설정된 PLC 장치(200)와 무선 통신을 수행하여, 원격 진단을 위한 입력 데이터를 전송하고, 이에 대한 출력 데이터를 수신하며, 출력 데이터를 이용하여 PLC 장치(200)의 고장여부를 판단하거나 고장 시점을 예측할 수 있다. 이와 같은 PLC 원격 진단 장치(100)의 구체적인 구성 및 기능은 도 2를 참조하여 설명하기로 한다.To this end, the PLC remote diagnosis apparatus 100 performs wireless communication with the PLC device 200 set as a diagnosis target, transmits input data for remote diagnosis, receives output data thereof, and uses the output data. It is possible to determine whether the PLC device 200 has failed or to predict a failure time. A detailed configuration and function of the PLC remote diagnosis apparatus 100 will be described with reference to FIG. 2.

도 2는 도 1의 PLC 원격 진단 장치(100)의 구체적인 구성이 도시된 블록도이다.FIG. 2 is a block diagram illustrating a detailed configuration of the PLC remote diagnosis apparatus 100 of FIG. 1.

구체적으로, PLC 원격 진단 장치(100)는 통신부(110), 입력부(120), 출력부(130) 및 제어부(140)를 포함할 수 있다.In detail, the PLC remote diagnosis apparatus 100 may include a communication unit 110, an input unit 120, an output unit 130, and a controller 140.

통신부(110)는 유무선 통신을 수행하는 모듈로, 구체적으로는 무선 인터넷을 통해 PLC 장치(200)와 통신을 수행하며, 이 과정에서 발생되는 데이터는 통신부(110)를 통해 송수신될 수 있다.The communication unit 110 is a module for performing wired and wireless communication. Specifically, the communication unit 110 communicates with the PLC device 200 through the wireless Internet, and data generated in this process may be transmitted and received through the communication unit 110.

입력부(120)는 PLC 원격 진단 장치(100)를 소지하는 사용자로부터 입력 신호를 감지하는 모듈이다. 입력부(120)는 키보드, 마우스, 마이크, 터치패드, 조이패드 등과 같은 형태일 수 있으며, 사용자는 입력부(120)를 통해 PLC 원격 진단 장치(100)로 PLC 장치(200)의 원격 진단을 위한 제어 신호를 입력할 수 있다.The input unit 120 is a module that detects an input signal from a user who owns the PLC remote diagnosis apparatus 100. The input unit 120 may be in the form of a keyboard, a mouse, a microphone, a touch pad, a joy pad, and the like, and the user may control the control signal for remote diagnosis of the PLC device 200 to the PLC remote diagnosis apparatus 100 through the input unit 120. Can be entered.

출력부(130)는 디스플레이 모듈, 스피커, 터치패드 등과 같은 형태일 수 있으며, PLC 장치(200)의 원격 진단 결과를 시각적, 청각적인 정보로 출력할 수 있다.The output unit 130 may be in the form of a display module, a speaker, a touch pad, and the like, and may output the remote diagnosis result of the PLC device 200 as visual and audio information.

제어부(140)는 PLC 원격 진단 장치(100)의 전반적인 동작을 제어하는 모듈이다. 예컨대, 제어부(140)는 입력부(120)를 통해 사용자로부터 선택된 특정 PLC 장치(200)를 통신부(110)를 통해 PLC 원격 진단 장치(100)와 연결되도록 제어하고, PLC 장치(200)의 진단 결과가 출력부(130)를 통해 출력되도록 제어할 수 있다.The controller 140 is a module that controls the overall operation of the PLC remote diagnostic apparatus 100. For example, the controller 140 controls the specific PLC device 200 selected by the user through the input unit 120 to be connected to the PLC remote diagnosis apparatus 100 through the communication unit 110, and the diagnosis result of the PLC device 200. May be controlled to be output through the output unit 130.

특히, 제어부(140)는 PLC 장치(200)로부터 수신되는 출력 데이터에 기초하여 PLC 장치(200)의 오작동 여부를 판단하거나 PLC 장치(200)의 오작동 시점을 예측할 수 있다. 이와 관련하여, 도 3을 함께 참조하여 설명하기로 한다.In particular, the controller 140 may determine whether the PLC device 200 is malfunctioning or predict a malfunction time of the PLC device 200 based on the output data received from the PLC device 200. In this regard, it will be described with reference to FIG.

도 3은 도 2의 제어부(140)의 구체적인 구성이 도시된 블록이다.3 is a block diagram illustrating a specific configuration of the controller 140 of FIG. 2.

구체적으로, PLC 원격 진단 장치(100)의 제어부(140)는 측정부(141) 및 진단부(142)를 포함할 수 있다.In detail, the controller 140 of the PLC remote diagnosis apparatus 100 may include a measurement unit 141 and a diagnosis unit 142.

측정부(141)는 통신부(110)를 통해 진단대상으로 설정된 PLC 장치(200)와 무선 통신을 수행하여 진단을 위한 데이터를 송수신할 수 있다. 즉, 측정부(141)는 통신부(110)를 통해 PLC 장치(200)로 원격 진단을 위한 입력 데이터를 전송한 후, 입력 데이터에 따른 동작을 수행한 PLC 장치(200)로부터 이에 대한 출력 데이터를 수신할 수 있다.The measurement unit 141 may transmit and receive data for diagnosis by performing wireless communication with the PLC device 200 set as a diagnosis target through the communication unit 110. That is, the measurement unit 141 transmits input data for remote diagnosis to the PLC device 200 through the communication unit 110, and then outputs the output data thereof from the PLC device 200 which has performed an operation according to the input data. Can be received.

이때, 본 발명에 따른 PLC 원격 진단 장치(100)는 상술한 바와 같이 원격에서 여러 종류의 PLC 장치(200)를 진단하기 때문에, 다양한 종류의 PLC 장치(200) 특성에 적합한 입력 데이터를 전송할 필요가 있다. 이를 위해, 측정부(141)에는 PLC 장치(200)의 종류별로 최적화된 입력 데이터를 전송하도록 서로 다른 종류의 복수의 입력 데이터가 미리 저장될 수 있다. In this case, since the PLC remote diagnosis apparatus 100 according to the present invention diagnoses various types of PLC apparatus 200 remotely as described above, it is necessary to transmit input data suitable for various types of PLC apparatus 200 characteristics. have. To this end, the measurement unit 141 may store a plurality of different types of input data in advance so as to transmit input data optimized for each type of the PLC device 200.

이때, 측정부(141)는 복수의 입력 데이터 중 진단대상으로 설정된 PLC 장치(200)로 전송할 입력 데이터를 설정하기 위한 테스트 신호를 전송할 수 있다. 측정부(141)는 테스트 신호에 따른 동작을 수행한 PLC 장치(200)로부터 수신되는 응답 신호를 분석하여 어떠한 종류의 입력 데이터를 PLC 장치(200)로 전송할 것인지 선택할 수 있다. 예컨대, 측정부(141)는 응답 신호의 주파수 특성을 분석하고, 분석된 주파수 특성을 미리 저장된 특성 데이터와 비교하여 테스트 신호에 따른 응답 신호의 패턴이 어떤 PLC 장치(200)에 의해 발생되었는지를 추정할 수 있다. In this case, the measurement unit 141 may transmit a test signal for setting input data to be transmitted to the PLC device 200 set as a diagnosis target among the plurality of input data. The measurement unit 141 may analyze the response signal received from the PLC device 200 performing the operation according to the test signal, and select which kind of input data is to be transmitted to the PLC device 200. For example, the measurement unit 141 analyzes the frequency characteristics of the response signal and compares the analyzed frequency characteristics with previously stored characteristic data to estimate which PLC device 200 generated the pattern of the response signal according to the test signal. can do.

진단부(142)는 측정부(141)로 수신된 출력 데이터를 기초로 PLC 장치(200)의 상태를 판단할 수 있다. 즉, 진단부(142)는 수신된 출력 데이터를 분석하여 PLC 장치(200)가 정상적인 동작을 수행할 수 없는 오작동(고장) 상태인지, 오작동 상태 까지는 아니지만 출력 성능 일부가 저하된 열화 상태인지 또는 PLC 장치(200)가 정상 상태인지를 판단할 수 있다.The diagnosis unit 142 may determine the state of the PLC device 200 based on the output data received by the measuring unit 141. That is, the diagnostic unit 142 analyzes the received output data to determine whether the PLC device 200 is in a malfunction state (failure state) in which it cannot perform a normal operation, or whether the PLC device 200 is in a degraded state in which a part of the output performance is degraded but not in a malfunction state. It may be determined whether the device 200 is in a normal state.

이를 위해, 진단부(142)는 출력 데이터를 미리 설정된 기준 데이터와 비교하여 유사도를 산출하고, 유사도를 미리 설정된 기준 구간과 비교한 결과에 따라 PLC 장치(200)의 현재 시점에서의 오작동 여부를 판단하거나 PLC 장치(200)의 오작동 시점을 예측할 수 있다. 이와 관련하여, 도 4를 함께 참조하여 설명하기로 한다.To this end, the diagnosis unit 142 calculates the similarity by comparing the output data with the preset reference data, and determines whether there is a malfunction at the present time of the PLC device 200 according to the result of comparing the similarity with the preset reference section. Or predict a malfunction time of the PLC device 200. In this regard, it will be described with reference to FIG.

도 4는 PLC 장치로부터 수신된 출력 데이터를 이용하여 PLC 장치의 고장여부를 판단하는 구체적인 과정을 설명하기 위한 도면이다.4 is a view for explaining a specific process of determining whether or not the PLC device failure using the output data received from the PLC device.

진단부(142)는 상술한 과정에서 산출된 유사도를 미리 설정된 기준 구간과 비교하여 PLC 장치(200)의 현재 시점에서의 오작동 여부를 판단하거나 PLC 장치(200)의 오작동 시점을 예측할 수 있다.The diagnosis unit 142 may compare the similarity calculated in the above process with a preset reference section to determine whether the PLC device 200 is malfunctioning at the present time or to predict the malfunctioning time of the PLC device 200.

진단부(142)는 도시된 바와 같이 산출된 유사도의 크기에 따라 PLC 장치(200)를 정상 상태, 열화 상태 및 오작동 상태 중 어느 하나의 상태로 구분할 수 있다.The diagnosis unit 142 may classify the PLC device 200 into any one of a normal state, a degraded state, and a malfunction state according to the magnitude of the similarity calculated as shown.

구체적으로, 진단부(142)는 유사도가 비교적 큰 값의 임계 구간으로 설정된 제1 기준 구간에 포함된 것으로 판단되면 PLC 장치(200)가 오작동 상태인 것으로 판단할 수 있다. 즉, 진단부(142)는 입력 데이터에 대해 정상적인 기능을 수행했을 때 발생되는 데이터로 설정되는 기준 데이터와, 실제 출력 결과인 출력 데이터와의 차이가 큰 경우, 해당 PLC 장치(200)가 오작동 중인 것으로 판단할 수 있다.In detail, the diagnosis unit 142 may determine that the PLC device 200 is in a malfunction state when it is determined that the similarity is included in the first reference section that is set as the threshold section having a relatively high similarity. That is, when the difference between the reference data set as data generated when the normal function is performed on the input data and the output data which is the actual output result is large, the corresponding PLC device 200 is malfunctioning. It can be judged that.

그리고, 진단부(142)는 산출된 유사도가 제1 기준 구간에는 포함되지 않지만, 제1 기준 구간보다 작은 크기의 임계 구간으로 설정되는 제2 기준 구간에 포함된 것으로 확인되면, PLC 장치(200)의 열화 상태 여부를 판단할 수 있다.And, if it is determined that the calculated similarity is not included in the first reference section, but is included in the second reference section that is set to a threshold section of a smaller size than the first reference section, the PLC device 200 It may be determined whether the degradation state of the.

다시 말해, 진단부(142)는 유사도가 제2 기준 구간에 포함되었다고 하여 무조건적으로 PLC 장치(200)가 열화 상태인 것으로 판단하는 것이 아니라, 소정의 판단 과정을 거친 후 열화 상태인지 여부를 최종적으로 판단할 수 있다.In other words, the diagnosis unit 142 does not necessarily determine that the PLC device 200 is in a deteriorated state because the similarity is included in the second reference section, but finally determines whether the deterioration state is performed after a predetermined determination process. You can judge.

진단부(142)는 유사도가 정상 범위를 벗어난 제2 기준 구간에 포함된 것으로 확인되면, PLC 장치(200)가 열화 상태에 있는 것으로 판단하여 판단된 시점에서 수신된 출력 데이터를 히스토리 데이터셋에 포함시킬 수 있다. When the diagnosis unit 142 determines that the similarity is included in the second reference section outside the normal range, the diagnosis unit 142 determines that the PLC device 200 is in a deteriorated state and includes the output data received at the determined time point in the history data set. You can.

이때, 진단부(142)는 유사도가 일시적으로 정상 범위를 벗어났다고 하여 이를 히스토리 데이터셋에 포함시키는 것이 아니라, 유사도가 정상 범위를 지속적으로 소정 시간 이상 벗어난 경우에만 이를 히스토리 데이터셋에 포함시킬 수 있다.In this case, the diagnosis unit 142 may not include the same in the history data set because the similarity is temporarily out of the normal range, and may include the same in the history data set only when the similarity is continuously out of the normal range for a predetermined time or more.

유사도가 정상 범위를 벗어나더라도, 비교적 짧은 시간구간 동안 지속되면 PLC 장치(200) 자체에는 경미하거나 무시할 만한 정도의 영향만 미치는 경우가 있을 수 있다. 따라서, 진단부(142)는 기준시간을 설정하여 유사도가 기준시간 이상 지속되는 경우 주의신호 또는 오작동 신호로 나타나는 신호로 판단할 수 있다. 기준시간은 기준구간에 대응하여 결정될 수 있다. 구체적으로, 진단부(142)는 기준구간이 아주 좁은 범위인 경우에는 기준시간의 크기를 비교적 길게 설정할 수 있다. 예를 들어, 제2 기준 구간의 크기가 4~6으로 설정되는 경우, 기준시간을 10분으로 설정하여 정상 데이터(예컨대 3)로부터 작은 오차를 보이는 유사도는 비교적 긴 시간동안 제2 기준 구간에서 지속되어야 열화 신호로 판단할 수 있다. 반대로, 진단부(142)는 제2 기준 구간을 4~10의 구간으로 설정하면 기준시간의 길이를 5초 정도로 짧게 설정하여 유사도가 급격하게 변화한 경우에 즉각적으로 반응할 수 있다.Even if the similarity is out of the normal range, if the duration lasts for a relatively short time period, there may be a case where only a slight or negligible effect is applied to the PLC device 200 itself. Therefore, the diagnosis unit 142 may set the reference time and determine that the similarity persists for more than the reference time as a signal indicated by a caution signal or a malfunction signal. The reference time may be determined corresponding to the reference section. Specifically, the diagnosis unit 142 may set the size of the reference time relatively long when the reference section is a very narrow range. For example, when the size of the second reference section is set to 4 to 6, the similarity showing a small error from the normal data (for example, 3) by setting the reference time to 10 minutes persists in the second reference section for a relatively long time. It can be judged as a deterioration signal. On the contrary, when the second reference section is set to a section of 4 to 10, the diagnosis unit 142 may set the length of the reference time to about 5 seconds and may immediately react when the similarity rapidly changes.

진단부(142)는 이와 같이 산출된 유사도가 제2 기준 구간에서 기준시간 이상 지속되는 경우 PLC 장치(200)가 열화 상태인 것으로 판단할 수 있다. 이러한 경우, 진단부(142)는 열화 상태로 판단된 시간 구간 동안 수집되는 출력 데이터를 히스토리 데이터셋에 누적 저장할 수 있다. 여기서, 상술한 바와 같이 기준시간의 길이는 고정된 시간이 아니라 기준 구간으로 설정된 임계 구간의 길이에 반비례하여 설정될 수 있다.The diagnosis unit 142 may determine that the PLC device 200 is in a deteriorated state when the similarity calculated as described above lasts more than a reference time in the second reference section. In this case, the diagnosis unit 142 may accumulate and store the output data collected during the time interval determined as the deterioration state in the history data set. As described above, the length of the reference time may be set in inverse proportion to the length of the threshold section set as the reference section instead of the fixed time.

이후 진단부(142)는 히스토리 데이터셋에 누적 저장된 복수의 출력 데이터를 분석하여 PLC 장치(200)의 오작동 시점을 예측할 수 있다.Thereafter, the diagnosis unit 142 may analyze a plurality of output data accumulated in the history data set to predict a malfunction time of the PLC device 200.

진단부(142)는 PLC 장치(200)의 현재상황을 파악하고, 더 나아가 히스토리 데이터셋에 포함된 데이터들을 기초로 다음 예상되는 주의 또는 오작동 신호를 계산할 수 있다. 본 실시예에서는 자기 회귀 조건부 이분산 (Auto Regressive Conditional Heteroskedasticity, ARCH) 모델을 이용하여 시계열 데이터를 분석하여 예측할 수 있다.The diagnosis unit 142 may grasp the current situation of the PLC device 200 and further calculate a next expected attention or malfunction signal based on the data included in the history data set. In the present embodiment, the time series data may be analyzed and predicted using an auto regressive conditional heteroscedasticity (ARCH) model.

ARCH모델은 단순히 추세와 평균 회귀만을 추정하는 것이 아니라 분산을 같이 추정함으로써 과거 데이터를 분석하여 미래 예측력을 가질 수 있는 것이 특징이다. 조건부 분산의 시계열적특징을 모형화한 Engle에 의해 도입된 ARCH모형은 모형이 단순하고 금융시계열의 경험적 특성을 잘 반영한다는 점에서 매우 널리 사용되는 분석도구가 되었다. The ARCH model is characterized not only by estimating trends and mean regressions but also by estimating variance to analyze past data and to have future predictive power. The ARCH model, introduced by Engle, which models the time-series characteristics of conditional variance, has become a widely used analytical tool in that the model is simple and reflects the empirical characteristics of the financial time series.

따라서 본 실시예에서는 히스토리 데이터셋에 포함되는 데이터의 출현빈도를 모형화하기 위해 ARCH 모델을 이용할 수 있다. 수학식 3은 전기의 시계열로 현재의 시계열을 설명하는 수학식이다.Therefore, in the present embodiment, an ARCH model may be used to model the frequency of appearance of data included in the historical data set. Equation 3 is an equation that describes the current time series in a time series of electricity.

[수학식 3][Equation 3]

Figure 112019044411985-pat00001
Figure 112019044411985-pat00001

여기서, yt 는 시계열의 평균, a0, a1 ?는 미지의 모수, εt는 잔차이다. 즉, 정상 범위를 기준시간 이상 벗어난 데이터의 히스토리로 표현되는 yt-1, yt-2 ?, yt-q 를 실제 나타난 yt와 비교하여 나타난 차이 값이다. 잔차를 표현하는 수학식은 다음과 같다.Where y t is the mean of the time series, a 0 , a 1 ? Is an unknown parameter, and ε t is the residual. That is,? Y t-1, y t-2 that represent the normal to the history of data out over the reference time, the difference value as compared to the original y tq shown y t. Equation expressing the residual is as follows.

[수학식 4][Equation 4]

Figure 112019044411985-pat00002
Figure 112019044411985-pat00002

여기서 σ는 조건부 분산이다. σt는 t-1 주기에 알려져 있다고 가정하며, 확률변수 zt는 평균이 0이고 분산이 일정한 정규분포를 따른다. σ를 계산하기 위한 과정은 다음과 같다.Where σ is conditional dispersion. σ t is assumed to be known in period t-1, and the random variable z t follows a normal distribution with a mean of zero and a constant variance. The process for calculating σ is as follows.

[수학식 5][Equation 5]

Figure 112019044411985-pat00003
Figure 112019044411985-pat00003

여기서

Figure 112019044411985-pat00004
,
Figure 112019044411985-pat00005
, a0, a1 ?는 미지의 모수, σ는 조건부 분산이다. 전술한 바에 따라 정상 범위를 기준시간 이상 벗어난 데이터가 포함된 히스토리 데이터셋을 기초로 예상 오류 시점을 예측할 수 있다.here
Figure 112019044411985-pat00004
,
Figure 112019044411985-pat00005
, a 0 , a 1 ? are unknown parameters, and σ is a conditional variance. As described above, the predicted error point may be predicted based on a history data set including data that deviates from the normal range by more than the reference time.

이와 같이, 진단부(142)는 유사도를 주기적으로 산출하는 과정에서, 산출된 유사도가 상기 정상 범위를 벗어나면 유사도가 지속되는 시간을 측정하고, 유사도가 정상 범위를 지속적으로 벗어난 시간이 미리 설정된 기준시간 이상 지속되는 경우 경보 신호를 생성하여 히스토리 데이터셋에 포함시키며, 경보 신호의 생성 간격을 기초로 상기 변전소의 오작동 시점을 예측하며, 구체적으로는 누적 생성된 경보 신호를 기초로 히스토리 데이터셋을 생성하고, 히스토리 데이터셋에 포함된 경보 신호의 시계열적 변동추이를 기초로 PLC 장치(200)의 오작동 시점을 예측할 수 있다.As described above, the diagnostic unit 142 measures the time for which the similarity continues when the calculated similarity is out of the normal range, and periodically calculates the similarity, and the preset time for which the similarity is continuously out of the normal range is set in advance. If the signal persists for more than a time, an alarm signal is generated and included in the history data set, and a malfunction time point of the substation is predicted based on the generation interval of the alarm signal, and specifically, a history data set is generated based on the accumulated alarm signal. In addition, a malfunction time point of the PLC device 200 may be predicted based on a time series variation of the alarm signal included in the history data set.

도 5 및 도 6은 본 발명의 일 실시예에 따른 PLC 원격 진단 방법의 개략적인 흐름이 도시된 순서도이다.5 and 6 are flow charts showing a schematic flow of a PLC remote diagnostic method according to an embodiment of the present invention.

본 발명에 따른 PLC 원격 진단 방법은 상술한 PLC 원격 진단 장치(100)에 의해 수행될 수 있으며, 이를 위해 본 발명에 따른 PLC 원격 진단 장치(100)는 후술하는 PLC 원격 진단 방법을 구성하는 각 단계를 수행하기 위한 소프트웨어(애플리케이션)이 미리 설치될 수 있다. 이에 따라, 사용자는 PLC 원격 진단 장치(100)에 미리 설치된 소프트웨어(애플리케이션)을 실행시키면 PLC 원격 진단 방법에 따라 PLC 장치(200)를 원격으로 간편하게 진단할 수 있다.The PLC remote diagnosis method according to the present invention may be performed by the above-described PLC remote diagnosis apparatus 100. For this purpose, the PLC remote diagnosis apparatus 100 according to the present invention configures the PLC remote diagnosis method described below. Software (application) for performing the above may be preinstalled. Accordingly, when the user executes the software (application) preinstalled in the PLC remote diagnosis apparatus 100, the user can easily diagnose the PLC apparatus 200 remotely according to the PLC remote diagnosis method.

먼저, PLC 원격 진단 장치(100)는 측정대상으로 설정된 PLC 장치(200)로 입력 데이터를 전송할 수 있다(51). 이를 위해, PLC 원격 진단 장치(100)는 측정대상으로 설정된 PLC 장치(200)와 무선 통신을 통해 연결되며, 연결 후 테스트 신호를 전송하여 이에 대한 응답 신호를 분석하여 복수의 입력 데이터 중 측정대상 PLC 장치(200)에 적합한 입력 데이터를 선택할 수 있다.First, the PLC remote diagnosis apparatus 100 may transmit input data to the PLC apparatus 200 set as a measurement target (51). To this end, the PLC remote diagnostic apparatus 100 is connected to the PLC device 200 set as a measurement target through wireless communication, and after connecting, transmits a test signal to analyze a response signal thereto to measure a PLC of the plurality of input data. Input data suitable for the device 200 may be selected.

다음으로, PLC 원격 진단 장치(100)는 PLC 장치(200)로부터 입력 데이터에 따른 출력 데이터를 수신하고(52), 수신된 출력 데이터를 미리 설정된 기준 데이터와 비교하여 유사도를 산출할 수 있다(53).Next, the PLC remote diagnosis apparatus 100 may receive output data according to input data from the PLC apparatus 200 (52), and calculate the similarity by comparing the received output data with preset reference data (53). ).

PLC 원격 진단 장치(100)는 산출된 유사도가 제1 기준구간에 포함된 것으로 확인되면(54a의 YES), 다시 말해 출력 데이터와 기준 데이터와의 차이가 비교적 큰 경우 PLC 장치(200)가 정상적인 출력 데이터를 생성하지 못하는 상태인 오작동 상태인 것으로 판단할 수 있다(55a).When the PLC remote diagnosis apparatus 100 determines that the calculated similarity is included in the first reference section (YES of 54a), that is, when the difference between the output data and the reference data is relatively large, the PLC device 200 outputs the normal output. In operation 55a, it may be determined that there is a malfunctioning state in which data cannot be generated.

반면, PLC 원격 진단 장치(100)는 산출된 유사도가 제1 기준구간보다 작은 임계구간을 갖는 제2 기준구간에 포함된 것으로 확인되면(54b의 YES), PLC 장치(200)의 열화 상태 여부를 판단하기 위한 후속 과정을 수행할 수 있다(A).On the other hand, when the PLC remote diagnosis apparatus 100 determines that the calculated similarity is included in the second reference section having the critical section smaller than the first reference section (YES of 54b), the PLC remote diagnosis apparatus 100 determines whether the PLC device 200 is in a deteriorated state. Subsequent procedures for determining can be performed (A).

구체적으로, 도 6에 도시된 바와 같이, PLC 원격 진단 장치(100)는 산출된 유사도가 제2 기준구간에 연속적으로 포함되는 지속시간을 측정할 수 있다(61). 상술한 바와 같이, 출력 데이터는 소정 시간 간격마다 주기적으로 수신되기 때문에, PLC 원격 진단 장치(100)는 소정 시간 간격마다 산출되는 유사도가 지속적으로 제2 기준구간에 포함되는 지속 시간을 측정하는 것이 가능하다.In detail, as illustrated in FIG. 6, the PLC remote diagnosis apparatus 100 may measure a duration in which the calculated similarity is continuously included in the second reference section (61). As described above, since the output data is periodically received at predetermined time intervals, the PLC remote diagnostic apparatus 100 can measure the duration of the similarity calculated at each predetermined time interval continuously included in the second reference interval. Do.

PLC 원격 진단 장치(100)는 제2 기준구간에 포함되는 지속 시간이 기준시간을 초과하는 것으로 확인되면, PLC 장치(200)가 열화 상태인 것으로 판단할 수 있다(62). PLC 원격 진단 장치(100)는 열화 상태로 판단된 시간 구간 동안 수집되는 출력 데이터를 히스토리 데이터셋에 누적 저장할 수 있다(63). 이를 기초로, PLC 원격 진단 장치(100)는 히스토리 데이터셋에 포함된 출력 데이터의 시계적 변동추이를 기초로 PLC 장치(200)의 오작동 시점을 예측할 수 있다(64). 각 단계에 대한 구체적인 설명은 도 4를 기초로 상술하였으므로, 반복되는 설명은 생략하기로 한다.If it is determined that the duration included in the second reference section exceeds the reference time, the PLC remote diagnosis apparatus 100 may determine that the PLC device 200 is in a degraded state (62). The PLC remote diagnosis apparatus 100 may accumulate and store the output data collected during the time interval determined as the deterioration state in the history data set (63). Based on this, the PLC remote diagnosis apparatus 100 may predict a malfunction time point of the PLC apparatus 200 based on a clock change trend of the output data included in the history data set (64). Since a detailed description of each step has been described above with reference to FIG. 4, repeated descriptions thereof will be omitted.

다시 도 5를 참조하면, PLC 원격 진단 장치(100)는 산출된 유사도가 제2 기준구간에도 포함되지 않는 것으로 판단되면(54b의 NO), 해당 출력 데이터가 정상적인 출력 데이터인 것으로 판단하여 PLC 장치(200)가 정상 상태인 것으로 진단할 수 있다(55b).Referring back to FIG. 5, if the PLC remote diagnosis apparatus 100 determines that the calculated similarity is not included in the second reference section (NO in 54b), the PLC remote diagnosis apparatus 100 determines that the corresponding output data is normal output data. 200 may be diagnosed as a normal state (55b).

이후, PLC 원격 진단 장치(100)는 판단된 결과(정상 상태, 열화 상태, 오작동 상태)를 구비된 디스플레이를 통해 표시하여 원격 진단 결과를 사용자가 인지할 수 있도록 할 수 있다. 이와 동시에, PLC 원격 진단 장치(100)는 PLC 장치(200)가 오작동 상태를 제외한 정상 상태 및 열화 상태인 경우 히스토리 데이터셋을 참조하여 PLC 장치(200)의 오작동 예측 시점에 대한 정보를 함께 표시할 수도 있다.Subsequently, the PLC remote diagnosis apparatus 100 may display the determined result (normal state, deteriorated state, or malfunction state) on a display provided to allow the user to recognize the remote diagnosis result. At the same time, when the PLC device 200 is in the normal state and the degraded state except the malfunction state, the PLC remote diagnosis apparatus 100 may display the information on the predicted time of malfunction of the PLC apparatus 200 with reference to the history dataset. It may be.

이와 같은, PLC 원격 진단 방법을 제공하는 기술은 애플리케이션으로 구현되거나 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.Such a technique for providing a PLC remote diagnostic method may be implemented in the form of program instructions that may be implemented by an application or executed through various computer components, and recorded on a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.

상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거니와 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.The program instructions recorded on the computer-readable recording medium are those specially designed and configured for the present invention, and may be known and available to those skilled in the computer software arts.

컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.

프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa.

이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to the embodiments, those skilled in the art will understand that various modifications and changes can be made without departing from the spirit and scope of the invention as set forth in the claims below. Could be.

100: PLC 원격 진단 장치
200: PLC 장치
100: PLC remote diagnostic device
200: PLC device

Claims (10)

진단대상으로 설정된 PLC 장치와 무선 통신을 수행하여, 상기 PLC 장치로 원격 진단을 위한 입력 데이터를 전송하고, 상기 PLC 장치로부터 상기 입력 데이터에 대한 출력 데이터를 수신하는 측정부; 및
상기 출력 데이터를 기초로 상기 PLC 장치의 고장여부를 판단하거나, 누적 저장된 복수의 상기 출력 데이터를 기초로 상기 PLC 장치의 고장 시점을 예측하는 진단부를 포함하며,
상기 측정부는 복수의 입력 데이터 중 진단대상으로 설정된 PLC 장치로 전송할 입력 데이터를 설정하기 위한 테스트 신호를 전송하며, 상기 테스트 신호에 따른 동작을 수행한 PLC장치로부터 수신되는 응답 신호의 주파수 특성을 분석하고, 분석된 주파수 특성을 미리 저장된 특성 데이터와 비교하여 테스트 신호에 따른 응답 신호의 패턴이 어떤 PLC 장치에 의해 발생되었는지 확인하고, 확인된 PLC 장치에 어떤 종류의 입력 데이터를 전송할 것인지 선택하며,
상기 진단부는 출력 데이터를 기초로 상기 PLC 장치의 오작동 상태, 열화 상태 또는 정상 상태 중 어느 하나의 상태를 판단하며,
상기 진단부는 출력 데이터를 미리 설정된 기준 데이터와 비교하여 유사도를 산출하고, 유사도를 미리 설정된 기준 구간과 비교한 결과에 따라 고장 여부 또는 오작동 시점을 예측하며,
상기 진단부는 유사도가 임계 구간으로 설정된 제1기준 구간에 포함된 것으로 확인되면, 상기 PLC 장치가 오작동 상태인 것으로 판단하며, 상기 유사도가 상기 제1기준 구간에는 포함되지 않지만 제1기준 구간보다 작은 크기의 임계 구간으로 설정되는 제2기준 구간에 포함된 것으로 확인되면, 상기 PLC 장치의 열화 상태 여부를 판단하며, 상기 유사도가 제2 기준 구간에 미리 설정된 기준시간 이상 지속되는 경우에만 상기 PLC 장치가 열화 상태인 것으로 판단하고, 수신된 출력 데이터를 히스토리 데이터셋에 포함시켜 상기 PLC 장치가 열화 상태에서 오작동 시점으로 넘어가는 시점을 예측하는 것인, PLC 원격 진단 장치.
A measurement unit performing wireless communication with a PLC device set as a diagnosis target, transmitting input data for remote diagnosis to the PLC device, and receiving output data for the input data from the PLC device; And
A diagnosis unit for determining whether the PLC device is faulty based on the output data, or predicting a failure point of the PLC device based on a plurality of accumulated and stored output data;
The measuring unit transmits a test signal for setting input data to be transmitted to a PLC device set as a diagnosis target among a plurality of input data, and analyzes frequency characteristics of a response signal received from the PLC device performing an operation according to the test signal. By comparing the analyzed frequency characteristic with the pre-stored characteristic data, it is confirmed by which PLC device the pattern of the response signal according to the test signal is generated, and what kind of input data is transmitted to the identified PLC device,
The diagnosis unit determines any one of a malfunction state, a deterioration state, or a normal state of the PLC device based on output data,
The diagnostic unit calculates the similarity by comparing the output data with the preset reference data, and predicts the failure or malfunction time according to the result of comparing the similarity with the preset reference interval,
If it is determined that the similarity is included in the first reference section in which the similarity is set as the critical section, the diagnosis unit determines that the PLC device is in a malfunction state, and the similarity is not included in the first reference section but smaller than the first reference section. When it is confirmed that the second reference section is set to the threshold section of the whether or not the degradation state of the PLC device, the PLC device is deteriorated only when the similarity lasts more than a predetermined reference time in the second reference section. Determining that the status is in a state, and including the received output data in a history data set to predict a time when the PLC device passes from a deterioration state to a malfunctioning time point.
삭제delete 삭제delete 삭제delete 제1항에 있어서, 상기 진단부는,
상기 제2 기준 구간의 크기에 반비례하여 상기 기준시간을 설정하는, PLC 원격 진단 장치.
The method of claim 1, wherein the diagnostic unit,
And setting the reference time in inverse proportion to the size of the second reference section.
제1항에 있어서, 상기 진단부는,
상기 히스토리 데이터셋에 포함된 복수의 출력 데이터의 시계열적 변동추이를 기초로 상기 PLC 장치의 고장 시점을 예측하는, PLC 원격 진단 장치.
The method of claim 1, wherein the diagnostic unit,
A PLC remote diagnosis apparatus for predicting a failure time of the PLC device based on a time series variation of a plurality of output data included in the history data set.
삭제delete ◈청구항 8은(는) 설정등록료 납부시 포기되었습니다.◈Claim 8 has been abandoned upon payment of a set-up fee. 진단대상으로 설정된 PLC 장치와 무선 통신으로 연결되어 상기 PLC 장치를 원격으로 진단하는 PLC 원격 진단 장치에 의해 수행되는 PLC 원격 진단 방법에 있어서,
상기 PLC 원격 진단 장치는 복수의 입력 데이터 중 진단대상으로 설정된 PLC 장치로 전송할 입력 데이터를 설정하기 위한 테스트 신호를 전송하며, 상기 테스트 신호에 따른 동작을 수행한 PLC장치로부터 수신되는 응답 신호의 주파수 특성을 분석하고, 분석된 주파수 특성을 미리 저장된 특성 데이터와 비교하여 테스트 신호에 따른 응답 신호의 패턴이 어떤 PLC 장치에 의해 발생되었는지 확인하고, 확인된 PLC 장치에 어떤 종류의 입력 데이터를 전송할 것인지 선택하며,
상기 PLC 장치로 원격 진단을 위한 입력 데이터를 전송하고,
상기 PLC 장치로부터 상기 입력 데이터에 대한 출력 데이터를 수신하며,
상기 출력 데이터를 기초로 상기 PLC 장치의 오작동 상태, 열화 상태 또는 정상 상태 중 어느 하나의 상태를 판단하며,
상기 출력 데이터를 미리 설정된 기준 데이터와 비교하여 유사도를 산출하고, 유사도를 미리 설정된 기준 구간과 비교한 결과에 따라 고장 여부 또는 오작동 시점을 예측하며,
상기 PLC 원격 진단 장치는 유사도가 임계 구간으로 설정된 제1기준 구간에 포함된 것으로 확인되면, 상기 PLC 장치가 오작동 상태인 것으로 판단하며, 상기 유사도가 상기 제1기준 구간에는 포함되지 않지만 제1기준 구간보다 작은 크기의 임계 구간으로 설정되는 제2기준 구간에 포함된 것으로 확인되면, 상기 PLC 장치의 열화 상태 여부를 판단하며, 상기 유사도가 제2 기준 구간에 미리 설정된 기준시간 이상 지속되는 경우에만 상기 PLC 장치가 열화 상태인 것으로 판단하고, 수신된 출력 데이터를 히스토리 데이터셋에 포함시켜 상기 PLC 장치가 열화 상태에서 오작동 시점으로 넘어가는 시점을 예측하고,
상기 출력 데이터를 기초로 상기 PLC 장치의 고장여부를 판단하거나, 누적 저장된 복수의 상기 출력 데이터를 기초로 상기 PLC 장치의 고장 시점을 예측하는, PLC 원격 진단 방법.

In the PLC remote diagnostic method performed by a PLC remote diagnostic device for remotely diagnosing the PLC device by connecting to a PLC device set as a diagnosis target by wireless communication,
The PLC remote diagnosis apparatus transmits a test signal for setting input data to be transmitted to a PLC device set as a diagnosis target among a plurality of input data, and frequency characteristics of a response signal received from a PLC device which has performed an operation according to the test signal. Analyze and compare the analyzed frequency characteristics with pre-stored characteristic data to determine which PLC device generated the response signal pattern according to the test signal, and select what kind of input data to send to the identified PLC device. ,
Transmits input data for remote diagnosis to the PLC device,
Receiving output data for the input data from the PLC device,
Determining one of a malfunction state, a degraded state, or a normal state of the PLC device based on the output data;
Similarity is calculated by comparing the output data with preset reference data, and predicting a failure or malfunction time according to a result of comparing the similarity with a preset reference interval,
If it is determined that the PLC remote diagnosis apparatus is included in the first reference section in which the similarity is set as the critical section, it is determined that the PLC device is in a malfunction state, and the similarity is not included in the first reference section but is included in the first reference section. If it is determined that the PLC is included in a second reference section that is set to a smaller critical section, it is determined whether the PLC device is in a deteriorated state, and the PLC is only when the similarity persists for more than a preset reference time in the second reference section. Determine that the device is in a deteriorated state, and include the received output data in a history data set to predict when the PLC device passes from the deteriorated state to a malfunctioning point,
The PLC remote diagnosis method for determining whether or not the failure of the PLC device based on the output data, or predicting the failure time of the PLC device based on the plurality of accumulated stored output data.

삭제delete 삭제delete
KR1020190050373A 2019-04-30 2019-04-30 Device and method for remotely diagnosing programmable logic controller KR102025736B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190050373A KR102025736B1 (en) 2019-04-30 2019-04-30 Device and method for remotely diagnosing programmable logic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190050373A KR102025736B1 (en) 2019-04-30 2019-04-30 Device and method for remotely diagnosing programmable logic controller

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190115528A Division KR102108529B1 (en) 2019-09-19 2019-09-19 Device and method for remotely diagnosing programmable logic controller

Publications (1)

Publication Number Publication Date
KR102025736B1 true KR102025736B1 (en) 2019-09-26

Family

ID=68067876

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190050373A KR102025736B1 (en) 2019-04-30 2019-04-30 Device and method for remotely diagnosing programmable logic controller

Country Status (1)

Country Link
KR (1) KR102025736B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102340249B1 (en) * 2021-05-13 2021-12-17 주식회사 싸이몬 Apparatus and method for diagnosing and predicting faults of plc using data manning
KR102351538B1 (en) * 2021-05-13 2022-01-14 주식회사 싸이몬 System and method for predicting failure of automated facilities using and algorithm that learns and diagnoses patterns

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100549216B1 (en) 2004-06-18 2006-02-02 주식회사 포스콘 PLC output module having everytime diagnostic ability of output channel
KR100823720B1 (en) 2005-01-13 2008-04-18 주식회사 포스콘 PLC input module having periodically diagnostic ability for monitoring input channel
KR20150022145A (en) * 2013-08-22 2015-03-04 비앤에프테크놀로지 주식회사 Prediction method of abnormal data, and a computer-readable storege medium having program to perform the same
KR20160042616A (en) * 2014-10-10 2016-04-20 삼성에스디에스 주식회사 System and method for detecting and predicting anomalies based on analysis of time-series data
JP2019008718A (en) * 2017-06-28 2019-01-17 株式会社東芝 Diagnostic system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100549216B1 (en) 2004-06-18 2006-02-02 주식회사 포스콘 PLC output module having everytime diagnostic ability of output channel
KR100823720B1 (en) 2005-01-13 2008-04-18 주식회사 포스콘 PLC input module having periodically diagnostic ability for monitoring input channel
KR20150022145A (en) * 2013-08-22 2015-03-04 비앤에프테크놀로지 주식회사 Prediction method of abnormal data, and a computer-readable storege medium having program to perform the same
KR20160042616A (en) * 2014-10-10 2016-04-20 삼성에스디에스 주식회사 System and method for detecting and predicting anomalies based on analysis of time-series data
JP2019008718A (en) * 2017-06-28 2019-01-17 株式会社東芝 Diagnostic system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102340249B1 (en) * 2021-05-13 2021-12-17 주식회사 싸이몬 Apparatus and method for diagnosing and predicting faults of plc using data manning
KR102351538B1 (en) * 2021-05-13 2022-01-14 주식회사 싸이몬 System and method for predicting failure of automated facilities using and algorithm that learns and diagnoses patterns

Similar Documents

Publication Publication Date Title
EP3049873B1 (en) Non-intrusive sensor system
US10521490B2 (en) Equipment maintenance management system and equipment maintenance management method
JP5014664B2 (en) Method and system for diagnosing a machine
US8838413B2 (en) Valve actuator fault analysis system
US8019570B2 (en) System and method for continuous online safety and reliability monitoring
JP6751021B2 (en) Method and system for artificial intelligence model-based control of dynamic processes using stochastic factors
EP3403152B1 (en) Smart embedded control system for a field device of an automation system
US20150005903A1 (en) Non-Intrusive Data Analytics in a Process Control System
CN111385140B (en) System and method for generating data for monitoring network physical system to determine abnormality early
JP2009099144A (en) Method and system for remotely predictig remaining life of ac motor system
CN107976988B (en) Integration of on-line and off-line control valve data
KR102025736B1 (en) Device and method for remotely diagnosing programmable logic controller
KR101178186B1 (en) Method of alarming abnormal situation of plc based manufacturing system using plc signal pattern in pc based system
JP2018139085A (en) Method, device, system, and program for abnormality prediction
TW201626315A (en) Systems and methods for classifying in-situ sensor response data patterns representative of grid pathology severity
KR20180116577A (en) Method and apparatus for diagnosing building system
KR20190016458A (en) System state prediction
WO2023034912A1 (en) Systems and methods for monitoring a valve
US11449044B2 (en) Successive maximum error reduction
WO2021110388A1 (en) System, device and method for model based analytics
KR102108529B1 (en) Device and method for remotely diagnosing programmable logic controller
Xin et al. Dynamic probabilistic model checking for sensor validation in Industry 4.0 applications
US11966217B2 (en) Faulty variable identification technique for data-driven fault detection within a process plant
US10394255B2 (en) Diagnostic device and method for monitoring frictional behavior in a control loop
RU2735296C1 (en) Method for multi-parameter monitoring of complex electrotechnical objects state

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
GRNT Written decision to grant