CN111679133A - Lightning positioning method and device, computer equipment and storage medium - Google Patents

Lightning positioning method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111679133A
CN111679133A CN202010502846.0A CN202010502846A CN111679133A CN 111679133 A CN111679133 A CN 111679133A CN 202010502846 A CN202010502846 A CN 202010502846A CN 111679133 A CN111679133 A CN 111679133A
Authority
CN
China
Prior art keywords
lightning
target
monitoring station
server
lightning monitoring
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.)
Pending
Application number
CN202010502846.0A
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.)
Shanghai Eye Control Technology Co Ltd
Original Assignee
Shanghai Eye Control 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 Shanghai Eye Control Technology Co Ltd filed Critical Shanghai Eye Control Technology Co Ltd
Priority to CN202010502846.0A priority Critical patent/CN111679133A/en
Publication of CN111679133A publication Critical patent/CN111679133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/08Measuring electromagnetic field characteristics
    • G01R29/0807Measuring electromagnetic field characteristics characterised by the application
    • G01R29/0814Field measurements related to measuring influence on or from apparatus, components or humans, e.g. in ESD, EMI, EMC, EMP testing, measuring radiation leakage; detecting presence of micro- or radiowave emitters; dosimetry; testing shielding; measurements related to lightning
    • G01R29/0842Measurements related to lightning, e.g. measuring electric disturbances, warning systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology

Abstract

The application discloses a lightning positioning method and device, computer equipment and a storage medium, and relates to the technical field of meteorological monitoring. The lightning positioning method comprises the following steps: the method comprises the steps that a target lightning monitoring station monitoring lightning sends distance information to a server, after the server receives the distance information sent by at least three target lightning monitoring stations, the server can construct a hemispherical space corresponding to each target lightning monitoring station according to the distance information sent by each target lightning monitoring station, the server can determine intersection points of the at least three hemispherical spaces, and the position of the lightning can be determined according to the intersection points. In the present application, the position of the lightning is included in each of the at least three hemispherical spaces, that is, the position of the lightning exists in the at least three hemispherical spaces at the same time, and thus, it can be confirmed that the position of the intersection of the at least three hemispherical spaces is the position of the lightning. By the method, the position of the lightning is determined, and the positioning accuracy of the lightning is improved.

Description

Lightning positioning method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of meteorological monitoring technologies, and in particular, to a lightning positioning method and apparatus, a computer device, and a storage medium.
Background
Lightning is a phenomenon of electrical discharges occurring in the troposphere of the atmosphere, mainly in the presence of thunderstorms. Since lightning is accompanied by a large amount of discharge and energy release, the lightning interferes with radio communication and electronic equipment, and related equipment in the industries of electricity, aviation, chemical engineering and the like is greatly affected, and therefore, the lightning location is necessary.
In practical application, the lightning location can only acquire the distance of lightning, but cannot acquire the specific position of the lightning, so that the existing lightning location method is low in accuracy.
Disclosure of Invention
Based on this, it is necessary to provide a lightning location method, an apparatus, a computer device and a storage medium for solving the problem that the specific location of lightning cannot be determined in the above method.
A lightning positioning method is applied to a lightning monitoring system, the lightning monitoring system comprises a server and a plurality of lightning monitoring stations which are in communication connection with the server, and the method comprises the following steps:
the target lightning monitoring station sends distance information to a server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning;
when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station;
and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
In an embodiment of the present application, before the lightning target monitoring station sends the distance information to the server, the method further includes:
when the situation that the duration of the target level signal exceeds the preset duration is detected, the target lightning monitoring station determines distance information according to the received electromagnetic waves;
wherein the target level signal is generated by the target lightning monitoring station after receiving the electromagnetic wave.
In an embodiment of the present application, a lightning monitoring station is provided with a plurality of lightning sensors, and a target lightning monitoring station sends distance information to a server, including:
the target lightning monitoring station receives lightning electromagnetic waves through each lightning sensor;
the target lightning monitoring station determines a plurality of distance information respectively corresponding to each lightning sensor according to the lightning electromagnetic waves received by each lightning sensor;
the target lightning monitoring station sends the determined distance information to a server;
correspondingly, for each target lightning monitoring station, the server constructs a hemisphere space, including:
and for each target lightning monitoring station, the server constructs a plurality of hemispherical spaces which are in one-to-one correspondence with a plurality of distance information, wherein the center of sphere position of each hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of each hemispherical space is determined according to the distance indicated by the corresponding distance information.
In an embodiment of the present application, the determining, by the server, intersection positions of the plurality of constructed hemispherical spaces includes:
the method comprises the steps that a server determines a plurality of hemispherical space sets, wherein each hemispherical space set comprises hemispherical spaces of different target lightning monitoring stations, and the hemispherical spaces of the same target lightning monitoring station in different hemispherical space sets are different;
for each hemispherical space set, the server determines candidate intersection point positions of the hemispherical space set according to a plurality of hemispherical spaces in the hemispherical space set;
and the server determines the intersection point position according to the candidate intersection point position of each semispherical space set.
In one embodiment of the present application, the server determines the intersection position according to the candidate intersection positions of the respective semispherical space sets, including:
classifying the candidate intersection point positions, and averaging the candidate intersection point positions belonging to the same category to obtain an average position;
the average position is determined as the intersection position.
In one embodiment of the application, the lightning monitoring station further comprises a temperature sensor, a humidity sensor and a rainfall sensor, the method further comprising:
the target lightning monitoring station sends the temperature information monitored by the temperature sensor, the humidity information monitored by the humidity sensor and the rainfall information monitored by the rainfall sensor to the server;
correspondingly, when the server receives the distance information sent by at least three lightning target monitoring stations, for each lightning target monitoring station, the server constructs a hemisphere space, including:
the server receives distance information sent by at least three target lightning monitoring stations and temperature information, humidity information and rainfall information sent by each target lightning monitoring station;
the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value;
and when the lightning occurrence probability is larger than a preset threshold value, constructing a hemispherical space for each target lightning monitoring station by the server.
In one embodiment of the present application, the method further comprises:
a plurality of lightning monitoring stations are arranged in a target area to be monitored according to a preset arrangement strategy;
the preset arranging strategy comprises the following steps: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as a circle center and the effective monitoring distances as radii, constructing a plurality of newly added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly added circles are determined according to the circle center positions of the initial circles, and the circle center distance between any two adjacent newly added circles is equal to the effective monitoring distance.
The utility model provides a lightning positioner is applied to lightning monitoring system, and lightning monitoring system includes server and a plurality of lightning monitoring stations that have communication connection with the server establishment, and the device includes:
the distance determining module is used for controlling the target lightning monitoring station to send distance information to the server, the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning;
the construction module is used for constructing a hemispherical space for each target lightning monitoring station when the server receives distance information sent by at least three target lightning monitoring stations, wherein the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station;
and the positioning module is used for controlling the server to determine intersection points of the constructed hemispherical spaces and positioning the lightning according to the intersection points.
A computer device comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
the target lightning monitoring station sends distance information to a server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning;
when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station;
and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
the target lightning monitoring station sends distance information to a server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning;
when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station;
and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the lightning positioning method, the lightning positioning device, the computer equipment and the storage medium can improve the lightning positioning precision. The lightning positioning method is applied to a lightning monitoring system, the lightning monitoring system comprises a server and a plurality of lightning monitoring stations, wherein a target lightning monitoring station monitoring lightning sends distance information to the server, the distance information represents the distance between the lightning and the target lightning monitoring stations, after the server receives the distance information sent by at least three target lightning monitoring stations, the server can construct a hemispherical space corresponding to each target lightning monitoring station according to the distance information sent by each target lightning monitoring station, the server can determine the intersection point position of the at least three hemispherical spaces, and the position of the lightning is determined according to the intersection point position. In the embodiment of the application, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is the distance between lightning and the target lightning monitoring station. Therefore, it can be known that the positions of the lightning rays are included in each of the at least three hemispherical spaces, that is, the positions of the lightning rays exist in the at least three hemispherical spaces at the same time, and thus, it can be confirmed that the positions of the intersections of the at least three hemispherical spaces are the positions of the lightning rays. By the method, the position of the lightning is determined, and the positioning accuracy of the lightning is improved.
Drawings
Fig. 1 is a schematic diagram of an implementation environment of a lightning location method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a lightning sensor and processor provided in an embodiment of the present application;
fig. 3 is a flowchart of a lightning location method according to an embodiment of the present application;
FIG. 4 is a flow chart of another lightning location method provided by an embodiment of the present application;
FIG. 5 is a flow chart of another lightning location method provided by an embodiment of the present application;
FIG. 6 is a flow chart of another lightning location method provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a configuration strategy provided by an embodiment of the present application;
figure 8 is a block diagram of a lightning location device according to an embodiment of the present application;
fig. 9 is a block diagram of a computer device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Lightning is a phenomenon of electrical discharges occurring in the troposphere of the atmosphere, mainly in the presence of thunderstorms. Since lightning is accompanied by a large amount of discharge and energy release, the lightning interferes with radio communication and electronic equipment, and related equipment in the industries of electricity, aviation, chemical engineering and the like is greatly affected, and therefore, the lightning location is necessary.
In the prior art, a lightning positioning method is proposed, which is to receive ultrahigh frequency electromagnetic waves generated in a lightning strike-back process by using ultrahigh frequency electromagnetic wave receiving equipment and then position lightning according to the ultrahigh frequency electromagnetic waves. However, the ultrahigh frequency electromagnetic wave receiving device used in the method is bulky, expensive and not beneficial to popularization and use.
In the method, the lightning sensor is only used for detecting the distance from the lightning to the area where the lightning sensor is located, and the direction of the lightning and the specific position of the lightning cannot be determined, so that the accuracy of the lightning positioning method is low.
The lightning positioning method is applied to a lightning monitoring system, the lightning monitoring system comprises a server and a plurality of lightning monitoring stations, distance information is sent to the server by a target lightning monitoring station monitoring lightning, the distance information represents the distance between the lightning and the target lightning monitoring stations, after the server receives the distance information sent by at least three target lightning monitoring stations, a hemisphere space corresponding to each target lightning monitoring station can be constructed according to the distance information sent by each target lightning monitoring station, the server can determine the intersection point position of the at least three hemisphere spaces, and the position of the lightning is determined according to the intersection point position. In the embodiment of the application, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is the distance between lightning and the target lightning monitoring station. Therefore, it can be known that the positions of the lightning rays are included in each of the at least three hemispherical spaces, that is, the positions of the lightning rays exist in the at least three hemispherical spaces at the same time, and thus, it can be confirmed that the positions of the intersections of the at least three hemispherical spaces are the positions of the lightning rays. By the method, the position of the lightning is determined, and the positioning accuracy of the lightning is improved.
In the following, a brief description will be given of an implementation environment related to the lightning location method provided in the embodiment of the present application.
Fig. 1 is a schematic diagram of an implementation environment related to the lightning location method according to the embodiment of the present application, and as shown in fig. 1, the implementation environment may include a lightning monitoring system, where the lightning monitoring system includes a plurality of lightning monitoring stations 102 (only 6 lightning monitoring stations are exemplarily shown in fig. 1) installed on a target area a to be monitored, and a server 101 that establishes a communication connection with each lightning monitoring station 102, where the lightning monitoring stations 102 are distributed at different locations within the target area a, so that any point within the target area a is within a monitoring range of at least three lightning monitoring stations 102 at the same time. The server 101 and the lightning monitoring station 102 may communicate with each other via a wired network or a wireless network.
It should be noted that the blocks in fig. 1 that represent the lightning monitoring station 102 are only used to represent the location of the lightning monitoring station and do not represent the monitoring range of the lightning monitoring station 102.
The server 101 may be a single server or a server cluster including a plurality of servers.
A plurality of lightning monitoring stations 102 are distributed within a target area to be monitored.
In an optional implementation mode, a lightning sensor is arranged in each lightning monitoring station, and the distance from lightning to the lightning monitoring station can be determined by the lightning sensor according to the size of the energy of the electromagnetic waves generated by the received lightning. The lightning monitoring station may send the distance monitored by the lightning sensor to a server.
In an alternative implementation, a lightning sensor and a processor are arranged in each lightning monitoring station, the processor is in communication connection with the server 101, and the lightning sensor can determine the distance from the lightning to the lightning monitoring station according to the energy of the electromagnetic waves generated by the received lightning. The processor may send the distance monitored by the lightning sensor to a server.
Optionally, in the embodiment, the lightning sensor may be an AS3935 lightning sensor, which has the characteristics of small volume and high cost performance. The theoretical detection distance of the AS3935 lightning sensor is 40 kilometers, however, the accuracy of the AS3935 lightning sensor is lower the farther the detection distance is, in order to ensure the detection accuracy, the farthest detection distance of the AS3935 lightning sensor can be limited in real time, and the effective monitoring distance is determined according to the farthest detection distance.
The processor can be an arduino328P single chip microcomputer. AS shown in fig. 2, fig. 2 shows a schematic diagram of the connection between the arduino328P single chip microcomputer and the AS3935 lightning sensor, where GND represents an operating voltage, VCC represents a supply voltage, SDA represents a data line, SDL represents a clock line, and IRQ represents an interrupt pin.
In an alternative implementation, a plurality of lightning sensors may be provided within each lightning monitoring station, and optionally a processor may be provided for each lightning sensor. Alternatively, multiple lightning sensors within one lightning monitoring station may be connected to the same processor. The processor may send the distance detected by each lightning sensor to the server.
After the server receives the distance information sent by at least three target lightning monitoring stations, a hemisphere space can be constructed for each target lightning monitoring station. And determining intersection positions of the hemispherical spaces, and positioning the lightning according to the intersection positions.
Referring to fig. 3, a flowchart of a lightning location method provided by an embodiment of the present application is shown, where the lightning location method may be applied to the lightning monitoring system shown in fig. 1, and the lightning monitoring system includes a server and a plurality of lightning monitoring stations that establish communication connections with the server. The method comprises the following steps:
step 301, the target lightning monitoring station sends distance information to a server.
The target lightning monitoring station is a lightning monitoring station for monitoring lightning, and the distance information is used for indicating the distance between the lightning and the target lightning monitoring station.
In the embodiment of the application, after the lightning sensor in the target lightning monitoring station receives the lightning electromagnetic waves, the distance from lightning to the lightning sensor can be determined according to the energy of the lightning electromagnetic waves, and the target lightning monitoring station can send the distance as distance information to the server.
Step 302, when the server receives distance information sent by at least three target lightning monitoring stations, the server constructs a hemisphere space for each target lightning monitoring station.
In this embodiment of the application, an effective monitoring distance of the AS3935 lightning sensor may be preset, and the server may determine validity of the distance information received by the server according to the effective monitoring distance, for example, if the distance indicated by the distance information received by the server is greater than the effective monitoring distance of the AS3935 lightning sensor, the server may determine that the distance information is invalid information. If the distance indicated by the distance information received by the server is smaller than the effective monitoring distance, it is indicated that the distance information meets the precision requirement, and in this case, the server may determine that the distance information is effective distance information.
In the embodiment of the application, the server can receive the distance information sent by each target lightning monitoring station and detect the effectiveness of each distance information according to the content. When the number of the effective distance information in the distance information received by the server is at least three, the server may use the position of the target lightning monitoring station as a center of a circle and use the distance indicated by the distance information sent by each target lightning monitoring station as a radius to construct a hemispherical space, and a plane of the hemispherical space is defaulted to be a ground plane to obtain the hemispherical space corresponding to each target lightning monitoring station.
And if the number of the effective distance information in the distance information received by the server is less than three, the server does not process the effective distance information.
Step 303, the server determines intersection points of the plurality of constructed hemispherical spaces, and positions the lightning according to the intersection points.
In the embodiment of the present application, for each hemispherical space, the distance from any point on the hemispherical space to the center of the sphere (i.e. the position of the target lightning monitoring station) of the hemispherical space is the distance from the lightning to the target lightning monitoring station, and therefore, the position where the lightning occurs can be regarded as the position of a certain point on the hemispherical space. For at least three hemispherical spaces, the position where the lightning occurs exists simultaneously on each hemispherical space, and thus, the intersection position of the at least three hemispherical spaces can be considered as the position of the lightning.
In this embodiment of the application, the process of determining the intersection positions of the plurality of constructed hemispherical spaces by the server may include:
taking three hemisphere spaces as an example, the position of the center of sphere of each hemisphere space, i.e. the position coordinates of the target lightning monitoring station, can be expressed as: (X1, Y1, Z1), (X2, Y2, Z2) and (X3, Y3, Z3). The radius of each hemispherical space may be represented as R1, R2, and R3, and the three-dimensional coordinates of the position where lightning occurs are set to (X, Y, Z).
The following equations are established by using a three-dimensional hemisphere intersection method:
(x-x1)2+(y-y1)2+(z-z1)2=R12
(x-x2)2+(y-y2)2+(z-z2)2=R22
(x-x3)2+(y-y3)2+(z-z3)2=R32
solving the system of equations, the intersection position (X, Y, Z) can be obtained.
In an alternative implementation, the lightning bolt can be located according to the intersection position by: the intersection position can be determined as the position of the lightning.
In another alternative implementation, when the at least three hemispherical spaces are four or five or more, the intersection position of any three hemispherical spaces among the plurality of hemispherical spaces may be determined as the lightning position.
In another alternative implementation, when the at least three hemispherical spaces are four or five or more, intersection positions of any three hemispherical spaces in the plurality of hemispherical spaces may be determined respectively, a plurality of intersection positions may be obtained, then the plurality of intersection positions may be averaged to obtain an average position, and the average position may be determined as the position of the lightning. In the embodiment of the application, the lightning positioning accuracy can be improved through the redundancy arrangement.
In the embodiment of the application, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is the distance between lightning and the target lightning monitoring station. Therefore, it can be known that the positions of the lightning rays are included in each of the at least three hemispherical spaces, that is, the positions of the lightning rays exist in the at least three hemispherical spaces at the same time, and thus, it can be confirmed that the positions of the intersections of the at least three hemispherical spaces are the positions of the lightning rays. By the method, the position of the lightning is determined, and the positioning accuracy of the lightning is improved.
In an embodiment of the present application, the lightning target monitoring station comprises a lightning sensor and a processor, as shown in fig. 4, the lightning location method may further comprise the following before step 301:
in step 401, a target lightning monitoring station generates a target level signal after receiving electromagnetic waves.
In the embodiment of the application, the target level signal can enable the level of the interrupt pin of the processor to be changed from low level to high level.
In the embodiment of the present application, there are two situations in which the target lightning monitoring station generates the target level signal, one is that the lightning sensor generates the target level signal after receiving the electromagnetic wave signal, as shown in fig. 2, an interrupt pin of the processor is connected to an interrupt generation pin of the lightning sensor, the interrupt generation pin of the lightning sensor sends the target level signal, and the interrupt pin of the processor receives the target level signal. In another case, the processor is influenced by external interference electromagnetic waves to automatically generate a target level signal.
Step 402, the target lightning monitoring station determines distance information according to the received electromagnetic waves when detecting that the duration of the target level signal exceeds a preset duration.
Normally, an interrupt pin of the processor is in a low level, and when the target lightning monitoring station generates a target level signal, the interrupt pin of the processor is pulled high to be in a high level. The interrupt handler may be invoked when an interrupt pin of the processor detects a change from a low level to a high level, and in the interrupt handler, the processor may determine a type of the received electromagnetic wave according to the target level signal.
If the electromagnetic wave is interference or noise, no processing is performed.
And if the electromagnetic wave is a lightning electromagnetic wave, determining distance information according to the received lightning electromagnetic wave.
In the embodiment of the present application, the process that the processor may determine the type of the received electromagnetic wave according to the target level signal may include the following steps: when the processor detects that the level of the interrupt pin is changed from low level to high level, an interrupt handling program is entered, and in the interrupt handling program, the processor can read the level of the interrupt pin once every 50 microseconds. If the level is changed to low level, the level of the interrupt pin of the processor is changed due to interference or noise, the interrupt processing program is exited, and the received electromagnetic wave is determined to be interference or noise.
And if the level of the interrupt pin is high level, waiting for 50 microseconds, continuing the next detection, repeating for 100 times in total, and if the level of the interrupt pin is continuously high level in the continuous 100-time detection, indicating that the electromagnetic wave signal is the lightning electromagnetic wave. At this time, the processor may determine distance information from the received lightning electromagnetic wave.
The preset duration in the embodiment of the present application refers to a duration lasting 100 times of detection.
In the embodiment of the application, because the duration of a general interference electromagnetic wave signal is very short, after the processor enters an interrupt processing program, interference or noise can be filtered out by detecting that the duration of a target level signal exceeds a preset duration, so that the stability of the processor is improved.
In this embodiment, the processor may determine the type of the received electromagnetic wave signal according to the target level signal while reading data in a register in the lightning sensor when the target level signal is received. And when the electromagnetic wave signal is an interference signal, discarding the read data. When the electromagnetic wave signal is a lightning signal, the data in the register is continuously read until the lightning sensor pulls the interrupt pin to a low level again.
Optionally, in this embodiment of the application, the lightning sensor may determine the lightning occurring distance according to the detected electromagnetic wave signal, and store the lightning occurring distance in a register of the lightning sensor. When the electromagnetic wave signal is a lightning signal, the processor may directly read a distance at which lightning occurs from a register of the lightning sensor and generate distance information according to the distance at which lightning occurs.
In the embodiment of the application, in hardware equipment based on an AS3935 lightning sensor and an arduino328P singlechip, a filtering means is added, interference signals with long duration are filtered, and the reliability of hardware is improved.
In one embodiment of the present application, where each lightning monitoring station is provided with a plurality of lightning sensors, as shown in fig. 5, an embodiment of the present application provides another lightning location method, comprising the steps of:
step 501, the target lightning monitoring station receives lightning electromagnetic waves through each lightning sensor.
Step 502, the target lightning monitoring station determines a plurality of distance information respectively corresponding to each lightning sensor according to the lightning electromagnetic waves received by each lightning sensor.
And step 503, the target lightning monitoring station sends the determined distance information to a server.
In the embodiment of the application, a plurality of lightning sensors of each lightning monitoring station can respectively receive electromagnetic waves. And detecting the type of the electromagnetic waves received by each lightning sensor based on the content disclosed in the steps 401 to 402, determining the lightning monitoring station receiving the electromagnetic waves as a target lightning monitoring station when the electromagnetic waves are determined to be lightning electromagnetic waves, determining the lightning occurrence distance corresponding to each lightning sensor by the target lightning monitoring station according to the lightning electromagnetic waves received by each lightning sensor, and generating the distance information corresponding to each lightning sensor according to the lightning occurrence distance. And the target lightning monitoring stations send a plurality of distance information respectively corresponding to a plurality of lightning sensors in each target lightning monitoring station to a server.
And when the electromagnetic wave is determined not to be the lightning electromagnetic wave, the target lightning monitoring station does not process the electromagnetic wave.
It should be noted that in the embodiments of the present application, each lightning sensor has a corresponding reliability, for example, the reliability of one AS3935 lightning sensor is 0.35. By arranging a plurality of lightning sensors in one lightning monitoring station, the reliability of the lightning monitoring station can be improved. For example, when 5 lightning sensors are provided in a lightning monitoring station, the accuracy calculation formula acc is 1- (1-0.35)nThe reliability of the lightning monitoring station can be calculated to be 0.88397, where acc represents the accuracy and n represents the number of lightning sensors.
Step 504, for each target lightning monitoring station, the server constructs a plurality of hemisphere spaces corresponding to the plurality of distance information one by one.
After the server receives the distance information corresponding to each lightning sensor, a hemispherical space can be constructed according to the distance information corresponding to each lightning sensor. Specifically, for a plurality of lightning sensors in each target lightning monitoring station, the position of the target lightning monitoring station is taken as a sphere center, and the distance indicated by the distance information sent by each lightning sensor is taken as a radius, so that a plurality of hemispherical spaces respectively corresponding to each lightning sensor in the target lightning monitoring station are obtained.
In step 505, the server determines a plurality of sets of hemispherical spaces.
Optionally, the server may randomly extract a hemisphere space from each of the plurality of hemisphere spaces corresponding to each target lightning monitoring station to form a hemisphere space set. According to the method, a plurality of hemispherical space sets are obtained. Wherein each hemisphere space set includes hemisphere spaces of different target lightning monitoring stations, and hemisphere spaces of the same target lightning monitoring station included in different hemisphere space sets are different.
In step 506, for each hemisphere space set, the server determines candidate intersection positions of the hemisphere space set according to a plurality of hemisphere spaces in the hemisphere space set.
In this embodiment of the present application, for each hemispherical space set, the server may determine intersection positions of multiple hemispherical spaces in each hemispherical space set, that is, candidate intersection positions, by using the content disclosed in step 303.
In step 507, the server determines the intersection point position according to the candidate intersection point position of each semispherical space set.
In the embodiment of the application, when the monitored lightning is determined to be one lightning, the server can obtain the positions of a plurality of candidate intersection points. The positions of the candidate intersections may be averaged to obtain an average position, and the average position may be determined as the intersection position.
In an alternative implementation, since there may be a situation where multiple lightning rays occur simultaneously, multiple candidate intersection positions may be classified in order to be able to detect each lightning ray.
The candidate intersection point positions with similar positions can be determined as a category by adopting a clustering algorithm.
And averaging the positions of all candidate intersection points in the same category to obtain an average position.
And taking the average position as the intersection point position corresponding to the category.
If the determined types are multiple, the situation that multiple lightning rays occur simultaneously is indicated. If the determined category is one, only one lightning bolt is indicated.
In an alternative implementation, multiple candidate intersection positions may be classified. And selecting one from each category as the corresponding intersection point position of the category.
According to the embodiment of the application, the plurality of lightning sensors are arranged in each lightning monitoring station, so that the reliability of each lightning monitoring station is improved, the position of lightning is determined according to the positions of the plurality of candidate intersection points, and the lightning positioning precision is improved.
In an embodiment of the application, where the lightning monitoring station further comprises a temperature sensor, a humidity sensor and a rainfall sensor, as shown in fig. 6, an embodiment of the application provides another lightning location method, comprising the steps of:
step 601, a plurality of lightning monitoring stations are distributed in a target area to be monitored according to a preset distribution strategy.
Wherein, predetermine the tactics of arranging and include: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as a circle center and the effective monitoring distances as radii, constructing a plurality of newly added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly added circles are determined according to the circle center positions of the initial circles, and the circle center distance between any two adjacent newly added circles is equal to the effective monitoring distance.
In this embodiment, the target area is an area to be monitored, for example, near an airport, a circular area may be determined by taking the airport as a center and taking a preset distance as a radius, the area of the circular area is larger than the area of the airport, the preset distance is larger than the effective monitoring distance of the lightning monitoring station, and the area of the circular area is larger than the area of the airport, so that the circular area is determined as the target area.
The determination process of the effective monitoring distance of the lightning monitoring station can be as follows: and acquiring the farthest detection distance and the detection height of the lightning sensor. Since lightning generally occurs at a height of between 1 km and 2 km, the detection height is determined to be 2 km. Determining the effective monitoring distance according to the farthest detection distance and the detection height, wherein the calculation formula is as follows:
Figure BDA0002525397010000131
wherein, L is the effective monitoring distance, T is the farthest detection distance, and H is the detection height. For example, a maximum detection distance of 15 km and a detection height of 2 km, the effective monitoring distance is 14.87 km.
In the embodiment of the present application, an initial circle may be drawn with the center point of the target area as the center of the circle and the effective monitoring distance as the radius, as shown in a circle B in fig. 7. Then, a new circle having the same radius of the arc passing through the center point of the target area as the radius of the original circle is drawn, as shown by the circle C in fig. 7. At this time, the circle B and the circle C intersect each other, and have two intersection points, and a new circle having the same radius as the original circle is drawn with each intersection point as the center of the circle, as shown in the circle D in fig. 7, for the convenience of distinguishing, one of the circle D is filled with a vertical line, and when the new circle D intersects each of the other circles, there are two intersection points, and a new circle having the same radius as the circle B is drawn with each of the intersection points as the center of the circle, as shown in the other unnumbered circles in fig. 7, and so on, until the target area is filled with the new circle, and any point in the target area is within the coverage range of the three new circles. At this time, the distance between the centers of any two adjacent newly added circles is equal to the effective monitoring distance. The center position of each newly added circle is determined according to the center position of the initial circle.
Note that only a part of the newly added circle is shown in fig. 7. And determining the circle center position of the initial circle and the circle center position of each newly added circle as the positions for arranging the lightning monitoring stations.
In another alternative implementation, after the initial circle intersects with the new circle, a pair of arcs may be obtained, a region covered by 3 circles of the new circle is drawn through the midpoint of the pair of arcs, and a pair of new intersecting arcs of the new circle and the initial circle may be obtained. Through the new arc, a new circle and a region covered by 3 circles can be obtained, as well as a pair of arcs of the new circle and the original circle. And repeating the steps and continuously iterating until the target area is filled with the newly added circle.
Step 602, the target lightning monitoring station sends the temperature information monitored by the temperature sensor, the humidity information monitored by the humidity sensor and the rainfall information monitored by the rainfall sensor to a server.
In the embodiment of the application, temperature sensor, humidity sensor and rainfall sensor in the target lightning monitoring station can monitor the temperature, humidity and rainfall in the preset range near the target lightning monitoring station to obtain temperature information, humidity information and rainfall information.
Optionally, the target lightning monitoring station may combine the temperature information, the humidity information, and the rainfall information with the distance from the lightning to the target monitoring station, and send the distance information to the server as the distance information.
Optionally, the target lightning monitoring station may send the distance information, the temperature information, the humidity information, and the rainfall information to the server, respectively.
Step 603, the server receives distance information sent by at least three target lightning monitoring stations and temperature information, humidity information and rainfall information sent by each target lightning monitoring station.
In step 604, the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value.
In the embodiment of the application, the server can preset standard levels corresponding to the temperature information, the humidity information and the rainfall information respectively and lightning probabilities corresponding to the standard levels.
For example, a humidity of 80% corresponds to a lightning probability of 50%, a temperature of 25 ℃ corresponds to a lightning probability of 30%, and a rainfall of 5 mm corresponds to a lightning probability of 90%.
Optionally, in this embodiment of the application, the lightning probability corresponding to the temperature information, the lightning probability corresponding to the humidity information, and the lightning probability corresponding to the rainfall information may be respectively compared with a preset threshold.
And 605, when the lightning occurrence probability is larger than a preset threshold value, constructing a hemisphere space for each target lightning monitoring station by the server.
The probability of occurrence of lightning is greater than or equal to a preset threshold value, which shows that the probability of occurrence of lightning is high. The probability of occurrence of lightning being less than the preset threshold value indicates that the probability of occurrence of lightning is low.
In the embodiment of the application, for example, the preset threshold is 80%, and when any one of the lightning probability corresponding to the temperature information, the lightning probability corresponding to the humidity information and the lightning probability corresponding to the rain amount information is greater than 80%, it indicates that lightning may occur.
At this time, the server may construct a corresponding hemisphere space for each target lightning monitoring station according to the received distance information.
And when the lightning probability corresponding to the temperature information, the lightning probability corresponding to the humidity information and the lightning probability corresponding to the rainfall information are lower than preset threshold values, the server does not process the received distance information.
By the method, interference of the lightning sensor caused by hardware faults can be filtered.
The method for constructing the hemisphere space can refer to the disclosure of step 302.
Step 606, the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
Reference may be made to the disclosure of step 303 in embodiments of the present application.
In the embodiment of the application, whether current weather conditions are analyzed through data combined with the temperature sensor, the humidity sensor and the rainfall sensor, whether lightning possibly occurs or not is judged, and the reliability of the data of the lightning sensor can be further improved.
Referring to fig. 8, a block diagram of a lightning location device provided by an embodiment of the present application is shown, where the lightning location device may be configured in a lightning monitoring system in the implementation environment shown in fig. 1, where the lightning monitoring system includes a server and a plurality of lightning monitoring stations that establish communication connections with the server. As shown in fig. 8, the lightning location apparatus may comprise a distance determination module 801, a construction module 802 and a location module 803, wherein:
the distance determining module 801 is used for controlling the target lightning monitoring station to send distance information to the server, the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is a lightning monitoring station which monitors the lightning;
a building module 802, configured to, when the server receives distance information sent by at least three lightning target monitoring stations, build a hemispherical space for each lightning target monitoring station, where a center of sphere of the hemispherical space is determined according to a position of the lightning target monitoring station, and a radius of the hemispherical space is determined according to a distance indicated by the distance information sent by the lightning target monitoring station;
and the positioning module 803 is configured to determine intersection positions of the plurality of constructed hemispherical spaces by the control server, and position the lightning according to the intersection positions.
In an embodiment of the present application, the distance determining module 801 is further configured to, when detecting that the duration of the target level signal exceeds a preset duration, determine distance information by the target lightning monitoring station according to the received electromagnetic wave; wherein the target level signal is generated by the target lightning monitoring station after receiving the electromagnetic wave.
In one embodiment of the present application, the lightning monitoring station is provided with a plurality of lightning sensors, and the distance determination module 801 is further configured to receive lightning electromagnetic waves from the target lightning monitoring station through each lightning sensor; the target lightning monitoring station determines a plurality of distance information respectively corresponding to each lightning sensor according to the lightning electromagnetic waves received by each lightning sensor; the target lightning monitoring station sends the determined distance information to a server; the building module 802 is further configured to, for each lightning target monitoring station, build, by the server, a plurality of hemispherical spaces corresponding to the plurality of distance information one to one, where a center of sphere of each hemispherical space is determined according to the position of the lightning target monitoring station, and a radius of each hemispherical space is determined according to the distance indicated by the corresponding distance information.
In an embodiment of the present application, the construction module 802 is further configured to determine, by the server, a plurality of hemispherical space sets, where each hemispherical space set includes hemispherical spaces of different target lightning monitoring stations, and the hemispherical spaces of the same target lightning monitoring station included in different hemispherical space sets are different; for each hemispherical space set, the server determines candidate intersection point positions of the hemispherical space set according to a plurality of hemispherical spaces in the hemispherical space set; and the server determines the intersection point position according to the candidate intersection point position of each semispherical space set.
In an embodiment of the present application, the positioning module 803 is further configured to classify the candidate intersection positions, and average the candidate intersection positions belonging to the same category to obtain an average position; the average position is determined as the intersection position.
In an embodiment of the present application, the lightning monitoring station further includes a temperature sensor, a humidity sensor, and a rainfall sensor, and the distance determining module 801 is further configured to send temperature information monitored by the temperature sensor, humidity information monitored by the humidity sensor, and rainfall information monitored by the rainfall sensor to the server by the target lightning monitoring station; the building module 802 is further configured to receive, by a server, distance information sent by at least three lightning target monitoring stations and temperature information, humidity information, and rainfall information sent by each lightning target monitoring station; the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value; and when the lightning occurrence probability is larger than a preset threshold value, constructing a hemispherical space for each target lightning monitoring station by the server.
In an embodiment of the present application, the distance determining module 801 is further configured to arrange a plurality of lightning monitoring stations in a target area to be monitored according to a preset arrangement strategy; the preset arranging strategy comprises the following steps: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as a circle center and the effective monitoring distances as radii, constructing a plurality of newly added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly added circles are determined according to the circle center positions of the initial circles, and the circle center distance between any two adjacent newly added circles is equal to the effective monitoring distance.
For specific limitations of the lightning location means, reference may be made to the above limitations of the lightning location method, which are not described in detail here. The various modules in the lightning location means described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment of the present application, a computer device is provided, and the computer device may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database may be used for storing distance information transmitted by a lightning target monitoring station to a server, the computer program being executable by a processor for implementing a lightning location method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment of the present application, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
the target lightning monitoring station sends distance information to a server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning; when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station; and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: when the situation that the duration of the target level signal exceeds the preset duration is detected, the target lightning monitoring station determines distance information according to the received electromagnetic waves; wherein the target level signal is generated by the target lightning monitoring station after receiving the electromagnetic wave.
In an embodiment of the application, the lightning monitoring station is provided with a plurality of lightning sensors, and the processor when executing the computer program further performs the steps of: the target lightning monitoring station receives lightning electromagnetic waves through each lightning sensor; the target lightning monitoring station determines a plurality of distance information respectively corresponding to each lightning sensor according to the lightning electromagnetic waves received by each lightning sensor; the target lightning monitoring station sends the determined distance information to a server; correspondingly, for each target lightning monitoring station, the server constructs a hemisphere space, including: and for each target lightning monitoring station, the server constructs a plurality of hemispherical spaces which are in one-to-one correspondence with a plurality of distance information, wherein the center of sphere position of each hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of each hemispherical space is determined according to the distance indicated by the corresponding distance information.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: the method comprises the steps that a server determines a plurality of hemispherical space sets, wherein each hemispherical space set comprises hemispherical spaces of different target lightning monitoring stations, and the hemispherical spaces of the same target lightning monitoring station in different hemispherical space sets are different; for each hemispherical space set, the server determines candidate intersection point positions of the hemispherical space set according to a plurality of hemispherical spaces in the hemispherical space set; and the server determines the intersection point position according to the candidate intersection point position of each semispherical space set.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: classifying the candidate intersection point positions, and averaging the candidate intersection point positions belonging to the same category to obtain an average position; the average position is determined as the intersection position.
In an embodiment of the application, the lightning monitoring station further comprises a temperature sensor, a humidity sensor and a rain sensor, the processor when executing the computer program further realizes the following steps: the target lightning monitoring station sends the temperature information monitored by the temperature sensor, the humidity information monitored by the humidity sensor and the rainfall information monitored by the rainfall sensor to the server; correspondingly, when the server receives the distance information sent by at least three lightning target monitoring stations, for each lightning target monitoring station, the server constructs a hemisphere space, including: the server receives distance information sent by at least three target lightning monitoring stations and temperature information, humidity information and rainfall information sent by each target lightning monitoring station; the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value; and when the lightning occurrence probability is larger than a preset threshold value, constructing a hemispherical space for each target lightning monitoring station by the server.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: a plurality of lightning monitoring stations are arranged in a target area to be monitored according to a preset arrangement strategy; the preset arranging strategy comprises the following steps: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as a circle center and the effective monitoring distances as radii, constructing a plurality of newly added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly added circles are determined according to the circle center positions of the initial circles, and the circle center distance between any two adjacent newly added circles is equal to the effective monitoring distance.
The implementation principle and technical effect of the computer device provided by the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
the target lightning monitoring station sends distance information to a server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is the lightning monitoring station which monitors the lightning; when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station; and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
In one embodiment of the application, the computer program, when executed by the processor, may further implement the steps of: when the situation that the duration of the target level signal exceeds the preset duration is detected, the target lightning monitoring station determines distance information according to the received electromagnetic waves; wherein the target level signal is generated by the target lightning monitoring station after receiving the electromagnetic wave.
In an embodiment of the application, the lightning monitoring station is provided with a plurality of lightning sensors, and the computer program, when being executed by the processor, is adapted to carry out the steps of: the target lightning monitoring station receives lightning electromagnetic waves through each lightning sensor; the target lightning monitoring station determines a plurality of distance information respectively corresponding to each lightning sensor according to the lightning electromagnetic waves received by each lightning sensor; the target lightning monitoring station sends the determined distance information to a server; correspondingly, for each target lightning monitoring station, the server constructs a hemisphere space, including: and for each target lightning monitoring station, the server constructs a plurality of hemispherical spaces which are in one-to-one correspondence with a plurality of distance information, wherein the center of sphere position of each hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of each hemispherical space is determined according to the distance indicated by the corresponding distance information.
In one embodiment of the application, the computer program, when executed by the processor, may further implement the steps of: the method comprises the steps that a server determines a plurality of hemispherical space sets, wherein each hemispherical space set comprises hemispherical spaces of different target lightning monitoring stations, and the hemispherical spaces of the same target lightning monitoring station in different hemispherical space sets are different; for each hemispherical space set, the server determines candidate intersection point positions of the hemispherical space set according to a plurality of hemispherical spaces in the hemispherical space set; and the server determines the intersection point position according to the candidate intersection point position of each semispherical space set.
In one embodiment of the application, the computer program, when executed by the processor, may further implement the steps of: classifying the candidate intersection point positions, and averaging the candidate intersection point positions belonging to the same category to obtain an average position; the average position is determined as the intersection position.
In an embodiment of the application, the lightning monitoring station further comprises a temperature sensor, a humidity sensor and a rain sensor, the computer program, when being executed by the processor, further realizing the steps of: the target lightning monitoring station sends the temperature information monitored by the temperature sensor, the humidity information monitored by the humidity sensor and the rainfall information monitored by the rainfall sensor to the server; correspondingly, when the server receives the distance information sent by at least three lightning target monitoring stations, for each lightning target monitoring station, the server constructs a hemisphere space, including: the server receives distance information sent by at least three target lightning monitoring stations and temperature information, humidity information and rainfall information sent by each target lightning monitoring station; the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value; and when the lightning occurrence probability is larger than a preset threshold value, constructing a hemispherical space for each target lightning monitoring station by the server.
In one embodiment of the application, the computer program, when executed by the processor, may further implement the steps of: a plurality of lightning monitoring stations are arranged in a target area to be monitored according to a preset arrangement strategy; the preset arranging strategy comprises the following steps: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as a circle center and the effective monitoring distances as radii, constructing a plurality of newly added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly added circles are determined according to the circle center positions of the initial circles, and the circle center distance between any two adjacent newly added circles is equal to the effective monitoring distance.
The implementation principle and technical effect of the computer-readable storage medium provided in the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A lightning location method, for use in a lightning monitoring system comprising a server and a plurality of lightning monitoring stations communicatively connected to the server, the method comprising:
the target lightning monitoring station sends distance information to the server, wherein the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is a lightning monitoring station which monitors the lightning;
when the server receives distance information sent by at least three target lightning monitoring stations, for each target lightning monitoring station, the server constructs a hemispherical space, the sphere center position of the hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring station;
and the server determines intersection positions of the plurality of constructed hemispherical spaces and positions the lightning according to the intersection positions.
2. The method of claim 1, wherein before the lightning target monitoring station sends distance information to the server, the method further comprises:
when the fact that the duration of the target level signal exceeds the preset duration is detected, the target lightning monitoring station determines the distance information according to the received electromagnetic waves;
wherein the target level signal is generated by the lightning target monitoring station after receiving electromagnetic waves.
3. The method of claim 1, wherein the lightning monitoring station is provided with a plurality of lightning sensors, and the target lightning monitoring station sends distance information to the server, including:
the target lightning monitoring station receives lightning electromagnetic waves through each lightning sensor;
the target lightning monitoring station determines a plurality of pieces of distance information respectively corresponding to the lightning sensors according to the lightning electromagnetic waves received by the lightning sensors;
the target lightning monitoring station sends the determined distance information to the server;
correspondingly, for each target lightning monitoring station, the server constructs a hemisphere space, including:
for each target lightning monitoring station, the server constructs a plurality of hemispherical spaces corresponding to the distance information one by one, wherein the center of sphere of each hemispherical space is determined according to the position of the target lightning monitoring station, and the radius of each hemispherical space is determined according to the distance indicated by the corresponding distance information.
4. The method of claim 3, wherein the server determines the intersection position of the constructed plurality of hemisphere spaces, comprising:
the server determines a plurality of hemispherical space sets, wherein each hemispherical space set comprises hemispherical spaces of different target lightning monitoring stations, and the hemispherical spaces of the same target lightning monitoring station in different hemispherical space sets are different;
for each of the hemisphere space sets, the server determines candidate intersection positions of the hemisphere space sets according to a plurality of hemisphere spaces in the hemisphere space sets;
and the server determines the intersection point position according to the candidate intersection point position of each hemispherical space set.
5. The method of claim 4, wherein the server determines the intersection positions according to the candidate intersection positions of each of the sets of hemispheres, comprising:
classifying the candidate intersection point positions, and averaging the candidate intersection point positions belonging to the same category to obtain an average position;
determining the average position as the intersection position.
6. The method of claim 1, wherein the lightning monitoring station further comprises a temperature sensor, a humidity sensor, and a rain sensor, the method further comprising:
the target lightning monitoring station sends the temperature information monitored by the temperature sensor, the humidity information monitored by the humidity sensor and the rainfall information monitored by the rainfall sensor to the server;
correspondingly, when the server receives distance information sent by at least three lightning target monitoring stations, the server constructs a hemispherical space for each lightning target monitoring station, including:
the server receives distance information sent by at least three target lightning monitoring stations and the temperature information, the humidity information and the rainfall information sent by each target lightning monitoring station;
the server determines the lightning occurrence probability according to the temperature information, the humidity information and the rainfall information, and detects whether the lightning occurrence probability is greater than a preset threshold value;
and when the lightning occurrence probability is larger than the preset threshold value, the server constructs a hemisphere space for each target lightning monitoring station.
7. The method of claim 1, further comprising:
the lightning monitoring stations are distributed in a target area to be monitored according to a preset distribution strategy;
the preset arranging strategy comprises the following steps: the method comprises the steps of obtaining effective monitoring distances of the lightning monitoring station, constructing initial circles by taking the central point of a target area as the center of a circle and the effective monitoring distances as the radius, constructing a plurality of newly-added circles which are located in the target area and have the same radius as the initial circles according to the initial circles, and taking the circle center positions of the initial circles and the circle center positions of the newly-added circles as the arrangement positions of the lightning monitoring station, wherein the circle center positions of the newly-added circles are determined according to the circle center positions of the initial circles, and the circle center distance of any two adjacent newly-added circles is equal to the effective monitoring distances.
8. A lightning location device for use in a lightning monitoring system comprising a server and a plurality of lightning monitoring stations communicatively coupled to the server, the device comprising:
the distance determining module is used for controlling a target lightning monitoring station to send distance information to the server, the distance information is used for indicating the distance between lightning and the target lightning monitoring station, and the target lightning monitoring station is a lightning monitoring station which monitors the lightning;
the construction module is used for constructing a hemispherical space for each target lightning monitoring station when the server receives distance information sent by at least three target lightning monitoring stations, wherein the sphere center position of the hemispherical space is determined according to the positions of the target lightning monitoring stations, and the radius of the hemispherical space is determined according to the distance indicated by the distance information sent by the target lightning monitoring stations;
and the positioning module is used for controlling the server to determine intersection positions of the plurality of constructed hemispherical spaces and positioning the lightning according to the intersection positions.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010502846.0A 2020-06-05 2020-06-05 Lightning positioning method and device, computer equipment and storage medium Pending CN111679133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010502846.0A CN111679133A (en) 2020-06-05 2020-06-05 Lightning positioning method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010502846.0A CN111679133A (en) 2020-06-05 2020-06-05 Lightning positioning method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111679133A true CN111679133A (en) 2020-09-18

Family

ID=72453967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010502846.0A Pending CN111679133A (en) 2020-06-05 2020-06-05 Lightning positioning method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111679133A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010048297A1 (en) * 2000-02-14 2001-12-06 Medelius Pedro J. System and method of locating lightning strikes
JP2006308430A (en) * 2005-04-28 2006-11-09 Chugoku Electric Power Co Inc:The Lightning strike information providing system
US8487605B1 (en) * 2011-06-02 2013-07-16 The United States Of America As Represented By Secretary Of The Navy Global severe lightning storm locator
CN204129120U (en) * 2014-08-11 2015-01-28 浙江利尔达物联网技术有限公司 A kind of lightning monitoring system
CN108646218A (en) * 2018-04-28 2018-10-12 中国科学院大气物理研究所 A kind of lightning location net precision assessment method measured based on dynamic
CN110568273A (en) * 2019-08-02 2019-12-13 国网浙江省电力有限公司嘉兴供电公司 Lightning monitoring system and method based on ubiquitous power Internet of things
CN110907710A (en) * 2019-12-07 2020-03-24 深圳市科安达检测技术有限公司 Lightning early warning method and device, storage medium and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010048297A1 (en) * 2000-02-14 2001-12-06 Medelius Pedro J. System and method of locating lightning strikes
JP2006308430A (en) * 2005-04-28 2006-11-09 Chugoku Electric Power Co Inc:The Lightning strike information providing system
US8487605B1 (en) * 2011-06-02 2013-07-16 The United States Of America As Represented By Secretary Of The Navy Global severe lightning storm locator
CN204129120U (en) * 2014-08-11 2015-01-28 浙江利尔达物联网技术有限公司 A kind of lightning monitoring system
CN108646218A (en) * 2018-04-28 2018-10-12 中国科学院大气物理研究所 A kind of lightning location net precision assessment method measured based on dynamic
CN110568273A (en) * 2019-08-02 2019-12-13 国网浙江省电力有限公司嘉兴供电公司 Lightning monitoring system and method based on ubiquitous power Internet of things
CN110907710A (en) * 2019-12-07 2020-03-24 深圳市科安达检测技术有限公司 Lightning early warning method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN102395200B (en) Node positioning method in wireless sensor network and apparatus thereof
CN109803231B (en) Method and device for monitoring power equipment in electronic fence and computer equipment
CN104992254B (en) Mountain fire based on power grid GIS and the meteorological trend pre-judging method combined
CN204440611U (en) A kind of Lightning Warning system based on distributed arrangement's lightning monitoring device
CN108924733B (en) User device, earthquake alarm server and earthquake alarm method thereof
CN104574833A (en) Lightning early warning method and system based on lightning monitoring devices arranged in distributed mode
CN105204092A (en) Thunder and lightening prewarning system with honeycomb layout
CN114387762A (en) Building data management method, device, equipment and storage medium
CN111464775B (en) Monitoring equipment layout rationality determination method and device
WO2022242231A1 (en) Method and apparatus for measuring indoor temperature, and smart air conditioner
CN111679133A (en) Lightning positioning method and device, computer equipment and storage medium
CN113805019A (en) Gateway-based partial discharge detection method and device, gateway equipment and medium
CN113191074A (en) Machine room power supply parameter detection method for data center
CN108495265A (en) A kind of indoor orientation method, device and computing device
CN115877345B (en) Method and device for supplementing missing measurement data of wind profile radar
CN108012235B (en) Positioning method and device based on hotspot group
US11022707B2 (en) Method of determining earthquake event and related earthquake detecting system
CN102759390A (en) Water level monitoring method by radio frequency communication method
CN113357763B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN108540926B (en) Wireless signal fingerprint construction method and device
WO2022227523A1 (en) Method and apparatus for measuring indoor temperature, and smart air conditioner
CN115629376A (en) Target positioning method and device, electronic device and storage medium
CN108419248A (en) A kind of test data processing method and processing device
CN110544064B (en) Data processing method and device, readable storage medium and electronic equipment
CN112162336A (en) Visibility prediction method and device based on two-dimensional meteorological element field

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200918