Facility diagnosis method using facility diagnosis system
11774934 ยท 2023-10-03
Assignee
Inventors
Cpc classification
G06F11/32
PHYSICS
G07C5/0866
PHYSICS
H04L67/12
ELECTRICITY
G06F12/0238
PHYSICS
Y02P90/02
GENERAL 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
Y02P90/30
GENERAL 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
International classification
G05B19/05
PHYSICS
G06F11/32
PHYSICS
G07C3/00
PHYSICS
Abstract
The present invention relates to an equipment diagnosis method using equipment diagnosis system comprising: an imaging module (110) for collecting image data by photographing the equipment having an equipment controller, in which a PLC is loaded, embedded therein; a diagnostic module (120) including hardware having software for diagnosing whether the equipment is normal or abnormal; and a plurality of IoT sensor units (130) for monitoring an object to be monitored, and thus a user can quickly diagnose, identify, and cope with a specific cause of an equipment failure on the basis of objective data provided from a PLC memory area, and image file, and an IOT sensor unit at the occurrence of various types of events generated by a diagnostic module for each condition designated by the user according to the state of equipment.
Claims
1. A facility diagnosis method using a facility diagnosis system comprising an imaging module (110) configured to photograph a facility, in which a facility controller on which a PLC is mounted is embedded, and a diagnostic module (120) comprising hardware, on which software for diagnosing a failure of the facility is mounted, the facility diagnosis method comprising: a diagnosis event generating step (S11) of receiving and detecting a PLC memory map access signal (P) output by the facility controller, by the diagnostic module (120), and generating diagnosis events for kinds corresponding to a plurality of preset event conditions, in the diagnostic module (120); a storage range setting step (S12) of arbitrarily selecting ranges of state information and a data value of a PLC memory area, which is to be stored at a diagnosis event generation time point, and setting a time area of a before/after range with reference to the diagnosis event generation time point by the diagnostic module (120); and a file storing step (S13) of storing the state information and the data value of the PLC memory area in the range selected in the storage range setting step in real time, by the diagnostic module (120), wherein the diagnostic module (120) is configured to selectively perform: a master memory pattern setting step (S21) of mounting memory pattern recognition software, storing state information and a data value of the PLC memory area during one cycle of a normal state operation of the facility, and setting the state information and the data value stored, as a master memory pattern; and a memory pattern notifying step (S22) of reading the PLC memory area in real time during an operation of the facility, comparing the read PLC memory area with the master memory pattern, and displaying an area in which the read PLC memory does not coincide with the master memory pattern, and wherein in the file storing step (S13), the state information and the data value of the PLC memory area are stored in the form of data files for kinds of diagnosis events and generation dates and times, areas for an input/output, an internal relay, a link relay are converted in unit of bits to display an operational state thereof, areas for a data register and a link register are converted in unit of decimal numbers after being read in unit of words to be displayed and stored, and to be provided to a user.
2. The facility diagnosis method of claim 1, wherein an image recognition application is mounted on the imaging module (110) of the facility diagnosis system, the facility diagnosis method comprising: a master image setting step (S31) of, after setting an image area in a normal state of a monitoring target, accumulating edge characteristics of a plurality of images in unit of pixels and learning an averaged master image; a matching rate setting step (S32) of storing a matching rate and a storage condition, in which border values are set in a normal state and an abnormal state of the monitoring target; an image monitoring event generating step (S33) of receiving and detecting an image monitoring event signal output by the imaging module (110), by the diagnostic module (120), generating an image monitoring event that coincides with a preset image monitoring event condition, in the diagnostic module (120), and transmitting a signal to the imaging module (110); and an image file storing step (S34) of acquiring a current state image of the monitoring target at the image monitoring event generating time point by the imaging module (110), and storing the current state image as an image file if a storage condition is satisfied according to the matching rate after the current state image is compared with the master image, and wherein the image file storing step (S34) comprises: acquiring and editing image data of the monitoring target photographed by an image device in a time area of the before/after range with reference to the image monitoring event generation time point, and storing the edited image data as an image file.
3. The facility diagnosis method of claim 1, wherein the facility diagnosis system comprises a plurality of IoT sensor units (130) configured to monitor the monitoring target, the facility diagnosis method comprising: an IoT event generating step (S41) of receiving and detecting an IoT monitoring event signal through a hardware contact point or a wired/wireless communication with the IoT sensor units (130), by the diagnostic module (120), generating an IoT monitoring event corresponding to a preset IoT monitoring event condition, in the diagnostic module (120), and transmitting a signal to the imaging module (110); an image file storing step (S42) of acquiring and editing image data of the monitoring target photographed by an imaging device in a time area of a before/after range with reference to the IoT monitoring event generation time point and storing the edited image data as an image file; and an IoT notifying step (S43) of transmitting an IoT monitoring event generation notification to a smartphone of the user, by the diagnostic module (120).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
MODE FOR CARRYING OUT THE INVENTION
(3) A facility diagnosis method using a facility diagnosis system, to which the technology of the present disclosure is applied, is a technology of, when an abnormal operation occurs during management of a facility, in which a facility controller on which a PLC is mounted is embedded, allowing a user to recognize a detailed cause of the abnormal operation more promptly and precisely, based on objective data analyzed by a diagnostic module 120, an imaging module 110, and an IoT sensor unit 130, particularly thereby making it possible to more effectively diagnose a failure to take a measure, the cause of which cannot be easily recognized in the operation process of the facility.
(4) To achieve this, a facility diagnosis method using a facility diagnosis system is a facility diagnosis method using a facility diagnosis system including an imaging module 110 configured to photograph a facility, in which a facility controller on which a PLC is mounted is embedded, and a diagnostic module 120 including hardware, on which software for diagnosing a failure of the facility is mounted, details thereof are as follows.
(5) The facility diagnosis method of the present disclosure includes a diagnosis event generating step S11, a storage range setting step S12, and a file storing step S13.
(6) The diagnosis event generating step (S11) is a step of receiving and detecting a PLC memory map access signal P output by the facility controller, by the diagnostic module (120), and generating diagnosis events for kinds corresponding to a plurality of preset event conditions, in the diagnostic module 120.
(7) The facility controller is a device embedded in a facility to control an automation facility, and includes a printed circuit board (PCB), on which a programmable logic controller (PLC), a computer, and a microprocessor are mounted.
(8) A PLC is a control unit that realizes a program control for a basic facility operation sequence control, a control by numerical calculations, a communication function, and the like by replacing a device such as a relay, a timer, a counter, or the like embedded on a control panel mounted on a conventional facility by a semiconductor device.
(9) The PLC includes hardware including an input/output module, a power supply, a communication module, and a peripheral device, including a CPU and a memory, and PLC software.
(10) The PLC memory is divided into areas for a user program memory, a data memory, and a system memory.
(11) The user program memory is an area in which a user-specific program is stored. The PLC allows the user-specific program to perform an operation of controlling a device connected to the PLC. The data memory is an area in which device information, such as contact states and setting values of an input/output, an auxiliary relay, a timer, and a counter, is stored. The system memory is an area in which a system program, such as an operating system (OS) written by a PLC manufacturer, is stored.
(12) The user-specific program is a control program written by a user according to a facility that is to be controlled, and performs various control functions by inputting and outputting a signal through an input/output module of a PLC and accessing and communicating with an interface.
(13) The input/output module of the PLC directly connects an input/output circuit and a device that constitutes a facility, and basically includes a signal control scheme by a digital unit or an analog unit, in which a converter is embedded. Further, an input/output communication by a PLC memory map access signal P is made possible. Because known technologies may be referenced for the general technical issues of the PLC, a detailed description thereof will be omitted.
(14) The diagnostic module 120 includes a plurality of terminal members, a plurality of communication ports for communication of the PLC and an imaging module 110, which will be described below, a PCB, on which software for analyzing and processing input data and diagnosing a failure of the facility, and a display device that sets and changes various parameters through a software interface and identifies the stored image data.
(15) The diagnostic module 120 receives a PLC memory map access signal P from the PLC input/output module and generates an event. The user may designate a signal, which will be used as a PLC memory map access signal, according to a situation of the facility by using the input/output module of the PLC or a memory area signal on the PLC program.
(16) The diagnostic module 120 generates an event that coincides with an event generation condition by a preset parameter. With reference to the generation time point of the event, the diagnostic module 120 transmits a signal to the imaging module 110, which will be described below, and allows the captured image data to be edited and stored according to setting of a user condition, and in particular, analyzes the state information and the data values of the PLC memory area and provides the state information and the data values analyzed such that the state information and the data values are used for diagnosis of a failure of the facility.
(17) The storage range setting step (S12) is a step of arbitrarily selecting ranges of state information and a data value of a PLC memory area, which is to be stored at a diagnosis event generation time point, and setting a time area of a before/after range with reference to the diagnosis event generation time point.
(18) Because device information and data values of various kinds, such as an input/output, an internal relay, and a link relay, are stored in the data memory area of the PLC memory, in the storage range setting step (S12), the user arbitrarily selects a range of the input/output state information and the data values, which will be read and stored, and a time range which will be stored is set with reference to the diagnosis event generation time point.
(19) The file storing step (S13) is a step of storing the state information and the data value of the PLC memory area in the range selected in the storage range setting step (S12) in real time, by the diagnostic module 120.
(20) In particular, in the file storing step (S13), the state information and the data values of the PLC memory area are stored in the form of data files for kinds of the diagnosis events and dates and times of the generations of the diagnosis events and are provided to the user, and thus the user can promptly and precisely take measures based on the stored files.
(21) Further, in the file storing step (S13), areas for an input/output, an internal relay, and a link relay of the PLC memory area are converted in unit of bits to display an operational state of the PLC memory area, areas for a data register and a link register are stored as data files for converting the data register and the link register in unit of decimal numbers after reading the data register and the link register in unit of words to display the data register and the link register.
(22) The input/output area is a device that stores on/off data and data for delivering CPU calculation result data of a device (for example, a switch, a sensor, a lamp, or a solenoid) connected to the input/output module of the PLC, and displays state information of an input/output contact point. The internal relay area is a device that stores ON/OFF contact point data of a CPU. The link relay is a device that shares data during communication between CPUs. The data register is a device that stores internal data in the CPU. The link register is a device that shares word data between CPUs during communication. Known technologies may be referenced for detailed functions of the device applied to the PLC.
(23) The CPU of the PLC stores and processes all data by 1 or 0. Accordingly, because the numerical calculations also processed by binary numbers, it is difficult for a user to easily recognize the contents of data when the data are stored in files in this state. Accordingly, in the file storing step (S13), because an ON/OFF operation is displayed in unit of bits according to the operational characteristics of the devices and the data in unit of 16 bits or 32 bits are converted into decimal numbers after being read in unit of words to be displayed, the user can more conveniently and promptly recognize the stored data files when reading the data files.
(24) [Modes for Carrying out the Invention]
(25) Meanwhile, in the facility diagnosis method using a facility diagnosis system of the present disclosure, memory pattern recognition software is mounted on the diagnostic module 120, and the facility diagnosis method includes a master memory pattern setting step (S21) and a memory pattern notifying step (S22).
(26) The master memory pattern setting step (S21) is a step of storing state information and a data value of the PLC memory area during one cycle of a normal state operation of the facility, and setting the state information and the data value stored, as a master memory pattern.
(27) That is, the diagnostic module 120 stores state information and data values of the PLC memory area in a range preset by the user in a storage device of the diagnostic module 120 while one cycle of normal operations of the facility is performed in conjunction with the communication module of the PLC, and thus a master memory pattern by memory pattern recognition software is set.
(28) The memory pattern notifying step (S22) is a step of reading the PLC memory area in real time during an operation of the facility, comparing the read PLC memory area with the master memory pattern, and displaying an area in which the read PLC memory does not coincide with the master memory pattern.
(29) Meanwhile, in the facility diagnosis method using a facility diagnosis system of the present disclosure, an image recognition application is mounted on the imaging module 110, and the facility diagnosis method includes a master image setting step (S31), a matching rate setting step (S32), an image monitoring event generating step (S33), and an image file storing step (S34).
(30) The imaging module 110 includes an imaging device that normally photographs a monitoring target, and consistently stores recent image data of an appropriate capacity.
(31) The imaging device includes a camera or a CCTV that is included and embedded in the facility diagnosis system 100 or installed remotely. One or more imaging devices are connected to a connection port provided in the diagnostic module 120 to transmit and receive a signal.
(32) The image recognition application is software, on which an image recognition comparing algorithm based on an OPEN CV technology is mounted, and which allows a master image to be stored and matched by using a general imaging device.
(33) An open source computer vision (OPEN CV) is an open programing library for realizing a real-time computer vision with software, and may realize functions, such as an operation, recognition, tracking, and identification of a monitoring target through image processing.
(34) A conventional automation line performs an inspection, such as an inspection of assembly of a material, an inspection of dissimilar products, or an inspection of size by using a sensor or a vision system (a machine vision), and a CCTV in circulation employs a scheme of storing a real-time image or a full image through a motion detection scheme. Meanwhile, the present disclosure uses an image recognition application and a general imaging device that are realized based on an OPEN CV instead of constructing a conventional high-priced vision system.
(35) The master image setting step (S31) is a step of, after setting an image area in a normal state of a monitoring target, accumulating edge characteristics of a plurality of images in unit of pixels and learning an averaged master image.
(36) That is, a master image is generated by combining edge characteristics of several hundreds of images obtained by photographing normal states by using an edge (periphery or corner) characteristic detecting algorithm of an image realized in the image recognition application.
(37) The matching rate setting step (S32) is a step of storing a matching rate and a storage condition, in which border values are set in a normal state and an abnormal state of the monitoring target. The user may arbitrarily set the matching rate.
(38) The image monitoring event generating step (S33) is a step of receiving and detecting an image monitoring event signal output by the imaging module 110, by the diagnostic module 120, generating an image monitoring event that coincides with a preset image monitoring event condition, in the diagnostic module 120, and transmitting a signal to the imaging module 110.
(39) The image file storing step (S34) is a step of acquiring a current state image of the monitoring target at the image monitoring event generating time point by the imaging module 110, and storing the current state image as an image file if a storage condition is satisfied according to the matching rate after the current state image is compared with the master image.
(40) Further, in the image file storing step (S34), image data of a monitoring target captured by the imaging device in a time area of a before/after range with reference to an image monitoring event generation time point are acquired and edited and are stored in an image file.
(41) Meanwhile, in the facility diagnosis method using a facility diagnosis system of the present disclosure, a plurality of IoT sensor units 130 that monitor a monitoring target is provided, and the facility diagnosis method includes an IoT event generating step (S41), an image file storing step (S41), and an IoT notifying step (S43).
(42) That is, when the IoT sensor unit 130 satisfies a preset condition after a situation in a monitoring zone which is determined to require monitoring by the user, for example, a situation such as control of entrance/exit, detection of intrusion, or stealth of a facility is assumed, the diagnostic module 120 detects an IoT monitoring event signal to generate an IoT monitoring event.
(43) The IoT event generating step (S41) is a step of receiving and detecting an IoT monitoring event signal through a hardware contact point or a wired/wireless communication with the IoT sensor units 130, by the diagnostic module 120, generating an IoT monitoring event corresponding to a preset IoT monitoring event condition, in the diagnostic module 120, and transmitting a signal to the imaging module 110.
(44) The image file storing step (S42) is a step of acquiring and editing image data of the monitoring target photographed by an imaging device in a time area of a before/after range with reference to the IoT monitoring event generation time point and storing the edited image data as an image file.
(45) The IoT notifying step (S43) is a step of transmitting an IoT monitoring event generation notification to a smartphone of the user, by the diagnostic module 120.
(46) The above-described facility diagnosis method using a facility diagnosis system according to the present disclosure uses a facility diagnosis system 100 including a diagnostic module 120 that interworks a PLC, an imaging module 110 that interworks the diagnostic module 120, and an IoT sensor unit 130, and a diagnosis of a failure of a facility, a cause of which is difficult to recognize, can be effectively made by generating various kinds of events according to designated conditions of the user for situations of the facility.
(47) Accordingly, according to the present disclosure, a precise cause can be promptly recognized by converting state information and data values of a PLC memory area to a form of data files that may be recognized by the user more easily and conveniently and providing the state information and the data values to the user for kinds and generation dates and times of an event through the diagnosis event generating step to the file storing step (S11 to S13), and the user can cope with the diagnosis of a failure more promptly through the master memory pattern setting step to the memory pattern notifying step (S21 to S22).
(48) Further, according to the present disclosure, an abnormal operation can be diagnosed and recognized easily in a software way by using a general imaging device even without introducing a high-priced vision system through the master image setting step to the image file storing step (S31 to S34).
INDUSTRIAL APPLICABILITY
(49) The present disclosure can achieve various effects, for example, of promptly performing a diagnosis and a measure by applying an IoT technology to a facility diagnosis system 100 by connecting the a facility controller, a facility diagnosis system, and a user in real time through the IoT event generating step to the IoT notifying step (S41 to S43).