A method, device, electronic device and storage medium for identifying characteristic current
By using filters and EMD envelope methods to process the modulated characteristic current signal in topology recognition technology, the problem of weak anti-interference ability in the prior art is solved, and more efficient characteristic current recognition is achieved.
Patent Information
- Application Number
- CN202310100223.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-06
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2043-02-06
AI Technical Summary
In the existing topological recognition technology, the characteristic current injection recognition method has weak anti-interference ability at the same frequency, resulting in low characteristic current recognition efficiency.
By obtaining the modulated characteristic current signal, filtering is used for filtering. The center frequency is the sum or difference between the modulation frequency and the preset power frequency. The signal envelope is extracted by the empirical modal decomposition (EMD) envelope method to obtain the envelope amplitude to determine the topological information of the device.
The anti-interference capability of the same frequency is enhanced, the requirements for the transmission time of characteristic current signals are reduced, the real-time and robustness of identification are improved, and the efficiency of characteristic current recognition is improved.
Smart Images

Figure CN116032708B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing technology, and in particular to a characteristic current identification method, device, electronic device and storage medium. Background Art
[0002] Topology recognition is a technology for locating the position of equipment in the substation topology network. At present, the common practice of topology recognition technology is to make the distribution equipment inject a characteristic current on the power line and sample the current at the transformer outlet. By identifying the characteristic current, the device can be found on which phase of the transformer.
[0003] In the related art, the characteristic current injection identification method adopts the method of filtering plus Fourier transform, which has certain requirements on the length of a single injection signal and has weak co-frequency anti-interference capability, thereby reducing the efficiency of characteristic current identification. Summary of the invention
[0004] The embodiments of the present application provide a characteristic current identification method, device, electronic device and storage medium for improving the efficiency of characteristic current identification.
[0005] On the one hand, the present application provides a characteristic current identification method, the method comprising: obtaining a modulated characteristic current signal, the modulated characteristic current signal comprising topological information of a device; filtering the modulated characteristic current signal through a filter to obtain a filtered signal, the center frequency of the filter being the sum or difference of a modulation frequency and a preset power frequency; extracting the envelope of the filtered signal through an empirical mode decomposition (EMD) envelope method to obtain a plurality of signal envelopes of the filtered signal; obtaining the envelope amplitude of each signal envelope; and determining the topological information of the device based on the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0006] The embodiment of the present application takes into account the amplitude and frequency distribution of the modulated characteristic current signal, thereby enhancing the same-frequency anti-interference capability, and performs analysis based on envelope information, thereby greatly reducing the requirements for the sending time of the modulated characteristic current signal and improving the real-time and robustness of the recognition of the modulated characteristic current signal. In some embodiments of the present application, the topology information is represented by N bits, where N is an integer greater than 1; the topology information of the device is determined based on the envelope amplitude and the amplitude of the modulated characteristic current signal, including: if the envelope amplitude is greater than a threshold and the duration is greater than or equal to a preset duration, the target bit is determined to be a high level, the threshold is related to the amplitude of the modulated characteristic current signal, and the target bit is any one of the N bits; or, if the envelope amplitude is less than or equal to the threshold and the duration is greater than or equal to the preset duration, the target bit is determined to be a low level; or, if the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, the target bit is determined to be a low level; or, if the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, the target bit is determined to be a high level.
[0007] The embodiment of the present application sets the threshold according to the amplitude of the modulated characteristic current signal and uses a jump method to determine whether the bit is at a high level, which greatly improves the same-frequency anti-interference capability, further improves the real-time and robustness of information recognition of the bit of the modulated characteristic current signal, and thereby improves the efficiency of topological information recognition of the device.
[0008] In some embodiments of the present application, the signal envelope includes an upper envelope and a lower envelope, and the upper envelope and the lower envelope correspond one to one; the envelope of the filtered signal is extracted by the empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal, including: determining the maximum point and the minimum point of the filtered signal, the first position corresponding to the maximum point in the filtered signal, and the second position corresponding to the minimum point in the filtered signal by the EMD envelope method; interpolating the blank sampling points between two adjacent first positions in the filtered signal to obtain the upper envelope, and interpolating the blank sampling points between two adjacent second positions in the filtered signal to obtain the lower envelope.
[0009] The embodiment of the present application extracts the signal envelope through the EMD envelope method, thereby realizing the extraction of characteristic frequency band energy and greatly reducing the transmission time requirement for the modulated characteristic current signal.
[0010] In some embodiments of the present application, obtaining the envelope amplitude of each signal envelope includes: for an upper envelope and a corresponding lower envelope, executing: obtaining the amplitude of the upper envelope and the amplitude of the lower envelope; determining the average value of the amplitude of the upper envelope and the amplitude of the lower envelope as the envelope amplitude of the signal envelope.
[0011] In the embodiment of the present application, the average value of the amplitude of the upper envelope and the amplitude of the lower envelope is determined as the envelope amplitude of the signal envelope, which makes the calculation simple and convenient, and improves the calculation efficiency of the envelope amplitude of the signal envelope.
[0012] In some embodiments of the present application, after determining the topology information of the device based on the envelope amplitude and the amplitude of the modulated characteristic current signal, it also includes: determining a first signal value of a preset base of the modulated characteristic current signal based on each target bit; determining the topology information of the device based on the correspondence between the preset topology information of the device and the signal value of the preset base, and the first signal value.
[0013] The embodiment of the present application improves the efficiency of identifying the topology information of the device by converting each target bit into a signal value of a preset base, compared with directly based on the binary data of N-bit target bits.
[0014] In some embodiments of the present application, after determining the topology information of the device based on the envelope amplitude and the amplitude of the modulated characteristic current signal, it also includes: determining a preset number of target bits as an identification byte; when the identification byte is a preset byte header, continuing to acquire the modulated characteristic current signal.
[0015] The embodiment of the present application avoids invalid demodulation of the modulated characteristic current signal by verifying the identification byte.
[0016] On the other hand, the present application provides a characteristic current identification device, which includes: an acquisition module, used to acquire a modulated characteristic current signal, wherein the modulated characteristic current signal includes topological information of the device; a filtering module, used to filter the modulated characteristic current signal through a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and a preset power frequency; an extraction module, used to extract the envelope of the filtered signal through an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal; the acquisition module is also used to acquire the envelope amplitude of each signal envelope; an identification module, used to determine the topological information of the device based on the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0017] In some embodiments of the present application, the topology information is represented by N bits, where N is an integer greater than 1; the determination module is specifically used to: if the envelope amplitude is greater than a threshold and the duration is greater than or equal to a preset duration, determine that the target bit is a high level, the threshold is related to the amplitude of the modulated characteristic current signal, and the target bit is any one of the N bits; or, if the envelope amplitude is less than or equal to the threshold and the duration is greater than or equal to the preset duration, determine that the target bit is a low level; or, if the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, determine that the target bit is a low level; or, if the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, determine that the target bit is a high level.
[0018] In some embodiments of the present application, the signal envelope includes an upper envelope and a lower envelope, and the upper envelope and the lower envelope correspond one to one; the extraction module is specifically used to: determine the maximum point and the minimum point of the filtered signal, and the first position corresponding to the maximum point in the filtered signal, and the second position corresponding to the minimum point in the filtered signal through the EMD envelope method; interpolate the blank sampling points between two adjacent first positions in the filtered signal to obtain the upper envelope, and interpolate the blank sampling points between two adjacent second positions in the filtered signal to obtain the lower envelope.
[0019] In some embodiments of the present application, the acquisition module is also used to: for an upper envelope and a corresponding lower envelope, acquire the amplitude of the upper envelope and the amplitude of the lower envelope; and determine the average value of the amplitude of the upper envelope and the amplitude of the lower envelope as the envelope amplitude of the signal envelope.
[0020] In some embodiments of the present application, the determination module is also used to determine the first signal value of a preset base of the modulated characteristic current signal according to each target bit; and determine the topology information of the device according to the correspondence between the topology information of a preset device and the signal value of the preset base, and the first signal value.
[0021] In some implementation schemes of the present application, the determination module is further used to determine a preset number of target bits as an identification byte; the acquisition module is further used to continue to acquire the modulated characteristic current signal when the identification byte is a preset byte header.
[0022] On the other hand, the present application also provides an electronic device, the electronic device comprising: one or more processors; further comprising a memory;
[0023] The one or more applications are stored in the memory and are configured to be executed by the processor to implement the first aspect or the characteristic current identification method described in any one of the first aspect.
[0024] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the characteristic current identification method described in the first aspect or any one of the first aspects.
[0025] The present application obtains a modulated characteristic current signal, wherein the modulated characteristic current signal includes the topological information of the device; filters the modulated characteristic current signal through a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency; extracts the envelope of the filtered signal through the EMD envelope method to obtain multiple signal envelopes of the filtered signal; obtains the envelope amplitude of each signal envelope; determines the topological information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal, and since the amplitude and frequency distribution of the modulated characteristic current signal are taken into consideration, the same-frequency anti-interference capability is enhanced, and the accuracy and robustness of the topological information recognition of the modulated characteristic current signal are greatly improved; and based on the envelope information, the analysis is performed, and compared with the traditional Fourier transform method, the requirement for the sending time of the modulated characteristic current signal is greatly reduced, and the real-time and robustness of the recognition of the modulated characteristic current signal are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 is a schematic diagram of a scenario of characteristic current identification provided by an embodiment of the present application;
[0028] Figure 2 It is a schematic diagram of an embodiment of the characteristic current identification method provided in the embodiments of the present application;
[0029] Figure 3 It is a schematic diagram of the principle of the single-frequency OOK modulation method provided in the embodiment of the present application;
[0030] Figure 4 is a waveform diagram of the modulation current provided in the embodiment of the present application;
[0031] Figure 5is a schematic diagram of a power line load current provided in an embodiment of the present application;
[0032] Figure 6 is a waveform diagram of a modulated characteristic current signal provided in an embodiment of the present application;
[0033] Figure 7 is a schematic diagram of 8-bit information of a modulated characteristic current signal provided in an embodiment of the present application;
[0034] Figure 8 is a schematic diagram of a filtering signal provided in an embodiment of the present application;
[0035] Fig. 9 is a schematic diagram of a signal envelope including an upper envelope and a lower envelope provided in an embodiment of the present application;
[0036] Fig.10 is a schematic diagram of information of each bit of a modulated characteristic current signal provided in an embodiment of the present application;
[0037] Fig.11 It is a schematic diagram of the structure of an embodiment of a characteristic current identification device provided in an embodiment of the present application;
[0038] Fig.12 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0040] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0041] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0042] See also Figure 1 , Figure 1 This is a schematic diagram of a possible application scenario of characteristic current identification in an embodiment of the present application. In the characteristic current identification scenario of the embodiment of the present invention, it mainly includes an electronic device 400 and a multi-household meter box 300 (a characteristic current identification device is integrated in the electronic device 400). The storage medium corresponding to the characteristic current identification method runs in the electronic device 400, wherein the electronic device 400 can be a transformer 401 or a switch cabinet 402 to execute the steps of the characteristic current identification method, that is, the characteristic current identification method proposed in the present invention can be executed by the electronic device 400.
[0043] It should be noted that Figure 1 The schematic diagram of the characteristic current identification scenario shown is only an example. The characteristic current identification scenario described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.
[0044] Based on the above content, the characteristic current identification method provided by the present application is introduced in detail below.
[0045] like Figure 2 FIG. 1 is a flow chart of an embodiment of a characteristic current identification method in an embodiment of the present application. The characteristic current identification method may include the following steps 301 to 305, which are as follows:
[0046] 301. Acquire a modulated characteristic current signal, where the modulated characteristic current signal includes topology information of a device.
[0047] The modulated characteristic current signal is a current signal of a modulated current of a preset center frequency injected into a power line load current of a preset power frequency, that is, the modulated characteristic current signal is a power line load current including the modulated current. The modulated current injected in the embodiment of the present application can be obtained by using a single-frequency OOK modulation method on the injected current. Figure 3 The figure is a schematic diagram of the principle of the single-frequency OOK modulation method. The single-frequency OOK modulation method uses binary coding to generate digital signals (for example, the digital signal includes data bit 1 and data bit 0), and controls the on and off of the sinusoidal carrier current according to the digital signal to obtain a modulated characteristic current signal. The frequency of the high-frequency current where the data bit 1 is located in the modulated characteristic current signal avoids the multiple of the preset power frequency, and the preset power frequency is generally 50Hz (Hertz). The injection of the sinusoidal carrier current can be a constant current or constant voltage injection, and the transmission time of each high-frequency current is a specific time, usually several hundred milliseconds. Figure 4 As shown, it is the waveform diagram of the modulation current. The modulation frequency is 833 Hz, and the main components of its local spectrum are 783 Hz and 883 Hz.
[0048] The preset power frequency refers to the preset frequency of the power line load current. The preset power frequency may be 50 Hz. The power line power frequency voltage may be expressed as follows:
[0049] V p =A*cos(2πf p t+φ p );
[0050] Where A is the amplitude constant, f p is the preset power frequency, usually 50Hz, φ p is the initial phase angle. Generally, the load current of the power line is the preset power frequency and its multiple frequency. Figure 5 As shown in the figure, it is a schematic diagram of the load current of the power line, and its power frequency is 50HZ. Figure 4 , Figure 5 For example, in Figure 5 The preset power frequency load current is injected into the power line Figure 4 After the modulation current is shown, the power line load current including the modulation current is obtained, that is, the characteristic current signal after modulation, such as Figure 6 As shown, it is a waveform diagram of the modulated characteristic current signal. The expression of the modulated characteristic current signal can be expressed as follows:
[0051] C p =B*cos(2πf p t+φ p )*cos(2*πf m t+φ m );
[0052] Where B is the amplitude constant, f m is the modulation frequency, φ m Modulate the initial phase. According to the product-sum-difference formula, the modulation current contains two main frequencies, namely f m -f p With fm +f p , that is, the center frequency of the modulated characteristic current signal is the sum of the modulation frequency and the preset power frequency (f m +f p ) or the difference (f m -f p ).like Figure 7 As shown, Figure 6 Schematic diagram of 8-bit information of the characteristic current signal after modulation, that is, a schematic diagram of 8-bit information of the characteristic current signal after modulation, from which it can be seen that the current amplitude of the characteristic current signal after modulation is 0.4A (ampere). Due to the small amplitude of the modulation current, it is difficult to directly determine whether the modulation current exists. Therefore, in this embodiment, Figure 7 The 8-bit information of the modulated characteristic current signal is demodulated to realize the recognition of the modulated characteristic current signal.
[0053] Exemplarily, the topological information of the device may be the phase of the transformer, the account number of the meter box, etc. The topological information of the device may be the position of the device in the topological network, which may be represented by N bits of information. For example, the topological information of the device may be represented by 4 bits (such as 9645). Further, optionally, the device may be, for example, a device that sends a modulated characteristic current signal.
[0054] It can be understood that in this embodiment, a modulated characteristic current signal is obtained, and the modulated characteristic current signal is the power line load current injected with the modulated current, so that the injected current is modulated, so that a more efficient filter can be configured based on the modulated characteristic current signal to achieve efficient sampling of the modulated characteristic current signal.
[0055] 302. Filter the modulated characteristic current signal through a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency.
[0056] The center frequency of the filter is consistent with the center frequency of the modulated characteristic current signal, that is, the center frequency of the filter in this embodiment is the sum or difference of the modulation frequency and the preset power frequency, and the filter in this embodiment can be a narrow-band bandpass filter with a bandwidth equal to 10 Hz and avoiding the multiples of the 50 Hz power frequency. Exemplarily, the filter includes but is not limited to IIR (infinite impulse response) or FIR filter (finite impulse response).
[0057] Specifically, filtering may be performed once for each preset number of sampling points to obtain a filtered signal. The filtered signal may be a real-time filtered signal. Figure 6 For example, Figure 8 Schematic diagram of a filtered signal obtained after filtering the modulated characteristic current signal, where the center frequency of the filter is 783 Hz and the bandwidth is 10 Hz.
[0058] In this embodiment, the modulated characteristic current signal is filtered by using a filter whose center frequency is the sum or difference of the modulation frequency and the preset power frequency, thereby achieving sampling of the modulated characteristic current signal.
[0059] 303. Extract the envelope of the filtered signal by using an EMD envelope method to obtain multiple signal envelopes of the filtered signal.
[0060] The envelope refers to connecting the peak points of a high-frequency signal over a period of time, and obtaining an upper (positive) line and a lower (negative) line. These two lines are the envelope line, which is a curve used to reflect the amplitude change of the high-frequency signal.
[0061] Specifically, the EMD (Empirical Mode Decomposition) envelope method is used to extract the envelope of the filter signal. The extraction process can be: using EMD to decompose the filter signal, obtaining the IMF (Intrinsic Mode Function) component signal corresponding to the empirical mode decomposition, and extracting the signal envelope from the IMF component signal, thereby ensuring the correctness of the signal envelope amplitude and improving the accuracy of the signal envelope. Please refer to the introduction of the following steps 303A to 303B, which will not be repeated here.
[0062] In this embodiment, the EMD envelope method is used to extract the envelope of the filtered signal, thereby realizing the extraction of characteristic frequency band energy, and greatly reducing the transmission time requirement for the modulated characteristic current signal. Compared with the traditional Fourier transform method, the transmission time requirement for the modulated characteristic current signal is reduced, and at the same time, the requirement for the length of a single injected current signal is reduced.
[0063] 304. Obtain the envelope amplitude of each signal envelope.
[0064] The envelope amplitude refers to the amplitude of a signal envelope, and the amplitude may be the average of the amplitudes of an upper envelope and a lower envelope in the signal envelope.
[0065] Specifically, the corresponding envelope amplitude can be obtained according to the expression of each signal envelope. Please refer to the introduction of steps 304A to 304B below, which will not be repeated here.
[0066] 305. Determine topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0067] Specifically, the comparison standard can be determined based on the amplitude and frequency distribution of the characteristic current signal after modulation. For example, the comparison standard can be an amplitude threshold, and the envelope amplitude is analyzed and compared with the comparison standard to determine the change of the envelope amplitude or the noise level, and the comparison result is obtained. The topology information of the device is determined according to the comparison result. More specifically, the amplitude threshold can be set according to the amplitude of the characteristic current signal after modulation. For example, the amplitude threshold is set to half of the amplitude of the characteristic current signal after modulation, and then the topology information of the device is determined according to the comparison result by comparing the envelope amplitude and the amplitude threshold. In one example, when the envelope amplitude is greater than the amplitude threshold, the corresponding bit of the characteristic current signal after modulation is determined to be 1, and when the envelope amplitude is less than or equal to the amplitude threshold, the corresponding bit of the characteristic current signal after modulation is determined to be 0, and the value of each bit is the topology information of the device.
[0068] In this embodiment, by analyzing the envelope amplitude and the amplitude of the modulated characteristic current signal, the amplitude and frequency distribution of the modulated characteristic current signal of the injected modulated current are fully considered, the same-frequency anti-interference capability is enhanced, and the accuracy and robustness of the recognition of the modulated characteristic current signal are greatly improved.
[0069] In the above embodiment, the EMD envelope method is used to extract the envelope of the filtered signal, and the characteristic frequency band energy is extracted based on the signal envelope. Compared with the traditional Fourier transform method, the requirement for the transmission time of the modulated characteristic current signal is reduced, and the requirement for the length of a single injected current signal is reduced, thereby improving the real-time and robustness of the recognition of the modulated characteristic current signal. At the same time, since the amplitude and frequency distribution of the modulated characteristic current signal are taken into consideration, the same-frequency anti-interference capability is enhanced, and the accuracy of the recognition of the modulated characteristic current signal is greatly improved.
[0070] In a specific implementation, the signal envelope includes an upper envelope and a lower envelope, and the upper envelope corresponds to the lower envelope one by one; extracting the envelope of the filtered signal by the empirical mode decomposition (EMD) envelope method in step 303 to obtain multiple signal envelopes of the filtered signal may include the following steps 303A to 303B, which are specifically as follows:
[0071] 303A. Determine the maximum point and the minimum point of the filtered signal by using the EMD envelope method, as well as the first position corresponding to the maximum point in the filtered signal and the second position corresponding to the minimum point in the filtered signal;
[0072] 303B. Interpolate blank sampling points between two adjacent first positions in the filtered signal to obtain the upper envelope, and interpolate blank sampling points between two adjacent second positions in the filtered signal to obtain the lower envelope.
[0073] Each signal envelope includes an upper envelope and a lower envelope, and the upper envelope and the lower envelope in a signal envelope are in one-to-one correspondence. A blank sampling point refers to a sampling point without a signal in the filtered signal.
[0074] Specifically, the maximum and minimum points of the filtered signal are determined by the EMD envelope method, as well as the first position corresponding to the maximum point and the second position corresponding to the minimum point in the filtered signal. Then, the blank sampling points between two adjacent first positions in the filtered signal are interpolated to obtain the upper envelope, and the blank sampling points between two adjacent second positions in the filtered signal are interpolated to obtain the lower envelope. Fig. 9 As shown, it is a schematic diagram of the signal envelope including the upper envelope and the lower envelope, from which it can be seen that the current amplitude at the maximum point is [0.1A, 0.15A] and [0A, 0.008A], and the current amplitude at the minimum point is [-0.15A, -0.1A] and [-0.008A, 0A].
[0075] In one example, a maximum point of a filtered signal is determined by the EMD envelope method, and the first position of the maximum is recorded. When the first position of the filtered signal corresponding to the Wth local maximum point is N1, the first position corresponding to the W+1 maximum point is N2, and the blank sampling points between N2 and N1 are interpolated using the interpolation method to obtain the upper envelope, where W, N1 and N2 are all natural numbers.
[0076] In a specific implementation, the step of obtaining the envelope amplitude of each signal envelope in step 304 may include the following steps 304A-304B, which are specifically as follows:
[0077] 304A. For an upper envelope and a corresponding lower envelope, obtain the amplitude of the upper envelope and the amplitude of the lower envelope;
[0078] 304B. Determine an average value of the amplitude of the upper envelope and the amplitude of the lower envelope as the envelope amplitude of the signal envelope.
[0079] Specifically, the amplitude of the upper envelope and the amplitude of the lower envelope are obtained, and the average of the amplitude of the upper envelope and the amplitude of the lower envelope is calculated, and the average is used as the envelope amplitude of the signal envelope. The calculation is simple and convenient, and the calculation efficiency of the envelope amplitude of the signal envelope is improved.
[0080] In a specific implementation, the topology information is represented by N bits, where N is an integer greater than 1; determining the topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal in step 305 may include multiple methods, which are illustrated below by way of example.
[0081] (1) According to the envelope amplitude and the amplitude of the modulated characteristic current signal, the topology information of the device can be determined as follows: if the envelope amplitude is greater than the threshold and the duration is greater than or equal to a preset duration, the target bit is determined to be a high level, the threshold is related to the amplitude of the characteristic current signal, and the target bit is any one of the N bits.
[0082] Among them, duration refers to the continuous transmission time of each bit of the modulated characteristic current signal. The preset duration is applicable to the critical value of the duration to measure whether the duration is too long. For example, the preset duration can be set to 100ms. The topology information is represented by N bits, and the target bit is any one of the N bits. The threshold is related to the amplitude of the modulated characteristic current signal. In this embodiment, the threshold is half of the amplitude of the modulated characteristic current signal. The acquisition method can be to obtain the amplitude of the modulated characteristic current signal. Taking the expression of the modulated characteristic current signal in step 301 as an example, the amplitude of the modulated characteristic current signal is C p , for example, the threshold value may be 1 / 2C p .
[0083] Specifically, for each target bit, by analyzing the corresponding continuous transmission time, and combining the comparative analysis of the envelope amplitude and the threshold value, analyzing the change or jump of the envelope amplitude, the corresponding target bit information is determined, thereby obtaining the topology information of the device. More specifically, when the envelope amplitude is greater than the threshold and the duration is greater than or equal to the preset duration, the target bit is determined to be a high level.
[0084] (2) According to the envelope amplitude and the amplitude of the modulated characteristic current signal, the topology information of the device can be determined as follows: if the envelope amplitude is less than or equal to the threshold and the duration is greater than or equal to the preset duration, the target bit is determined to be a low level.
[0085] Specifically, when the envelope amplitude is less than or equal to the threshold and the duration is greater than or equal to the preset duration, it is determined that the target bit is at a low level.
[0086] (3) According to the envelope amplitude and the amplitude of the modulated characteristic current signal, the topology information of the device can be determined as follows: if the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, the target bit is determined to be a low level.
[0087] Among them, jump refers to the situation that the amplitude changes within a certain period of time, and upward jump refers to the situation that the amplitude increases within a certain period of time, for example, from 5mA to 10mA. Downward jump refers to the situation that the amplitude decreases within a certain period of time, for example, from 10mA to 5mA.
[0088] Specifically, when the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, it is determined that the target bit is at a low level.
[0089] (4) According to the envelope amplitude and the amplitude of the modulated characteristic current signal, the topology information of the device can be determined as follows: if the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, the target bit is determined to be a high level.
[0090] Specifically, when the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, the target bit is determined to be at a high level. It can be understood that in this embodiment, the threshold is set according to the amplitude of the modulated characteristic current signal, and the bit is determined to be at a high level by a jump method, which greatly improves the same-frequency anti-interference capability, further improves the real-time and robustness of the information recognition of the bit of the modulated characteristic current signal, and thus improves the efficiency of the topological information recognition of the device. Fig.10 As shown, it is a schematic diagram of information of each bit of a modulated characteristic current signal. If the start bit is set to 1, the above information is 10101010, which is hexadecimal 0xAA.
[0091] In a specific implementation, after determining the topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal in step 305, the characteristic current identification method may include the following steps 306 to 307, which are specifically as follows:
[0092] 306. Determine, according to each target bit, a first signal value of a preset system corresponding to the modulated characteristic current signal;
[0093] Among them, the first signal value is the signal value of the preset system corresponding to each target bit of the modulated characteristic current signal. For example, each target bit is 00000011, and the preset system is decimal, then the corresponding first signal value is 3.
[0094] 307. Determine the topology information of the device according to a correspondence between the preset topology information of the device and the signal value of the preset base, and the first signal value.
[0095] Among them, the correspondence between the preset device topology information and the preset signal value is the mapping relationship between the pre-configured device topology information and the signal value. For example, the signal value corresponding to the device topology information "003" is 3, and the signal value corresponding to the device topology information "030" is 30.
[0096] Specifically, the information of each target bit of the modulated characteristic current signal can be converted into a signal value of a preset base, for example, the information of the target bit is converted into hexadecimal, and then, based on the signal value of the preset base, the topology information of the device corresponding to the first signal value is searched from the corresponding relationship, and the topology information of the corresponding device is determined as the topology information of the device. In this embodiment, by converting each target bit into a signal value of a preset base, the recognition efficiency of the topology information of the device is further improved compared to directly based on the binary data of the N-bit target bit.
[0097] In a specific implementation, after determining the topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal in step 305, the characteristic current identification method may include the following steps 308 to 309, which are specifically as follows:
[0098] 308. Determine a preset number of target bits as an identification byte;
[0099] For example, 8 bits are set as one identification byte.
[0100] 309. When the identification byte is a preset byte header, continue to acquire the modulated characteristic current signal.
[0101] Among them, the preset byte header includes but is not limited to a custom data header, for example, aa, bb, etc. Specifically, according to the information of each bit of the modulated characteristic current signal, a preset number of target bits are determined as an identification byte. When the identification byte is a preset byte header, steps 301-305 are continued to be executed to realize the identification of the modulated characteristic current signal until the modulated characteristic current signal is received. When the identification byte is not equal to the preset byte header, it indicates that the demodulation of the characteristic current signal has failed, and the demodulation of the characteristic current signal is stopped to avoid invalid demodulation of the characteristic current signal.
[0102] It should be noted that, in the above embodiment, steps 306-307 may be before steps 308-309, or after steps 308-309, or steps 306-307 and steps 308-309 may be executed in parallel, which is not limited here.
[0103] In order to better implement the characteristic current identification method in the embodiment of the present application, based on the characteristic current identification method, the embodiment of the present application also provides a characteristic current identification device, such as Fig.11 As shown, the characteristic current identification device 500 includes:
[0104] An acquisition module 501 is used to acquire a modulated characteristic current signal, where the modulated characteristic current signal includes topology information of a device;
[0105] A filtering module 502 is used to filter the modulated characteristic current signal through a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency;
[0106] An extraction module 503 is used to extract the envelope of the filtered signal by using an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal;
[0107] An acquisition module 501 is used to acquire the envelope amplitude of each signal envelope;
[0108] The determination module 504 is used to determine the topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0109] In an embodiment of the present application, the topology information is represented by N bits, where N is an integer greater than 1; the determination module 504 is specifically used to: if the envelope amplitude is greater than a threshold value and the duration is greater than or equal to a preset duration, determine that the target bit is a high level, the threshold is related to the amplitude of the modulated characteristic current signal, and the target bit is any one of the N bits; or, if the envelope amplitude is less than or equal to the threshold value and the duration is greater than or equal to the preset duration, determine that the target bit is a low level; or, if the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, determine that the target bit is a low level; or, if the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, determine that the target bit is a high level.
[0110] In an embodiment of the present application, the signal envelope includes an upper envelope and a lower envelope, and the upper envelope and the lower envelope correspond one to one; the extraction module 503 is specifically used to: determine the maximum point and the minimum point of the filtered signal, the first position corresponding to the maximum point in the filtered signal, and the second position corresponding to the minimum point in the filtered signal through the EMD envelope method; interpolate the blank sampling points between two adjacent first positions in the filtered signal to obtain the upper envelope, and interpolate the blank sampling points between two adjacent second positions in the filtered signal to obtain the lower envelope.
[0111] In an embodiment of the present application, the acquisition module 501 is also used to: for an upper envelope and a corresponding lower envelope, obtain the amplitude of the upper envelope and the amplitude of the lower envelope; and determine the average value of the amplitude of the upper envelope and the amplitude of the lower envelope as the envelope amplitude of the signal envelope.
[0112] In the embodiment of the present application, the determination module 504 is also used to determine the first signal value of the preset base of the modulated characteristic current signal according to each target bit; the topology information of the device is determined according to the correspondence between the preset topology information of the device and the signal value of the preset base, and the first signal value. In the embodiment of the present application, the determination module 504 is also used to determine a preset number of target bits as an identification byte; the acquisition module 501 is also used to continue to acquire the modulated characteristic current signal when the identification byte is a preset byte header.
[0113] The present application also provides an electronic device, such as Fig.12 As shown, Fig.12 It is a schematic diagram of the structure of an embodiment of an electronic device provided in an embodiment of the present application.
[0114] An electronic device is integrated with any one of the characteristic current identification devices provided in the embodiments of the present application, and the electronic device includes:
[0115] one or more processors; and memory;
[0116] Among them, one or more application programs are stored in the memory and are configured so that the processor executes the characteristic current identification method described in any of the above-mentioned characteristic current identification method embodiments.
[0117] Specifically, the electronic device may include one or more processors 701 of processing cores, one or more computer-readable storage media memories 702, a power supply 703, an input unit 704 and other components. Those skilled in the art will appreciate that Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0118] The processor 701 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 702, and calling data stored in the memory 702, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701.
[0119] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.
[0120] The electronic device also includes a power supply 703 for supplying power to each component. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 703 can also include any combination of one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc.
[0121] The electronic device may further include an input unit 704, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0122] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 701 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run the application programs stored in the memory 702, thereby realizing various functions, as follows:
[0123] Acquire a modulated characteristic current signal, wherein the modulated characteristic current signal includes topology information of the device;
[0124] The modulated characteristic current signal is filtered by a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency;
[0125] Extracting the envelope of the filtered signal by an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal;
[0126] Obtain the envelope amplitude of each signal envelope;
[0127] The topology information of the device is determined according to the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0128] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0129] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any characteristic current identification method provided in the embodiment of the present application. For example, the computer program can be loaded by a processor to execute the following steps:
[0130] Acquire a modulated characteristic current signal, wherein the modulated characteristic current signal includes topology information of the device;
[0131] The modulated characteristic current signal is filtered by a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency;
[0132] Extracting the envelope of the filtered signal by an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal;
[0133] Obtain the envelope amplitude of each signal envelope;
[0134] The topology information of the device is determined according to the envelope amplitude and the amplitude of the modulated characteristic current signal.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0136] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0137] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0138] The above is a detailed introduction to a characteristic current identification method and related equipment provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A characteristic current identification method, characterized in that: include: Acquire a modulated characteristic current signal, wherein the modulated characteristic current signal includes topology information of the device, the topology information of the device indicates the position of the device in the topology network, and the topology information is represented by N bits, where N is an integer greater than 1; The modulated characteristic current signal is filtered by a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency; Extracting the envelope of the filtered signal by using an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal; Obtain the envelope amplitude of each signal envelope; If the envelope amplitude is greater than a threshold value and the duration is greater than or equal to a preset duration, it is determined that the target bit of the topology information of the device is a high level, the threshold value is related to the amplitude of the modulated characteristic current signal, and the target bit is any one of the N bits; or If the envelope amplitude is less than or equal to the threshold value and the duration is greater than or equal to the preset duration, determining that the target bit of the topology information of the device is a low level; or, If the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, determining that the target bit of the topology information of the device is a low level; or, If the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, determining that the target bit of the topology information of the device is a high level; Determine, according to each target bit, a first signal value of a preset system corresponding to the modulated characteristic current signal; The topology information of the device is determined according to a correspondence between the preset topology information of the device and the signal value of the preset base, and the first signal value.
2. The method according to claim 1, characterized in that The signal envelope includes an upper envelope and a lower envelope, and the upper envelope and the lower envelope correspond one to one; The extracting the envelope of the filtered signal by the empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal includes: Determine the maximum point and the minimum point of the filtered signal, the first position corresponding to the maximum point in the filtered signal, and the second position corresponding to the minimum point in the filtered signal by the EMD envelope method; The upper envelope is obtained by interpolating blank sampling points between two adjacent first positions in the filtered signal, and the lower envelope is obtained by interpolating blank sampling points between two adjacent second positions in the filtered signal.
3. The method according to claim 2, characterized in that The obtaining of the envelope amplitude of each signal envelope comprises: For an upper envelope and the corresponding lower envelope, execute: Acquire the amplitude of the upper envelope and the amplitude of the lower envelope; An average value of the amplitude of the upper envelope and the amplitude of the lower envelope is determined as the envelope amplitude of the signal envelope.
4. The method according to claim 1, characterized in that: After determining the topology information of the device according to the envelope amplitude and the amplitude of the modulated characteristic current signal, the method further includes: Determine a preset number of target bits as an identification byte; When the identification byte is a preset byte header, the modulated characteristic current signal continues to be acquired.
5. A characteristic current identification device, characterized in that: include: An acquisition module, used for acquiring a modulated characteristic current signal, wherein the modulated characteristic current signal includes topology information of a device, wherein the topology information of the device indicates a position of the device in a topology network, and wherein the topology information is represented by N bits, where N is an integer greater than 1; A filtering module, used for filtering the modulated characteristic current signal through a filter to obtain a filtered signal, wherein the center frequency of the filter is the sum or difference of the modulation frequency and the preset power frequency; An extraction module, used for extracting the envelope of the filtered signal by using an empirical mode decomposition (EMD) envelope method to obtain multiple signal envelopes of the filtered signal; The acquisition module is further used to acquire the envelope amplitude of each signal envelope; A determination module, configured to determine that the target bit of the topology information of the device is a high level if the envelope amplitude is greater than a threshold and the duration is greater than or equal to a preset duration, the threshold is related to the amplitude of the modulated characteristic current signal, and the target bit is any one of the N bits; or If the envelope amplitude is less than or equal to the threshold value and the duration is greater than or equal to the preset duration, determining that the target bit of the topology information of the device is a low level; or, If the envelope amplitude jumps downward and the duration is greater than or equal to the preset duration, determining that the target bit of the topology information of the device is a low level; or, If the envelope amplitude jumps upward and the duration is greater than or equal to the preset duration, it is determined that the target bit of the topology information of the device is high level. The determination module is further used to determine the first signal value of a preset system corresponding to the modulated characteristic current signal according to each target bit; The topology information of the device is determined according to a correspondence between the preset topology information of the device and the signal value of the preset base, and the first signal value.
6. An electronic device, characterized in that: The electronic device comprises: one or more processors; and memory; One or more application programs are stored in the memory and configured to be executed by the processor to implement the characteristic current identification method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the characteristic current identification method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Gear fault detection method and system of planetary gear box
CN109029987A
Fault identification method based on Hilbert-Huang transform and support vector machine
CN114690070A
Demodulating method and its circuit for amplitude modulation signal
CN1988523A