CN210351674U - Fault reporting device - Google Patents

Fault reporting device Download PDF

Info

Publication number
CN210351674U
CN210351674U CN201920904611.7U CN201920904611U CN210351674U CN 210351674 U CN210351674 U CN 210351674U CN 201920904611 U CN201920904611 U CN 201920904611U CN 210351674 U CN210351674 U CN 210351674U
Authority
CN
China
Prior art keywords
gateway
circuit
data packet
power supply
fault
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201920904611.7U
Other languages
Chinese (zh)
Inventor
杨广学
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Wiregate Technology Co ltd
Original Assignee
Wuhan Wiregate Technology Co ltd
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 Wuhan Wiregate Technology Co ltd filed Critical Wuhan Wiregate Technology Co ltd
Priority to CN201920904611.7U priority Critical patent/CN210351674U/en
Application granted granted Critical
Publication of CN210351674U publication Critical patent/CN210351674U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

An embodiment of the utility model provides a fault reporting device, include: a detection circuit and a fault handling circuit; the detection circuit is used for detecting whether the power supply of the first gateway is abnormal or not and sending a first notice to the fault processing circuit when the abnormality is detected; the fault processing circuit reports a first data packet to the fault processing circuit of the server after receiving the first notice of the detection circuit; the first data packet is a data packet carrying abnormal power supply information of the first gateway; wherein the first gateway communicates with the terminal based on the long-range radio LoRa. The embodiment of the utility model provides an in the trouble report device can appear when the power supply is unusual in remote radio wide area network LoRaWAN gateway, will carry the data package of the unusual information of power supply to report for the server to the trouble condition of gateway is known to relevant maintainer long-range, thereby has avoided having reachd the inconvenience of on-the-spot maintenance.

Description

Fault reporting device
Technical Field
The utility model relates to a communication field's remote Radio (loRa, Long Range Radio) technique especially relates to a trouble reports device.
Background
In the related art, a Long Range Radio Wide area network (LoRaWAN) is a set of communication protocol and system architecture designed based on a LoRa Long-distance communication network, and is widely applied to the internet of things.
When the LoRaWAN works normally, the LoRaWAN gateway (hereinafter, referred to as gateway) is controlled and managed by a LoRaWAN network server (hereinafter, referred to as server). However, when an abnormality occurs in the gateway, a failure confirmation must be performed by the relevant maintenance personnel arriving at the site.
SUMMERY OF THE UTILITY MODEL
For solving the technical problem that exists now, the embodiment of the utility model provides a fault reporting device is provided, can appear when the power supply is unusual at LoRaWAN gateway, report the data package that will carry the unusual information of power supply for the server to the trouble condition of gateway is known to relevant maintainer long-range, thereby has avoided having arrived the inconvenience of on-the-spot maintenance.
An embodiment of the utility model provides a fault reporting device, include: a detection circuit and a fault handling circuit; wherein,
the detection circuit is used for detecting whether the power supply of the first gateway is abnormal or not and sending a first notice to the fault processing circuit when the abnormality is detected;
the fault processing circuit reports a first data packet to the fault processing circuit of the server after receiving the first notice of the detection circuit; the first data packet is a data packet carrying abnormal power supply information of the first gateway; wherein the first gateway communicates with the terminal based on the long-range radio LoRa.
In the above scheme, the fault processing circuit is a fault processing circuit that, after receiving the first notification from the detection circuit, sends the first data packet to at least one second gateway adjacent to the first gateway, and reports the first data packet to the server through the at least one second gateway; wherein the at least one second gateway communicates with the terminal based on the LoRa.
In the above scheme, the first gateway communicates with the second gateway through LoRa.
In the above solution, the detection circuit includes:
the voltage acquisition circuit is used for detecting the working voltage of the first gateway; and the number of the first and second groups,
and when the detected working voltage is determined to be smaller than a preset voltage threshold value, sending the first notice to a voltage comparator circuit of the fault processing circuit.
In the above scheme, the apparatus further comprises:
and when the first gateway is abnormally powered, the stored energy is released, and the energy storage circuit is used for supplying power to the fault processing circuit.
In the above scheme, the energy storage circuit is a storage circuit that stores energy by charging a capacitor with electric energy provided for the first gateway when the first gateway is powered normally.
In the above solution, the fault handling circuit includes:
the first controller generates a first control signal after receiving the first notification of the detection circuit; and the number of the first and second groups,
and responding to a first control signal, and sending the first data packet to the at least one adjacent second gateway so as to report the first data packet to a fault reporting circuit of the server through the at least one adjacent second gateway.
In the above solution, the first controller generates a second control signal when receiving the first notification; and a first controller that generates the first control signal when it is determined that the first device is turned off; the second control signal is used for indicating to close the first device of the first gateway with power consumption larger than preset power consumption.
In the above solution, the detection circuit is a detection circuit that detects whether power supply of the first gateway is abnormal after sending the first data packet to the at least one adjacent second gateway, and sends a second notification to the first controller when detecting that the power supply of the first gateway is normal;
the first controller generates a third control signal when receiving the second notification after a preset time length; the third control signal is used for indicating to turn on the first controller of the first device.
In the above scheme, the fault reporting circuit includes:
the second controller receives the first control signal in an interruption mode and generates a fourth control signal; and the number of the first and second groups,
and the radio frequency circuit responds to the fourth control signal and sends the first data packet to at least one adjacent second gateway.
In the above scheme, the fault reporting circuit is a fault reporting circuit that receives the first control signal in a bus manner and sends the first data packet to at least one adjacent second gateway.
An embodiment of the utility model provides a fault reporting device, include: a detection circuit and a fault handling circuit; the detection circuit is used for detecting whether the power supply of the first gateway is abnormal or not and sending a first notice to the fault processing circuit when the abnormality is detected; the fault processing circuit is used for reporting a first data packet to a server after receiving the first notice of the detection circuit; the first data packet is a data packet carrying abnormal power supply information of the first gateway; the first gateway communicates with the terminal based on LoRa. The embodiment of the utility model provides an in the trouble report device can appear when the power supply is unusual at LoRaWAN gateway, will carry the data package of the unusual information of power supply to report for the server to the trouble condition of gateway is known to relevant maintainer long-range, thereby has avoided having reachd the inconvenience of on-the-spot maintenance.
Drawings
Fig. 1 is a schematic diagram of a network architecture of a LoRaWAN in the related art;
fig. 2 is a schematic structural diagram of a fault reporting apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an energy storage circuit of a fault reporting apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a detection circuit of the fault reporting apparatus according to an embodiment of the present invention;
fig. 5 is a first schematic diagram of a fault reporting circuit of the fault reporting apparatus according to the embodiment of the present invention;
fig. 6 is a schematic diagram of a fault reporting circuit of the fault reporting apparatus according to the embodiment of the present invention;
fig. 7 is a schematic diagram of a network topology between a gateway and a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the drawings in the embodiments of the present invention will be combined below to describe in further detail the specific technical solutions of the present invention. The following examples are intended to illustrate the invention, but are not intended to limit the scope of the invention.
The network structure of LoRaWAN is shown in FIG. 1, and the terminal node is connected with the gateway through LoRa wireless communication mode; the gateway is connected to the server through an IP network (e.g., a mobile cellular network (third generation mobile communication technology 3G, fourth generation mobile communication technology 4G, etc.), wireless internet (WiFi), or Ethernet (Ethernet), etc.). Based on the network architecture, the gateway plays a role in LoraWan to connect the server and the terminal node, namely: in the uplink direction, demodulating a LoRa data packet sent by a terminal node, then encapsulating the demodulated data into IP network data and sending the IP network data to a server; and in the downlink direction, executing downlink data issued by the server, converting the downlink data into LoRa modulation data and sending the LoRa modulation data to the corresponding terminal node.
When LoRaWAN works normally, the gateway is controlled and managed by the server. If the LoRaWAN works abnormally, if the power supply of the gateway is abnormally interrupted, not only can the service of the LoRaWan be interrupted, but also the server can lose control and management capabilities to the gateway at the same time, the disconnection reason and the current state of the gateway are unclear, and related maintenance personnel are generally required to arrive at the site for fault confirmation.
Based on this, in the utility model discloses in each embodiment, when the gateway power supply was unusual, will carry the data package of the unusual information of power supply to report to the server to relevant maintainer long-range trouble condition of knowing the gateway, thereby avoided having to reach the inconvenience of on-the-spot maintenance.
Fig. 2 shows the utility model discloses a fault reporting device's structural component diagram, the utility model discloses a fault reporting device 20 includes: a detection circuit 201 and a failure processing circuit 202; wherein,
the detecting circuit 201 is configured to detect whether power supply of the first gateway is abnormal, and send a first notification to the fault processing circuit 202 when the abnormality is detected;
the fault processing circuit 202 is configured to report a first data packet to a server after receiving the first notification from the detection circuit 201; the first data packet is a data packet carrying abnormal power supply information of the first gateway; the first gateway communicates with the terminal based on LoRa.
Here, the power supply abnormality includes: the power supply interruption or the input voltage fluctuation is caused, wherein when no external force intervenes in the power supply interruption, the equipment cannot automatically recover the normal power supply state; the voltage fluctuation is short-term due to various transient sudden changes, and the equipment can restore the normal power supply state by itself.
Here, the exception information may be a certain data bit in the first packet, such as "1" indicating exception and "0" indicating normal.
When the first gateway has a power failure, a tank circuit or a backup power supply is usually required to supply power to the failure processing circuit 202, so as to ensure the normal operation of the failure processing circuit 202.
Based on this, in an embodiment, the fault reporting apparatus 20 further includes a tank circuit, configured to:
when the first gateway is abnormally powered, the reserved energy is released to supply power to the fault processing circuit 202.
Here, the energy storage circuit usually adopts a large-capacity energy storage device, such as an electrolytic capacitor, a super capacitor, or a battery, to store energy, that is, when the first gateway is powered normally, the energy storage device is charged by using the power supplied by the first gateway to store energy; and when the first gateway is abnormally powered, the energy storage device is discharged to supply power to the fault processing circuit 202.
In this regard, in one embodiment, the tank circuit is configured to:
when the first gateway is powered normally, energy is stored in a mode of charging a capacitor by using electric energy provided for the first gateway.
In practical application, the number, capacitance value or electric quantity value of the capacitors adopted by the energy storage circuit can be determined according to the total electric quantity requirement. For example, as shown in fig. 3, the energy storage circuit may be composed of 3 electrolytic capacitors with capacitance of 2200uF connected in parallel. The power supply circuit is a circuit for supplying power to the first gateway. When the power supply circuit is normal, the energy storage circuit is charged through the electrolytic capacitor, and when the power supply circuit is abnormal, the energy storage circuit supplies power to the power supply circuit through the discharging of the electrolytic capacitor. In fig. 3, a diode is further added, where the diode is connected in series with three capacitors, and the diode enables the discharging current of the electrolytic capacitor to be directed to the power supply circuit, so as to isolate the influence that the discharging of the energy storage circuit may cause on the detection circuit 201, and enable the detection circuit 201 to detect whether the power supply of the first gateway is abnormal or not at the first time. Here, the capacity and the number of capacitors in the tank circuit can be adjusted according to actual needs, and in this embodiment, 3 electrolytic capacitors with capacity value of 2200uF can ensure that the fault handling circuit 202 has an operating time of sending a data packet of 150ms after receiving the first notification.
In practical application, the fault processing circuit 202 may report the first data packet carrying the abnormal power supply information of the first gateway to a server in the following manner: it is considered that the gateway is connected to the server through an IP network such as a mobile cellular network (third generation mobile communication technology 3G or fourth generation mobile communication technology 4G, etc.), wireless internet access (WiFi), or Ethernet (Ethernet), etc. When the gateway is abnormal due to power supply interruption or voltage fluctuation, the fault processing circuit 202 may directly transmit back to the server through the internet, i.e., the IP network. Specifically, the IP network can be further divided into:
1. and (3) returning by adopting an Ethernet mode:
when a Transmission Control Protocol (TCP) is used for backhaul, the delay of establishing a connection network by the TCP is too large, usually hundreds of milliseconds, and the requirement for the electric quantity stored by the energy storage circuit is high; when a User Datagram Protocol (UDP) is used for backhaul, the UDP is only a best effort network transmission method, and the transmission success rate is low.
2. Returning by adopting a mobile cellular network or wireless internet access mode:
the general energy storage circuit can only provide the disposal time of hundred milliseconds, and the mobile cellular network and the wireless internet access need to send the data packet carrying the abnormal power supply information to the server for at least second time, and the power consumption is very large, that is, the requirement for the energy storage circuit to store the electric quantity is very high by adopting the mobile cellular network or the wireless internet access mode to return. Meanwhile, the wireless environment is complex and changeable, the probability of data packet loss is high, and the transmission success rate is low.
Therefore, the mode of returning to the server by using the internet-on mode has the problems of long time consumption, difficult load of the energy storage circuit and low probability of successful return.
However, in practical applications, some gateways are limited by installation and construction conditions, and even are not equipped with uplink ports such as ethernet. These gateways adopt Power Over Ethernet (POE) to supply Power, if POE Power supply is adopted, then when POE Power supply was unusual, the network connection of gateway and server had also been interrupted together, and the data package that carries the unusual information of Power supply will not send. Therefore, these gateways cannot adopt a reporting mode of directly returning to the server through the internet.
On the other hand, in practical applications, in an area covered by the LoRaWan network, a plurality of gateways may generally communicate with the same logical network server, that is, the plurality of gateways correspond to one logical network server; meanwhile, the gateways and the gateway coverage areas are overlapped to ensure that the terminal node can be covered by at least two gateways at the same time. Since gateways are usually installed on the top of a tower or a building and use high-gain antennas, adjacent gateways can directly communicate with each other in the LoRa method.
Therefore, the fault processing circuit 202 may also implement uploading of the first data packet to the server through LoRa communication between adjacent gateways, that is, when a gateway is abnormal due to power interruption or voltage fluctuation, the gateway may rapidly send a power supply abnormal information data packet to the adjacent gateway in a LoRa manner at the moment of power failure or power fluctuation, and forward the power failure status information to the network server through the adjacent gateway.
Here, since the communication between the adjacent gateways does not need to consider a delay time for establishing a connection network, the distance between the adjacent gateways is short (relative to the distance between the gateway and the server), and the power consumption of the LoRa wireless communication is low. Meanwhile, the actual reporting process is reported to the server by the adjacent gateway with normal power supply, so that the load of the energy storage circuit can be relieved to a certain extent and the success rate of fault reporting is improved.
Based on this, in an embodiment, the fault processing circuit 202 is configured to send the first data packet to at least one second gateway adjacent to the first gateway after receiving the first notification from the detecting circuit 201, so as to report the first data packet to a server through the at least one second gateway; the first gateway and the at least one second gateway are communicated with the terminal based on the LoRa.
Here, the first gateway communicates with the second gateway through LoRa.
Here, the function of the detection circuit 201 is to determine whether a power supply abnormality occurs in the first gateway, and generate and issue a first notification when a power supply abnormality occurs in the first gateway. In practical applications, the first notification may be an electrical signal, such as a low level signal, generated by the corresponding device when the power supply abnormality is detected.
In practical application, the detection circuit 201 mainly detects the working voltage of the first gateway in real time to determine whether the power supply of the first gateway is abnormal. And judging the abnormal state after the detected working voltage drops to a preset voltage threshold, immediately outputting a low level signal, and continuously outputting the low level signal as long as the detected working voltage is continuously lower than the preset voltage threshold until the detected working voltage is restored to a normal value range (the detected working voltage is higher than the preset threshold), and outputting a high level signal. Both the low level signal and the high level signal are sent to the fault handling circuit 202.
In practical application, a voltage acquisition circuit can be used for detecting the working voltage of the first gateway, and a voltage comparator circuit can be used for comparing the voltage and generating the first signal.
Based on this, in one embodiment, the detection circuit 201 includes a voltage acquisition circuit and a voltage comparator circuit; wherein:
the voltage acquisition circuit is used for detecting the working voltage of the first gateway;
the voltage comparator circuit is configured to send the first notification to the fault handling circuit 202 when it is determined that the detected operating voltage is smaller than a preset voltage threshold.
Here, the preset voltage threshold should consider the lowest voltage value at which the first gateway can normally operate.
In practical application, the voltage acquisition circuit and the voltage comparator circuit can be built by adopting resistors, operational amplifiers and the like, and can also be realized by adopting a chip integrating voltage acquisition and voltage comparison. For example, a chip SGM706(SGM706 is a chip model) that integrates voltage acquisition and voltage comparator functions is selected. Here, the SGM706 is a chip integrating reset, watchdog and voltage monitoring functions, and in the embodiment of the present invention, only the voltage monitoring function thereof is used. As shown in fig. 4, when the PFI input voltage is less than 1.25V (corresponding to the operating voltage of the first gateway of 9.73V), the 5-pin PFO outputs a low level; when the PFI input voltage is greater than 1.3V (corresponding to the operating voltage of the first gateway of 10.1V), the 5-pin PFO outputs a high level. 12V is the rated operating voltage of the first gateway, and the following can be calculated according to the voltage dividing circuit in fig. 4: when the working voltage of the first gateway is monitored to drop from 12V to less than 9.73V, the 5-pin PFO outputs a low level to represent that the power supply of the first gateway is abnormal; when the working voltage of the first gateway is detected to be recovered to be higher than 10.1V, the 5-pin PFO outputs a low level to represent that the first gateway is normally powered.
Here, 9.73V is the aforementioned preset voltage threshold, and the preset voltage threshold is required to ensure normal sending of the first notification and also requires the minimum operating voltage range of the first gateway (e.g., the minimum operating voltage is 10.8V, which allows a drop within 10%). In practical application, the preset voltage threshold can be adjusted according to practical application conditions, and the adjustment of the voltage threshold is realized by changing the ratio of the resistor R1 to the resistor R2.
It should be noted that: as mentioned above, the power supply abnormality of the first gateway includes two kinds of power supply interruption or input voltage fluctuation, wherein if it is voltage fluctuation (the fluctuation voltage drops below 9.73V), which causes the PFO to output a low level), after a period of time (generally, relatively short), the operating voltage of the first gateway can be recovered to be above 10.1V, and the PFO outputs a high level again. It is understood that when no external force is introduced, when the PFO outputs a low level all the time, it indicates that the first gateway power supply is interrupted, and when the PFO outputs a low level, it outputs a high level again for a short time, which indicates that the first gateway voltage fluctuates.
In one embodiment, the fault handling circuit 202 includes a first controller and a fault reporting circuit; wherein,
the first controller is used for generating a first control signal after receiving a first notice of the detection circuit;
the failure reporting circuit is configured to send the first data packet to the at least one neighboring second gateway in response to a first control signal, so as to report the first data packet to the server through the at least one neighboring second gateway.
Here, the first controller mainly completes generation and processing of each control signal when the first gateway is in power supply abnormality. In practical applications, the first controller may be a Central Processing Unit (CPU) or a Micro Control Unit (MCU). The first controller receives the first notification and enters an interrupt.
Because the first gateway is powered abnormally, the energy storage circuit is started, but at this time, because the reserved electric quantity is limited, in order to prolong the acting time of the energy storage circuit and prevent some function modules with high power consumption in the first gateway from directly causing the reserved electric quantity of the energy storage circuit to be exhausted, the function modules with high power consumption in the first gateway, such as a 4G module, a WiFi module, a GPS module, an Ethernet module, a Universal Serial Bus (USB) module and other function modules need to be turned off first, meanwhile, other methods for reducing power consumption (for example, a main controller of the first gateway is used for turning off one of processor cores or reducing the frequency) are adopted, and then the operation of sending the first data packet is executed.
Based on this, in one embodiment, the first controller is configured to:
generating a second control signal when the first notification is received; the second control signal is used for indicating to close a first device of the first gateway with power consumption larger than preset power consumption;
generating the first control signal upon determining that the first device is off.
Here, the preset power consumption may be adjusted according to actual conditions, such as 0.1 w.
In practical application, the method for turning off the functional module may be to turn off a power supply enable pin of the functional module, or to enable a reset function of the functional module.
The failure reporting circuit is mainly configured to send the first data packet to at least one adjacent second gateway adjacent to the first gateway.
Here, neighbouring is understood to be gateways in the same LoRaWAN that are geographically adjacent to the overlapping geographical coverage of the first gateway network.
In practical application, the fault reporting circuit may have two hardware topology schemes:
the first scheme is as follows: the fault reporting circuit comprises a second controller and a radio frequency circuit; wherein,
the second controller is used for receiving the first control signal in an interrupt mode and generating a fourth control signal;
and the radio frequency circuit is used for responding to the fourth control signal and sending the first data packet to at least one adjacent second gateway.
In practical application, as shown in fig. 5, the fault reporting circuit is provided with an MCU (equivalent to a second controller) on the basis of including a radio frequency circuit (RF IC), and at this time, as long as the controller in the fault processing circuit 202 initiates an interrupt signal to the MCU in the fault reporting circuit, the MCU in the fault reporting circuit immediately controls the radio frequency circuit to send out a data packet carrying abnormal power supply information after receiving the interrupt.
Scheme II: the fault reporting circuit is configured to: and receiving the first control signal in a bus mode, and sending the first data packet to at least one adjacent second gateway.
In practical application, as shown in fig. 6, the fault reporting circuit itself does not have an MCU, and only includes a radio frequency circuit (RF IC), at this time, the controller in the fault processing circuit 202 sends a first control signal to the radio frequency circuit in a bus (such as SPI) manner, and the radio frequency circuit in the fault reporting circuit immediately sends a data packet carrying abnormal power supply information after receiving the first control signal.
In practical application, in order to improve the success rate of receiving the data packets by the server, the radio frequency circuit can repeatedly send the data packets carrying abnormal power supply information under the condition that the energy stored in the energy storage circuit is enough, such as continuously sending the first data packets twice.
In practical application, it is also necessary to distinguish whether the power supply abnormality is caused by power supply interruption or voltage fluctuation so as to provide more accurate fault information for relevant maintenance personnel.
In practical application, as shown in fig. 4, when the PFO of the detection circuit 201 outputs a low level, the PFO outputs a high level again after a short time, which indicates that voltage fluctuation occurs in the power supply of the first gateway. Voltage fluctuations are generally associated with external supply voltage instability, which may cause the first gateway to restart or not restart, in particular:
1. if the gateway is restarted, the fluctuation can be powered on again after the power failure, which is not contrary to the logic that the first controller sends the abnormal power supply data packet after receiving the first notice, and the normal service of the gateway can be recovered by itself after the power on is recovered.
2. If the first controller is not restarted, the fluctuation only causes the first controller to process the received first notification, and the first controller is not reset and restarted, at the moment, the first controller always works normally, and when the working voltage of the first gateway is detected to be restored to be higher than the preset voltage threshold value after one time of fluctuation, the PFO output is reset to be high. But at the moment, the controller already indicates to close the high-power-consumption functional module of the first gateway, including the uplink network channel, and the abnormal power supply data packet is sent to other adjacent gateways and transferred to the server, so that the abnormal power supply data packet cannot be withdrawn.
In practical application, in order to filter operations of repeatedly closing various functional modules caused by voltage fluctuation and avoid repeatedly sending a power supply abnormality notification data packet, the controller receives a first notification in an interruption mode and then responds to one interruption only, no other interruption is responded within 30s (time configurable), and whether a signal which is sent by the detection circuit 201 and indicates that the power supply of the first gateway is normal is received again is detected when the time reaches 30s, and if the signal is received, the voltage fluctuation is one time and the fluctuation is finished. At this time, the controller needs to re-open various high-power-consumption functional modules of the first gateway which is closed, recover services, recover network data, and directly send a data packet carrying power supply recovery information to the server. And the server judges the data packet of the abnormal primary power supply data packet and the data packet of the power supply recovery information in 30s before and after as the abnormal short-time work caused by the fluctuation of the primary power supply, and knows that the first gateway recovers to work normally. The mechanism can ensure that the misinformation of the gateway power-off service-off state caused by the fluctuation of the first gateway power supply voltage is avoided, thereby achieving the purpose of reducing the maintenance workload.
Based on this, in an embodiment, the detection circuit 201 is configured to detect whether power supply of the first gateway is abnormal after sending the first data packet to the at least one adjacent second gateway, and send a second notification to the first controller when detecting that the power supply of the first gateway is normal;
the first controller is further configured to generate a third control signal when receiving the second notification after a preset duration; the third control signal is used for indicating that the first device is started.
The preset time period can be adjusted according to actual conditions, such as 30 s.
In practical application, after receiving the power supply abnormal information data packet, at least one adjacent second gateway may encapsulate the data with TCP and then send the data to the server. If the server receives at least two data packets of the first gateway power supply abnormality information within a preset time (e.g. 1s), one or more subsequent data packets of the first data packet are directly filtered, the filtered data packets are understood as the same power supply abnormality of the first gateway, and after the waiting time of at least the preset time (e.g. >30s) elapses, the server confirms that the power supply is interrupted or the power supply fluctuates according to the situation of the data packet received again (if the power supply related information of the first gateway is not received, the power supply is interrupted, and if the power supply abnormality recovery information sent by the first gateway is received, the power supply fluctuations are confirmed). And finally, sending the confirmed state to a network operation and maintenance server to finish final information reporting.
The embodiment of the utility model provides a fault reporting device includes: a detection circuit and a fault handling circuit; the detection circuit is used for detecting whether the power supply of the first gateway is abnormal or not and sending a first notice to the fault processing circuit when the abnormality is detected; the fault handling circuit is specifically configured to: after receiving a first notification of the detection circuit, sending a first data packet to at least one second gateway adjacent to the first gateway, so as to report the first data packet to a server through the at least one second gateway; the first data packet is a data packet carrying abnormal power supply information of the first gateway; the first gateway and the at least one second gateway are communicated with the terminal based on the LoRa. The embodiment of the utility model provides an in the trouble report device can appear when the power supply is unusual at LoRaWAN gateway, will carry the data package of the unusual information of power supply to report for the server to the trouble condition of gateway is known to relevant maintainer long-range, thereby has avoided having reachd the inconvenience of on-the-spot maintenance.
On the other hand, in the embodiment of the utility model provides an in the first gateway in LoRaWAN the power supply abnormity appears, and directly reports failure probability when very big to the server, to the retransmission power supply fault information of at least one adjacent second gateway to report for the server through the data package that the second gateway will carry power supply abnormity information, so, can realize the report of fault information with the help of the second gateway, in order to improve the success rate that first gateway reported to the server.
Furthermore, the embodiment of the utility model provides a fault reporting device just can realize the long-range trouble condition of knowing the gateway of relevant maintainer only through carrying out slight optimization on the inside software and the hardware of first gateway, so, can avoid relevant maintainer to climb the tower or the cat ladder reachs the condition that the scene set up the first gateway at the eminence to need not increase extra check out test set and management maintenance cost, reduce human input and safety risk.
In order to better explain the utility model discloses the scheme can improve the success rate that the trouble reported simultaneously to a certain extent, has carried out corresponding emulation checking experiment.
In LoRaWan, the gateway and server topology is shown at 7, with all gateways communicating with a server, and the distance between gateways, although far apart, is typically 2-4 km. However, each gateway is generally installed on the top floor of the building (where the top floor environment is relatively open, and communication between gateways is not easily blocked), and the antenna gain and efficiency of each gateway are much larger than those of the terminal nodes, and the wireless environment is better, so the transmission distance for realizing communication between gateways can be far, usually more than 5km, and then the gateway 2 (equivalent to a first gateway) can usually transmit information to at least two adjacent gateways, namely, the gateway 1 and the gateway 3 (equivalent to a second gateway).
And setting related parameters according to the distance between the actual gateways, the time for storing electric energy after power failure, transmission state information and other conditions. For example, assuming that the gateway supports only 150ms of operation duration after power down, a simulation checking experiment may be performed using the parameters shown in table 1 below.
Parameter name Parameter value
Spread spectrum parameter (SF) 8
Bandwidth (Bandwidth) 125KHz
Coding rate (Coding rate) 1
Valid data bit (Payload) 9bytes (Byte)
Lead code (Preamble) 6 Symbol (Symbol)
TABLE 1
According to the set of parameters shown in table 1, the valid data bits of 9Bytes may include a Media Access Control Address (MAC) of 6Bytes, and another 3Bytes may be defined as power supply abnormality information and power supply recovery information. By using the parameters in table 1 and combining the modulation principle of LoRa, it can be seen that the time for gateway 2 to successfully send one data packet to gateways 1 and 3 is about 58ms, and the time (total time is not greater than 20ms) for removing the high power consumption function module and other operations (such as necessary command response) of the first controller controlling to turn off the first gateway is not greater than 150ms after power failure, that is, two data packets can be stably sent out.
The gateways communicate with each other in a LoRa wireless communication mode, if the average packet loss rate of the LoRa wireless communication is 10% according to conservative estimation, two data packets carrying abnormal power supply information are sent to a gateway 1 and a gateway 3 which are adjacent to the gateway 2, the probability that the server receives at least one data packet (four data packets can be normally received, namely two data packets sent to the server by the two gateways) is 1-10%499.99%, the success rate of 99.99% is enough to satisfy the purpose of reporting status information stably and reliably. Therefore, the fault reporting device or method provided by the embodiment has high reliability and stability, and greatly improves the success rate of fault reporting.
It should be noted that: it should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, the technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A fault reporting device, comprising: a detection circuit and a fault handling circuit; wherein,
the detection circuit is used for detecting whether the power supply of the first gateway is abnormal or not and sending a first notice to the fault processing circuit when the abnormality is detected;
the fault processing circuit reports a first data packet to the fault processing circuit of the server after receiving the first notice of the detection circuit; the first data packet is a data packet carrying abnormal power supply information of the first gateway; wherein the first gateway communicates with the terminal based on the long-range radio LoRa.
2. The apparatus according to claim 1, wherein the failure processing circuit is a failure processing circuit that, after receiving the first notification from the detection circuit, sends the first data packet to at least one second gateway adjacent to the first gateway, so as to report the first data packet to a server through the at least one second gateway; wherein the at least one second gateway communicates with the terminal based on the LoRa.
3. The apparatus of claim 2, wherein the first gateway communicates with the second gateway via LoRa.
4. The apparatus of claim 1, wherein the detection circuit comprises:
the voltage acquisition circuit is used for detecting the working voltage of the first gateway; and the number of the first and second groups,
and when the detected working voltage is determined to be smaller than a preset voltage threshold value, sending the first notice to a voltage comparator circuit of the fault processing circuit.
5. The apparatus of claim 1, further comprising:
and when the first gateway is abnormally powered, the stored energy is released, and the energy storage circuit is used for supplying power to the fault processing circuit.
6. The apparatus of claim 5, wherein the energy storage circuit is a reserve circuit configured to reserve energy by charging a capacitor with the power provided to the first gateway when the first gateway is powered up properly.
7. The apparatus of claim 2, wherein the fault handling circuit comprises:
the first controller generates a first control signal after receiving the first notification of the detection circuit; and the number of the first and second groups,
and responding to a first control signal, and sending the first data packet to the at least one adjacent second gateway so as to report the first data packet to a fault reporting circuit of the server through the at least one adjacent second gateway.
8. The apparatus of claim 7, wherein the first controller is a first controller that generates a second control signal when the first notification is received and generates the first control signal when the first device is determined to be turned off; the second control signal is used for indicating to close the first device of the first gateway with power consumption larger than preset power consumption.
9. The apparatus of claim 8,
the detection circuit is a detection circuit which detects whether the power supply of the first gateway is abnormal after the first data packet is sent to the at least one adjacent second gateway, and sends a second notification to the first controller when the power supply of the first gateway is detected to be normal;
the first controller generates a third control signal when receiving the second notification after a preset time length; the third control signal is used for indicating to turn on the first controller of the first device.
10. The apparatus of claim 7, wherein the fault reporting circuit comprises:
the second controller receives the first control signal in an interruption mode and generates a fourth control signal; and the number of the first and second groups,
and the radio frequency circuit responds to the fourth control signal and sends the first data packet to at least one adjacent second gateway.
11. The apparatus of claim 7, wherein the failure reporting circuit is a failure reporting circuit configured to receive the first control signal via a bus and send the first data packet to at least one neighboring second gateway.
CN201920904611.7U 2019-06-14 2019-06-14 Fault reporting device Active CN210351674U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920904611.7U CN210351674U (en) 2019-06-14 2019-06-14 Fault reporting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920904611.7U CN210351674U (en) 2019-06-14 2019-06-14 Fault reporting device

Publications (1)

Publication Number Publication Date
CN210351674U true CN210351674U (en) 2020-04-17

Family

ID=70186145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920904611.7U Active CN210351674U (en) 2019-06-14 2019-06-14 Fault reporting device

Country Status (1)

Country Link
CN (1) CN210351674U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418366A (en) * 2019-06-14 2019-11-05 武汉慧联无限科技有限公司 A kind of failure reporting device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418366A (en) * 2019-06-14 2019-11-05 武汉慧联无限科技有限公司 A kind of failure reporting device and method
CN110418366B (en) * 2019-06-14 2024-09-03 武汉慧联无限科技有限公司 Fault reporting device and method

Similar Documents

Publication Publication Date Title
CN110418366B (en) Fault reporting device and method
EP2798782B1 (en) Technique for handling a status change in an interconnect node
CN103057572B (en) Control switch method of main machine and standby machine
CN111654435B (en) Link protection fault processing system and method based on LACP
CN108712994B (en) Elevator system
JP6890464B2 (en) A power source with power generation means and a communication system with a power source with power generation means
CN110519866B (en) Communication system based on 230MHz microgrid and networking method thereof
CN105291875A (en) Electromobile quick charge method
CN103442035A (en) Method for achieving dual-network hot standby redundancy of blank pipe automatic system
CN210351674U (en) Fault reporting device
CN103997436A (en) Link maintaining method and gateway in internet of things of elevator
CN101207573B (en) Relay device and communication-path managing method
CN203012931U (en) Civil defense alarm terminal
CN112649757A (en) Charging pile off-line detection and identification system and method
CN104682565A (en) Automatic acquisition and monitoring system for power grid information
EP3136627B1 (en) Electronic device and method
CN102905400B (en) Adaptive double-mode mobile data communication terminal
CN102271049B (en) Method, device and system for setting state of communication equipment
CN113784377B (en) Data communication method, device, electronic equipment and storage medium
CN104486262A (en) Control method and device for achieving Dying Gasp based on switch chip
CN114069857A (en) Method and device for communication of safety and stability control system device
CN114355823B (en) Mining explosion-proof combined switch control system based on network and control method thereof
CN210839051U (en) Dual-power supply NB-IOT equipment power supply device and NB-IOT equipment
CN104269812A (en) Digital protection communication interruption detection method applicable to metro medium-voltage power supply system
CN221329127U (en) Unmanned on duty monitored control system based on wireless ad hoc network communication switches

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant