Intermediate relay maloperation preventing device and method based on improved recursive wavelet algorithm
11368011 · 2022-06-21
Assignee
Inventors
- Yigang He (Hubei, CN)
- Jianbo Zhou (Hubei, CN)
- Hui Zhang (Hubei, CN)
- Liulu He (Hubei, CN)
- Weibo Yuan (Hubei, CN)
- Yi Ruan (Hubei, CN)
- Bing Li (Hubei, CN)
Cpc classification
G01R19/2503
PHYSICS
H02H3/05
ELECTRICITY
International classification
H02H3/05
ELECTRICITY
G01R19/257
PHYSICS
G01R31/327
PHYSICS
G01R19/255
PHYSICS
Abstract
An intermediate relay maloperation preventing device and method based on an improved recursive wavelet algorithm is provided. The device includes a power supply module, a voltage sampling circuit, an analog-to-digital conversion module, a DSP chip, and a relay maloperation signal shielding module. The voltage sampling circuit is connected to the analog-to-digital conversion module. The analog-to-digital conversion module is connected to the DSP chip. The DSP chip is connected to and controls a relay signal control module. The voltage sampling circuit collects a voltage. An improved recursive wavelet is used to extract a voltage feature. As such, identification of a fault signal and a normal signal is achieved, and real-time fault monitoring is accomplished. The detection method may be easily implemented, exhibits good filtering performance and anti-interference capability, delivers high detection accuracy, and may accomplish real-time online monitoring of intermediate relay faults.
Claims
1. An intermediate relay maloperation preventing device based on an improved recursive wavelet algorithm, comprising a power supply module and a voltage sampling circuit, an analog-to-digital conversion module, a DSP module, and a relay maloperation signal shielding module connected in sequence, wherein the power supply module is configured to supply power to the voltage sampling circuit, the analog-to-digital conversion module, the DSP module, and the relay maloperation signal shielding module, the voltage sampling circuit samples a terminal voltage of an intermediate relay, the DSP module sends a sampling instruction to the analog-to-digital conversion module, the analog-to-digital conversion module starts sampling according to the sampling instruction, converts a collected voltage analog quantity into a digital signal, and transmits the digital signal to the DSP module, and the DSP module performs a recursive wavelet transform on a signal, compares a feature quantity of a voltage signal with a predetermined fault threshold interval through a recursive wavelet transform valuation, determines a fault type, and sends a control signal through the relay maloperation signal shielding module to shield a relay operation signal, the relay maloperation signal shielding module comprises a digital-to-analog conversion module and a signal amplifier circuit, the digital-to-analog conversion module is connected to the DSP module, and the relay maloperation signal shielding module sends a low electrical level signal when a fault is detected and amplifies the electrical level signal to a same amplitude as the relay operation signal through the signal amplifier circuit.
2. The intermediate relay maloperation preventing device based on the improved recursive wavelet algorithm according to claim 1, wherein the voltage sampling circuit comprises two high-precision sampling resistors connected in series, and the two high-precision sampling resistors connected in series are connected in parallel at two terminals of the intermediate relay.
3. The intermediate relay maloperation preventing device based on the improved recursive wavelet algorithm according to claim 2, wherein the DSP module specifically performs the recursive wavelet transform on the voltage signal after the analog-to-digital conversion, extracts the feature quantity of the voltage signal, compares the feature quantity of the voltage signal with a predetermined threshold interval, and determines the fault type.
4. A method of performing real-time monitoring on a relay maloperation according to the intermediate relay maloperation preventing device based on the improved recursive wavelet algorithm according to claim 2, wherein the method comprises the following step: in step (1), activating the voltage sampling circuit to sample the terminal voltage of the intermediate relay and transmitting a sampled voltage to the analog-to-digital conversion module; in step (2), processing the sampled voltage by using the analog-to-digital conversion module, converting an analog voltage into the digital signal, transmitting the digital signal to the DSP module, going to step (3); in step (3), performing the recursive wavelet transform on the voltage signal after the analog-to-digital conversion and extracting the feature quantity of the voltage signal by the DSP module, going to step (4); in step (4), comparing the feature quantity of the voltage signal with the predetermined fault threshold interval, determining the fault type, wherein it indicates that the relay operates normally if the feature quantity of the voltage signal is greater than a fourth threshold δ.sub.4, going to step (6), otherwise going to step (5); in step (5), wherein the relay shows a high-resistance ground fault if the feature quantity of the voltage signal is greater than or equal to a threshold δ.sub.0 and less than a first threshold δ.sub.1, the relay shows a ground short circuit fault if the feature quantity of the voltage signal is greater than or equal to the first threshold δ.sub.1 and less than a second threshold δ.sub.2, and an alternating current crosstalk fault is presented if the feature quantity of the voltage signal is less than a third threshold −δ.sub.3, going to step (7); wherein valuations of feature values of recursive wavelets in different signals differ greatly, so different thresholds are configured to distinguish fault features, wherein a minimum fault feature quantity is provided through resistor grounding, a fault threshold interval is (δ.sub.0, δ.sub.1), a fault feature value of a metal grounding short circuit is greater a feature value of resistor grounding, the fault threshold interval is [δ.sub.1, δ.sub.2), a feature quantity of an alternating current crosstalk signal is a negative value, an amplitude of the alternating current crosstalk signal is greater than amplitudes of resistor grounding and metal grounding, so the fault threshold interval thereof is configured as [δ.sub.2, δ.sub.3), a normal operation is configured to be greater than δ.sub.4, and a certain margin is provided between δ.sub.3 and δ.sub.4 to satisfy identification between the normal operation and a fault; in step (6), wherein the relay operates normally, a maloperation preventing device takes no measure, and the voltage sampling circuit continues to work; in step (7), sending a shielding signal to shield the relay operation signal and to prevent the relay maloperation, going to step (1) after this step is completed.
5. The method according to claim 4, wherein in step (7), the step of sending the shielding signal by the relay maloperation signal shielding module further comprises: sending a low electrical level signal by the relay maloperation signal shielding module when a fault is detected, amplifying the electrical level signal to a same amplitude as the relay operation signal by a signal amplifier circuit, and pulling down the relay operation signal to prevent the relay maloperation from occurring.
6. The method according to claim 4, wherein in step (1), the step of activating the voltage sampling circuit to sample the terminal voltage of the intermediate relay further comprises: transmitting the sampled voltage on a small resistor in the voltage sampling circuit to the analog-to-digital conversion module.
7. The intermediate relay maloperation preventing device based on the improved recursive wavelet algorithm according to claim 1, wherein the DSP module specifically performs the recursive wavelet transform on the voltage signal after the analog-to-digital conversion, extracts the feature quantity of the voltage signal, compares the feature quantity of the voltage signal with a predetermined threshold interval, and determines the fault type.
8. A method of performing real-time monitoring on a relay maloperation according to the intermediate relay maloperation preventing device based on the improved recursive wavelet algorithm according to claim 1, wherein the method comprises the following step: in step (1), activating the voltage sampling circuit to sample the terminal voltage of the intermediate relay and transmitting a sampled voltage to the analog-to-digital conversion module; in step (2), processing the sampled voltage by using the analog-to-digital conversion module, converting an analog voltage into the digital signal, transmitting the digital signal to the DSP module, going to step (3); in step (3), performing the recursive wavelet transform on the voltage signal after the analog-to-digital conversion and extracting the feature quantity of the voltage signal by the DSP module, going to step (4); in step (4), comparing the feature quantity of the voltage signal with the predetermined fault threshold interval, determining the fault type, wherein it indicates that the relay operates normally if the feature quantity of the voltage signal is greater than a fourth threshold δ.sub.4, going to step (6), otherwise going to step (5); in step (5), wherein the relay shows a high-resistance ground fault if the feature quantity of the voltage signal is greater than or equal to a threshold δ.sub.0 and less than a first threshold δ.sub.1, the relay shows a ground short circuit fault if the feature quantity of the voltage signal is greater than or equal to the first threshold δ.sub.1 and less than a second threshold δ.sub.2, and an alternating current crosstalk fault is presented if the feature quantity of the voltage signal is less than a third threshold −δ.sub.3, going to step (7); wherein valuations of feature values of recursive wavelets in different signals differ greatly, so different thresholds are configured to distinguish fault features, wherein a minimum fault feature quantity is provided through resistor grounding, a fault threshold interval is (δ.sub.0, δ.sub.1), a fault feature value of a metal grounding short circuit is greater a feature value of resistor grounding, the fault threshold interval is [δ.sub.1, δ.sub.2), a feature quantity of an alternating current crosstalk signal is a negative value, an amplitude of the alternating current crosstalk signal is greater than amplitudes of resistor grounding and metal grounding, so the fault threshold interval thereof is configured as [δ.sub.2, δ.sub.3), a normal operation is configured to be greater than δ.sub.4, and a certain margin is provided between δ.sub.3 and δ.sub.4 to satisfy identification between the normal operation and a fault; in step (6), wherein the relay operates normally, a maloperation preventing device takes no measure, and the voltage sampling circuit continues to work; in step (7), sending a shielding signal to shield the relay operation signal and to prevent the relay maloperation, going to step (1) after this step is completed.
9. The method according to claim 8, wherein in step (7), the s of sending the shielding signal by the relay maloperation signal shielding module further comprises: sending a low electrical level signal by the relay maloperation signal shielding module when a fault is detected, amplifying the electrical level signal to a same amplitude as the relay operation signal by a signal amplifier circuit, and pulling down the relay operation signal to prevent the relay maloperation from occurring.
10. The method according to claim 8, wherein in step (1), the step of activating the voltage sampling circuit to sample the terminal voltage of the intermediate relay further comprises: transmitting the sampled voltage on a small resistor in the voltage sampling circuit to the analog-to-digital conversion module.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
(2)
(3)
(4)
(5)
(6)
DESCRIPTION OF THE EMBODIMENTS
(7) The disclosure is further described in detail in combination with accompanying figures and embodiments.
(8) The operational speed of an intermediate relay is usually provided in a microsecond level, so that a maloperation preventing device is required to exhibit good real-time performance. Through a recursive wavelet, a fault of the relay may be determined at 8 sampling points. In this way, the fault may be quickly positioned, and a measure may be taken.
(9) With reference to
(10) The power supply module U01 is configured to supply power to the DSP module U04, the voltage sampling circuit U02, the analog-to-digital conversion module U03, the DSP module, and the relay maloperation signal shielding module U05. In the embodiments of the disclosure, the power supply module U01 may a 5V direct current voltage and a 3.3V direct current voltage for power supply. The 5V direct current voltage is used to power the relay maloperation signal shielding module, and the 3.3V direct current voltage is used to power the DSP module U04 and the analog-to-digital conversion module U03.
(11) The voltage sampling circuit U02 is connected to the analog-to-digital conversion module U03. The analog-to-digital conversion module U03 is connected to the DSP module U04. The DSP module U04 is connected to the relay maloperation signal shielding module U05.
(12) The voltage sampling circuit U02 samples a terminal voltage of an intermediate relay. The DSP module U04 sends a sampling instruction to the analog-to-digital conversion module U03, and the analog-to-digital conversion module U03 receives the instruction and starts sampling. The analog-to-digital conversion module U03 converts a collected voltage analog quantity into a digital signal and transmits the digital signal to the DSP module U04. The DSP module performs a recursive wavelet transform on a signal, determines a fault type through an amplitude of the recursive wavelet transform, and sends a control signal through the relay maloperation signal shielding module U05 to shield a relay operation signal.
(13) With reference to
(14) With reference to
(15) With reference to
(16) With reference to
(17) With reference to
(18) In step (1), the terminal voltage of the relay is divided through a voltage-dividing resistor in the voltage sampling circuit U02. The terminal voltage of the resistor U021 having a smaller voltage divider resistance is used for sampling an analog-to-digital conversion module voltage. A terminal voltage amplitude of the relay is:
(19)
where U.sub.0 is a relay terminal voltage, U.sub.R, is a sampling resistor voltage, R.sub.1 is a sampling resistance, and R.sub.2 is a voltage divider resistance.
(20) In step (2), the DSP module U04 sends a sampling instruction to the analog-to-digital conversion module U03. The analog-to-digital conversion module U03 receives the sampling instruction, samples the relay terminal voltage, sends a collected voltage signal to the DSP module U04 after analog-to-digital conversion, and goes to step (3).
(21) In step (3), an improved recursive wavelet transform is performed on the signal in the DSP module U04, an amplitude of the recursive wavelet is obtained, and step (4) is then performed.
(22) The improved recursive wavelet transform is:
(23) An expression of a mother wavelet of the recursive wavelet is:
(24)
(25) In order to make the mother wavelet meet an allowable condition, let
(26)
Herein, η=2π/√{square root over (3)}, where ω.sub.0 is a signal frequency, η is a coefficient of Newton-Cortez formula, and u(t) is a step function. A wavelet scale factor α is added, a Fourier transform is performed, and the following is obtained:
(27)
(28) Discretization is performed on the wavelet. T is a sampling cycle. A translation parameter k is introduced. A discrete sequence convolution is detected through formula (5) to obtain:
(29)
Z transforms performed to formula (3) include:
(30)
In the formulas, η.sub.i and λ.sub.j are corresponding Z transform coefficients.
An improved fast recursive wavelet transform formula is:
(31)
(32) Through the recursive wavelet transforms performed through formulas (1) to (4), a recursive wavelet amplitude is obtained, and such amplitude is U.sub.IRTW.
(33) In step (4), values of a recursive wavelet amplitude U.sub.IRWT_MAX (referring to a maximum recursive wavelet value to be achieved by sampling data, and if the maximum value reaches a threshold interval, it may be determined that whether a maloperation occurs) and a threshold of a normal operation are determined, and if U.sub.IRWT_MAX>δ.sub.4, step (5) is performed; otherwise, step (7) is performed.
(34) The threshold in step (4) is defined by detecting an operation voltage of the relay. 50% to 70% of a relay fault voltage is treated as a threshold voltage. First, a relay normal operation recursive wavelet voltage amplitude U.sub.IRTW_S (a standard recursive wavelet value calculated through the rated voltage, configured to calculate a fault interval to obtain the fault threshold interval) is obtained through a relay rated voltage U0 and formulas (1) to (4). Generally, a high-resistance ground fault amplitude is 50% to 70% of the U.sub.IRTW_S. A short circuit fault is 80% to 90% of the U.sub.IRTW_S, and alternating current crosstalk is −150% of the U.sub.IRTW_S.
(35) In step (5), the recursive wavelet amplitude and a fault recursive wavelet amplitude are compared to determine a fault type.
(36) Further, if the threshold is greater than or equal to δ.sub.0 and less than δ.sub.1, the relay shows a high-resistance ground fault. If the threshold is greater than or equal to δ.sub.1 and less than δ.sub.2, the relay shows a ground short circuit fault. If the threshold is less than −δ.sub.3, the fault is alternating current crosstalk. δ.sub.0 is 50% to 70% of U.sub.IRTW_S (recursive wavelet normal voltage amplitude), δ.sub.1 is 80% to 90% of U.sub.IRTW_S, δ.sub.3 is 100% of U.sub.IRTW_S, and δ.sub.4 is −150% of U.sub.IRTW_S.
(37) In step (6), the relay maloperation signal shielding module U05 sends a shielding signal, pulls down a relay operation signal, and prevents a maloperation of the relay. Step (1) is performed again to continue sampling.
(38) Step (7) is completed, and step (8) is then performed.
(39) Step (8) ends.
(40) In view of the foregoing, compared to the related art, advantages of the disclosure includes the following.
(41) (1) The device provided by the disclosure exhibits a good anti-interference characteristic and may work in a complex environment.
(42) (2) In the disclosure, a signal is processed through the DSP, so that real-time performance is provided, and quickness of a relay is thereby satisfied.
(43) (3) The maloperation preventing device imposes no impact on a system when a relay operation is not detected, and favorable security is thereby provided.
(44) It should be noted that in the specification, relational terms such as up and down are only used to indicate the distinction between an entity or operation and another entity or operation, and do not necessarily require or imply the relationship or order between these entities or operations. Moreover, the terms “comprising”, “including”, or other variations are intended to cover non-exclusive inclusions.
(45) The following illustrations are simply some preferred embodiments of the disclosure and should not be used to limit the protection scope of the disclosure. Any modifications, equivalent replacements, and modifications made without departing from the spirit and principles of the disclosure should fall within the protection scope of the disclosure.
(46) It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.