AC phase line on-off detection device and on-off detection method thereof

By integrating the phase line on-off detection module, control module and wireless communication module in the AC phase line on-off detection device, and using the LoRaWAN protocol to send data to the remote server in real time, the existing technology cannot monitor AC phase line in real time and remotely. The problem of interruption realizes wireless transmission and remote monitoring, improving the real-time and convenience of monitoring.

CN114578262BActive Publication Date: 2025-01-03GREEN CARBON INTELLIGENT BUILDING (HANGZHOU) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210049051.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2025-01-03
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

The prior art cannot monitor the on-off situation of AC phase lines in real time and remotely, and cannot transmit wirelessly, resulting in users being unable to view the on-off situation of the phase lines in real time, affecting network layout.

Method used

A device including a phase line on-off detection module, a control module and a wireless communication module is designed. The phase line on-off detection data is sent to the remote server in real time through the LoRaWAN protocol to realize wireless transmission and remote monitoring.

Benefits of technology

It realizes the real-time remote view of AC phase line on and off conditions without wiring, improves the real-time and convenience of monitoring, and is suitable for real-time remote monitoring of AC phase line on and off in various places.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114578262B_ABST
    Figure CN114578262B_ABST
Patent Text Reader

Abstract

The present application discloses an AC phase line on-off detection device and an on-off detection method thereof, including: a phase line on-off detection module, a control module and a wireless communication module; the phase line on-off detection module is used to obtain the on-off signal of the phase line and send the on-off signal to the control module; the control module is used to set the phase line on-off detection flag after receiving the on-off signal, and if the phase line on-off detection flag is set after multiple delays, the phase line on-off detection data is packaged and sent to a remote server through the wireless communication module; the wireless communication module uses LoRaWAN to send the packaged phase line on-off detection data to the remote server, and receives the downlink data sent by the remote server. The present application makes it possible to realize long-distance and real-time viewing of the phase line on-off status without wiring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of on-off detectors, and in particular to an on-off detection device for an AC phase line and an on-off detection method thereof. Background Art

[0002] The on-off detection of the AC phase line in the existing technology requires manual observation, and it is impossible to find the on-off status of the AC phase line in real time; and the on-off status of the AC phase line cannot be remotely monitored and data searched; so that users cannot monitor the on-off status of the AC phase line in real time. In addition, the technology used in the existing phase line on-off detection cannot be transmitted over long distances, which is not convenient for network layout; therefore, there is an urgent need for an AC phase line on-off detection device that does not require wiring and can view the on-off status of the phase line in real time from a long distance. Summary of the invention

[0003] The present application provides an AC phase line on-off detection device and an on-off detection method thereof, so that the on-off status of the phase line can be checked in real time over a long distance without wiring.

[0004] In view of this, the first aspect of the present application provides an AC phase line on-off detection device, the AC phase line on-off detection device comprising:

[0005] Phase line on / off detection module, control module and wireless communication module;

[0006] The phase line on-off detection module is used to obtain an on-off signal of the phase line and send the on-off signal to the control module;

[0007] The control module is used to set the phase line on-off detection flag after receiving the on-off signal. If the phase line on-off detection flag is detected to be set for multiple consecutive delays, the phase line on-off detection data is packaged and sent to the remote server through the wireless communication module;

[0008] The wireless communication module uses LoRaWAN to send the packaged phase line on-off detection data to the remote server, and receives the downlink data sent by the remote server.

[0009] Optionally, the phase line on-off detection module includes a rectifier bridge, a first capacitor, an optocoupler isolator, a plurality of resistors and a light emitting diode;

[0010] The rectifier bridge is connected to the phase line and is used to convert AC into DC and keep the phase sequence of the input phase line unchanged;

[0011] The first capacitor is used to trigger the reporting of an on / off signal when the device is powered off;

[0012] The optical coupler isolator is used to eliminate interference in the phase line on-off detection module.

[0013] Optionally, the phase line on / off detection module specifically includes:

[0014] The first AC input port of the rectifier bridge is connected to the phase line, the second AC input port is connected in series with the fifth resistor, the fourth resistor and the third resistor in sequence, and the other end of the third resistor is connected to the neutral line; the third positive output port is connected to the first input end of the optocoupler isolator, and the fourth negative output port is connected to the second input end of the optocoupler isolator; the third positive output port and the fourth negative output port are respectively connected to the two ends of the first capacitor;

[0015] The third input terminal of the optocoupler isolator is grounded, and the fourth output terminal is respectively connected to the sixth resistor and the phase line on-off detection signal output port, the other end of the sixth resistor is respectively connected to the 3.3V power supply and the seventh resistor, the other end of the seventh resistor is connected to the positive electrode of the light-emitting diode, and the negative electrode of the light-emitting diode is grounded.

[0016] Optionally, the first capacitor is a 100uf / 50V capacitor.

[0017] Optional, including:

[0018] The zero-fire power conversion module is used to convert the mains power into a 3.3V DC voltage and to supply power to the phase line on / off detection module, the control module and the wireless communication module.

[0019] A second aspect of the present application provides an on / off detection method of an AC phase line on / off detection device, the method comprising:

[0020] Collect the on / off signal of the phase line on / off detection module in real time, and determine whether the phase line on / off detection flag is set;

[0021] If the phase line on-off detection flag is set, and the phase line on-off detection flag is set for multiple consecutive delay detections, it is determined that the phase line on-off detection flag is set;

[0022] The current phase line on-off detection data is packaged and reported to the remote server via LoRaWAN.

[0023] Optionally, if the phase line on-off detection flag is set, and the phase line on-off detection flag is set after multiple consecutive delay detections, then judging whether the phase line on-off detection flag is set is specifically as follows:

[0024] S1: If the phase line on / off detection flag is set, wait for 100ms and then detect again whether the phase line on / off detection flag is set;

[0025] Repeat step S1 n times, and if the phase line on-off detection flag is still set, determine that the phase line on-off detection flag is set.

[0026] Optionally, packaging the current phase line on / off detection data and reporting it to a remote server via LoRaWAN includes:

[0027] The current phase line on-off detection data is packaged, and the LoRaWAN uplink communication is called to transmit it to the gateway. The gateway replies with a confirmation character and reports the phase line on-off detection data to the remote server.

[0028] Optionally, after packaging the current phase line on / off detection data and reporting it to a remote server via LoRaWAN, the method further includes:

[0029] The gateway receives the downlink data sent by the remote server, and transparently transmits the downlink data to the AC phase line on-off detection device;

[0030] After the AC phase line on-off detection device reports data to the gateway, the gateway packages the reported data and replies a confirmation character to the AC phase line on-off detection device, and reports the packaged data to the remote server.

[0031] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0032] In an embodiment of the present application, an AC phase line on-off detection device is provided, including: a phase line on-off detection module, a control module and a wireless communication module; the phase line on-off detection module is used to obtain the on-off signal of the phase line, and send the on-off signal to the control module; the control module is used to set the phase line on-off detection flag after receiving the on-off signal, and if the phase line on-off detection flag is set for multiple consecutive delays, the phase line on-off detection data is packaged and sent to a remote server through the wireless communication module; the wireless communication module uses LoRaWAN to send the packaged phase line on-off detection data to the remote server, and receives the downlink data sent by the remote server.

[0033] The present application uses a phase line on-off detection module to collect on-off signals in real time and send the on-off signals to a control module. After the control module detects that the phase line on-off detection flag is set after multiple consecutive delays, the control module packages the phase line on-off detection data and uses LoRaWAN through the wireless communication module to send the packaged phase line on-off detection data to a remote server, so that users can remotely view the on-off status of the AC phase line in real time without wiring. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a device structure diagram of an embodiment of an AC phase line on / off detection device of the present application;

[0035] Figure 2 This is a circuit diagram of a phase line on / off detection module in an embodiment of the present application;

[0036] Figure 3 A method flow chart of an embodiment of a continuity detection method of the present application;

[0037] Figure 4 A method flow chart of another embodiment of a continuity detection method of the present application;

[0038] Figure 5 This is a block diagram of the embedded software architecture in one embodiment of an AC phase line on / off detection device of the present application;

[0039] Figure 6 This is a flow chart of the interaction between the AC phase on / off detection device and the remote server in the embodiment of the present application. DETAILED DESCRIPTION

[0040] The present application uses a phase line on-off detection module to collect on-off signals in real time and send the on-off signals to a control module. After the control module detects that the phase line on-off detection flag is set after multiple consecutive delays, the control module packages the phase line on-off detection data and uses LoRaWAN through the wireless communication module to send the packaged phase line on-off detection data to a remote server, so that users can remotely view the on-off status of the AC phase line in real time without wiring.

[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] See also Figure 1 , Figure 1 This is a device structure diagram of an embodiment of an AC phase line on / off detection device of the present application, such as Figure 1 As shown, Figure 1 Included:

[0043] Phase line on / off detection module 1, control module 2 and wireless communication module 3;

[0044] The phase line on-off detection module 1 is used to obtain the on-off signal of the phase line and send the on-off signal to the control module 2;

[0045] The control module 2 is used to set the phase line on-off detection flag after receiving the on-off signal. If the phase line on-off detection flag is detected to be set for multiple consecutive delays, the phase line on-off detection data is packaged and sent to the remote server through the wireless communication module 3;

[0046] The wireless communication module 3 uses LoRaWAN to send the packaged phase line on-off detection data to the remote server and receive the downlink data sent by the remote server.

[0047] It should be noted that the phase line on-off detection module 1 is directly connected to the phase line and is used to collect the on-off signal of the phase line. The other end of the phase line on-off detection module 1 transmits the collected on-off signal to the control module 2 through the phase line on-off detection port, and the control module 2 analyzes and processes the received signal. For example, when the control module receives the on-off signal, the phase line on-off detection flag of the control module 2 is set.

[0048] After the control module receives the on-off signal collected by the phase line on-off detection module 1, it can use software filtering to eliminate the influence of hardware and other external environment interference in the on-off signal, so that the monitoring result is more accurate. In addition, the present application can use multiple delayed detection methods to repeatedly confirm the monitoring results. For example, at each preset time interval, it is detected whether the phase line on-off detection flag is set. If it is set for several consecutive times, it can be determined that the phase line on-off detection flag is in the set state, so as to eliminate false triggers caused by circuits and other external environments, so that the monitoring result is more accurate. When it is determined that the phase line on-off detection flag is in the set state, the control module 2 packages the phase line on-off detection data and sends it to the remote server through the wireless communication module 3.

[0049] The wireless communication module 3 can use the LoRaWAN protocol for long-distance data transmission, so as to ensure that the on-off status of the AC phase line can be monitored in real time, and the real-time status of the on-off status of the AC phase line can be recorded to the remote server, which is saved by the remote server so that the user can view it in real time. And the remote server can also send downlink data to the on-off detection device of the AC phase line. The LoRaWAN protocol used in this application is highly versatile and can be used in various places that meet the requirements, such as card insertion for power supply, do not disturb, and other places with real-time remote monitoring of the on-off status of the AC phase line.

[0050] The present application uses a phase line on-off detection module to collect on-off signals in real time and send the on-off signals to a control module. After the control module detects that the phase line on-off detection flag is set after multiple consecutive delays, the control module packages the phase line on-off detection data and uses LoRaWAN through the wireless communication module to send the packaged phase line on-off detection data to a remote server, so that users can remotely view the on-off status of the AC phase line in real time without wiring.

[0051] The specific circuit diagram of the phase line on-off detection module in this application is as follows Figure 2 As shown, Figure 2 Included:

[0052] The rectifier bridge, the first capacitor, the optocoupler isolator, a plurality of resistors and a light emitting diode are formed;

[0053] The rectifier bridge is connected to the phase line to convert AC into DC and keep the phase sequence of the input phase line unchanged;

[0054] The first capacitor is used to trigger the reporting of an on / off signal when the device is powered off;

[0055] Optocoupler isolator is used to eliminate interference in the phase line on-off detection module.

[0056] It should be noted that the phase line on-off detection module in the present application may include a rectifier bridge, a first capacitor, an optocoupler isolator, a number of resistors and a light-emitting diode, wherein the rectifier bridge is connected to the phase line, and is used to convert AC into DC and keep the phase sequence of the input phase line unchanged; the optocoupler isolator is used to eliminate the circuit instability interference in the phase line on-off detection module, so that the monitoring result is more accurate. The two ends of the first capacitor can be connected to the two AC output ports of the rectifier bridge respectively, and are used to trigger the reporting function of the on-off signal when the device is powered off, so as to ensure the reliability of real-time monitoring of the power off of the equipment.

[0057] Specifically, the circuit diagram of the AC phase line on-off detection device is as follows: Figure 2 As shown, Figure 2 In the embodiment, the first AC input port of the rectifier bridge is connected to the phase line, the second AC input port is connected in series with the fifth resistor, the fourth resistor and the third resistor in sequence, and the other end of the third resistor is connected to the neutral line; the third positive output port is connected to the first input end of the optocoupler isolator, and the fourth negative output port is connected to the second input end of the optocoupler isolator; the third positive output port and the fourth negative output port are respectively connected to the two ends of the first capacitor;

[0058] The third input terminal of the optocoupler isolator is grounded, and the fourth output terminal is respectively connected to the sixth resistor and the phase line on-off detection signal output port, the other end of the sixth resistor is respectively connected to the 3.3V power supply and the seventh resistor, the other end of the seventh resistor is connected to the positive electrode of the light-emitting diode, and the negative electrode of the light-emitting diode is grounded. When the phase line is turned on, the light-emitting diode will start to emit light, otherwise, if the phase line is in the off state, the light-emitting diode will go out.

[0059] Specifically, the specific model of the rectifier bridge can be MB6S_C181214; the specific model of the optocoupler isolator can be LTV-217TP1-CVG, the first capacitor can adopt a large capacitor of 100uf / 50V; the third resistor is 33KΩ, the fourth resistor is 33KΩ, the fifth resistor is 33KΩ, the sixth resistor is 2.2KΩ, and the seventh resistor is 1KΩ.

[0060] In a specific embodiment, the present application also includes a zero-fire power conversion module for converting the AC power into a 3.3V DC voltage and supplying power to the phase line on / off detection module, the control module and the wireless communication module.

[0061] Specifically, the zero-fire power supply module in the present application is specifically used to convert AC power into DC power, and to step down the voltage to output 5V DC power, and further step down the 5V DC power to output 3.3V DC power, which is used to power the phase line on-off detection module, control module and wireless communication module.

[0062] Specifically, the zero-fire power supply module may include multiple diodes, multiple capacitors, multiple resistors, transformers, fuses, an AC-DC conversion chip U5, and a fifth inductor. The specific model of the AC-DC conversion chip U5 may be a non-isolated AC-DC conversion chip PN8015, and the transformer may be an EE104+4 model transformer.

[0063] A step-down chip AP1117-3.3 can be used to convert the 5V voltage converted by the zero-fire power module into a 3.3V voltage.

[0064] In a specific implementation, the block diagram of the embedded software architecture of the present application is as follows: Figure 5 As shown, Figure 5 The embedded software architecture includes four levels: hardware layer (including ASR6500SLC, zero-fire power conversion to 3.3V, UART serial port, phase line on / off detection, STM32G030C8T6), driver layer (including ASR6500SLC driver, phase line on / off detection driver, UART (Universal Asynchronous Receiver / Transmitter) serial port driver, SPI driver, RTC driver, Flash driver), MAC layer (Timer timing MAC layer, LoRaWAN MAC layer, sending queue MAC layer, phase line on / off detection interrupt MAC layer, Flash storage MAC layer) and application layer (including application parsing, data packaging, LoRaWAN transceiver mechanism, sending queue, storage, log printing).

[0065] This application uses LoRaWAN protocol technology for long-distance data transmission, ensuring that the on-off status of the AC phase line can be monitored in real time, and reported to the server to record the real-time status of the AC phase line on-off; no special network layout is required, which is convenient for installation and layout. In addition, optocoupler isolation technology is used in the AC phase line on-off detection device to eliminate circuit instability interference, making the monitoring results more accurate; multiple delay technology is used to eliminate false triggering caused by circuits and other external environments, making the monitoring results more accurate; a certain large capacitor is used, so that even when the equipment is powered off, the remote reporting function can still be triggered once, ensuring the reliability of real-time monitoring of the equipment power off; the hardware uses rectifier bridge technology to ensure that the phase sequence of the input phase line is not affected.

[0066] The present application also provides an embodiment of a method for detecting on / off of an AC phase line, such as Figure 3 As shown, Figure 3 Included:

[0067] 201. Collect the on / off signal of the phase line on / off detection module in real time, and determine whether the phase line on / off detection flag is set;

[0068] It should be noted that the present application can directly connect to the phase line through the phase line on-off detection module to collect the on-off signal of the phase line. The other end of the phase line on-off detection module transmits the collected on-off signal to the control module through the phase line on-off detection port, and the control module analyzes and processes the received signal. For example, when the control module receives the on-off signal, the phase line on-off detection flag of the control module is set.

[0069] 202. If the phase line on-off detection flag is set, and the phase line on-off detection flag is set for multiple consecutive delay detections, it is determined that the phase line on-off detection flag is set;

[0070] It should be noted that after the control module receives the on-off signal collected by the phase line on-off detection module, it can use software filtering to eliminate the influence of hardware and other external environmental interference in the on-off signal, so that the monitoring result is more accurate. In addition, the present application can use multiple delayed detection methods to repeatedly confirm the monitoring results. For example, at each preset time interval, it is detected whether the phase line on-off detection flag is set. If it is set for several consecutive times, it can be determined that the phase line on-off detection flag is in the set state, so as to eliminate false triggers caused by circuits and other external environments, so that the monitoring results are more accurate. When it is determined that the phase line on-off detection flag is in the set state, the control module packages the phase line on-off detection data and sends it to the remote server through the wireless communication module.

[0071] 203. Pack the current phase line on / off detection data and report it to the remote server via LoRaWAN.

[0072] It should be noted that after the current phase line on-off detection data is packaged, the LoRaWAN protocol can be used to transmit data over long distances through the wireless communication module, so that the on-off status of the AC phase line can be monitored in real time, and reported to the remote server to record the real-time status of the AC phase line on-off, which is saved by the remote server so that the user can view it in real time. And the remote server can also send downlink data to the AC phase line on-off detection device. The LoRaWAN protocol used in this application is highly versatile and can be used in various places that meet the needs, such as card insertion for power supply, do not disturb, and other places with real-time remote monitoring of AC phase line on-off.

[0073] The present application collects the on-off signal in real time, packages the phase line on-off detection data after the phase line on-off detection flag is set after multiple consecutive delays, and uses LoRaWAN through the wireless communication module to send the packaged phase line on-off detection data to the remote server, so that the user can remotely view the on-off status of the AC phase line in real time without wiring.

[0074] The present application also provides another embodiment of an on-off detection method of an AC phase line on-off detection device, such as Figure 4 As shown, Figure 4 Included:

[0075] 301. Collect the on / off signal of the phase line on / off detection module in real time, and determine whether the phase line on / off detection flag is set;

[0076] It should be noted that the present application can directly connect to the phase line through the phase line on-off detection module to collect the on-off signal of the phase line. The other end of the phase line on-off detection module transmits the collected on-off signal to the control module through the phase line on-off detection port, and the control module analyzes and processes the received signal. For example, when the control module receives the on-off signal, the phase line on-off detection flag of the control module is set.

[0077] 302. If the phase line on / off detection flag is set, wait for 100ms and then detect again whether the phase line on / off detection flag is set;

[0078] It should be noted that after the control module receives the on-off signal collected by the phase line on-off detection module, software filtering can be used to eliminate the influence of hardware and other external environmental interference in the on-off signal, so as to make the monitoring result more accurate.

[0079] 303. Repeat step 302 n times. If the phase line on / off detection flag is still set, determine whether the phase line on / off detection flag is set.

[0080] It should be noted that the present application can use multiple delayed detection methods to repeatedly confirm the monitoring results. For example, every 100ms, check whether the phase line on-off detection flag is set. If the phase line on-off detection flag is set for three consecutive times, it can be determined that the phase line on-off detection flag is in the set state, thereby eliminating false triggering caused by circuits and other external environments, making the monitoring results more accurate. When it is determined that the phase line on-off detection flag is in the set state, the control module packages the phase line on-off detection data and sends it to the remote server through the wireless communication module.

[0081] 304. Pack the current phase line on / off detection data, call LoRaWAN uplink communication to transmit to the gateway, the gateway replies with a confirmation character, and reports the phase line on / off detection data to the remote server;

[0082] It should be noted that after the current phase line on-off detection data is packaged, the LoRaWAN protocol can be used to transmit data over long distances through the wireless communication module, so that the on-off status of the AC phase line can be monitored in real time, and reported to the remote server to record the real-time on-off status of the AC phase line, which will be saved by the remote server so that users can view it in real time.

[0083] Specifically, the AC phase line on-off detection device can first transmit the packaged on-off detection data to the gateway. After the gateway receives the packaged on-off detection data, it feeds back a confirmation character to the AC phase line on-off detection device and uploads the on-off detection data to the server.

[0084] 305. The gateway receives the downlink data sent by the remote server, and transparently transmits the downlink data to the AC phase line on / off detection device;

[0085] 306. After the AC phase line continuity detection device reports data to the gateway, the gateway packages the reported data and replies a confirmation character to the AC phase line continuity detection device, and reports the packaged data to the remote server.

[0086] It should be noted that when the server needs to send downlink data to the AC phase line on-off detection device, the downlink data can be transparently transmitted from the gateway to the AC phase line on-off detection device. After the AC phase line on-off detection device receives the downlink data, it will send it to the gateway again when it feedbacks the reported data. After the gateway confirms the receipt, it will package the data and upload it to the remote server, and feedback the confirmation character to the AC phase line on-off detection device.

[0087] Specifically, the interaction flow chart of the AC phase line on / off detection device and the remote server of the present application is as follows: Figure 6 As shown, Figure 6The AC phase line continuity detector interacts with the server through the LoRaWAN gateway through transparent transmission. At the same time, in order to ensure the reliability of data uplink and downlink, the AC phase line continuity detector communicates with the gateway and the server with corresponding ACK confirmation mechanism to ensure the reliability of data communication uplink and downlink.

[0088] This application uses LoRaWAN protocol technology for long-distance data transmission, ensuring that the on / off status of the AC phase line can be monitored in real time, and reported to the server to record the real-time status of the AC phase line; no special network layout is required, which is convenient for installation and layout. Multiple delay technology is used to eliminate false triggers caused by circuits and other external environments, making the monitoring results more accurate.

[0089] The terms "first", "second", "third", "fourth", etc. in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0090] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only exemplary. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0092] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for detecting on-off of an AC phase line, which is applied to an AC phase line on-off detection device, characterized in that: The AC phase line on-off detection device includes a phase line on-off detection module, a control module and a wireless communication module; The phase line on-off detection module is used to obtain an on-off signal of the phase line and send the on-off signal to the control module; The control module is used to set the phase line on-off detection flag after receiving the on-off signal. If the phase line on-off detection flag is detected to be set for multiple consecutive delays, the phase line on-off detection data is packaged and sent to the remote server through the wireless communication module; The wireless communication module uses LoRaWAN to send the packaged phase line on / off detection data to the remote server, and receives the downlink data sent by the remote server; The phase line on-off detection module includes a rectifier bridge, a first capacitor, an optocoupler isolator, a plurality of resistors and a light emitting diode; The rectifier bridge is connected to the phase line and is used to convert AC into DC and keep the phase sequence of the input phase line unchanged; The first capacitor is used to trigger the reporting of an on / off signal when the device is powered off; The optical coupler isolator is used to eliminate interference in the phase line on-off detection module; The phase line on-off detection module specifically includes: The first AC input port of the rectifier bridge is connected to the phase line, the second AC input port is connected in series with the fifth resistor, the fourth resistor and the third resistor in sequence, and the other end of the third resistor is connected to the neutral line; the third positive output port is connected to the first input end of the optocoupler isolator, and the fourth negative output port is connected to the second input end of the optocoupler isolator; the third positive output port and the fourth negative output port are respectively connected to the two ends of the first capacitor; The third input end of the optical coupler isolator is grounded, the fourth output end is respectively connected to the sixth resistor and the phase line on-off detection signal output port, the other end of the sixth resistor is respectively connected to the 3.3V power supply and the seventh resistor, the other end of the seventh resistor is connected to the positive electrode of the light-emitting diode, and the negative electrode of the light-emitting diode is grounded; The AC phase line on-off detection method comprises the following steps: Collect the on / off signal of the phase line on / off detection module in real time, and determine whether the phase line on / off detection flag is set; If the phase line on-off detection flag is set, and the phase line on-off detection flag is set for multiple consecutive delay detections, it is determined that the phase line on-off detection flag is set; The current phase line on-off detection data is packaged and reported to the remote server via LoRaWAN.

2. The AC phase line on / off detection method according to claim 1, characterized in that: The first capacitor is a 100uf / 50V capacitor.

3. The AC phase line on / off detection method according to claim 1, characterized in that: Also includes: The zero-fire power conversion module is used to convert the mains power into a 3.3V DC voltage and to supply power to the phase line on / off detection module, the control module and the wireless communication module.

4. The on-off detection method according to claim 1, characterized in that: If the phase line on-off detection flag is set, and the phase line on-off detection flag is set after multiple delay detections, then it is determined that the phase line on-off detection flag is set, specifically: S1: If the phase line on / off detection flag is set, wait for 100ms and then detect again whether the phase line on / off detection flag is set; Repeat step S1 n times, and if the phase line on-off detection flag is still set, determine that the phase line on-off detection flag is set.

5. The on-off detection method according to claim 4, characterized in that: The step of packaging the current phase line on / off detection data and reporting it to a remote server via LoRaWAN includes: The current phase line on-off detection data is packaged, and the LoRaWAN uplink communication is called to transmit it to the gateway. The gateway replies with a confirmation character and reports the phase line on-off detection data to the remote server.

6. The on-off detection method according to claim 5, characterized in that: After packaging the current phase line on / off detection data and reporting it to the remote server via LoRaWAN, it also includes: The gateway receives the downlink data sent by the remote server, and transparently transmits the downlink data to the AC phase line on-off detection device; After the AC phase line on-off detection device reports data to the gateway, the gateway packages the reported data and replies a confirmation character to the AC phase line on-off detection device, and reports the packaged data to the remote server.

Citation Information

Patent Citations

  • Electrical equipment reset device, lamp equipment and reset control method

    CN110139443A

  • Alternating current break -make state detection device

    CN207081762U