A test method for intelligent fire emergency controller
The method enhances the accuracy of harmonic interference detection in fire emergency controllers by analyzing voltage spectra before and after power outage, identifying and classifying frequencies to ensure reliable emergency device operation.
Patent Information
- Application Number
- CN202411288349.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-09-14
AI Technical Summary
Existing methods for detecting harmonic interference in fire emergency controllers are inaccurate due to misjudging noise as interference, leading to ineffective response during emergencies.
A testing method for an intelligent fire emergency controller that analyzes voltage spectrum diagrams before and after power outage, identifies high-intensity frequencies, determines suspected harmonic interference frequencies based on energy distribution and timing, and classifies them using clustering and energy difference analysis to accurately detect harmonic interference.
Improves the reliability of fire emergency devices by providing accurate harmonic interference intensity results, ensuring effective operation during emergencies.
Smart Images

Figure CN118818145B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of harmonic testing, and in particular to a testing method for an intelligent fire emergency controller. Background Art
[0002] Fire emergency devices are important devices that assist people in escaping effectively in the event of a fire or other emergency situation. For example, common fire emergency lighting devices, in the event of an emergency, switch the power state through a controller composed of a control circuit, so that the backup power supply can be used as an energy input when there is no external power supply, allowing the lighting device to be used normally, ensuring the lighting of the area and allowing people to evacuate effectively.
[0003] The working principle of general emergency lighting devices is to quickly switch to the built-in backup power supply to ensure the continuity of lighting when there is no timely energy supply in an emergency situation. In this process, different power supplies need to be switched, which will generate relatively strong harmonic interference when the power is switched. Harmonic interference may interfere with the stable output of the power supply, thereby affecting the normal operation of the equipment and causing the emergency lighting device to flicker, become unstable or fail to start normally.
[0004] The existing method for detecting harmonic interference is generally to perform Fourier transform on the AC voltage waveform after power switching, and then detect harmonic interference by analyzing the power spectrum energy. However, other noises such as mechanical vibration or acoustic interference in the switching process will also produce a strong energy distribution. This method of testing the intensity of harmonic interference is very likely to misjudge some noise as harmonic interference. The inaccurate test results make it impossible for the fire emergency controller to accurately locate technical problems, which in turn will cause the fire emergency device to be unable to effectively respond to emergencies. Summary of the invention
[0005] In order to solve the technical problem of inaccurate testing of harmonic interference intensity in the prior art, the purpose of the present invention is to provide a testing method for an intelligent fire emergency controller, and the technical solution adopted is as follows:
[0006] The present invention provides a testing method for an intelligent fire emergency controller, the method comprising:
[0007] During the power-off test of the fire emergency device, the voltage spectrum diagrams before and after the test power-off are obtained respectively;
[0008] In the voltage spectrum diagrams before and after the power outage test, the high-intensity frequency set in each voltage spectrum diagram is determined according to the local distribution significance of the frequency corresponding amplitude in each voltage spectrum diagram;
[0009] According to the proximity of each frequency in the high-intensity frequency set after the test power outage to the frequency in the high-intensity frequency set before the test power outage, the suspected harmonic interference frequency is determined from the high-intensity frequency set after the test power outage;
[0010] Obtaining harmonic interference frequencies from all suspected harmonic interference frequencies according to the timeliness of the appearance of each suspected harmonic interference frequency after the test power outage and the degree of difference in energy distribution between each suspected harmonic interference frequency and the frequencies in the high-intensity frequency set before the test power outage;
[0011] Based on the energy distribution ratio of the harmonic interference frequency after the power outage, the harmonic interference intensity of the fire emergency device is obtained.
[0012] Furthermore, the method for acquiring the high-intensity frequency set includes:
[0013] For any frequency in the voltage spectrum diagram, the local amplitude range of the frequency is obtained based on the corresponding amplitudes of the adjacent frequencies of the frequency;
[0014] In the voltage spectrum diagram where the frequency is located, other frequencies with the same amplitude as the frequency are used as the frequencies to be analyzed of the frequency; for any frequency to be analyzed of the frequency, when the corresponding amplitudes of the adjacent frequencies of the frequency to be analyzed are all within the local amplitude range, the frequency to be analyzed is used as the matching frequency of the frequency;
[0015] The number of matching frequencies of the frequency in the voltage spectrum diagram is used as a distribution index of the frequency;
[0016] The frequencies in each voltage spectrum graph are classified according to the size of the distribution index to obtain a high-intensity frequency set of each voltage spectrum graph, and the high-intensity frequency set does not include the frequency corresponding to the maximum amplitude in the voltage spectrum graph.
[0017] Further, obtaining the local amplitude range of the frequency based on the amplitude corresponding to the adjacent frequencies of the frequency includes:
[0018] The two frequencies closest to the frequency in the voltage spectrum diagram are regarded as the adjacent frequencies of the frequency;
[0019] When the amplitudes corresponding to adjacent frequencies are not equal, the minimum value of the amplitudes corresponding to the adjacent frequencies is taken as the lower limit, and the maximum value of the amplitudes corresponding to the adjacent frequencies is taken as the upper limit; the range formed by the lower limit and the upper limit is taken as the local amplitude range of the frequency;
[0020] When the amplitudes corresponding to adjacent frequencies are equal, the local amplitude range of the frequency is the amplitude corresponding to the adjacent frequencies.
[0021] Furthermore, the frequency in each voltage spectrum graph is classified according to the size of the distribution index to obtain a high-intensity frequency set of each voltage spectrum graph, including:
[0022] For any voltage spectrum graph, all distribution indicators in the voltage spectrum graph are sorted from small to large to obtain a distribution sequence of the voltage spectrum graph;
[0023] Obtaining the maximum difference between each two adjacent distribution indicators in the distribution sequence of the voltage spectrum diagram, and taking the distribution indicator with the largest value among the two distribution indicators corresponding to the maximum difference as the division indicator;
[0024] The frequencies whose distribution index in the distribution sequence of the voltage spectrum graph is smaller than the division index are grouped into a set to obtain a high-intensity frequency set of the voltage spectrum graph.
[0025] Furthermore, the method for obtaining the suspected harmonic interference frequency includes:
[0026] For any frequency in the high-intensity frequency set after the test power outage, the difference between the frequency and each frequency in the high-intensity frequency set before the test power outage is taken as the frequency deviation; the minimum value of all frequency deviations corresponding to the frequency is taken as the deviation degree of the frequency;
[0027] The frequencies in the high-intensity frequency set after the test power failure are classified based on the size of the deviation to obtain the suspected harmonic interference frequency.
[0028] Furthermore, the frequencies in the high-intensity frequency set after the test power outage are classified based on the size of the deviation to obtain the suspected harmonic interference frequency, including:
[0029] The frequencies in the high-intensity frequency set are clustered into two clusters according to the size of the deviation, the mean deviation of all frequencies in the cluster is calculated, and the frequencies in the cluster with the largest mean deviation are taken as suspected harmonic interference frequencies.
[0030] Furthermore, the method for obtaining the harmonic interference frequency includes:
[0031] For any suspected harmonic interference frequency, the time-effect characteristic index of the suspected harmonic interference frequency is obtained according to the time difference between the corresponding amplitude of the suspected harmonic interference frequency and the test power-off time;
[0032] According to the difference in energy distribution between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage, an energy difference index of the suspected harmonic interference frequency is obtained;
[0033] The possibility index of the suspected harmonic interference frequency is obtained by combining the time-effect characteristic index and the energy difference index of the suspected harmonic interference frequency; and the harmonic interference frequency is determined from all the suspected harmonic interference frequencies based on the possibility index.
[0034] Furthermore, the method for obtaining the aging characteristic index includes:
[0035] After the test power is off, obtain the signal spectrum diagram at each moment in the time series;
[0036] When the amplitude of the signal spectrum diagram at the suspected harmonic interference frequency is greater than the amplitude of the suspected harmonic interference frequency during the test power-off, the time difference between the corresponding moment of the corresponding signal spectrum diagram and the test power-off moment is calculated and a negative correlation mapping is performed to obtain the time-sensitive characteristic index of the suspected harmonic interference frequency.
[0037] Furthermore, the method for obtaining the energy difference index includes:
[0038] Calculate the difference in energy value between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage to obtain the energy difference;
[0039] The average value of the energy difference between the suspected harmonic interference frequency and all frequencies in the high-intensity frequency set before the test power outage is used as the energy difference index of the suspected harmonic interference frequency.
[0040] Further, the determining of the harmonic interference frequency from all suspected harmonic interference frequencies based on the possibility index includes:
[0041] When the possibility index of the suspected harmonic interference frequency is greater than a preset possibility threshold, the corresponding suspected harmonic interference frequency is used as the harmonic interference frequency.
[0042] The present invention has the following beneficial effects:
[0043] The present invention obtains the spectrum of the voltage signal before and after the power-off test of the device for analysis, and identifies the harmonic interference through the energy distribution in the frequency domain. First, the voltage spectrum before and after the test power-off is analyzed separately, and the high-intensity frequency set is obtained through the significant distribution of the frequency amplitude, and the frequency with significant energy distribution is screened out, and then the non-noise situation is analyzed. Since there is no harmonic situation generated by the switching power supply in the spectrum before the test power-off, the suspected harmonic interference frequency is first determined from the high-intensity frequency set after the test power-off by the closeness between the high-intensity frequency set after the test power-off and before the test power-off, and the preliminary screening and analysis based on the superposition effect of the harmonic interference after the power-off is performed to improve the efficiency of the harmonic interference analysis. Further, the appearance of the suspected harmonic interference frequency after the test power-off and the energy distribution between the high-intensity frequency before the power-off are analyzed, and the appearance time of the harmonic interference in the power-off event and the similarity of the energy distribution and the noise distribution are comprehensively analyzed, and the harmonic interference frequency with more obvious characteristics is further screened for more accurate intensity detection. The present invention compares and analyzes the interference conditions before and after the power failure test, obtains more accurate harmonic interference intensity results after the power failure, and improves the reliability of the fire emergency device in the harmonic interference test. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A flow chart of a testing method for an intelligent fire emergency controller provided by one embodiment of the present invention;
[0046] Figure 2 A waveform diagram of a voltage signal provided by an embodiment of the present invention;
[0047] Figure 3 A schematic diagram of a voltage spectrum diagram before a power outage test provided by an embodiment of the present invention;
[0048] Figure 4 A schematic diagram of a voltage spectrum diagram after a power outage test provided by an embodiment of the present invention;
[0049] Figure 5 A flow chart of a method for acquiring harmonic interference frequency provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a test method for an intelligent fire emergency controller proposed in accordance with the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0051] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0052] The following is a detailed description of a specific solution of a testing method for an intelligent fire emergency controller provided by the present invention in conjunction with the accompanying drawings.
[0053] See also Figure 1 , which shows a flow chart of a testing method for an intelligent fire emergency controller provided by an embodiment of the present invention, the method comprising the following steps:
[0054] S1: During the power-off test of the fire emergency device, the voltage spectrum diagrams before and after the test power-off are obtained respectively.
[0055] The embodiment of the present invention tests the fire emergency lighting device before leaving the factory. If the controller is not designed properly, the harmonic interference cannot be effectively suppressed, which in turn causes the harmonic interference to interfere with the stable output of the power supply, resulting in problems such as flickering, instability or failure to start normally in the emergency lighting device.
[0056] In the embodiment of the present invention, the node that changes during the power-off test of the fire emergency device is the power-off. During the specific test process, the fire emergency device uses an external AC power supply as energy input. When the power is off, the external AC power supply is off, and the controller is used to control the backup power supply to access the work. The oscilloscope is used to collect the complete power supply voltage signal data during the power-off test. Please refer to Figure 2 , which shows a waveform diagram of a voltage signal provided by an embodiment of the present invention.
[0057] Rapid switching of power supplies may cause voltage and current spikes, and if the feedback loop of the controller is unstable, it will cause oscillation of the control signal, thereby generating additional harmonics. Since harmonic interference has different amplitudes and phases, the amplitude of the superimposed voltage signal waveform will increase or change, and the phase characteristics of the waveform will also be changed. During the normal operation of the fire emergency lighting device, its own voltage signal waveform is also interfered by other noises. Therefore, when performing the harmonic interference test of the controller, the waveforms of other noises will be superimposed on the harmonic interference waveform, making the harmonic interference more difficult to identify. Therefore, the embodiment of the present invention reduces the test of the intensity of harmonic interference caused by noise through the data distribution in the frequency domain.
[0058] In the embodiment of the present invention, the voltage signal is transformed into the frequency domain to obtain the voltage spectrum diagram corresponding to the voltage signal before the power failure test and the voltage spectrum diagram corresponding to the voltage signal after the power failure test. The frequency domain transformation method is a technical means well known to those skilled in the art, such as Fourier transform, etc., which will not be described in detail here. Figure 3 , which shows a schematic diagram of a voltage spectrum diagram before a power outage test provided by an embodiment of the present invention, please refer to Figure 4 , which shows a schematic diagram of a voltage spectrum diagram after a power outage test provided by an embodiment of the present invention. The main frequency, noise and harmonic interference of the AC voltage signal are all reflected as peak parts in the spectrum diagram.
[0059] S2: In the voltage spectrum diagrams before and after the power outage test, determine the high-intensity frequency set in each voltage spectrum diagram according to the local distribution significance of the frequency corresponding amplitude in each voltage spectrum diagram.
[0060] Harmonic interference manifests itself as high-energy distribution characteristics in the frequency domain. Since the main distribution of noise includes low-frequency noise with full-spectrum distribution and high-frequency noise with significant energy distribution, the low-frequency noise with full-spectrum distribution has no interference effect in the harmonic interference analysis. Therefore, in order to facilitate the subsequent analysis of the frequency part with interference and improve the analysis efficiency, the frequencies with more significant distribution in the frequency domain are first screened out in the voltage spectrum diagram, that is, the frequencies with high-energy characteristic distribution in the voltage spectrum diagram are screened out.
[0061] It should be noted that the acquisition of energy in the spectrum diagram is a formula technical means well known to those skilled in the art, and the existing energy value can be obtained by the square of the vertical coordinate corresponding to the frequency, which will not be further elaborated here.
[0062] Preferably, in some possible implementations of the embodiments of the present invention, the method for acquiring the high-intensity frequency set includes:
[0063] First, for any frequency in the voltage spectrum diagram, the local amplitude range of the frequency is obtained based on the corresponding amplitudes of the adjacent frequencies of the frequency, and an overall analysis of the local amplitude distribution of each frequency is performed. In an embodiment of the present invention, the two frequencies closest to the frequency in the voltage spectrum diagram are taken as the adjacent frequencies of the frequency, and the positions of the adjacent frequencies are determined. In general, the adjacent frequencies are the two frequencies closest to the left and right of the frequency. Only when the adjacent frequencies of the first and last frequencies are the two closest frequencies on one side.
[0064] In an embodiment of the present invention, the frequency interval is set to 1 Hz, and the two frequencies closest to the frequency are also the two frequencies that are only adjacent to the frequency by 1 Hz. As adjacent frequencies, only when the frequency is the first and last frequency, the adjacent frequencies are two frequencies that are continuously spaced 1 Hz on one side. In other embodiments of the present invention, the frequency interval in the spectrum graph can be directly defined according to the resolution of the spectrum. It should be noted that the resolution in the spectrum graph depends on the sampling rate and number in the frequency domain conversion, and the specific numerical value implementer can adjust it according to the specific implementation scenario.
[0065] When the amplitudes corresponding to adjacent frequencies are not equal, the two amplitudes can form a fluctuation range, with the minimum value of the amplitudes corresponding to the adjacent frequencies as the lower limit, the maximum value of the amplitudes corresponding to the adjacent frequencies as the upper limit, and the range composed of the lower limit and the upper limit as the local amplitude range of the frequency. When the amplitudes corresponding to adjacent frequencies are equal, the local amplitude range is the amplitude size corresponding to the adjacent frequencies, and the local amplitude range only contains the amplitude size corresponding to the adjacent frequencies.
[0066] Furthermore, in the voltage spectrum diagram where the frequency is located, other frequencies with the same amplitude as the frequency are used as the frequencies to be analyzed for the frequency. The more consistent the frequencies with the same amplitude appear, the lower the interference level reflected. For any frequency to be analyzed of the frequency, when the corresponding amplitudes of the adjacent frequencies of the frequency to be analyzed are all within the local amplitude range, it means that the local distribution of the frequencies with the same amplitude is also close, and the frequency to be analyzed is used as the matching frequency of the frequency.
[0067] Furthermore, the number of matching frequencies of the frequency in the voltage spectrum diagram is used as a distribution index of the frequency, reflecting the distribution of the local characteristics of the frequency in the spectrum diagram.
[0068] Finally, the frequencies in each voltage spectrum graph are classified according to the size of the distribution index, and a high-intensity frequency set of each voltage spectrum graph is obtained, and the high-intensity frequency set does not contain the frequency corresponding to the maximum amplitude in the voltage spectrum graph. In an embodiment of the present invention, for any voltage spectrum graph, all distribution indicators in the voltage spectrum graph are sorted from small to large to obtain the distribution sequence of the voltage spectrum graph, and the maximum difference between each two adjacent distribution indicators in the distribution sequence of the voltage spectrum graph is obtained. The distribution indicator with the largest value of the two distribution indicators corresponding to the maximum difference is used as a division indicator. Since the frequencies with stronger energy distribution are more significant in distribution and are fewer in number, they are classified by the maximum mutation degree of the distribution indicator difference.
[0069] And through the situation that the smaller the distribution index is, the situation with higher frequency prominence is reflected for screening, and the frequencies in the distribution sequence of the voltage spectrum whose distribution index is less than the division index are formed into a set to obtain the high-intensity frequency set of the voltage spectrum, and the corresponding frequency with the largest amplitude is screened out. Because the main energy distribution in the spectrum is concentrated on the main frequency of the signal, the maximum energy distribution of noise and interference will not exceed the energy of the original signal. Therefore, in order to ensure the accuracy of subsequent analysis, it is necessary to screen out in the high-intensity frequency set.
[0070] In other embodiments of the present invention, frequencies are clustered based on distribution indicators in each voltage spectrum diagram, and the number of clusters is set to 2 to obtain two clusters for classification. According to the fact that frequencies with stronger energy distribution are more significant in distribution and fewer in number, all frequencies in the cluster with the smallest number of frequencies in the cluster are combined into a high-intensity frequency set of the voltage spectrum diagram, and the frequencies corresponding to the largest amplitudes are screened out.
[0071] At this point, the preliminary screening of frequencies in the spectrum graph is completed.
[0072] S3: Determine the suspected harmonic interference frequency from the high-intensity frequency set after the test power outage according to the proximity of each frequency in the high-intensity frequency set after the test power outage to the frequency in the high-intensity frequency set before the test power outage.
[0073] For the voltage spectrum before power failure, since there is no harmonic interference, the high-intensity frequency set obtained by analysis contains high-frequency noise. Ideally, power switching without harmonic interference will not affect the energy distribution in the frequency domain, so the high-intensity frequency sets before and after power failure will be consistent. However, the power switching of the power failure test will produce superimposed harmonic interference, which affects the high energy distribution in the frequency domain space. Therefore, the frequency with a high possibility of harmonic interference can be preliminarily screened out by testing the change of the frequency in the high-intensity frequency set after power failure relative to the high-frequency frequency set before power failure.
[0074] Preferably, in some possible implementations of the embodiments of the present invention, the method for acquiring the suspected harmonic interference frequency includes:
[0075] For any frequency in the high-intensity frequency set after the test power outage, the difference between this frequency and each frequency in the high-intensity frequency set before the test power outage is taken as the frequency deviation. A difference analysis is performed on the frequencies in the high-intensity frequency set after the power outage and the frequencies screened before the power outage. The minimum value of all frequency deviations corresponding to this frequency is taken as the deviation degree of the frequency. The case with the smallest difference is selected to reflect the minimum change between the screened frequencies after the test power outage and before the power outage.
[0076] The frequencies in the high-intensity frequency set after the test power outage are further classified based on the size of the deviation to obtain the suspected harmonic interference frequency. Due to the existence of harmonic interference, there must be frequencies that are not highly similar before and after the test power outage. Therefore, highly similar noise with small deviation and harmonic interference with large deviation can be divided by classification.
[0077] In an embodiment of the present invention, the frequencies in the high-intensity frequency set are clustered into two clusters according to the size of the deviation. The k-means clustering algorithm can be used for clustering, and the cluster is limited to 2 for classification. The deviation mean of all frequencies in the cluster is calculated, and the frequencies in the cluster with the largest deviation mean are taken as suspected harmonic interference frequencies. The part with a large frequency deviation after the power failure test is screened out as suspected harmonic interference frequencies. It should be noted that clustering is a well-known technical means well known to those skilled in the art and will not be elaborated here.
[0078] In other embodiments of the present invention, the deviation degrees of the frequencies in the high-intensity frequency set after the test power outage can also be arranged in ascending order to obtain a deviation sequence, and the maximum difference between each two adjacent deviation degrees in the deviation sequence is obtained. The minimum deviation degree of the two deviation degrees corresponding to the maximum difference is used as the division deviation degree, and the frequencies in the high-intensity frequency set after the test power outage with a deviation degree greater than the division deviation degree are taken as suspected harmonic interference frequencies, and are divided according to the degree of mutation of the deviation degree, which will not be elaborated here.
[0079] At this point, the suspected harmonic interference frequencies are preliminarily screened out based on the changes in energy distribution in the frequency domain space.
[0080] S4: Obtain the harmonic interference frequency from all suspected harmonic interference frequencies according to the timeliness of the occurrence of each suspected harmonic interference frequency after the test power outage and the degree of difference in energy distribution between each suspected harmonic interference frequency and the frequencies in the high-intensity frequency set before the test power outage.
[0081] Through screening, we obtained the frequencies that may be harmonic interference, and then used the causes of harmonic interference and the difference between the energy distribution of harmonic interference and the energy distribution of high-frequency noise to further determine the suspected harmonic interference frequency. Since harmonic interference is caused by the power switching of the test power outage, the generation of the harmonic interference frequency is very close to the power outage moment. And due to the fixed equipment components, the energy distribution of high-frequency noise is usually within a certain range. The greater the difference between the energy distribution corresponding to the suspected harmonic interference frequency and the noise situation, the more likely the frequency is a harmonic interference situation.
[0082] Preferably, in some possible implementations of the embodiments of the present invention, the method for obtaining the harmonic interference frequency can be found in Figure 5 , which shows a flow chart of a method for obtaining harmonic interference frequency provided by an embodiment of the present invention, the method comprising the following steps:
[0083] S401: For any suspected harmonic interference frequency, according to the time difference between the appearance time of the corresponding amplitude of the suspected harmonic interference frequency and the test power-off time, obtain the time-effect characteristic index of the suspected harmonic interference frequency.
[0084] When a power outage occurs and the power supply is switched, harmonic interference is generated in real time. In the voltage signal spectrum space, when the energy of the corresponding frequency begins to change, it indicates that interference has occurred. The closer the change time is to the power outage, the higher the possibility of harmonic interference. Therefore, after the power outage test, the energy change in the spectrum space on the time series is used to analyze the significance of harmonic interference in the time characteristics.
[0085] In an embodiment of the present invention, after the test power failure, the signal spectrum diagram at each moment in the time sequence is obtained to observe the energy change at the corresponding frequency in the frequency domain space in the time sequence. When the amplitude of the signal spectrum diagram at the suspected harmonic interference frequency is greater than the amplitude of the suspected harmonic interference frequency during the test power failure, it indicates that energy changes begin to occur at the corresponding frequency at this time.
[0086] The time difference between the corresponding moment of the corresponding signal spectrum diagram and the test power-off moment is calculated for negative correlation mapping to obtain the time-sensitive characteristic index of the suspected harmonic interference frequency. The smaller the time difference of the energy change, the more significant the time-sensitive and timely characteristics of the harmonic interference. Therefore, the larger the time-sensitive characteristic index, the greater the harmonic interference frequency may be.
[0087] S402: Obtain an energy difference index of the suspected harmonic interference frequency according to a difference in energy distribution between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage.
[0088] By analyzing the difference in energy distribution between each suspected harmonic interference frequency and the energy distribution of noise, the significance of harmonic interference in each suspected harmonic interference part is analyzed. Therefore, energy distribution analysis is performed on the energy distribution corresponding to the suspected harmonic interference frequency and each high-frequency noise.
[0089] In an embodiment of the present invention, the difference in energy value between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage is calculated to obtain the energy difference, and the average of the energy differences between the suspected harmonic interference frequency and all frequencies in the high-intensity frequency set before the test power outage is used as the energy difference index of the suspected harmonic interference frequency. When the overall energy difference is higher, it means that the suspected harmonic interference frequency is more likely to be generated by harmonic interference, so the larger the energy difference index, the greater the harmonic interference frequency may be.
[0090] S403: Combining the time-effect characteristic index and the energy difference index of the suspected harmonic interference frequency, obtaining a possibility index of the suspected harmonic interference frequency; and determining the harmonic interference frequency from all suspected harmonic interference frequencies based on the possibility index.
[0091] By combining the analysis results of each suspected harmonic interference frequency in terms of the time-effect generation characteristics and the degree of difference from the noise energy distribution, an index of possible harmonic interference is obtained. In an embodiment of the present invention, the product of the time-effect characteristic index and the energy difference index of the suspected harmonic interference frequency is normalized as the possibility index of the suspected harmonic interference frequency. The larger the possibility index, the more likely the suspected harmonic interference frequency is to be a confirmed harmonic interference frequency.
[0092] The harmonic interference frequency is further determined from all suspected harmonic interference frequencies based on the possibility index. In an embodiment of the present invention, when the possibility index of the suspected harmonic interference frequency is greater than the preset possible threshold, it indicates that the possibility of harmonic interference is extremely high, and the corresponding suspected harmonic interference frequency is used as the harmonic interference frequency. In a specific implementation of an embodiment of the present invention, the preset possible threshold can be set to 0.7, and the specific numerical value implementer can adjust it according to the specific implementation scenario, which is not limited here.
[0093] At this point, further analysis and screening of suspected harmonic interference frequencies is completed, and the determined harmonic interference frequencies are obtained.
[0094] S5: Based on the energy distribution ratio of the harmonic interference frequency after the power outage, the harmonic interference intensity of the fire emergency device is obtained.
[0095] The energy proportion corresponding to all harmonic interference frequencies is comprehensively considered to reflect the intensity of the harmonic interference and obtain a more reliable harmonic interference intensity result. In an embodiment of the present invention, the sum of the energy values corresponding to all harmonic interference frequencies is used as the harmonic interference energy, and the ratio of the harmonic interference energy to the total energy value in the voltage spectrum diagram after the test power failure is used as the harmonic interference intensity of the fire emergency device.
[0096] In an embodiment of the present invention, after obtaining the harmonic interference intensity in the test, the working status of the fire emergency device before and after the controller is switched can be further recorded to confirm the anti-interference intensity of the fire emergency device and other issues, thereby improving the operational reliability of the fire emergency device.
[0097] In summary, the present invention obtains the spectrum of the voltage signal before and after the power-off test of the device for analysis, and identifies the harmonic interference through the energy distribution in the frequency domain. First, the voltage spectrum before and after the test power-off is analyzed separately, and the high-intensity frequency set is obtained through the significant distribution of the frequency amplitude, and the frequency with significant energy distribution is screened out, and then the non-noise situation is analyzed. Since there is no harmonic situation generated by the switching power supply in the spectrum before the test power-off, the suspected harmonic interference frequency is first determined from the high-intensity frequency set after the test power-off by the closeness between the high-intensity frequency set after the test power-off and before the test power-off, and the preliminary screening and analysis based on the superposition effect of the harmonic interference after the power-off is performed to improve the efficiency of the harmonic interference analysis. Further, the appearance of the suspected harmonic interference frequency after the test power-off and the energy distribution between the high-intensity frequency before the power-off are analyzed, and the appearance time of the harmonic interference in the power-off event and the similarity of the energy distribution and the noise distribution are comprehensively analyzed, and the harmonic interference frequency with more obvious characteristics is further screened for more accurate intensity detection. The present invention compares and analyzes the interference conditions before and after the power failure test, obtains more accurate harmonic interference intensity results after the power failure, and improves the reliability of the fire emergency device in the harmonic interference test.
[0098] It should be noted that the sequence of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0099] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A testing method for an intelligent fire emergency controller, characterized in that: The method comprises: During the power-off test of the fire emergency device, the voltage spectrum diagrams before and after the test power-off are obtained respectively; In the voltage spectrum diagrams before and after the power outage test, the high-intensity frequency set in each voltage spectrum diagram is determined according to the local distribution significance of the frequency corresponding amplitude in each voltage spectrum diagram; According to the proximity of each frequency in the high-intensity frequency set after the test power outage to the frequency in the high-intensity frequency set before the test power outage, the suspected harmonic interference frequency is determined from the high-intensity frequency set after the test power outage; Obtaining harmonic interference frequencies from all suspected harmonic interference frequencies according to the timeliness of the appearance of each suspected harmonic interference frequency after the test power outage and the degree of difference in energy distribution between each suspected harmonic interference frequency and the frequencies in the high-intensity frequency set before the test power outage; Based on the energy distribution ratio of the harmonic interference frequency after the power outage, the harmonic interference intensity of the fire emergency device is obtained; The method for obtaining the suspected harmonic interference frequency includes: For any frequency in the high-intensity frequency set after the test power outage, the difference between the frequency and each frequency in the high-intensity frequency set before the test power outage is taken as the frequency deviation; the minimum value of all frequency deviations corresponding to the frequency is taken as the deviation degree of the frequency; Based on the degree of deviation, the frequencies in the high-intensity frequency set after the test power failure are classified to obtain the suspected harmonic interference frequency; The method for obtaining the harmonic interference frequency includes: For any suspected harmonic interference frequency, the time-effect characteristic index of the suspected harmonic interference frequency is obtained according to the time difference between the corresponding amplitude of the suspected harmonic interference frequency and the test power-off time; According to the difference in energy distribution between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage, an energy difference index of the suspected harmonic interference frequency is obtained; Combining the time-effect characteristic index and the energy difference index of the suspected harmonic interference frequency, obtaining a possibility index of the suspected harmonic interference frequency; determining the harmonic interference frequency from all suspected harmonic interference frequencies based on the possibility index; The method for obtaining the aging characteristic index includes: After the test power is off, obtain the signal spectrum diagram at each moment in the time series; When the amplitude of the signal spectrum diagram at the suspected harmonic interference frequency is greater than the amplitude of the suspected harmonic interference frequency during the test power-off, the time difference between the corresponding moment of the corresponding signal spectrum diagram and the test power-off moment is calculated and negative correlation mapping is performed to obtain the time-effect characteristic index of the suspected harmonic interference frequency; The method for obtaining the energy difference index includes: Calculate the difference in energy value between the suspected harmonic interference frequency and each frequency in the high-intensity frequency set before the test power outage to obtain the energy difference; The average value of the energy difference between the suspected harmonic interference frequency and all frequencies in the high-intensity frequency set before the test power outage is used as the energy difference index of the suspected harmonic interference frequency.
2. A testing method for an intelligent fire emergency controller according to claim 1, characterized in that: The method for obtaining the high-intensity frequency set includes: For any frequency in the voltage spectrum diagram, the local amplitude range of the frequency is obtained based on the corresponding amplitudes of the adjacent frequencies of the frequency; In the voltage spectrum diagram where the frequency is located, other frequencies with the same amplitude as the frequency are used as the frequencies to be analyzed of the frequency; for any frequency to be analyzed of the frequency, when the corresponding amplitudes of the adjacent frequencies of the frequency to be analyzed are all within the local amplitude range, the frequency to be analyzed is used as the matching frequency of the frequency; The number of matching frequencies of the frequency in the voltage spectrum diagram is used as a distribution index of the frequency; The frequencies in each voltage spectrum graph are classified according to the size of the distribution index to obtain a high-intensity frequency set of each voltage spectrum graph, and the high-intensity frequency set does not include the frequency corresponding to the maximum amplitude in the voltage spectrum graph.
3. A testing method for an intelligent fire emergency controller according to claim 2, characterized in that: The obtaining of the local amplitude range of the frequency based on the amplitude corresponding to the adjacent frequencies of the frequency includes: The two frequencies closest to the frequency in the voltage spectrum diagram are regarded as the adjacent frequencies of the frequency; When the amplitudes corresponding to adjacent frequencies are not equal, the minimum value of the amplitudes corresponding to the adjacent frequencies is taken as the lower limit, and the maximum value of the amplitudes corresponding to the adjacent frequencies is taken as the upper limit; the range formed by the lower limit and the upper limit is taken as the local amplitude range of the frequency; When the amplitudes corresponding to adjacent frequencies are equal, the local amplitude range of the frequency is the amplitude corresponding to the adjacent frequencies.
4. A testing method for an intelligent fire emergency controller according to claim 2, characterized in that: The frequency in each voltage spectrum graph is classified according to the size of the distribution index to obtain a high-intensity frequency set of each voltage spectrum graph, including: For any voltage spectrum graph, all distribution indicators in the voltage spectrum graph are sorted from small to large to obtain a distribution sequence of the voltage spectrum graph; Obtaining the maximum difference between each two adjacent distribution indicators in the distribution sequence of the voltage spectrum diagram, and taking the distribution indicator with the largest value among the two distribution indicators corresponding to the maximum difference as the division indicator; The frequencies whose distribution index in the distribution sequence of the voltage spectrum graph is smaller than the division index are grouped into a set to obtain a high-intensity frequency set of the voltage spectrum graph.
5. A testing method for an intelligent fire emergency controller according to claim 1, characterized in that: The frequency in the high-intensity frequency set after the test power failure is classified based on the size of the deviation to obtain the suspected harmonic interference frequency, including: The frequencies in the high-intensity frequency set are clustered into two clusters according to the size of the deviation, the mean deviation of all frequencies in the cluster is calculated, and the frequencies in the cluster with the largest mean deviation are taken as suspected harmonic interference frequencies.
6. A testing method for an intelligent fire emergency controller according to claim 1, characterized in that: The method of determining the harmonic interference frequency from all suspected harmonic interference frequencies based on the possibility index includes: When the possibility index of the suspected harmonic interference frequency is greater than a preset possibility threshold, the corresponding suspected harmonic interference frequency is used as the harmonic interference frequency.
