CN113890507A - Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium - Google Patents
Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium Download PDFInfo
- Publication number
- CN113890507A CN113890507A CN202111137069.5A CN202111137069A CN113890507A CN 113890507 A CN113890507 A CN 113890507A CN 202111137069 A CN202111137069 A CN 202111137069A CN 113890507 A CN113890507 A CN 113890507A
- Authority
- CN
- China
- Prior art keywords
- signal
- extraction
- harmonic
- extraction signal
- wave
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000605 extraction Methods 0.000 title claims abstract description 236
- 238000010521 absorption reaction Methods 0.000 claims abstract description 42
- 230000003595 spectral effect Effects 0.000 claims abstract description 37
- 238000001914 filtration Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 20
- 238000005070 sampling Methods 0.000 claims abstract description 19
- 230000010354 integration Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 abstract description 10
- 230000000694 effects Effects 0.000 abstract description 9
- 239000007789 gas Substances 0.000 description 49
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 4
- 238000000041 tunable diode laser absorption spectroscopy Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 239000004215 Carbon black (E152) Substances 0.000 description 1
- 238000000862 absorption spectrum Methods 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 229930195733 hydrocarbon Natural products 0.000 description 1
- 150000002430 hydrocarbons Chemical class 0.000 description 1
- 239000011810 insulating material Substances 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003647 oxidation Effects 0.000 description 1
- 238000007254 oxidation reaction Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/02—Frequency selective networks
- H03H17/06—Non-recursive filters
- H03H17/0621—Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing
- H03H17/0635—Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing characterized by the ratio between the input-sampling and output-delivery frequencies
- H03H17/0671—Cascaded integrator-comb [CIC] filters
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/02—Frequency selective networks
- H03H17/04—Recursive filters
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H2017/0072—Theoretical filter design
- H03H2017/009—Theoretical filter design of IIR filters
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
The application relates to a harmonic extraction method, a harmonic extraction device, harmonic extraction equipment and a storage medium based on a phase-locked amplifier. The method comprises the following steps: acquiring a signal wave containing spectral absorption information in the gas precipitated from the transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave; after an input signal passes through a multiplier to obtain a first extraction signal, integrating and extracting the first extraction signal through a CIC filter; obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter; and obtaining a target extraction signal after the second extraction signal passes through an IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave. According to the method and the device, the CIC filter and the IIR filter are jointly used, the CIC down-sampling effect is utilized, and the advantages of good filtering effect and small calculation amount of the IIR filter are utilized.
Description
Technical Field
The present application relates to the field of power equipment, and in particular, to a harmonic extraction method and apparatus based on a lock-in amplifier, a computer device, and a storage medium.
Background
At present, most transformers of domestic power systems adopt insulating oil for insulation and heat dissipation. With long-term operation, the insulating oil and the solid insulating material in the transformer are gradually aged under the action of temperature, electric field, oxidation and other factors, and a small amount of H2 and low molecular hydrocarbon gas such as CH4, C2H6, C2H4 and the like are generated. The accuracy and stability of measuring the concentration in the transformer oil will be directly related to the identification of the transformer fault. Currently, TDLAS is an effective way to measure gases.
The lock-in amplifier is a core of the TDLAS and is used for extracting useful harmonic signals which can be used for concentration calculation from weak absorption signals. The principle of the lock-in amplifier is the theory related to the signal. The reference signal of the phase-locked amplifier has the same frequency and phase with the input signal, and the noise component in the input signal has random phase and frequency, so that the noise component is independent of the reference signal and can be filtered. In order to improve the signal-to-noise ratio of the input signal, the sampling frequency of the signal and the laser modulation frequency are generally set higher. And too high sampling frequency can lead to large calculation amount during data demodulation, and reduce the real-time performance of detection.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a device and a storage medium for harmonic extraction based on a lock-in amplifier.
In a first aspect, an embodiment of the present invention provides a harmonic extraction method based on a lock-in amplifier, where the method includes the following steps:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
Further, the obtaining a first extraction signal by passing the input signal through a multiplier, and then integrating and extracting the first extraction signal through a CIC filter includes:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
Further, the obtaining a second extracted signal after the first extracted signal passes through the CIC filter, and performing harmonic processing on the second extracted signal through an IIR filter includes:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
Further, the obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain a harmonic of the signal wave includes:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
On the other hand, the embodiment of the invention also provides a harmonic extraction system based on the lock-in amplifier, which comprises:
the signal input module is used for acquiring a signal wave containing spectral absorption information in the gas precipitated from the transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the first filtering module is used for obtaining a first extraction signal after the input signal passes through a multiplier, and then integrating and extracting the first extraction signal through a CIC filter;
the second filtering module is used for obtaining a second extraction signal after the first extraction signal passes through the CIC filter and carrying out harmonic processing on the second extraction signal through an IIR filter;
and the harmonic acquisition module is used for acquiring a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonality device to acquire the harmonic of the signal wave.
Further, the first filtering module includes an integral decimation unit, and the integral decimation unit is configured to:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
Further, the second filtering module further includes a noise filtering unit, and the noise filtering unit is configured to:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
Further, the harmonic acquisition module includes a signal integration unit, and the signal integration unit is configured to:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the following steps are implemented:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
The harmonic extraction method, the harmonic extraction device, the computer equipment and the storage medium based on the lock-in amplifier comprise the following steps: acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave; the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter; obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter; and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave. This application obtains the harmonic of signal wave and then obtains the calculation of carrying out gas concentration through combining factors such as interference killing feature, amplitude size, and this application is just enough through one-level CIC in obtaining the harmonic, need not half band filter and continues to fall the sampling, prevents to fall the low excessively that falls the sampling rate, leads to the useful information in the signal too little. Meanwhile, the CIC filter and the IIR filter are used together, the CIC down-sampling effect is fully utilized, the advantages of good filtering effect and small calculation amount of the IIR filter are utilized, different low-pass filters are arranged aiming at different gases dissolved in the transformer oil, the characteristics of the gases can be better utilized, the optimal demodulation effect is achieved, and therefore the gas concentration is calculated more accurately.
Drawings
FIG. 1 is a schematic flow chart of a harmonic extraction method based on a lock-in amplifier according to an embodiment;
FIG. 2 is a schematic diagram of a process for performing integration and decimation by a CIC filter in one embodiment;
FIG. 3 is a flow diagram illustrating filtering by an IIR filter in one embodiment;
FIG. 4 is a schematic diagram of a signal integration process for signal waves according to an embodiment;
FIG. 5 is a block diagram of a harmonic extraction system based on a lock-in amplifier in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a harmonic extraction method based on a lock-in amplifier, comprising the steps of:
103, obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and performing harmonic processing on the second extraction signal through an IIR filter;
and 104, obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain a harmonic wave of the signal wave.
Specifically, the embodiment acquires the harmonic wave of the signal wave by combining factors such as the anti-interference capability and the amplitude and then acquires the calculation of the gas concentration, wherein it is enough to pass through the first-stage CIC in acquiring the harmonic wave, and the half-band filter is not needed to continue down-sampling, so that the situation that the sampling rate is too low to cause too little useful information in the signal is prevented. The signal wave is a signal containing spectral absorption information obtained by superimposing a sawtooth wave and a sine wave, and if the laser modulation frequency is W, the frequencies of the sine and cosine reference signals are also set to the same frequency during demodulation. Meanwhile, the CIC filter and the IIR filter are used together, the CIC down-sampling effect is fully utilized, the advantages of good filtering effect and small calculation amount of the IIR filter are utilized, different low-pass filters are arranged aiming at different gases dissolved in the transformer oil, the characteristics of the gases can be better utilized, the optimal demodulation effect is achieved, and therefore the gas concentration is calculated more accurately.
Wherein, the TDLAS technology is used for measuring the concentration of the gas, and the potential hidden faults of the transformer are estimated according to the concentration of the gas. The TDLAS technique is a technique for calculating the component and state information of a gaseous substance by applying a tuning signal to a diode laser to scan the wavelength and obtain the absorption spectrum of the gaseous substance, and is widely applied to gas detection in the industrial and environmental fields. In the actual detection process, the peak-to-peak value of the gas absorption peak in the second harmonic is usually used as the basis for concentration calculation, and the first-order relationship between the peak-to-peak value and the concentration of the gas absorption peak in the second harmonic is calculated by introducing gas with known concentration into the white cell.
In one embodiment, as shown in fig. 2, the integrating and decimating by the CIC filter includes:
Specifically, the CIC filter is divided into two steps of integration and decimation. Integration needs to determine an integration length R firstly, the influence of random noise in a signal can be reduced under the action of the integration, the amplitude of the signal is increased to a certain extent, the coefficient of peak-to-peak reverse concentration is reduced, and the stability of concentration detection is enhanced. The purpose of extraction is to reduce the sampling frequency, on one hand, reduce the number of data points and improve the calculation time, and on the other hand, a filter with a narrow passband can be arranged. And the required adopted signal is obtained after integration and extraction of the CIC filter respectively, so that subsequent further filtering and integration are facilitated.
In one embodiment, as shown in fig. 3, the flow of the filtering process performed by the IIR filter includes:
and 303, narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
Specifically, after the signal passes through the CIC filter, the sampling frequency is reduced, and then the reference signal and the noise are filtered out by the low pass filter. The selection of the low-pass filter is directly related to the high quality of harmonic waves, and the high quality is realized by adopting an IIR filter, so that the large calculation amount of the FIR filter is avoided. For C2H4, CH4, C2H2 and CO2 with strong spectrum absorption in transformer oil, the passband of the low-pass filter can be properly widened, and the stopband attenuation can be properly reduced, so that the distortion of signals can be prevented. The passband of the filter for absorbing the C2H6 and CO gas with weak absorption is as narrow as possible, and the attenuation is as large as possible, so as to prevent the useful signal from being submerged by noise and being unable to be extracted.
In one embodiment, as shown in fig. 4, the process of signal integration of the signal wave includes:
step 402 extracts harmonics of the signal waves containing spectral absorption information, and obtains the gas concentration in the transformer oil according to the harmonics.
In particular, the role of the quadrature device is to integrate the phase so that the demodulated harmonics are not affected by the input signal phase. The harmonic wave of the signal wave of the target gas is obtained after phase integration, and the concentration information of the gas is obtained according to the harmonic wave, so that different low-pass filters are arranged for different gases dissolved in the transformer oil, the characteristics of the gas can be better utilized, the optimal demodulation effect is achieved, and the gas concentration is calculated more accurately.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a harmonic extraction system based on a lock-in amplifier, comprising:
the signal input module 501 is configured to acquire a signal wave containing spectral absorption information in gas precipitated from transformer oil, and use the signal wave, a sine reference signal and a cosine reference signal as input signals according to modulation frequency of the signal wave;
a first filtering module 502, configured to obtain a first extracted signal after the input signal passes through a multiplier, and then integrate and extract the first extracted signal through a CIC filter;
a second filtering module 503, configured to obtain a second extracted signal after the first extracted signal passes through the CIC filter, and perform harmonic processing on the second extracted signal through an IIR filter;
a harmonic obtaining module 504, configured to obtain a target extracted signal after the second extracted signal passes through the IIR filter, and integrate the target extracted signal through an orthogonalizer to obtain a harmonic of the signal wave.
In one embodiment, as shown in fig. 5, the first filtering module 502 includes an integral decimation unit 5021, and the integral decimation unit 5021 is configured to:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
In one embodiment, as shown in fig. 5, the second filtering module 503 further includes a noise filtering unit 5031, and the noise filtering unit 5031 is configured to:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
In one embodiment, as shown in fig. 5, the harmonic acquisition module 504 includes a signal integration unit 5041, the signal integration unit 5041 is configured to:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
For specific limitations of the harmonic extraction system based on the lock-in amplifier, reference may be made to the above limitations of the harmonic extraction method based on the lock-in amplifier, which are not described herein again. The various modules in the above-described lock-in amplifier based harmonic extraction system may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
FIG. 6 is a diagram illustrating an internal structure of a computer device in one embodiment. As shown in fig. 6, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a lock-in amplifier based harmonic extraction method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a method for harmonic extraction based on a lock-in amplifier. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for harmonic extraction based on a lock-in amplifier, the method comprising:
acquiring a signal wave containing spectral absorption information in gas precipitated from transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the input signal is processed by a multiplier to obtain a first extraction signal, and then the first extraction signal is integrated and extracted by a CIC filter;
obtaining a second extraction signal after the first extraction signal passes through the CIC filter, and carrying out harmonic processing on the second extraction signal through an IIR filter;
and obtaining a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonalizer to obtain the harmonic wave of the signal wave.
2. The harmonic extraction method based on the lock-in amplifier according to claim 1, wherein the step of subjecting the input signal to a multiplier to obtain a first extracted signal, and then subjecting the first extracted signal to integration and decimation by a CIC filter comprises:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
3. The lock-in amplifier based harmonic extraction method according to claim 1, wherein the obtaining a second extracted signal after the first extracted signal passes through the CIC filter, and performing harmonic processing on the second extracted signal by an IIR filter comprises:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
4. The harmonic extraction method based on the lock-in amplifier as claimed in claim 1, wherein the obtaining of the target extraction signal after the second extraction signal passes through the IIR filter, and the integrating of the target extraction signal through the orthogonalizer to obtain the harmonic of the signal wave comprises:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
5. A lock-in amplifier based harmonic extraction system, comprising:
the signal input module is used for acquiring a signal wave containing spectral absorption information in the gas precipitated from the transformer oil, and taking the signal wave, a sine reference signal and a cosine reference signal as input signals according to the modulation frequency of the signal wave;
the first filtering module is used for obtaining a first extraction signal after the input signal passes through a multiplier, and then integrating and extracting the first extraction signal through a CIC filter;
the second filtering module is used for obtaining a second extraction signal after the first extraction signal passes through the CIC filter and carrying out harmonic processing on the second extraction signal through an IIR filter;
and the harmonic acquisition module is used for acquiring a target extraction signal after the second extraction signal passes through the IIR filter, and integrating the target extraction signal through an orthogonality device to acquire the harmonic of the signal wave.
6. The lock-in amplifier based harmonic extraction system of claim 5, wherein the first filtering module comprises an integral decimation unit configured to:
acquiring an integral length of the first extraction signal, and performing integral processing on the first extraction signal according to the integral length to reduce random noise of the first extraction signal;
increasing the amplitude of the first extraction signal by performing integration processing on the first extraction signal;
and extracting the first extraction signal according to the extraction factor of the first extraction signal, and reducing the sampling frequency of the first extraction signal through extraction processing.
7. The lock-in amplifier based harmonic extraction system of claim 6, wherein the second filtering module further comprises a noise filtering unit configured to:
filtering out sine reference signals and cosine reference signals included in the second extraction signals through the IIR filter;
the passband of the IIR filter is widened, and stopband attenuation is reduced, so that the gas signal with strong spectral absorption in the second extraction signal is stable;
and narrowing the pass band of the IIR filter, and increasing the attenuation of the stop band, so that the gas signal with weak spectral absorption in the second extraction signal is easy to extract.
8. The lock-in amplifier based harmonic extraction system of claim 5, wherein the harmonic acquisition module comprises a signal integration unit configured to:
the phase of the target extraction signal is integrated through the orthogonal device, so that the phases of the signal wave passing through the orthogonal device and the input signal are independent;
extracting harmonic waves of signal waves containing spectral absorption information, and acquiring the gas concentration in the transformer oil according to the harmonic waves.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111137069.5A CN113890507A (en) | 2021-09-27 | 2021-09-27 | Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111137069.5A CN113890507A (en) | 2021-09-27 | 2021-09-27 | Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113890507A true CN113890507A (en) | 2022-01-04 |
Family
ID=79007151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111137069.5A Pending CN113890507A (en) | 2021-09-27 | 2021-09-27 | Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113890507A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346137A (en) * | 2010-07-22 | 2012-02-08 | 株式会社岛津制作所 | Gas concentration measuring device |
US20140152998A1 (en) * | 2012-11-30 | 2014-06-05 | Canon Kabushiki Kaisha | Measurement method and measurement apparatus |
CN104301052A (en) * | 2014-10-20 | 2015-01-21 | 中国电子科技集团公司第四十一研究所 | Seamless collecting and real-time frequency spectrum monitoring implementation method based on FPGA |
CN112350739A (en) * | 2019-08-06 | 2021-02-09 | 天津光电通信技术有限公司 | Method for acquiring channel signal with variable bandwidth and variable bandwidth channelization system |
US20210096068A1 (en) * | 2019-09-30 | 2021-04-01 | Siemens Aktiengesellschaft | Method and Gas Analyzer for Measuring the Concentration of a Gas Component in a Measurement Gas |
-
2021
- 2021-09-27 CN CN202111137069.5A patent/CN113890507A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346137A (en) * | 2010-07-22 | 2012-02-08 | 株式会社岛津制作所 | Gas concentration measuring device |
US20140152998A1 (en) * | 2012-11-30 | 2014-06-05 | Canon Kabushiki Kaisha | Measurement method and measurement apparatus |
CN104301052A (en) * | 2014-10-20 | 2015-01-21 | 中国电子科技集团公司第四十一研究所 | Seamless collecting and real-time frequency spectrum monitoring implementation method based on FPGA |
CN112350739A (en) * | 2019-08-06 | 2021-02-09 | 天津光电通信技术有限公司 | Method for acquiring channel signal with variable bandwidth and variable bandwidth channelization system |
US20210096068A1 (en) * | 2019-09-30 | 2021-04-01 | Siemens Aktiengesellschaft | Method and Gas Analyzer for Measuring the Concentration of a Gas Component in a Measurement Gas |
Non-Patent Citations (2)
Title |
---|
李政颖;王洪海;姜宁;程松林;赵磊;余鑫;: "光纤气体传感器解调方法的研究", 物理学报, no. 06 * |
王琳琳;贾明;: "TDLAS技术气体检测二次谐波信号的仿真与分析", 激光杂志, no. 03 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Olhede et al. | A generalized demodulation approach to time-frequency projections for multicomponent signals | |
CN103245832B (en) | Based on harmonic wave time-frequency characteristic method for parameter estimation and the analyser of quick S-transformation | |
Gryllias et al. | Estimation of the instantaneous rotation speed using complex shifted Morlet wavelets | |
CN104898172B (en) | Cross-correlation-based nuclear magnetic resonance full wave signal noise filtering method | |
Li et al. | Research on test bench bearing fault diagnosis of improved EEMD based on improved adaptive resonance technology | |
CN110763903B (en) | Residual current detection method, device and circuit | |
CN104251934B (en) | Harmonic analysis method and device and the method and apparatus for determining clutter between harmonic wave | |
Bruna et al. | Selection of the most suitable decomposition filter for the measurement of fluctuating harmonics | |
CN113740297A (en) | Method, device and equipment for detecting transformer based on ethylene signal and storage medium | |
Ma et al. | An improved intrinsic time-scale decomposition method based on adaptive noise and its application in bearing fault feature extraction | |
CN103543331B (en) | A kind of method calculating electric signal harmonic wave and m-Acetyl chlorophosphonazo | |
CN113890507A (en) | Harmonic extraction method, device and equipment based on phase-locked amplifier and storage medium | |
Liu et al. | Demodulated multisynchrosqueezing S transform for fault diagnosis of rotating machinery | |
CN104678170B (en) | A kind of Electric Power Harmonic Analysis method harmonic analyzer based on harmonic analysis instrument | |
Tarasiuk et al. | DSP instrument for transient monitoring | |
CN104483547B (en) | The filtering method and system of electric power signal | |
CN115031875A (en) | Vibrating wire sensor self-adaptive frequency sweep excitation method and system based on frequency spectrum feedback | |
Costa et al. | Harmonic and interharmonic identification based on improved Prony's method | |
Munteanu et al. | Wavelet analysis in monitoring and diagnosis of power circuit breakers | |
CN116068260A (en) | Method and system for calculating ultra-fine frequency spectrum of sampling signal | |
Wang et al. | A novel time-frequency analysis method for fault diagnosis based on generalized S-transform and synchroextracting transform | |
Wu et al. | A novel denoising method for non‐linear and non‐stationary signals | |
Lv et al. | Research on Decomposition and Identification of Wide-Band Polymorphic Signals in Active Distribution Network Based on Data Decoupling Analysis | |
Barros et al. | A New Harmonic Extraction Method for Estimation of the Reference Compensation Current in Shunt Active Power Filters | |
NP | Analysis of harmonics using wavelet technique. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |