CN110531145A - A kind of intelligent lightening stroke counter having ad hoc network function - Google Patents
A kind of intelligent lightening stroke counter having ad hoc network function Download PDFInfo
- Publication number
- CN110531145A CN110531145A CN201910895659.0A CN201910895659A CN110531145A CN 110531145 A CN110531145 A CN 110531145A CN 201910895659 A CN201910895659 A CN 201910895659A CN 110531145 A CN110531145 A CN 110531145A
- Authority
- CN
- China
- Prior art keywords
- control unit
- lightning
- data
- main control
- unit
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 claims abstract description 52
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims abstract description 47
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 claims description 6
- 238000012790 confirmation Methods 0.000 claims description 3
- 208000025274 Lightning injury Diseases 0.000 claims 7
- 230000005611 electricity Effects 0.000 claims 2
- 238000012423 maintenance Methods 0.000 abstract description 6
- 230000006855 networking Effects 0.000 abstract description 5
- 238000007689 inspection Methods 0.000 abstract description 3
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 230000009466 transformation Effects 0.000 abstract description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000009194 climbing Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/17—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values giving an indication of the number of times this occurs, i.e. multi-channel analysers
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及一种具备自组网功能的智能雷电计数器,由雷击数据接收单元、主控制单元、LoRa通信单元、设备低功耗控制单元以及供电单元五部分组成,改变了传统的登杆塔读取避雷器动作数据方式,减少了班组人员工作负担,降低了高空作业风险;同一条线路上的智能雷电计数器可利用Lora通信单元进行自由组网,实现雷击监测信息的共享,运行维护更加方便,一种具备自组网功能的智能雷电计数器体积小、标准化模块,可带电安装,无需停电作业,安装简便,从而保证快速、高效率地检修与维护输变电防雷设备。
The invention relates to an intelligent lightning counter with the function of ad hoc network, which is composed of five parts: a lightning strike data receiving unit, a main control unit, a LoRa communication unit, a device low power consumption control unit and a power supply unit. The action data mode of the lightning arrester reduces the workload of the team and reduces the risk of high-altitude operations; the intelligent lightning counters on the same line can use the Lora communication unit for free networking to realize the sharing of lightning monitoring information and make operation and maintenance more convenient. The intelligent lightning counter with self-organizing network function is small in size and has a standardized module, which can be installed live without power outages, and is easy to install, thereby ensuring fast and efficient inspection and maintenance of lightning protection equipment for power transmission and transformation.
Description
技术领域technical field
本发明涉及变电检修输变电防雷设备状态监测领域,特别是一种具备自组网功能的智能雷电计数器。The invention relates to the field of state monitoring of power substation maintenance and transmission and transformation lightning protection equipment, in particular to an intelligent lightning counter with ad hoc network function.
背景技术Background technique
目前市面上的雷电计数器智能化水平差,大多为机械指针式,无法记录雷击时间,记录次数有限(最大99次);雷击数据读取困难,需要读取雷击数据时,须用望远镜或者上杆塔去读取数据,效率太低;设备采用有线数据传输,需现场安装基础及铺设电缆,设备安装工作量较大;雷电计数器不具有电池能量管理系统,电池使用寿命一般不大于3年,此外,目前同一条线路上的智能雷电计数器不具备组网功能,区域内的多个雷电计数仪只能一对一进行数据远程传输,导致功耗较大、效率较低。At present, the lightning counters on the market are poor in intelligence, most of them are mechanical pointer type, unable to record the lightning strike time, and the number of records is limited (up to 99 times); it is difficult to read the lightning strike data, and when you need to read the lightning strike data, you must use a telescope or a tower To read data, the efficiency is too low; the equipment adopts wired data transmission, which needs to install the foundation and lay cables on site, and the installation workload of the equipment is relatively large; the lightning counter does not have a battery energy management system, and the service life of the battery is generally not more than 3 years. In addition, At present, the intelligent lightning counters on the same line do not have the networking function, and multiple lightning counters in the area can only transmit data one-to-one remotely, resulting in high power consumption and low efficiency.
发明内容Contents of the invention
有鉴于此,本发明的目的是提供一种具备自组网功能的智能雷电计数器,能够实现雷击次数信息的自由组网及无线远程传输,减少运维班组人员巡线频次,降低高空作业风险,提高工作效率。In view of this, the purpose of the present invention is to provide an intelligent lightning counter with self-organizing network function, which can realize free networking and wireless remote transmission of lightning strike frequency information, reduce the frequency of line inspection by operation and maintenance team personnel, and reduce the risk of high-altitude operations. Improve work efficiency.
本发明采用以下方案实现:一种具备自组网功能的智能雷电计数器,包括雷击数据接收单元、主控制单元、LoRa通信单元、设备低功耗控制单元和供电单元;所述雷击数据接收单元与外部雷电采集设备通信相连,用以接收所述雷电采集设备发送的雷电数据,接收成功后输出高电平;所述雷击数据接收单元与所述主控制单元电性相连,用以向所述主控制单元传输所述雷电数据;所述主控制单元与所述LoRa通信单元电性相连,用以将接收到的雷电数据输送给LoRa通信单元;所述LoRa通信单元还与所述后台数据中心通信相连,用以将所述雷电数据发送到所述后台数据中心,由所述后台数据中心进行处理;所述设备低功耗控制单元与所述LoRa通信单元电性相连,用以控制所述LoRa通信单元的电源;所述设备低功耗控制单元与所述主控制单元电性相连,用以控制所述主控制单元的供电电源;所述供电单元分别与所述雷击数据接收单元、所述主控制单元和所述设备低功耗控制单元电性相连,用以为所述雷击数据接收单元、所述主控制单元和所述设备低功耗控制单元供电。The present invention adopts the following solutions to realize: an intelligent lightning counter with ad hoc network function, including a lightning strike data receiving unit, a main control unit, a LoRa communication unit, a device low power consumption control unit and a power supply unit; the lightning strike data receiving unit and The external lightning collection device is connected by communication to receive the lightning data sent by the lightning collection device, and output a high level after successful reception; the lightning data receiving unit is electrically connected to the main control unit to send data to the main control unit. The control unit transmits the lightning data; the main control unit is electrically connected to the LoRa communication unit to transmit the received lightning data to the LoRa communication unit; the LoRa communication unit also communicates with the background data center connected to send the lightning data to the background data center for processing by the background data center; the low power consumption control unit of the device is electrically connected to the LoRa communication unit to control the LoRa The power supply of the communication unit; the low power consumption control unit of the device is electrically connected to the main control unit to control the power supply of the main control unit; the power supply unit is respectively connected to the lightning strike data receiving unit, the The main control unit is electrically connected to the low power consumption control unit of the device to provide power for the lightning strike data receiving unit, the main control unit and the low power consumption control unit of the device.
进一步地,所述设备低功耗控制单元控制所述LoRa通信单元的电源的具体内容为:当所述设备低功耗控制单元与主控制单元相连的I/O口为低电平时,所述LoRa通信单元被关断电源;为高电平时所述LoRa通信单元被接通电源;所述主控制单元接收到雷电数据时,所述I/O口为高电平;所述主控制单元未接收到雷电数据时,所述I/O口为低电平。Further, the specific content of the low power consumption control unit of the device controlling the power supply of the LoRa communication unit is: when the I/O port connected between the low power consumption control unit of the device and the main control unit is at a low level, the The LoRa communication unit is powered off; when it is high level, the LoRa communication unit is powered on; when the main control unit receives lightning data, the I/O port is high level; the main control unit is not When lightning data is received, the I/O port is at low level.
进一步地,所述主控制单元采用的是单片机,型号为STM32L031K6T6。Further, the main control unit adopts a single-chip microcomputer, the model of which is STM32L031K6T6.
进一步地,本发明还提供一种基于具备自组网功能的智能雷电计数器的控制方法,包括以下步骤:Further, the present invention also provides a control method based on an intelligent lightning counter with an ad hoc network function, comprising the following steps:
步骤S1:启动智能雷电计数器进行初始化,设定数据发送标志位SendFlag,其初始值为0;闹钟中断次数统计标志位ClockNumber,其初值为0;采集设备故障标志位为DeviFaultFlag,其初始值为0;Step S1: Start the intelligent lightning counter for initialization, set the data sending flag SendFlag, its initial value is 0; the alarm clock interruption count flag ClockNumber, its initial value is 0; 0;
步骤S2:判断数据发送标志位SendFlag数值,若标志位SendFlag=0时,主控制单元、LoRa通信单元自动进入低功耗模式;若标志位SendFlag = 1时,所述主控制单元将获取的雷电数据打包并通过所述LoRa通信单元发送给后台数据中心,后台数据中心成功接收到雷电数据会返回确认信息给主控制单元,主控制单元成功接收到回复信息后便会设置数据发送标志位SendFlag = 0,然后进入低功耗运行模式;Step S2: Determine the value of the data transmission flag SendFlag, if the flag SendFlag=0, the main control unit and the LoRa communication unit automatically enter the low power consumption mode; if the flag SendFlag=1, the main control unit will obtain the lightning The data is packaged and sent to the background data center through the LoRa communication unit. After successfully receiving the lightning data, the background data center will return a confirmation message to the main control unit. After the main control unit successfully receives the reply message, it will set the data sending flag SendFlag = 0, and then enter the low-power operation mode;
步骤S3:进入低功耗模式后,只有内设的RTC闹钟中断和与外部雷击数据接收单元相连接的数据I/O口产生了外部中断才能唤醒所述主控制单元;若智能雷电计数器的低功耗模式被所述雷击数据接收单元连接外部中断唤醒,此时所述主控制单元判断与所述雷击数据接收单元相连接的数据I/O口的状态,若数据I/O口的状态为高电平则表示接收到外部雷电采集设备的工作正常信息,此时设置DeviFaultFlag = 1,然后退出中断;若数据I/O口的状态为低电平,则表示接收到外部雷电采集设备发送的雷电数据,此时读取当前时间以及相位把并发送给所述LoRa通信单元,并且设置SendFlag = 1、DeviFaultFlag = 1,然后退出中断;Step S3: After entering the low power consumption mode, the main control unit can only be woken up if the built-in RTC alarm interrupt and the data I/O port connected to the external lightning strike data receiving unit generate an external interrupt; The power consumption mode is awakened by the lightning strike data receiving unit connected to an external interrupt. At this time, the main control unit judges the state of the data I/O port connected to the lightning strike data receiving unit. If the state of the data I/O port is A high level means that the normal operation information of the external lightning acquisition device has been received. At this time, set DeviFaultFlag = 1, and then exit the interrupt; if the state of the data I/O port is low, it means that the external lightning acquisition device has received Lightning data, read the current time and phase at this time and send it to the LoRa communication unit, and set SendFlag=1, DeviFaultFlag=1, then exit the interrupt;
步骤S4:若智能雷电计数器的低功耗模式被内部的RTC闹钟中断唤醒,此时闹钟中断次数统计标志位ClockNumber自动加一,然后判断ClockNumber的值,若ClockNumber = 10,打包校时请求数据包并设置SendFlag = 1、清零ClockNumber标志位,然后退出中断;若ClockNumber = 3,便判定DeviFaultFlag是否等于零,若DeviFaultFlag = 0,便打包采集设备异常报警数据包并设置SendFlag = 1,然后退出中断,若DeviFaultFlag不等于0,便直接设置DeviFaultFlag = 0然后退出中断;若ClockNumber为其他值则直接退出中断;Step S4: If the low power consumption mode of the smart lightning counter is awakened by the internal RTC alarm clock interrupt, at this time the alarm clock interrupt number statistics flag ClockNumber is automatically incremented by one, and then the value of ClockNumber is judged. If ClockNumber = 10, pack the timing request data packet And set SendFlag = 1, clear the ClockNumber flag, and then exit the interrupt; if ClockNumber = 3, then determine whether DeviFaultFlag is equal to zero, if DeviFaultFlag = 0, then pack the abnormal alarm data packet of the acquisition device and set SendFlag = 1, then exit the interrupt, If DeviFaultFlag is not equal to 0, directly set DeviFaultFlag = 0 and exit the interrupt; if ClockNumber is other values, directly exit the interrupt;
步骤S5:智能雷电计数器退出中断后,主控制单元需重新初始化,初始化完成后判断数据发送标志位SendFlag的状态,当判断SendFlag = 1时,便会主动与后台数据中心发起通信,把打包好的数据包内容发送给后台数据中心,并获取后台数据中心的回复信息,成功接收到回复信息后便会设置SendFlag = 0,然后自动的进入低功耗模式;当判断SendFlag =0时,便直接进入低功耗模式。Step S5: After the intelligent lightning counter exits the interrupt, the main control unit needs to be re-initialized. After the initialization is completed, judge the status of the data sending flag SendFlag. When it is judged that SendFlag = 1, it will actively initiate communication with the background data center and send the packaged The content of the data packet is sent to the background data center, and the reply information of the background data center is obtained. After successfully receiving the reply information, it will set SendFlag = 0, and then automatically enter the low power consumption mode; when it is judged that SendFlag = 0, it will directly enter low power mode.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)本发明实现雷击次数信息的自由组网及无线远程传输,减少运维班组人员巡线频次,降低高空作业风险,提高工作效率,最终实现实时、准确的雷击警示,保证快速、高效率地检修与维护输变电防雷设备。(1) The present invention realizes the free networking and wireless remote transmission of the number of lightning strikes, reduces the frequency of inspections of the operation and maintenance team, reduces the risk of high-altitude operations, improves work efficiency, and finally realizes real-time and accurate lightning strike warnings to ensure fast and high efficiency Overhaul and maintain power transmission and transformation lightning protection equipment.
(2)针对现有雷电计数器智能化水平较低、数据读取困难、安装施工量较大等问题,本发明智能化程度较高,改变了传统的登杆塔读取避雷器动作数据方式,同一条线路上的智能雷电计数器可利用Lora系统进行自由组网,实现雷击监测信息的共享,运行维护更加方便。(2) In view of the problems of the existing lightning counters such as low level of intelligence, difficulty in reading data, and large installation and construction work, the invention has a higher level of intelligence and changes the traditional method of reading lightning arrester action data from climbing towers. The intelligent lightning counter on the line can use the Lora system for free networking to realize the sharing of lightning monitoring information and make operation and maintenance more convenient.
(3)本发明提出的智能雷电计数器体积小、标准化模块,可带电安装,无需停电作业,安装简便。(3) The intelligent lightning counter proposed by the present invention has a small volume and a standardized module, which can be installed live without power failure, and is easy to install.
附图说明Description of drawings
图1为本发明实施例的结构框图。Fig. 1 is a structural block diagram of an embodiment of the present invention.
图2为本发明实施例的方法流程图。Fig. 2 is a flow chart of the method of the embodiment of the present invention.
图3为本发明实施例的电路原理图。Fig. 3 is a schematic circuit diagram of an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及实施例对本发明做进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
应该指出,以下详细说明都是例示性的,旨在对本申请提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本申请所属技术领域的普通技术人员通常理解的相同含义。It should be pointed out that the following detailed description is exemplary and intended to provide further explanation to the present application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本申请的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terminology used here is only for describing specific implementations, and is not intended to limit the exemplary implementations according to the present application. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural, and it should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, they mean There are features, steps, operations, means, components and/or combinations thereof.
如图1、3所示,本实施例提供一种具备自组网功能的智能雷电计数器,包括雷击数据接收单元、主控制单元、LoRa通信单元、设备低功耗控制单元和供电单元;所述雷击数据接收单元与外部雷电采集设备通信相连,用以接收所述雷电采集设备发送的雷电数据,接收成功后输出高电平;所述雷击数据接收单元与所述主控制单元电性相连,用以向所述主控制单元传输所述雷电数据;所述主控制单元与所述LoRa通信单元电性相连,用以将接收到的雷电数据输送给LoRa通信单元;所述LoRa通信单元还与所述后台数据中心通信相连,用以将所述雷电数据发送到所述后台数据中心,由所述后台数据中心进行处理;所述设备低功耗控制单元与所述LoRa通信单元电性相连,用以控制所述LoRa通信单元的电源;所述设备低功耗控制单元与所述主控制单元电性相连,用以控制所述主控制单元的供电电源;所述供电单元分别与所述雷击数据接收单元、所述主控制单元和所述所述设备低功耗控制单元电性相连,用以为所述雷击数据接收单元、所述主控制单元和所述所述设备低功耗控制单元供电。As shown in Figures 1 and 3, the present embodiment provides an intelligent lightning counter with an ad hoc network function, including a lightning strike data receiving unit, a main control unit, a LoRa communication unit, a device low power consumption control unit and a power supply unit; The lightning strike data receiving unit communicates with an external lightning acquisition device to receive the lightning data sent by the lightning acquisition device, and outputs a high level after successful reception; the lightning strike data receiving unit is electrically connected to the main control unit for To transmit the lightning data to the main control unit; the main control unit is electrically connected to the LoRa communication unit to transmit the received lightning data to the LoRa communication unit; the LoRa communication unit is also connected to the LoRa communication unit The background data center is connected by communication to send the lightning data to the background data center for processing by the background data center; the low power consumption control unit of the device is electrically connected to the LoRa communication unit for to control the power supply of the LoRa communication unit; the device low power consumption control unit is electrically connected to the main control unit to control the power supply of the main control unit; the power supply unit is respectively connected to the lightning strike data The receiving unit, the main control unit and the low power consumption control unit of the device are electrically connected to provide power for the lightning strike data receiving unit, the main control unit and the low power consumption control unit of the device.
在本实施例中,所述设备低功耗控制单元控制所述LoRa通信单元的电源的具体内容为:当所述设备低功耗控制单元与主控制单元相连的I/O口为低电平时,所述LoRa通信单元被关断电源,为高电平时所述LoRa通信单元被接通电源;所述主控制单元接收到雷电数据时,所述I/O口为高电平;所述主控制单元未接收到雷电数据时,所述I/O口为低电平。In this embodiment, the specific content of the low power consumption control unit of the device controlling the power supply of the LoRa communication unit is: when the I/O port connected to the low power consumption control unit of the device and the main control unit is at a low level , the LoRa communication unit is powered off, and the LoRa communication unit is powered on when it is at a high level; when the main control unit receives lightning data, the I/O port is at a high level; When the control unit does not receive lightning data, the I/O port is at low level.
在本实施例中,所述主控制单元采用的是单片机,型号为STM32L031K6T6。In this embodiment, the main control unit is a single-chip microcomputer, the model of which is STM32L031K6T6.
如图2所示,在本实施例中,本发明还提供一种基于具备自组网功能的智能雷电计数器的控制方法,包括以下步骤:As shown in Figure 2, in this embodiment, the present invention also provides a control method based on an intelligent lightning counter with an ad hoc network function, comprising the following steps:
步骤S1:启动智能雷电计数器进行初始化,设定数据发送标志位SendFlag,其初始值为0;闹钟中断次数统计标志位ClockNumber,其初值为0;采集设备故障标志位为DeviFaultFlag,其初始值为0;Step S1: Start the intelligent lightning counter for initialization, set the data sending flag SendFlag, its initial value is 0; the alarm clock interruption count flag ClockNumber, its initial value is 0; 0;
步骤S2:判断数据发送标志位SendFlag数值,若标志位SendFlag=0时,主控制单元、LoRa通信单元自动进入低功耗模式;若标志位SendFlag = 1时,所述主控制单元将获取的雷电数据打包并通过所述LoRa通信单元发送给后台数据中心,后台数据中心成功接收到雷电数据会返回确认信息给主控制单元,主控制单元成功接收到回复信息后便会设置数据发送标志位SendFlag = 0,然后进入低功耗运行模式;Step S2: Determine the value of the data transmission flag SendFlag, if the flag SendFlag=0, the main control unit and the LoRa communication unit automatically enter the low power consumption mode; if the flag SendFlag=1, the main control unit will obtain the lightning The data is packaged and sent to the background data center through the LoRa communication unit. After successfully receiving the lightning data, the background data center will return a confirmation message to the main control unit. After the main control unit successfully receives the reply message, it will set the data sending flag SendFlag = 0, and then enter the low-power operation mode;
步骤S3:进入低功耗模式后,只有内设的RTC闹钟中断和与外部雷击数据接收单元相连接的数据I/O口产生了外部中断才能唤醒所述主控制单元;若智能雷电计数器的低功耗模式被所述雷击数据接收单元连接外部中断唤醒,此时所述主控制单元判断与所述雷击数据接收单元相连接的数据I/O口的状态,若数据I/O口的状态为高电平则表示接收到外部雷电采集设备的工作正常信息,此时设置DeviFaultFlag = 1,然后退出中断;若数据I/O口的状态为低电平,则表示接收到外部雷电采集设备发送的雷电数据,此时读取当前时间以及相位把并发送给所述LoRa通信单元,并且设置SendFlag = 1、DeviFaultFlag = 1,然后退出中断;Step S3: After entering the low power consumption mode, the main control unit can only be woken up if the built-in RTC alarm interrupt and the data I/O port connected to the external lightning strike data receiving unit generate an external interrupt; The power consumption mode is awakened by the lightning strike data receiving unit connected to an external interrupt. At this time, the main control unit judges the state of the data I/O port connected to the lightning strike data receiving unit. If the state of the data I/O port is A high level means that the normal operation information of the external lightning acquisition device has been received. At this time, set DeviFaultFlag = 1, and then exit the interrupt; if the state of the data I/O port is low, it means that the external lightning acquisition device has received Lightning data, read the current time and phase at this time and send it to the LoRa communication unit, and set SendFlag=1, DeviFaultFlag=1, then exit the interrupt;
步骤S4:若智能雷电计数器的低功耗模式被内部的RTC闹钟中断唤醒,此时闹钟中断次数统计标志位ClockNumber自动加一,然后判断ClockNumber的值,若ClockNumber = 10,打包校时请求数据包并设置SendFlag = 1、清零ClockNumber标志位,然后退出中断;若ClockNumber = 3,便判定DeviFaultFlag是否等于零,若DeviFaultFlag = 0,便打包采集设备异常报警数据包并设置SendFlag = 1,然后退出中断,若DeviFaultFlag不等于0,便直接设置DeviFaultFlag = 0然后退出中断;若ClockNumber为其他值则直接退出中断;Step S4: If the low power consumption mode of the smart lightning counter is awakened by the internal RTC alarm clock interrupt, at this time the alarm clock interrupt number statistics flag ClockNumber is automatically incremented by one, and then the value of ClockNumber is judged. If ClockNumber = 10, pack the timing request data packet And set SendFlag = 1, clear the ClockNumber flag, and then exit the interrupt; if ClockNumber = 3, then determine whether DeviFaultFlag is equal to zero, if DeviFaultFlag = 0, then pack the abnormal alarm data packet of the acquisition device and set SendFlag = 1, then exit the interrupt, If DeviFaultFlag is not equal to 0, directly set DeviFaultFlag = 0 and exit the interrupt; if ClockNumber is other values, directly exit the interrupt;
步骤S5:智能雷电计数器退出中断后,主控制单元需重新初始化,初始化完成后判断数据发送标志位SendFlag的状态,当判断SendFlag = 1时,便会主动与后台数据中心发起通信,把打包好的数据包内容发送给后台数据中心,并获取后台数据中心的回复信息,成功接收到回复信息后便会设置SendFlag = 0,然后自动的进入低功耗模式;当判断SendFlag =0时,便直接进入低功耗模式。Step S5: After the intelligent lightning counter exits the interrupt, the main control unit needs to be re-initialized. After the initialization is completed, judge the status of the data sending flag SendFlag. When it is judged that SendFlag = 1, it will actively initiate communication with the background data center and send the packaged The content of the data packet is sent to the background data center, and the reply information of the background data center is obtained. After successfully receiving the reply information, it will set SendFlag = 0, and then automatically enter the low power consumption mode; when it is judged that SendFlag = 0, it will directly enter low power mode.
较佳的,在本实施例中,所述的雷击数据接收单元的数据I/O口与所述的主控制单元的I/O口相连。所述的LoRa通信单元I/O口与主控制单元的I/O口相连。所述的设备低功耗控制单元串接在所述的LoRa通信单元的电源处,其控制脚与所述的主控制单元的I/O口相连。Preferably, in this embodiment, the data I/O port of the lightning strike data receiving unit is connected to the I/O port of the main control unit. The I/O port of the LoRa communication unit is connected to the I/O port of the main control unit. The low power consumption control unit of the device is serially connected to the power supply of the LoRa communication unit, and its control pin is connected to the I/O port of the main control unit.
所述雷击数据接收单元用于无线接收雷电采设备发送的雷电数据,接收成功后,会在对应的I/O输出高电平信号。The lightning strike data receiving unit is used for wirelessly receiving the lightning data sent by the lightning mining equipment, and will output a high-level signal on the corresponding I/O after successful reception.
所述LoRa通信单元采用基于LoRa自组网的通信模式,用于与后台数据中心之间传输雷电数据。The LoRa communication unit adopts a communication mode based on the LoRa ad hoc network for transmitting lightning data with the background data center.
所述设备低功耗控制单元用于控制LoRa通信单元的电源,当设备低功耗控制单元与主控制单元相连的I/O口为低电平时,LoRa通信单元被关断电源,为高电平时LoRa通信单元被接通电源。The low power consumption control unit of the device is used to control the power supply of the LoRa communication unit. When the I/O port connected to the low power consumption control unit of the device and the main control unit is at a low level, the LoRa communication unit is powered off, and the power supply is high. Usually the LoRa communication unit is powered on.
以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910895659.0A CN110531145B (en) | 2019-09-21 | 2019-09-21 | Intelligent thunder and lightning counter with ad hoc network function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910895659.0A CN110531145B (en) | 2019-09-21 | 2019-09-21 | Intelligent thunder and lightning counter with ad hoc network function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110531145A true CN110531145A (en) | 2019-12-03 |
CN110531145B CN110531145B (en) | 2021-09-28 |
Family
ID=68669514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910895659.0A Active CN110531145B (en) | 2019-09-21 | 2019-09-21 | Intelligent thunder and lightning counter with ad hoc network function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110531145B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111024140A (en) * | 2019-12-26 | 2020-04-17 | 汕头东风印刷股份有限公司 | Arduino-based equipment operation data acquisition method and device |
CN115754445A (en) * | 2022-11-23 | 2023-03-07 | 国家电网有限公司 | An Intelligent Remote Monitoring System for Passive Lightning Arresters of Transmission Lines |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63247669A (en) * | 1987-04-02 | 1988-10-14 | Otowa Denki Kogyo Kk | Surge count storage device |
CN104182276A (en) * | 2014-09-08 | 2014-12-03 | 南京宁普防雷设备制造有限公司 | Method for lowering lightning protection counter power consumption through software |
EP3101453A1 (en) * | 2015-06-04 | 2016-12-07 | France Paratonnerres | Lightning strike counter and installation with such a counter |
CN208596190U (en) * | 2018-04-12 | 2019-03-12 | 陕西惠齐电力科技开发有限公司 | The arrester on-line monitoring system of tape counter |
CN109638966A (en) * | 2018-12-28 | 2019-04-16 | 广州中光电气科技有限公司 | A kind of monitoring of arrester intelligent online, data remote visualization cloud platform system |
CN208847801U (en) * | 2018-09-17 | 2019-05-10 | 保定万拓智能科技有限公司 | A kind of transformer substation arrester on-line monitoring system based on wireless self-networking |
CN209215491U (en) * | 2018-08-31 | 2019-08-06 | 国网河南省电力公司周口供电公司 | A device for recording the number of transformer lightning strikes and giving a remote alarm |
-
2019
- 2019-09-21 CN CN201910895659.0A patent/CN110531145B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63247669A (en) * | 1987-04-02 | 1988-10-14 | Otowa Denki Kogyo Kk | Surge count storage device |
CN104182276A (en) * | 2014-09-08 | 2014-12-03 | 南京宁普防雷设备制造有限公司 | Method for lowering lightning protection counter power consumption through software |
EP3101453A1 (en) * | 2015-06-04 | 2016-12-07 | France Paratonnerres | Lightning strike counter and installation with such a counter |
CN208596190U (en) * | 2018-04-12 | 2019-03-12 | 陕西惠齐电力科技开发有限公司 | The arrester on-line monitoring system of tape counter |
CN209215491U (en) * | 2018-08-31 | 2019-08-06 | 国网河南省电力公司周口供电公司 | A device for recording the number of transformer lightning strikes and giving a remote alarm |
CN208847801U (en) * | 2018-09-17 | 2019-05-10 | 保定万拓智能科技有限公司 | A kind of transformer substation arrester on-line monitoring system based on wireless self-networking |
CN109638966A (en) * | 2018-12-28 | 2019-04-16 | 广州中光电气科技有限公司 | A kind of monitoring of arrester intelligent online, data remote visualization cloud platform system |
Non-Patent Citations (2)
Title |
---|
王庆华等: "避雷器雷击电流波形参数检测方法及其应用", 《科技创新与应用》 * |
陈伦斌: "无线LoRa在输电线路监测中的组网设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111024140A (en) * | 2019-12-26 | 2020-04-17 | 汕头东风印刷股份有限公司 | Arduino-based equipment operation data acquisition method and device |
CN115754445A (en) * | 2022-11-23 | 2023-03-07 | 国家电网有限公司 | An Intelligent Remote Monitoring System for Passive Lightning Arresters of Transmission Lines |
Also Published As
Publication number | Publication date |
---|---|
CN110531145B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590987A (en) | A kind of long-distance meter-reading system based on low-power consumption Internet of Things | |
CN107240247A (en) | A kind of ammeter data acquisition system based on NB IoT | |
CN207441006U (en) | A kind of long-distance meter-reading system based on low-power consumption Internet of Things | |
CN207833686U (en) | Monitoring water supply wireless acquisition terminal and monitoring water supply wireless acquisition system | |
WO2020253417A1 (en) | Lorawan-based electric transmission line monitoring device and system | |
CN206610423U (en) | Secondary groups net wireless long-distance meter-reading system | |
CN103941312A (en) | Remote rainfall monitoring system | |
CN107148087A (en) | Self-Powered Temperature and Humidity Sensor Network Based on Solar Harvesting | |
CN108540205B (en) | Emergency communication control method based on Beidou emergency communication control device | |
CN107466003A (en) | Internet of Things Bluetooth gateway equipment | |
CN201955410U (en) | Remote online arrester monitoring device | |
CN108074387A (en) | Kilowatt meter reading-out system | |
CN110531145A (en) | A kind of intelligent lightening stroke counter having ad hoc network function | |
CN111245954A (en) | Data acquisition device for safety monitoring | |
CN206773472U (en) | The cloud backstage network of rivers monitoring system of honourable hybrid power supply | |
CN104268301B (en) | Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism | |
CN205809617U (en) | A kind of battery is powered Micro Energy Lose RTU | |
CN203673085U (en) | Power transmission line micrometeorological monitoring system base on ZigBee network | |
CN202276363U (en) | Power transmission line state monitoring agent device | |
CN201569722U (en) | Monitoring system for power distribution network | |
CN102147961B (en) | Wireless network based wireless transmission equipment | |
CN202093076U (en) | Electric energy detection system | |
CN203759861U (en) | Zigbee-based short circuit switch remote monitoring system for copper electrolysis | |
CN208461844U (en) | A kind of smart city monitoring system based on LoRa wireless network | |
CN110244548A (en) | A lightning arrester online monitoring device based on GPS/Beidou dual-mode timing service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |