A method for electric field identification based on lightning signals
By acquiring the validity confirmation, pilot processing and extreme data search of lightning signals, and combining the comparison of electric field and magnetic field peaks, the polarity of lightning signals is determined, which solves the problem of difficulty in lightning signals processing and achieves high accuracy and real-time signal recognition.
Patent Information
- Application Number
- CN202211173517.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-09-26
AI Technical Summary
In the prior art, lightning signal processing is difficult, and traditional methods cannot meet the real-time processing requirements of signals under high background noise, resulting in high probability of signal misjudgment.
By acquiring the lightning signal, confirming its validity, performing pilot processing and extreme data search, combining the comparison of the electric field and the magnetic field peak, determining the polarity of the lightning signal, and using a multi-value logic recognition method, an electric field recognition unit and a computer-readable storage medium are designed for signal processing.
It improves the accuracy of lightning signals identification, realizes real-time processing of lightning signals and effective identification in high background noise environments, and reduces the misjudgment rate.
Smart Images

Figure CN115508623B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lightning signals, and in particular to an electric field identification method based on lightning signals. Background Art
[0002] Traditionally, lightning signal systems have used fixed models to distinguish ground-to-ground lightning from cloud-to-cloud lightning. These fixed model parameters and logic resulted in traditional binary logic: signals that met predictions were misclassified, while signals that did not. However, according to the literature, our understanding of lightning discharge processes remains to be further developed, and the changing characteristics of wide-area propagation waveforms of lightning electromagnetic waves require further research. Even when all previously established logical identification criteria are considered, the potential for misclassification remains.
[0003] Multi-valued logic is a logical calculation with more than two possible truth values. In wide-area lightning ground-to-ground flash monitoring, based on basic model design, multiple definitions and calculations of possible signal characteristics are performed, providing a more tolerant recognition logic to acquire large amounts of wide-area monitoring data on lightning activity. This waveform data is then stored and transmitted remotely, establishing a waveform database for subsequent systems, providing a foundation for data analysis and improving understanding of lightning electromagnetic wave characteristics.
[0004] In addition, due to the inherent characteristics of multi-valued logic signal processing algorithms and high background noise lightning electromagnetic wave signal detection, the amount of signal processing increases dramatically in a short period of time, and the signal processing means become more complicated. Traditional lightning signal processing methods cannot meet the real-time processing of signal data streams. Therefore, it is necessary to design a new signal recognition and processing method to overcome the problem of high-density lightning signal processing. Summary of the Invention
[0005] The embodiment of the present invention provides an electric field recognition based on lightning signals, so as to at least solve the technical problem of difficulty in processing lightning signals in related technologies.
[0006] According to one aspect of an embodiment of the present invention, a method for electric field recognition based on lightning signals is provided, comprising:
[0007] Obtain the lightning signal measured during a lightning discharge process to confirm whether the lightning signal is valid;
[0008] After the lightning signal is confirmed to be valid, the lightning signal is processed into the leading extreme value data and enters the identification waiting state;
[0009] After entering the identification waiting state, confirm the electric field peak time and peak point data;
[0010] After the electric field peak confirms that the signal is valid, the polarity of the lightning signal is determined.
[0011] Optionally, before confirming whether the lightning signal is valid, white noise superposition processing is performed on the waveform data of the lightning signal.
[0012] Optionally, confirming whether the lightning signal is valid is determining whether the threshold crossing signal is valid.
[0013] Optionally, the leader processing is to search for minimum and maximum values of the lightning electromagnetic wave signal leader process, and the search for electric field leader extreme values is divided into searching for positive polarity lightning electromagnetic wave signal electric field leader minimum value and searching for negative polarity lightning electromagnetic wave signal electric field maximum value according to different electric field polarities.
[0014] Optionally, determining the polarity of the lightning signal includes: performing amplitude comparison based on the comparison relationship between the electric field and magnetic field peaks, and requiring that the signal strength must not be lower than a reference threshold value; and then judging whether the lightning signal belongs to a positive polarity or negative polarity identification state based on the different polarities.
[0015] Optionally, the electric field peak moment and peak point data are confirmed by monitoring the peak confirmation signal of the magnetic field circuit.
[0016] Optionally, determining the polarity of the lightning signal will start a clock, and after the timing ends, the data of the identification process will be fed back.
[0017] According to another aspect of an embodiment of the present invention, there is further provided an electric field identification unit based on a lightning signal, comprising:
[0018] The initial state module is used for initial state entry and jump, which is controlled by the main control signal and the electric field and magnetic field path confirmation signal. When any of the main control signal and the electric field and magnetic field path confirmation signal gives reset or initialization information, the electric field recognition unit will enter the initial state in the next cycle. In the initial state, all relevant registers and flag information bits will be initialized and the state will be switched to the waiting state.
[0019] An extreme value search module is used to perform a pilot process on the lightning signal to obtain pilot extreme value data after confirming the signal, and enter an identification waiting state; and
[0020] The waiting state module is a working state triggered by a valid signal. In the waiting state, the electric field identification unit always waits for the peak confirmation signal given by the magnetic field identification unit; after the threshold valid signal is triggered, the magnetic field identification unit is in a signal peak search state. Once the signal peak is confirmed, the magnetic field identification unit will send a confirmation signal to the system, and the electric field identification unit will always monitor the signal; after monitoring the magnetic field peak confirmation signal, the electric field identification unit starts to judge the polarity of the current electric field data and synchronously starts the clock timing.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned electric field identification methods based on lightning signals.
[0022] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is configured to run a program, wherein when the program is run, any one of the above-mentioned electric field identification methods based on lightning signals is executed.
[0023] Compared with the existing technology, the present invention has the following beneficial effects:
[0024] In an embodiment of the present invention, the method obtains a lightning signal measured during a lightning discharge process to confirm whether the lightning signal is valid; after the lightning signal is confirmed to be valid, the lightning signal is processed into leading extreme value data and enters an identification waiting state; after entering the identification waiting state, the electric field peak time and peak point data are confirmed; after the electric field peak confirms that the signal is valid, the polarity of the lightning signal is determined, thereby identifying the electric field signal, which is an auxiliary determination condition for magnetic field signal identification, and also acts on the identification and determination of the global lightning signal, and also solves the technical problem of difficulty in lightning signal processing in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only one embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 is a flow chart of an electric field identification method based on lightning signals according to an embodiment of the present invention;
[0027] Figure 2 is an extreme value search state diagram according to an embodiment of the present invention;
[0028] Figure 3 is an extreme value search state diagram according to an embodiment of the present invention;
[0029] Figure 4 is a graph of extreme value search results according to an embodiment of the present invention;
[0030] Figure 5 is a graph of extreme value search results according to an embodiment of the present invention;
[0031] Figure 6 is a graph of extreme value search results according to an embodiment of the present invention;
[0032] Figure 7 is a graph of extreme value search results according to an embodiment of the present invention;
[0033] Figure 8 is an electric field test waveform diagram according to an embodiment of the present invention;
[0034] Figure 9 is a peak local magnified view according to an embodiment of the present invention;
[0035] Figure 10 is a diagram of an electric field working state transition according to an embodiment of the present invention;
[0036] Figure 11 is a peak confirmation result diagram according to an embodiment of the present invention;
[0037] Figure 12 4 is a flowchart of finding the electric field leader extreme value according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0039] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] Example 1
[0042] According to an embodiment of the present invention, an embodiment of an electric field identification method based on lightning signals is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0043] like Figure 1 FIG. 1 is a flow chart of a method for electric field identification based on lightning signals according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0044] Step S1: obtaining a lightning signal measured during a lightning discharge process and confirming whether the lightning signal is valid;
[0045] As an optional embodiment, before confirming whether the lightning signal is valid, white noise superposition processing is performed on the waveform data of the lightning signal.
[0046] As an optional embodiment, determining whether the lightning signal is valid is determining whether a threshold signal is valid, wherein the threshold signal is a high level.
[0047] Step S2: After the lightning signal is confirmed to be valid, the lightning signal is processed into leading extreme value data and enters the identification waiting state.
[0048] As an optional embodiment, the leader processing is to search for the minimum and maximum values of the leader process of the lightning electromagnetic wave signal. According to the different electric field polarities (main peak polarity), the search for the minimum (maximum) values of the electric field leader is divided into the search for the minimum value of the electric field leader of the positive polarity lightning electromagnetic wave signal and the search for the maximum value of the electric field of the negative polarity lightning electromagnetic wave signal.
[0049] Determining the polarity of a lightning signal involves performing amplitude comparison based on the peak values of the electric and magnetic fields, and requiring that the signal strength must not be lower than a reference threshold. Furthermore, based on the polarity, the lightning signal is judged to be in a positive or negative polarity identification state.
[0050] In addition, determining the polarity of the lightning signal will start the clock timing, and the data of the identification process will be fed back after the timing ends.
[0051] Step S3: After entering the identification waiting state, confirm the electric field peak time and peak point data.
[0052] As an optional embodiment, the peak moment and peak point data of the electric field are confirmed by monitoring the peak confirmation signal of the magnetic field circuit.
[0053] Specifically, there are two ways to find the electric field peak: 1. Using the electric field signal itself as the only identification object, confirm the position of the electric field peak point by point under a certain time range and record the peak data; 2. According to the characteristics of electromagnetic waves, the electric field signal and the magnetic field signal always remain orthogonal during the propagation process, and the phase difference is Once the magnetic field peak point is determined, the corresponding electric field peak point must be within a very small range of the corresponding time point. Therefore, the peak moment determined by the magnetic field identification unit can be used to determine the peak moment and peak value in the electric field identification unit. In actual design, the second method can be used, which can appropriately reduce resource consumption.
[0054] Step S4: After the electric field peak value confirms that the signal is valid, the polarity of the lightning signal is determined.
[0055] Example 2
[0056] According to another aspect of an embodiment of the present invention, an electric field recognition unit based on lightning signals is also provided. Depending on the different stages of the recognition process, the electric field recognition unit primarily uses four states for functional description and implementation, including: initial state, waiting state, positive polarity signal recognition state, and negative polarity signal recognition state. Data input and output primarily include: electric field data, leading extreme value, magnetic field peak value, magnetic field peak value confirmation, electric field peak value, and system control signal. The electric field recognition unit based on lightning signals includes: an initial state module, an extreme value search module, a waiting state module, and a waiting state module.
[0057] The initial state module is used for entering and jumping to the initial state and is controlled by the main control signal and the electric field and magnetic field path confirmation signal; when any of the main control signal and the electric field and magnetic field path confirmation signal gives reset or initialization information, the electric field identification unit will enter the initial state in the next cycle; in the initial state, the initial values of all relevant registers and flag information bits will be set, and the state will be transferred to the waiting state.
[0058] The extreme value search module is used to perform pilot processing on the lightning signal to obtain pilot extreme value data after confirming the signal, and enter the identification waiting state.
[0059] As an optional embodiment, the extreme value searching module includes a maximum value searching unit and a minimum value searching unit.
[0060] The concept of extremum search is that a digital lightning detector is a real-time electromagnetic wave signal detection and determination system, providing instant analysis and processing of the signal to be determined. Before the main lightning discharge signal arrives, the search unit must locate the extremum point within a specific time period. Once the system confirms the peak, the search unit transmits the currently found extremum point. Once the lightning signal is confirmed, the extremum search unit immediately begins a new round of extremum search, and this cycle repeats. The maximum and minimum search units share several common control signals, controlling when data is output and when it is reset to zero.
[0061] Taking the maximum value search unit as an example, the maximum value search is for negative polarity lightning, and the leading process time scale is 150 Therefore, the shift register mode is used in combination with the segmentation method. In the design, 16 segments are used, each with 10 , then according to the random distribution, the effective time period range is 150 to 160 .like Figure 2 The data first enters a 10 The time window unit of length is used to search for extreme values and find the extreme values.
[0062] M1 will be in 10 At the end, it is transferred to register Extremum1_1, and a new round of extreme value search begins. Similarly, the new extreme value M2 will be found in 10 At the end, it is transferred to Extremum1_1, and M1 originally in Extremum1_1 is simultaneously transferred to Extremum1_2. And so on, after 15 search cycles, M1 will be moved to Extremum1_15. If a valid signal exists at this point, the extremum Y currently found in the extremum search module is sent to the extremum comparison module along with the extremums stored in Extremum1_1 to 15 for comparison and output. If no valid signal exists at this point, the extremum found first is removed.
[0063] The extreme value search module uses the time period as the scale, and the system design uses the counter as the standard time reference. The system operating frequency is 5MHz, and the unit time counting interval is 0.2 , then each time period is 50 points (50×0.2 =10 ), when the timer is reset and begins, external data is input into the module. Before the counter reaches full, all input data is compared one by one. That is, if the current input data is greater than the previous input data, the current data is retained; otherwise, the previous data is retained as the next data comparison object, and so on until the current count time expires. When the counter reaches the current expiration time, the extreme value search module transfers the extreme value within the current time period to Extremum1_1. The extreme value search module has two reset signals: 1. Initial reset and 2. Valid lightning reset signal. The reset signal is used for power-on reset and initialization. The valid lightning reset signal is a data reset operation performed after a lightning signal is identified to prevent the identified lightning signal from affecting the next signal judgment. The transfer operation of the shift register Extremum is performed each time the counter expires.
[0064] The above processing is for 150 Segmented extreme value search within, through the above process, a total of 16 extreme value data are found, so when will these 16 data be used? According to the design principle of the recognition model, when the input signal has a transition that crosses the threshold, the over-threshold signal will be enabled, and the extreme value search unit will immediately send the 16 extreme values found to the multi-channel extreme value comparison module according to this signal to find the maximum value among them. The different working modules in the extreme value search unit are carried out in concurrent mode, that is, when the conditions are met, all working modules work independently at the same time. In design, except when the previous conditions are met, the extreme value search module and the shift register module are always carried out continuously at other times. Therefore, in order to avoid the influence of the extreme value search module and the shift register on the subsequent data comparison after the over-threshold signal is enabled, a two-level register group combination working mode is adopted. The first-level register group is the previous combination of the 15-depth shift register module and register Y, and the second-level register group is a combination of 16 registers, named the cache register group. As Figure 3 shown.
[0065] like Figure 3 As shown, it consists of three main blocks: the first stage consisting of the shift register and register Y, the second stage consisting of the cache register group, and the extreme value comparison module. Obviously, the relationship between the first and second stages is not a simple direct signal connection and data transfer, but is controlled by the threshold signal. When the threshold signal is valid, the data recorded in the first stage will be immediately transferred to each register corresponding to the second stage. This can effectively protect the data between the two valid threshold signals, ensuring the validity and reliability of the leading extreme value data within the current lightning discrimination zone.
[0066] The 16 extreme value data points entering the second stage are immediately compared. This extreme value comparison uses a four-stage pipeline process, which allows the final extreme value to be found in just one clock cycle, ensuring the validity and reliability of the extreme value data when compared with the peak value.
[0067] The implementation and processing methods of the minimum value finding unit and the maximum value finding unit are the same, and the only difference is the parameters in the time period. The reference time length processed by the minimum value finding unit is 560 , also using 16 segments, each segment is 35 , the counter count value is 175 points. The effective time length range is 525 to 560 .
[0068] Figure 4 This is a data graph of the functional verification test of the maximum value search unit. Figure 4 The figure shows how the maximum value of a data segment is found under the control of a time counter. In the figure, the clock signal is represented by Cnt, and Pmax represents the previous maximum value. Based on the design of the maximum value search unit, when the shiftEn shift enable is asserted at the count of 50, the data in Pmax is transferred to the maximum value register max1_1 on the rising edge of the next cycle. The original data in max1_1 is then transferred to max1_2, and so on. In the figure, when shiftEn is high, the data in Pmax is 2098 and is transferred to max1_1. The original data in max1_1, 2089, is transferred to max1_2. Similarly, the data transfer is repeated step by step, with the original data 2086 in max1_14 being transferred to max1_15, and the original data 2088 in max1_15 being removed. After the count reaches 50, the counter is cleared on the next rising clock signal, restarting the count. Pmax resumes the maximum value search, and the data in max1_1-max1_15 are retained, awaiting the next shift enable assertion signal.
[0069] like Figure 5 As shown in the figure, when a valid threshold trigger signal is present, that is, a signal crossing the threshold, the current data in the first-level maximum register is fed into the second-level maximum register for data protection. The first-level maximum register continues to search for the maximum value in each segment under the control of the time counter. In the figure, overTH indicates the threshold overshoot state, and overTHreg is the delay register for overTH. The combination of overThreg and overTH reflects the threshold overshoot state of the current data.
[0070] If Figure 6 and Figure 7As shown in FIG, it shows the process of searching for the maximum value of the 4-level data after the data enters the second-level register. When there is a valid threshold-crossing signal, the data enters the second-level register and the maximum value of the data is immediately searched. As shown in the figure, the 4-level maximum value comparison search can be completed in one cycle. And in 307 When the flag is valid, the maximum value found is sent out.
[0071] The waiting state module is a working state triggered by a valid signal. In the waiting state, the electric field recognition unit always waits for the peak confirmation signal given by the magnetic field recognition unit. After the threshold valid signal is triggered, the magnetic field recognition unit is in the signal peak search state. Once the signal peak is confirmed, the magnetic field recognition unit will send the confirmation signal to the system, and the electric field recognition unit will always monitor the signal. When the magnetic field peak confirmation signal is detected, the electric field recognition unit starts to judge the polarity of the current electric field data and starts the clock timing synchronously. Specifically, start 307 The clock is counting down.
[0072] There are two methods for determining the polarity of the electric field: the first uses the time when the threshold signal is valid as the marker, and the polarity of the data after this time is used as a reference for determining the polarity of the entire electric field; the second method uses the polarity of the electric field peak data corresponding to the magnetic field peak as the reference for determining the polarity of the entire electric field. This design uses the second polarity determination method. After determining the electric field peak, the amplitude comparison is first performed based on the comparative relationship between the electric field and magnetic field peaks, and the signal strength must not fall below the reference threshold value. Depending on the polarity, the electric field recognition unit enters the corresponding positive or negative polarity recognition state.
[0073] As an optional embodiment, the positive polarity identification state includes: positive polarity identification is the identification process for positive polarity lightning signals. When the signal is determined to be positive polarity, the minimum value of the negative polarity leader corresponding to the positive polarity peak, the minimum value of the negative polarity overshoot, and other related parameters are determined according to the positive polarity determination conditions. It should be noted that the amplitude comparison of the leader process is an immediate validity judgment condition. When the leader condition does not meet the set conditions, the immediate validity state jump flag will be set, and the system will jump to the initial state at the next clock cycle and restart signal recognition. The amplitude judgment condition for the negative polarity overshoot is a delayed validity judgment condition. That is, if a certain data does not meet the set conditions within the specified time, this state will be reflected in the delayed jump flag information bit. If no other immediate jump conditions are valid, the electric field identification unit will continue to maintain the current state until the specified time expires. After the required judgment time expires, all information bits on the delayed jump flag will be transferred to the top-level system for comprehensive status judgment.
[0074] The negative polarity identification state includes: negative polarity identification is the identification process for negative polarity lightning signals. When the signal is judged to be negative polarity, the maximum value of the positive polarity leader corresponding to the negative polarity peak, the maximum value of the positive polarity overshoot, and other related parameters are judged according to the negative polarity judgment conditions. It should be noted that the amplitude comparison of the leader process is an immediate validity judgment condition. When the leader condition does not meet the set conditions, the immediately valid state jump flag will be set, and the system will jump to the initial state at the arrival of the next clock cycle and restart the signal recognition. The amplitude judgment condition of the positive polarity overshoot is a delayed validity judgment condition. When no other immediate jump conditions are valid, the electric field recognition unit will continue to maintain the current state until the specified time expires. When the necessary judgment time expires, all information bits on the delayed jump flag will be transferred to the top-level system for comprehensive status judgment.
[0075] The positive polarity recognition state and the negative polarity recognition state are two-choice state processes, and the signal data processing at the same time point only has one polarity recognition state process.
[0076] like Figure 8 As shown in the figure, it is a data test for the electric field recognition unit. Among them, data_in is the input waveform data, which is the actual waveform data measured during a lightning discharge process. The original waveform data is processed by white noise superposition before being input into the electric field recognition unit; overTH is the over-threshold state signal, which is valid at high level; T307 EN is the confirmation signal for finding the magnetic field peak, active high. Time 307 is the timer. In this test, the magnetic field peak data is set to 1000, and the peak is found using the leader identification unit. As shown in the figure, when the threshold crossing signal is valid, the leader identification unit immediately sends the maximum and minimum values within the specified time period, which are 2101 and 1952, respectively. Subsequently, the peak confirmation signal is valid, and the electric field identification unit determines the polarity. The identification state jumps to State 2, i.e., the positive polarity electric field signal identification state. Simultaneously, time 307 begins clocking. Since the given signal meets the set conditions, the electric field identification unit issues a confirmation signal at the end of the timer, and after two cycles, it enters State 1, starting a new processing process.
[0077] The following analysis shows the state transition process of the electric field recognition unit when the precondition is not met. Figure 9As shown in the figure, based on the actual test waveform, the reverse minimum value of the leading element is set to 1936. When the threshold crossing signal is valid, both the forward maximum value and the reverse minimum value are transferred to the corresponding register of the electric field identification unit. When the peak confirmation signal is valid, the identification unit enters state 2, as shown in state. Because the leading condition is not met, it can be seen from the figure that when the next cycle arrives, the electric field error flag signal is set high, as shown in E0_Fail in the figure. Then, at the next clock, the identification unit state enters state 0, and all flags and related information bits are initially reset. Then, when the new clock rising edge arrives, the identification unit re-enters state 1 and begins waiting for the peak confirmation signal from the magnetic field identification unit. From the peak confirmation signal to the transition to the new waiting state, the identification unit spends a total of three clock cycles.
[0078] Figure 10 Schematic diagram of the state transition of the electric field recognition unit. Figure 10 In the CMOS, positive and negative polarity detection are exclusive options; two polarity recognition processes cannot occur simultaneously. Each state is inherently closed and operates continuously and stably according to established conditions. Only when the current data meets the state transition conditions can the current state be transitioned to the set state.
[0079] Regarding the effective duration of the peak confirmation signal, the recognition model conditions place a time limit on peak confirmation. If the peak confirmation signal persists within the specified time, the system will determine that the current input signal is not a lightning signal. If the peak is confirmed within the effective time period, the magnetic field recognition unit will issue a peak search confirmation signal. The effective duration of the confirmation signal has a significant impact on the state change of the electric field recognition unit, especially when an immediate jump signal is present.
[0080] like Figure 11 As shown in the figure, the leading data does not meet the set conditions, so when the peak confirmation signal is valid, the recognition unit will immediately jump to the state and restart to the waiting state. If the confirmation signal does not change in time, the recognition unit will not be able to correctly confirm the peak point, resulting in the immediate jump signal repeated action. After the EN signal is valid (high level), it is immediately set to low. During the short time the EN signal is active, the E0_Fail signal alternates between high and low levels, and the state signal cycles between 2, 0, and 1, causing the electric field identification unit to malfunction. To prevent this, two measures are implemented: 1. Specify the effective duty cycle of the peak confirmation signal; 2. Set the peak confirmation signal low whenever the system enters the initial state.
[0081] Regarding the data synchronization issue of the leading process maximum value search unit, the trigger threshold signal can be set as the reference time point. In the data process flow, the leading unit and the electric field identification unit are synchronized in data timing and use a parallel processing method. From the perspective of the clock reference point, the leading extreme value search unit is in front and the electric field identification unit is in the back. Because the trigger signal for enabling the electric field work is not only the system enable signal itself, its actual working trigger signal is based on the peak confirmation signal. Therefore, the leading data is ahead of the data in the electric field identification unit. Figure 12 shown.
[0082] The present invention is not limited to the above specific implementation methods. The above are only preferred implementation cases of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
[0083] Example 3
[0084] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned electric field identification methods based on lightning signals.
[0085] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the computer-readable storage medium includes a stored program.
[0086] Optionally, when the program is running, the device where the computer-readable storage medium is located is controlled to perform the following functions: obtain a lightning signal measured during a lightning discharge process, and confirm whether the lightning signal is valid; after the lightning signal is confirmed to be valid, perform pilot processing on the lightning signal to obtain pilot extreme value data, and enter an identification waiting state; after entering the identification waiting state, confirm the electric field peak time and peak point data; after the electric field peak confirms that the signal is valid, determine the polarity of the lightning signal.
[0087] Example 5
[0088] According to another aspect of an embodiment of the present invention, a processor is further provided, which is used to run a program, wherein when the program is run, any one of the above-mentioned electric field identification methods based on lightning signals is executed.
[0089] An embodiment of the present invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps of the electric field identification method based on lightning signals are implemented.
[0090] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0091] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0092] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the system embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of units or modules can be electrical or other forms.
[0093] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0094] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0095] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), a mobile hard drive, a magnetic disk, or an optical disk.
[0096] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A method for electric field identification based on lightning signals, characterized in that: include: Obtain the lightning signal measured during a lightning discharge process to confirm whether the lightning signal is valid; After the lightning signal is confirmed to be valid, the lightning signal is processed to obtain the leading extreme value data and enter the identification waiting state; the leading processing is to search for the minimum and maximum values of the leading process of the lightning electromagnetic wave signal. According to the different polarities of the electric field, the search for the leading minimum and maximum values of the electric field is divided into the search for the leading minimum value of the electric field of the positive polarity lightning electromagnetic wave signal and the search for the electric field maximum value of the negative polarity lightning electromagnetic wave signal; After entering the identification waiting state, confirm the electric field peak time and peak point data; After the electric field peak confirms that the signal is valid, the polarity of the lightning signal is determined; Determining the polarity of lightning signals involves comparing the amplitudes based on the peak values of the electric and magnetic fields, ensuring that the signal strength does not fall below a reference threshold. Based on the polarity, the lightning signal is then judged to be positive or negative. The positive polarity identification state includes: positive polarity identification is the identification process for positive polarity lightning signals. When the signal is determined to be positive polarity, the minimum value of the negative polarity leader corresponding to the positive polarity peak, the minimum value of the negative polarity overshoot, and other related parameters are determined according to the positive polarity determination conditions; The negative polarity recognition state includes: negative polarity recognition is the recognition process for negative polarity lightning signals. When the signal is judged to be negative polarity, the maximum value of the positive polarity leader and the maximum value of the positive polarity overshoot corresponding to the negative polarity peak are judged according to the negative polarity judgment conditions.
2. The electric field identification method based on lightning signals according to claim 1, characterized in that: Before confirming whether the lightning signal is valid, white noise superposition processing is performed on the waveform data of the lightning signal.
3. The electric field identification method based on lightning signals according to claim 1, characterized in that: Confirming whether the lightning signal is valid is to determine whether the threshold-crossing signal is valid.
4. The electric field identification method based on lightning signals according to claim 1, characterized in that: The peak time and point data of the electric field are confirmed by monitoring the peak confirmation signal of the magnetic field circuit.
5. The electric field identification method based on lightning signals according to claim 1, characterized in that: Determining the polarity of the lightning signal will start the clock timing, and the data of the identification process will be fed back after the timing ends.
6. An electric field identification unit based on lightning signals, characterized in that: include: Initial state module, the initial state entry and jump are controlled by the main control signal, the electric field and magnetic field path confirmation signal; when any of the main control signal, the electric field and magnetic field path confirmation signal gives reset or initialization information, the electric field recognition unit will enter the initial state in the next cycle; In the initial state, all relevant registers and flag information bits will be initialized and the state will be transferred to the waiting state; An extreme value search module is used to perform a pilot process on the lightning signal after confirming the signal to obtain pilot extreme value data, and enter an identification waiting state. The extreme value search module includes a maximum value search unit and a minimum value search unit; and The waiting state module is a working state triggered by a valid signal. In the waiting state, the electric field identification unit always waits for the peak confirmation signal given by the magnetic field identification unit; after the threshold valid signal is triggered, the magnetic field identification unit is in a signal peak search state. Once the signal peak is confirmed, the magnetic field identification unit will send a confirmation signal to the system, and the electric field identification unit will always monitor the signal; after monitoring the magnetic field peak confirmation signal, the electric field identification unit starts to judge the polarity of the current electric field data and synchronously starts the clock timing.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the electric field identification method based on lightning signals according to any one of claims 1 to 5.
8. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the electric field identification method based on lightning signals according to any one of claims 1 to 5.
Citation Information
Patent Citations
Full-range measurement method of impulsive discharge current arranged at hot side
CN101806828A
Lightning induction voltage determining method and system on distributing lines
CN103245826A