Relay output signal monitoring device, monitoring system, and monitoring method
The monitoring device and method address the challenge of detecting and identifying causes of temporary relay output signal abnormalities by using an output signal monitoring unit and cause identification unit to distinguish between CNC and module-related issues, effectively preventing relay contact welding.
Patent Information
- Application Number
- JP2023514217
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-13
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2041-04-13
AI Technical Summary
Existing technologies struggle to effectively monitor and identify the cause of temporary abnormalities in the number of repeated opening and closing of relay output signals, which can be caused by noise or machine vibration, making it difficult to detect and diagnose issues such as arc welding due to continuous contact heat in relays.
A monitoring device and method that includes an output signal monitoring unit to detect abnormalities in the number of relay output signal repetitions and a cause identification unit to determine the periodicity of these repetitions, distinguishing between abnormalities caused by control signals from a CNC and issues within the relay output module, such as voltage fluctuations or vibration.
Enables the monitoring of relay output signal abnormalities and identifies their causes, allowing for timely detection and differentiation between CNC signal abnormalities and module-related issues, thereby preventing relay contact welding.
Smart Images

Figure 0007553697000004 
Figure 0007553697000001 
Figure 0007553697000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a monitoring device, a monitoring system, and a monitoring method for a relay output signal, and in particular to a monitoring device, a monitoring system, and a monitoring method for monitoring an abnormality in the number of repeated opening and closing of a relay output signal, and identifying the cause of the abnormality when an abnormality in the number of repeated opening and closing of a relay output signal is detected. [Background technology]
[0002] In a relay output module including a relay, the relay contacts repeatedly open and close in a short period of time, and continuous arc heat may cause the contacts to melt. Causes of an abnormality in the number of times the output signal of a relay (relay output signal) is repeatedly opened and closed include, for example, vibration in the relay output module, a drop in the voltage applied to the coil, and an abnormality in the control signal from a computer numerical control device (CNC) or the like.
[0003] A device for detecting repeated opening and closing of a switch within a short period of time is described in, for example, Patent Document 1. In Patent Document 1, a signal inspection device includes an acquisition unit that acquires the values of two or more signals among multiplexed signals at a predetermined cycle, a count unit that counts the number of changes of each of the two or more signals in a certain period of time, a calculation unit that calculates the difference between the number of changes, and an output unit that outputs an indication of a mismatch of the signals if the difference between the number of changes exceeds an allowable value. The output unit can output an indication of a signal that has changed more frequently than the others, thereby making it possible to detect signal abnormalities with short cycles.
[0004] Furthermore, for example, Patent Document 2 discloses an anomaly detection circuit that automatically detects an anomaly in a sequence control circuit without relying on visual confirmation. Patent Document 2 describes a method of storing the sequence of changes in input / output signals when the sequence control circuit is operating normally in an internal memory within a CPU in the abnormality detection circuit, and each time the CPU detects a change in the signal content of an input / output signal, it checks whether the input / output signal after the change follows the sequence of changes in the input / output signals stored in the internal memory, thereby confirming the operation of the sequence control circuit. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2017-151677 [Patent Document 2] Japanese Patent Application Publication No. 04-367003 Summary of the Invention [Problem to be solved by the invention]
[0006] The occurrence of repeated opening and closing of a relay in a short period of time can be confirmed by taking the waveform of the relay output signal with an oscilloscope, but if the control signal from a CNC or other device is abnormal due to noise or if the cause is machine vibration, the phenomenon is temporary and measurement is difficult. Therefore, there has been a demand for a method to monitor whether an abnormality has occurred in the number of times the output signal of a relay is repeatedly opened and closed, even if the phenomenon is temporary, and also for a method to identify the cause of the abnormality when an abnormality has occurred in the number of times the output signal of a relay is repeatedly opened and closed. [Means for solving the problem]
[0007] (1) A first aspect of the present disclosure provides a relay control system including: an output signal monitoring unit that monitors an abnormality in the number of times an output signal of a relay is repeatedly opened and closed; a cause identification unit that, when the output signal monitoring unit detects an abnormality in the number of times the switching is repeated, identifies a cause of the abnormality based on a periodicity of the switching; It is a monitoring device equipped with the above.
[0008] (2) A second aspect of the present disclosure is a monitoring device according to the above (1), a relay output module connected to the monitoring device, the relay output module including a relay and configured to output an output signal of the relay to the monitoring device; a load connected to the monitoring device and to which the output signal of the relay is output from the monitoring device; It is a surveillance system equipped with the following.
[0009] (3) A third aspect of the present disclosure is a relay output module including a relay, the relay output module outputs an output signal of the relay, This is a monitoring method in which a monitoring device monitors the number of times the output signal of the relay is repeatedly opened and closed, and if an abnormality is detected in the number of times the output signal of the relay is repeatedly opened and closed, the cause of the abnormality is identified based on the periodicity of the repeated opening and closing. Effect of the Invention
[0010] According to each aspect of the present disclosure, it is possible to monitor an abnormality in the number of repeated opening and closing of an output signal of a relay, and when an abnormality occurs in the number of repeated opening and closing of an output signal of a relay, it is possible to identify the cause of the abnormality. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing a configuration example of a monitoring system according to a first embodiment of the present disclosure. [Diagram 2] 10 is a waveform diagram showing an observed state of the number of level changes of a relay output signal within a certain period of time. [Diagram 3] 11A and 11B are diagrams showing two examples of a relay output signal in which an abnormality has occurred in the number of repeated opening and closing operations. [Figure 4] 4 is a flowchart showing the operation of the monitoring device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. (First embodiment) FIG. 1 is a block diagram showing a configuration example of a monitoring system according to a first embodiment of the present disclosure.
[0013] 1, the monitoring system 10 includes a relay output module 20, a monitoring device 30, a load 40, and a display unit 50. The display unit 50 is not necessarily required. The relay output module 20 includes an inverter 21 and a relay 22. A control signal is input to the inverter 21 from a computer numerical control device (CNC) serving as a numerical control device. The input control signal is inverted by the inverter 21 and input to the relay 22. The relay 22 includes a coil 221 and a contact unit 222. The inverted control signal controls the on / off of a current flowing through the coil 221, and this current acts as an electromagnetic force to control the opening and closing of the contact unit 222. The relay 22 outputs a relay output signal generated by opening and closing the contact unit 222 to the monitoring device 30.
[0014] The monitoring device 30 includes an alarm notification unit 31, an output signal monitoring unit 32, and a cause identification unit 33. The monitoring device 30 is connected between the relay output module 20 and a load 40 such as a valve or a light.
[0015] The output signal monitoring unit 32 monitors the number of times the output signal (relay output signal) of the relay 22 is repeatedly opened and closed (on and off) for abnormality (high frequency opening and closing in a short period of time). For example, as shown in Fig. 2, the output signal monitoring unit 32 monitors whether the number of changes in the level of the relay output signal from on to off or from off to on within a certain time T exceeds a threshold. The certain time T is set taking into consideration the type of relay, the update cycle of the CNC control signal, etc. The threshold is set taking into consideration the type of relay, etc. The certain time T and the threshold are set taking into consideration the type of relay, since the number of times that the relay contacts are repeatedly opened and closed in a short period of time until the relay is welded and the duration of the repetition differ depending on the type of relay. The output signal monitoring unit 32 stores the relay output signal for a certain period of time T.
[0016] If the number of level changes of the relay output signal within a certain period of time T exceeds a threshold value, the output signal monitoring unit 32 determines that there is an abnormality in the number of times the output signal of the relay 22 is repeatedly opened and closed, and outputs the stored relay output signal for the certain period of time to the cause identifying unit 33. In addition, the output signal monitoring unit 32 outputs an alarm indication command to the alarm notification unit 31. When the alarm notification unit 31 receives an alarm instruction command, it outputs an alarm signal to an alarm generating unit such as an LED or a speaker (not shown). The alarm notification unit 31 is provided as necessary, or may not be provided. The alarm notification unit 31 may output an alarm display signal to the display unit 50. The method by which the output signal monitoring unit 32 monitors whether or not the number of times the output signal (relay output signal) of the relay 22 is repeatedly opened and closed is abnormal is not limited to the above method, and other monitoring methods may be used.
[0017] The cause identifying unit 33 identifies the cause of an abnormality in the number of times the output signal of the relay 22 is repeatedly opened and closed (on and off) (high frequency opening and closing in a short period of time). Specifically, the cause identifying unit 33 observes the period of the change in level of the relay output signal for a certain period of time. When the control signal from the CNC input to the relay output module 20 is abnormal but there is no abnormality in the relay output module 20, the timing of the change in level of the relay output signal depends on the update cycle of the control signal from the CNC and has periodicity. Therefore, if there is periodicity in the timing of the change in the level of the relay output signal, the cause identification unit 33 determines that the control signal from the CNC is abnormal. For example, the relay output signal Vout1 shown in Fig. 3 has periodicity because it opens and closes in response to the update cycle Tc (Tc = 8 msec) of the CNC, and it is determined that the cause of the abnormality in the number of repeated opening and closing is the abnormality in the control signal from the CNC.
[0018] On the other hand, if the timing of the change in the level of the relay output signal does not depend on the update cycle of the control signal from the CNC, the cause identifying unit 33 determines that there is no abnormality in the control signal from the CNC, and that the cause of the abnormality in the number of repeated opening and closing is due to another cause, for example, an abnormality due to the relay output module 20 (for example, an abnormality due to the voltage applied to the coil or vibration). For example, the relay output signal Vout2 shown in Fig. 3 does not open and close in response to the update cycle Tc (Tc = 8 msec), and has no periodicity, so the cause identifying unit 33 determines that there is no abnormality in the control signal from the CNC, and that there is a cause other than the control signal from the CNC, for example, an abnormality due to the relay output module 20 (for example, an abnormality due to the voltage applied to the coil or vibration).
[0019] When the cause identifying section 33 identifies the cause of the abnormality in the number of repeated opening and closing operations, the cause identifying section 33 displays the identified cause on the display section 50 such as a liquid crystal display device. For example, if the cause of the abnormality in the number of opening and closing repetitions is the control signal from the CNC, the display unit 50 will display "The cause of the abnormality in the number of opening and closing repetitions is the control signal from the CNC.", and if the cause of the abnormality in the number of opening and closing repetitions is the relay output module (e.g., voltage applied to the coil or vibration), the display unit 50 will display "The cause of the abnormality in the number of opening and closing repetitions is the relay output module (e.g., voltage applied to the coil or vibration)." The display unit 50 displays "An abnormality has occurred in the number of repeated opening and closing operations" when it receives an alarm display signal from the alarm notification unit 31. The display unit 50 may display this display together with the display indicating the cause of the abnormality in the number of repeated opening and closing operations described above.
[0020] According to the monitoring device of the embodiment described above, it is possible to monitor whether an abnormality occurs in the number of opening and closing repetitions in the relay output signal. It is also possible to distinguish whether the cause of the abnormality in the number of opening and closing repetitions is an abnormality in the control signal from the CNC. If the cause of the abnormality in the number of opening and closing repetitions is not an abnormality in the control signal from the CNC, it is possible to determine that it is due to another cause, for example, an abnormality due to the relay output module 20 (an abnormality due to the voltage applied to the coil or vibration).
[0021] The functional blocks included in the monitoring device 30 have been described above. To realize these functional blocks, the monitoring device 30 includes a processor such as a CPU (Central Processing Unit). The monitoring device 30 also includes a secondary storage device such as a HDD (Hard Disk Drive) that stores various control programs such as application software and an OS (Operating System), and a main storage device such as a RAM (Random Access Memory) for storing data temporarily required for the processor to execute a program.
[0022] In the monitoring device 30, the arithmetic processing unit reads the application software or OS from the auxiliary storage device, and executes arithmetic processing based on the application software or OS while expanding the read application software or OS in the main storage device. Also, based on the results of this calculation, various pieces of hardware provided in each device are controlled. In this way, the functional blocks of the monitoring device 30 of this embodiment are realized. In other words, this embodiment can be realized by the cooperation of hardware and software.
[0023] The operation of the monitoring device 30 will be described below with reference to Fig. 4. Fig. 4 is a flowchart showing the operation of the monitoring device 30.
[0024] In step S11 of FIG. 4, the output signal monitoring unit 32 observes the number of changes in the level of the relay output signal from on to off or from off to on within a certain period of time. In step S12, the output signal monitoring unit 32 judges whether the number of level changes exceeds a threshold value. If the number of level changes exceeds the threshold value, the process proceeds to step S13. If the number of level changes does not exceed the threshold value, the process ends.
[0025] In step S13, the cause identifying unit 33 determines the periodicity of the timing of the level change of the relay output signal. If the timing of the level change of the relay output signal is periodic, in step S14, the cause identifying unit 33 identifies that the cause of the abnormality in the number of repeated opening and closing (high frequency opening and closing in a short period of time) is due to an abnormal control signal from the CNC.
[0026] On the other hand, if there is no periodicity in the timing of the level change of the relay output signal, in step S15, the cause identification unit 33 determines that there is no abnormality in the control signal from the CNC, and that the abnormality is due to some other cause than the control signal from the CNC, such as an abnormality caused by the relay output module 20 (for example, an abnormality due to the coil applied voltage or vibration).
[0027] Although each embodiment of the present invention has been described above, each component included in the monitoring device 30 can be realized by hardware, software, or a combination of these. In addition, the monitoring method performed by the cooperation of each component included in the monitoring device 30 can also be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.
[0028] The program can be stored and provided to a computer using various types of non-transitory computer readable recording media. The non-transitory computer readable recording media include various types of tangible recording media. Examples of the non-transitory computer readable recording media include magnetic recording media (e.g., hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (random access memories)).
[0029] The above-described embodiment is a preferred embodiment of the present invention, but the scope of the present invention is not limited to the above-described embodiment, and the present invention can be implemented in various modified forms without departing from the gist of the present invention.
[0030] The monitoring device, monitoring system, and monitoring method for a relay output signal according to the present disclosure can take various forms including the above-mentioned embodiment, having the following configurations.
[0031] (1) an output signal monitoring unit (e.g., output signal monitoring unit 32) that monitors an abnormality in the number of times an output signal of a relay (e.g., relay 22) is repeatedly opened and closed; a cause identifying unit (e.g., a cause identifying unit 33) that identifies a cause of the abnormality based on the periodicity of the repeated opening and closing when the output signal monitoring unit detects an abnormality in the number of repeated opening and closing; A monitoring device (for example, monitoring device 30) equipped with the above. This monitoring device monitors the number of times the relay output signal is repeatedly opened and closed, and if an abnormality occurs in the number of times the relay output signal is repeatedly opened and closed, it is possible to identify the cause of the abnormality.
[0032] (2) The relay is opened and closed based on a control signal from a numerical control device, The monitoring device according to (1) above, wherein the cause identification unit determines that the cause of the abnormality is in the control signal when the repetition of opening and closing of the output signal is periodic.
[0033] (3) the relay is included in a relay output module (e.g., relay output module 20), the relay output module being connected to the numerical control device; The monitoring device according to (2) above, wherein the cause identification unit determines that the cause of the abnormality is in the relay output module when the repetition of opening and closing of the output signal is not periodic.
[0034] (4) A monitoring device according to any one of (1) to (3) above, wherein the output signal monitoring unit determines that the number of repetitions of opening and closing the output signal of the relay within a certain period of time is abnormal when the number of repetitions exceeds a threshold value.
[0035] (5) A monitoring device according to any one of (1) to (4) above, further comprising an alarm notification unit that issues an alarm when the output signal monitoring unit detects an abnormality in the number of repeated opening and closing of the output signal.
[0036] (6) A monitoring device (e.g., monitoring device 30) according to any one of (1) to (5) above; a relay output module (e.g., relay output module 20) connected to the monitoring device, including a relay, and outputting an output signal of the relay to the monitoring device; a load connected to the monitoring device and to which the output signal of the relay is output from the monitoring device; A monitoring system (e.g., monitoring system 10) comprising: This monitoring system monitors the number of times the relay output signal is repeatedly opened and closed, and if an abnormality occurs in the number of times the relay output signal is repeatedly opened and closed, it is possible to identify the cause of the abnormality.
[0037] (7) The monitoring system according to (6) above, further comprising a display unit that displays a cause of an abnormality in the number of times the output signal of the relay is repeatedly opened and closed, which is output from the monitoring device.
[0038] (8) A relay output module including a relay (e.g., relay output module 20) outputs an output signal of the relay; A monitoring method in which a monitoring device (e.g., monitoring device 30) monitors an abnormality in the number of repeated opening and closing of an output signal of the relay, and when an abnormality in the number of repeated opening and closing is detected, identifies the cause of the abnormality based on the periodicity of the repeated opening and closing. According to this monitoring method, an abnormality in the number of repeated opening and closing of the relay output signal is monitored, and if an abnormality in the number of repeated opening and closing of the relay output signal occurs, it is possible to identify the cause of the abnormality. [Explanation of symbols]
[0039] 10. Surveillance System 20 Relay Output Module 30 Monitoring equipment 31 Alarm notification section 32 Output signal monitoring section 33 Cause Identification Department 40 Load 50 Display
Claims
1. an output signal monitoring unit that monitors an abnormality in the number of times an output signal of the relay is repeatedly opened and closed; a cause identification unit that, when the output signal monitoring unit detects an abnormality in the number of times the switching is repeated, identifies a cause of the abnormality based on a periodicity of the switching; A monitoring device comprising:
2. The relay is opened and closed based on a control signal from a numerical control device, The monitoring device according to claim 1 , wherein the cause identifying unit determines that the cause of the abnormality is in the control signal when the repetition of opening and closing of the output signal is periodic.
3. The relay is included in a relay output module, the relay output module being connected to the numerical control device; The monitoring device according to claim 2 , wherein the cause identifying unit determines that the cause of the abnormality is in the relay output module when the repetition of opening and closing of the output signal is not periodic.
4. The monitoring device according to claim 1 , wherein the output signal monitoring unit determines that the number of repetitions of opening and closing the output signal of the relay within a certain period of time is abnormal when the number of repetitions exceeds a threshold value.
5. 5. The monitoring device according to claim 1, further comprising an alarm notification unit that issues an alarm when the output signal monitoring unit detects an abnormality in the number of times the output signal is repeatedly opened and closed.
6. A monitoring device according to any one of claims 1 to 5; a relay output module connected to the monitoring device, the relay output module including a relay and configured to output an output signal of the relay to the monitoring device; a load connected to the monitoring device and to which the output signal of the relay is output from the monitoring device; A surveillance system equipped with
7. 7. The monitoring system according to claim 6, further comprising a display unit that displays a cause of an abnormality in the number of times the output signal of the relay is repeatedly opened and closed, which is output from the monitoring device.
8. a relay output module including a relay, which outputs an output signal of the relay; A monitoring method in which a monitoring device monitors an abnormality in the number of repeated opening and closing of an output signal of the relay, and when an abnormality in the number of repeated opening and closing is detected, identifies a cause of the abnormality based on the periodicity of the repeated opening and closing.
Citation Information
Patent Citations
Abnormality detecting circuit for sequence control circuit
JP1992367003A
Electronic component crimping method and apparatus
JP2008091804A
Relay diagnosis device and semiconductor testing device
JP2009025141A
Photovoltaic power generation system
JP2012195322A
Electronic control apparatus
JP2015217911A
