A software and hardware collaborative spark detection circuit and method
Through the dual detection and delay processing of current and voltage of the spark detection circuit through software and hardware collaboration, the problem of missed detection and false detection of spark flashover detection in the existing technology is solved, the timeliness and accuracy of detection are improved, and the circuit's reliability is enhanced. Anti-interference ability and stability.
Patent Information
- Application Number
- CN202110527862.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-05-14
AI Technical Summary
Existing spark flashover detection technology has problems of missed detection and false detection, especially when small sparks or interference signals exist, leading to equipment damage and safety hazards.
It adopts software and hardware collaborative spark detection circuit, including current comparison module, voltage comparison module, logic AND module, isolation module and control module. Through dual detection and delay processing of current and voltage, it avoids missed detection and false detection and improves the timeliness of detection. sex and accuracy.
It achieves timely and accurate detection of spark flashover signals, reduces the possibility of missed detection and false detection, and improves the anti-interference ability and stability of the circuit.
Smart Images

Figure CN113075518B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrostatic dust removal, and more specifically, to a software-hardware coordinated spark detection circuit and method. Background Art
[0002] Spark flashover refers to a discharge phenomenon that occurs between the cathode and anode in an electric field. Its occurrence is accompanied by a rapid rise in current and a rapid drop in voltage. In order to ensure the dust removal efficiency of the electrostatic precipitator, the detection of spark flashover signals is crucial in the system that controls power output. When spark flashover occurs, if the spark flashover signal is not detected, the continuous output power will cause arcing, which will cause equipment damage or even safety accidents.
[0003] At present, the existing spark flashover detection technologies, such as Figure 1 As shown, its secondary current sampling signal is first buffered by an operational amplifier current follower, and then connected to the negative input terminal of the current comparator. The positive input terminal of the current comparator is connected to an adjustable comparison level. When a spark flashover occurs, the secondary current overshoot characteristic during spark flashover is utilized. When the negative input terminal of the comparator is greater than the positive input terminal, a negative pulse width is generated and input to the CPU. The CPU detects the spark flashover signal to control the output disconnection. However, the above scheme uses a fixed level and a real-time changing secondary current comparison. The comparison level is manually adjusted by a potentiometer. After adjustment, it often does not change during actual operation. When a small spark occurs, or the comparison level is adjusted too high by manual operation, the secondary current peak value during flashover does not exceed the comparison level, which will lead to missed spark detection. At the same time, when a spark is detected, the negative pulse output by the comparator is not delayed. The interference signal on site may cause spark misdetection or the microcontroller cannot detect the spark flashover signal in time, thereby leading to missed detection. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a software-hardware collaborative spark detection circuit and method, which has the advantages of timeliness, accuracy, and high prevention of missed detection or false detection of spark flashover signals.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A software and hardware collaborative spark detection circuit and method, comprising a current comparison module, a voltage comparison module, a logic module, an isolation module and a control module, wherein a first delay module is connected between the logic module and the current comparison module, a second delay module is connected between the logic module and the voltage comparison module, and an input and output end of the isolation module are respectively connected to the output end of the logic module and the input end of the control module;
[0007] The current comparison module includes a current comparator, an inductor group L1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer RP1, a voltage regulator diode D1, a capacitor C1, a capacitor C2 and a capacitor C3; the output end of the inductor group L1 and the negative input end of the current comparator are connected through the resistor R1; the resistor R2 is connected in parallel with the capacitor C1, and the two nodes thereof are connected to the ground and the output end of the resistor R1 respectively; the anode of the voltage regulator diode D1 is connected to the output end of the resistor R1; the input end of the potentiometer RP1 is connected to a 12V power supply and is connected to the cathode of the voltage regulator diode D1, the positive input end of the current comparator is connected to the output end of the potentiometer RP1 through the resistor R3, and the two ends of the capacitor C2 are connected to the ground and the output end of the potentiometer RP1 respectively; the capacitor C3 is connected in parallel with the resistor R4, and one node thereof is connected to the 12V power supply, and the other node is connected to the output end of the current comparator and the input end of the first delay module; the positive input and output ends of the current comparator are connected to capacitors C12 and C13 respectively;
[0008] The voltage comparison module includes a voltage comparator, an inductor group L2, a resistor R5, a resistor R6, a resistor R7, a potentiometer RP2, a voltage zener diode D2, a capacitor C4 and a capacitor C5; the output end of the inductor group L2, the resistor R5, the resistor R6, the potentiometer RP2 and the negative input end of the voltage comparator are connected in sequence; the input end and the output end of the resistor R6 are respectively connected to the negative input end and the positive input end of the voltage comparator, the anode of the voltage zener diode D2 is grounded, the cathode of the voltage zener diode D2 is connected to the resistor R5, and the anode of the voltage zener diode D2 is connected to the output end of the inductor group L2; the two ends of the capacitor C4 are respectively connected to the ground and the negative input end of the voltage comparator; the capacitor C5 is connected in parallel with the resistor R7, and one of its nodes is connected to a 12V power supply, and the other node is connected to the output end of the voltage comparator and the input end of the second delay module, and the positive input and output ends of the voltage comparator are respectively connected to capacitors C14 and C15;
[0009] The first delay module includes a first monostable trigger, a resistor R8, a resistor R9 and a resistor R10; the second pin and the ninth pin of the first monostable trigger are connected through the resistor R8; the seventh pin of the first monostable trigger is connected to the resistor R9, and the third pin of the first monostable trigger and the resistor 9 are respectively connected to the two input ends of the logic and module; the sixth pin and the ninth pin of the first monostable trigger are respectively connected to the capacitor C8 and the capacitor C7, both of which have one end connected to the ground, and the first pin and the eighth pin thereof are both grounded; the capacitor C6 is connected between the first pin and the second pin of the first monostable trigger; the ninth pin of the first monostable trigger is connected to the capacitor C7 and connected to a 12V power supply, and the output end of the resistor R4 is connected to the fifth pin of the first monostable trigger through the resistor R10.
[0010] Further configuration: the second delay module includes a second monostable trigger, a resistor R11, a resistor R12, a resistor R13 and a capacitor C10 with one end grounded; the 6th pin of the second monostable trigger is connected to the resistor R12; the 4th pin of the second monostable trigger, the input end of the resistor R11 and the other end of the capacitor C10 are connected in sequence, and the node of the resistor R11 and the capacitor C10 is connected to a 12V power supply; the 7th pin of the second monostable trigger is connected to the capacitor C11 with one end both grounded, and its 5th pin is grounded; a capacitor C9 is connected between the 4th pin and the 5th pin of the second monostable trigger; the 3rd pin of the second monostable trigger and the resistor 12 are respectively connected to the two input ends of the logic and module; the output end of the resistor R7 is connected to the 1st pin of the first monostable trigger through the resistor R13.
[0011] Further configuration: the logic and module is a logic chip U3; an input end of the logic chip U3 is connected to the third pin of the first monostable trigger, and its node is connected to the resistor R12; the other input end of the logic chip U3 is connected to the third pin of the second monostable trigger, and its node is connected to the resistor R9.
[0012] It is further configured that: the isolation module is a photoelectric coupling circuit, and the photoelectric coupling circuit is connected to a light emitting diode SPK1 for displaying and detecting a spark flashover signal.
[0013] Further configuration: an analog-to-digital conversion circuit is provided in the control module, and the analog-to-digital conversion circuit includes a resistor R17, a resistor R18, a voltage-stabilizing diode D3, a first op amp voltage follower, a potentiometer RP3, a resistor R19, a second op amp voltage follower and a resistor R20, wherein the output end of the resistor R17 is connected to the positive input end of the first op amp voltage follower, and the negative input end of the first op amp voltage follower is connected to the output end; the resistor R18 is connected in series with the voltage-stabilizing diode D3 and in parallel with the resistor R17; the output end of the first op amp voltage follower, the potentiometer RP3, the resistor R19, and the positive input end of the second op amp voltage follower are connected in sequence, the resistor R20 is connected to the output end of the second op amp voltage follower, and the negative input end of the second op amp voltage follower is connected to the output end; a grounded capacitor C16 is connected to the node between the positive input end of the second op amp voltage follower and the resistor R19.
[0014] A software-hardware collaborative spark detection method includes the following detection steps:
[0015] Step 1: Compare the secondary voltage and secondary current of the electric field inside the electrostatic precipitator with the comparison levels in the voltage comparison module and the current comparison module respectively to obtain a low level;
[0016] Step 2: The falling edge signals generated by the current comparison module and the voltage comparison module trigger the corresponding first monostable trigger and the second monostable trigger respectively, and output a negative pulse with a delay of 1.5ms to ensure that the control module responds to the spark flashover signal while preventing the control module from misdetecting;
[0017] Step 3: In step 2, the first monostable trigger and the second monostable trigger are mutually blocked. When one of the paths detects the spark flashover signal first, the other path is blocked to prevent the spark flashover signal from being detected repeatedly.
[0018] Step 4: The detected spark flashover signal is logically and transported through the logic module, and is isolated by the photoelectric coupler for collection by the control module. When the spark flashover signal is detected, SPK1 is visually displayed through the light emitting diode;
[0019] Step 5. While steps 1 to 4 are being performed, the average value of the secondary voltage is calculated by an analog-to-digital conversion circuit to form a mean curve. The slope of the secondary voltage mean curve drop during flashover is calculated and compared with the threshold slope. When the slope is greater than the threshold slope, it is determined to be a spark flashover.
[0020] To sum up, the present invention uses the characteristics of voltage and current changes during spark flashover to simultaneously detect spark flashover on the secondary current overshoot and secondary voltage through the current comparison module, the voltage comparison module, the logic module, the isolation module and the control module. When either the current comparison module or the voltage comparison module detects the spark, it can be determined that the spark is generated, and the spark flashover signals of the current and voltage comparison modules are delayed accordingly, thereby avoiding missed detection and false detection of spark flashover, preventing missed detection, and improving the accuracy and real-time performance of detecting spark flashover signals. The present invention adopts hardware and software collaborative control, and the software and hardware monitor spark flashover in real time, avoiding missed detection and false detection caused by excessive adjustment of the comparison level threshold or low-energy sparks or no delay processing, greatly improving the timeliness and accuracy of spark flashover signal detection, the anti-interference ability of the circuit and the stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a partial circuit diagram of the existing spark flashover detection;
[0022] Figure 2 is an overall circuit diagram of an embodiment of the present invention;
[0023] Figure 3 is a circuit diagram of an analog-to-digital conversion circuit in an embodiment of the present invention;
[0024] Figure 4 is a circuit diagram of a secondary current detection branch in an embodiment of the present invention;
[0025] Figure 5 A circuit diagram of a secondary voltage detection branch, a logic AND module, and an isolation module in an embodiment of the present invention;
[0026] Figure 6 is a process flow chart of an embodiment of the present invention;
[0027] Figure 7 is a curve diagram of the change of the secondary voltage mean value in an embodiment of the present invention;
[0028] Figure 8 4 is a curve diagram of the secondary current change in the embodiment of the present invention.
[0029] In the figure: 1. Secondary voltage detection branch; 2. Secondary current detection branch; 3. Current comparison module; 4. Voltage comparison module; 5. Logic and module; 6. Isolation module; 7. Control module; 8. First delay module; 9. Second delay module; 10. Analog-to-digital conversion circuit; a. Current comparator; b. Voltage comparator; c. First monostable trigger; d. Second monostable trigger; e. First op amp voltage follower; d. Second op amp voltage follower. DETAILED DESCRIPTION
[0030] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0031] The most critical concept of the present invention is: through the current comparison module 3, the voltage comparison module 4, the logic module 5, the isolation module 6 and the control module 7, the secondary current overshoot and the secondary voltage are simultaneously detected. When any one of the current comparison module 3 and the voltage comparison module 4 detects the spark, it can be judged that the spark is generated, and the spark flashover signal is delayed accordingly, thereby avoiding missed detection and false detection of spark flashover, playing a role in preventing missed detection and improving the accuracy and real-time performance of detecting spark flashover signals; in terms of software, the analog-to-digital conversion circuit 10 is used to calculate the average value of the secondary voltage to form a secondary voltage mean curve. When the spark flashes over, the average value of the secondary voltage decreases, and the slope of the secondary voltage mean curve is judged; when the circuit is actually used, it is strong and has stable and reliable performance;
[0032] The present invention adopts hardware and software collaborative control, and the software and hardware monitor the spark flashover in real time, avoiding missed detection and false detection caused by excessive adjustment of the comparison level threshold or low-energy sparks or no delay processing, and greatly improving the timeliness and accuracy of spark flashover signal detection, the anti-interference ability of the circuit and the stability.
[0033] Please refer to Figures 2 to 8As shown, a software and hardware collaborative spark detection circuit includes a current comparison module 3, a voltage comparison module 4, a logic module 5, an isolation module 6 and a control module 7, a first delay module 8 is connected between the logic module 5 and the current comparison module 3, a second delay module 9 is connected between the logic module 5 and the voltage comparison module 4, and the input and output ends of the isolation module 6 are respectively connected to the output end of the logic module 5 and the input end of the control module 7;
[0034] The current comparison module 3 includes a current comparator a, an inductor group L1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer RP1, a voltage-stabilizing diode D1, a capacitor C1, a capacitor C2 and a capacitor C3; the output end of the inductor group L1 is connected to the negative input end of the current comparator a through the resistor R1; the resistor R2 is connected in parallel with the capacitor C1, and the two nodes thereof are connected to the ground and the output end of the resistor R1 respectively; the anode of the voltage-stabilizing diode D1 is connected to the output end of the resistor R1; the input end of the potentiometer RP1 is connected to a 12V power supply and is connected to the cathode of the voltage-stabilizing diode D1, the positive input end of the current comparator a is connected to the output end of the potentiometer RP1 through the resistor R3, and the two ends of the capacitor C2 are connected to the ground and the output end of the potentiometer RP1 respectively; the capacitor C3 is connected in parallel with the resistor R4, and one node thereof is connected to the 12V power supply, and the other node is connected to the output end of the current comparator a and the input end of the first delay module 8;
[0035] The voltage comparison module 4 includes a voltage comparator b, an inductor group L2, a resistor R5, a resistor R6, a resistor R7, a potentiometer RP2, a voltage zener diode D2, a capacitor C4 and a capacitor C5; the output end of the inductor group L2, the resistor R5, the resistor R6, the potentiometer RP2 and the negative input end of the voltage comparator b are connected in sequence; the input end and the output end of the resistor R6 are respectively connected to the negative input end and the positive input end of the voltage comparator b, the anode of the voltage zener diode D2 is grounded, the cathode of the voltage zener diode D2 is connected to the resistor R5, and the anode of the voltage zener diode D2 is connected to the output end of the inductor group L2; the two ends of the capacitor C4 are respectively connected to the ground and the negative input end of the voltage comparator b; the capacitor C5 is connected in parallel with the resistor R7, and one of its nodes is connected to the 12V power supply, and the other node is connected to the output end of the voltage comparator b and the input end of the second delay module 9.
[0036] From the above description, it can be seen that when the secondary current signal enters the current comparison module 3, the secondary current first passes through the inductor group L1, the resistor R1, the resistor R2 and the capacitor C1, which plays the role of rectifying and filtering the secondary current, and at the same time improves the anti-interference ability and stability of the circuit; then, the secondary current enters from the negative input end of the current comparator a, and provides an adjustable comparison level signal for the positive input end of the current comparator a through the potentiometer RP1, the resistor R3 and the capacitor C2; when the secondary current signal received by the negative input end of the current comparator a is greater than the comparison level signal, the current comparator a outputs a low level, and the resistor R4 and the capacitor C3 are connected in parallel to form a low-pass filter to reduce output noise, facilitate the provision of a stable output voltage, and play a role in ensuring that the output end of the comparator is at a high level when there is no spark flashover signal; thereafter, through the first delay module 8, a timed 1.5ms negative pulse is made for the spark flashover signal at the output end of the current comparison module 3, so as to realize the detection and delay of the spark flashover signal through the secondary current;
[0037] At the same time, when the secondary voltage signal enters the voltage comparison module 4, the secondary voltage signal is first divided by resistors R5, R6 and potentiometer RP2, and then connected to the positive and negative input terminals of the voltage comparator b respectively. When the secondary voltage signal connected to the negative input terminal of the voltage comparator b is smaller than the secondary voltage signal at the positive input terminal, the negative input terminal of the voltage comparator b is connected to capacitor C4; when there is no spark flashover signal, a low-pass filter is formed by connecting resistor R7 and capacitor C5 in parallel to reduce output noise. Resistor R7 is clamped at a high level to provide a stable output voltage, which ensures that the output terminal of the comparator is at a high level when there is no spark flashover signal; when a spark flashover occurs, the secondary voltage drops rapidly. Due to the voltage comparison The negative input terminal of the comparator b is connected with a capacitor, and the voltage across the capacitor cannot change suddenly. The voltage at the negative input terminal is greater than the capacitor C4 at the positive input terminal, and the voltage comparator b outputs a low level, thereby realizing the function of automatically and accurately detecting whether there is a spark flashover signal; afterwards, through the second delay module 9, a timed 1.5ms negative pulse is made for the spark flashover signal at the output terminal of the voltage comparison module 4, so as to realize the function of detecting and delaying the spark flashover signal through the secondary current; finally, the secondary current and the negative pulse signal output by the secondary second delay module 9 successively pass through the logic and module 5, and output the SPK low level signal into the control module 7 through the isolation module 6, which improves the timeliness and accuracy of the spark flashover signal detection;
[0038] The present invention adopts dual spark detection of secondary current and secondary voltage. The generation of spark can be determined when either of them detects spark. At the same time, a corresponding delay is made on the detected pulse signal to ensure that each flashover signal can be responded to, thereby reducing the possibility of false detection of spark flashover and greatly improving the timeliness, accuracy, anti-interference ability and performance stability of spark flashover signal detection.
[0039] Further: the first delay module 8 includes a first monostable trigger c, a resistor R8, a resistor R9 and a resistor R10; the second pin and the ninth pin of the first monostable trigger c are connected through the resistor R8; the seventh pin of the first monostable trigger c is connected to the resistor R9, and the third pin of the first monostable trigger c and the resistor 9 are respectively connected to the two input ends of the logic and module 5; the sixth pin and the ninth pin of the first monostable trigger c are respectively connected to the capacitor C8 and the capacitor C7, both of which have one end connected to the ground, and the first pin and the eighth pin thereof are both grounded; the capacitor C6 is connected between the first pin and the second pin of the first monostable trigger c; the ninth pin of the first monostable trigger c is connected to the capacitor C7 and connected to a 12V power supply, and the output end of the resistor R4 is connected to the fifth pin of the first monostable trigger c through the resistor R10.
[0040] From the above description, it can be seen that when a spark flashover occurs, the low level at the output end of the current comparison module 3 first enters the first monostable trigger c through the 5th pin of the first monostable trigger c, that is, the falling edge trigger end, and through the resistor R8 and the capacitor C6, the low level triggers the 7th pin of the first monostable trigger c, that is, the Q end to output a timed negative pulse of 1.5ms. After that, the negative pulse enters the logic and module 5 after passing through the resistor 9, thereby realizing relative delay processing of the pulse signal detected by the secondary current, ensuring that each flashover signal can be responded to, and avoiding the effects of missed detection and false detection; in addition, through the capacitor C7, it is used to stabilize the 12V power supply connected to the 9th pin of the first monostable trigger c and the node of the capacitor C7.
[0041] Further: the second delay module 9 includes a second monostable trigger d, a resistor R11, a resistor R12, a resistor R13 and a capacitor C10 with one end grounded; the 6th pin of the second monostable trigger d is connected to the resistor R12; the 4th pin of the second monostable trigger d, the input end of the resistor R11 and the other end of the capacitor C10 are connected in sequence, and the node of the resistor R11 and the capacitor C10 is connected to a 12V power supply; the 7th pin of the second monostable trigger d is connected to the capacitor C11 with one end both grounded, and its 5th pin is grounded; a capacitor C9 is connected between the 4th pin and the 5th pin of the second monostable trigger d; the 3rd pin of the second monostable trigger d and the resistor 12 are respectively connected to the two input ends of the logic and module 5; the output end of the resistor R7 is connected to the 1st pin of the first monostable trigger c through the resistor R13.
[0042] From the above description, it can be seen that when a spark flashover occurs, the low level at the output end of the voltage comparison module 4 first enters the second monostable trigger d through the first pin of the second monostable trigger d, that is, the falling edge trigger end, and through the resistor R11 and the capacitor C9, the low level triggers the 9th pin of the second monostable trigger d, that is, the Q end to output a timed negative pulse of 1.5ms. After that, the negative pulse enters the other input end of the logic and module 5 after passing through the resistor 12, thereby realizing relative delay processing of the pulse signal detected by the secondary voltage, ensuring that each flashover signal can be responded to, and avoiding missed detection and false detection; in addition, through the capacitor C10, it is used to stabilize the 12V power supply connected to the node of the resistor R11 and the capacitor C10.
[0043] Further: the logic and module 5 is a logic chip U3; an input end of the logic chip U3 is connected to the third pin of the first monostable trigger c, and its node is connected to the resistor R12; the other input end of the logic chip U3 is connected to the third pin of the second monostable trigger d, and its node is connected to the resistor R9.
[0044] From the above description, it can be seen that since the output of the first monostable trigger c, i.e., its 7th pin, is connected to the CLR end of the second monostable trigger d, i.e., the 3rd pin, and the output of the second monostable trigger d, i.e., the 9th pin, is connected to the CLR end of the first monostable trigger c, i.e., the 3rd pin, when one of the above two triggers detects the spark flashover signal first, the other is blocked, which avoids causing a spark signal to be detected repeatedly and improves the timeliness of the spark flashover signal detection.
[0045] Furthermore: the positive input and output terminals of the current comparator a are connected to capacitors C12 and C13 respectively; the positive input and output terminals of the voltage comparator b are connected to capacitors C14 and C15 respectively.
[0046] From the above description, it can be seen that by connecting C12 and capacitor C13 at the positive input and output ends of current comparator a, the power supply voltage of the current comparator a chip is stabilized and the drift of the current comparator a is balanced, thereby reducing the unstable performance of the chip caused by the voltage fluctuation of the current comparator a chip; by connecting C14 and capacitor C15 at the positive input and output ends of voltage comparator b, the power supply voltage of the current comparator a chip is stabilized and the drift of the current comparator b is balanced, thereby reducing the unstable performance of the chip caused by the voltage fluctuation of the current comparator a chip; thereby further improving the overall anti-interference and stability.
[0047] Further: the isolation module 6 is a photoelectric coupling circuit, and the photoelectric coupling circuit is connected to a light emitting diode SPK1 for displaying and detecting spark flashover signals.
[0048] From the above description, it can be seen that the negative pulse signal of the secondary current and the secondary voltage output by the delay module passes through the logic module 5, and then outputs the SPK low-level signal into the control module 7 through the photoelectric coupler N1 in the photoelectric coupling circuit. At the same time, the flashover signal is displayed through the LED light-emitting diode, thereby further ensuring the timeliness and accuracy of the spark flashover signal detection.
[0049] Further: an analog-to-digital conversion circuit 10 is provided in the control module 7, and the analog-to-digital conversion circuit 10 includes a resistor R17, a resistor R18, a voltage-stabilizing diode D3, a first operational amplifier voltage follower e, a potentiometer RP3, a resistor R19, a second operational amplifier voltage follower d and a resistor R20, wherein the output end of the resistor R17 is connected to the positive input end of the first operational amplifier voltage follower e, and the negative input end of the first operational amplifier voltage follower e is connected to the output end; the resistor R18 is connected in series with the voltage-stabilizing diode D3 and in parallel with the resistor R17; the output end of the first operational amplifier voltage follower e, the potentiometer RP3, the resistor R19, and the positive input end of the second operational amplifier voltage follower d are connected in sequence, the resistor R20 is connected to the output end of the second operational amplifier voltage follower d, and the negative input end of the second operational amplifier voltage follower d is connected to the output end; the node between the positive input end of the second operational amplifier voltage follower d and the resistor R19 is connected to a grounded capacitor C16.
[0050] From the above description, it can be seen that the secondary voltage signal is first divided by resistors R17 and R18, and 1 / 2 of the secondary voltage signal is taken and buffered by the first operational amplifier voltage follower e, and then the potentiometer RP3 is used to adjust the input amount of the buffered secondary voltage signal. Through the capacitor C16, the secondary voltage mean sampling is used to filter out ripples; after that, the secondary voltage is buffered by the second operational amplifier voltage follower d and input into the external analog-to-digital conversion module ACH0 channel, and the secondary voltage average value is calculated to form a smooth average curve. When the secondary voltage mean drops rapidly, the software calculates the voltage drop slope. When the drop slope is greater than the set threshold, it is determined that a spark flashover has occurred, thereby further avoiding missed detection and false detection, and improving the timeliness and accuracy of spark flashover signal detection.
[0051] Using the built-in analog-to-digital conversion module of the microcontroller, the software calculates the average value of the secondary voltage to form a smooth average curve. When the secondary voltage average drops rapidly, the software calculates the voltage drop slope. When the drop slope is greater than the set threshold, it is determined that a spark flashover has occurred.
[0052] A software-hardware collaborative spark detection method includes the following detection steps:
[0053] Step 1: Compare the secondary voltage and secondary current of the electric field inside the electrostatic precipitator with the comparison levels in the voltage comparison module 4 and the current comparison module 3 respectively to obtain a low level;
[0054] Step 2: The falling edge signals generated by the current comparison module 3 and the voltage comparison module 4 trigger the corresponding first monostable trigger c and the second monostable trigger d respectively, and output a negative pulse with a delay of 1.5ms to ensure that the control module 7 responds to the spark flashover signal while preventing the control module 7 from misdetecting;
[0055] Step 3: In step 2, the first monostable trigger c and the second monostable trigger d are mutually blocked. When one of the paths detects the spark flashover signal first, the other path is blocked to prevent the spark flashover signal from being detected repeatedly.
[0056] Step 4: The detected spark flashover signal is logically transported through the logic module 5, and is isolated by the photoelectric coupler for collection by the control module 7. When the spark flashover signal is detected, SPK1 is visually displayed through the light emitting diode;
[0057] Step 5. While steps 1 to 4 are being performed, the average value of the secondary voltage is calculated by the analog-to-digital conversion circuit 10 to form a mean curve. The slope of the secondary voltage mean curve drop during flashover is calculated and compared with the threshold slope. When the slope is greater than the threshold slope, it is determined to be a spark flashover.
[0058] From the above description, it can be seen that by adopting hardware and software collaborative control, the characteristics of voltage and current changes during spark flashover are fully utilized, and the hardware and software are collaboratively controlled; the hardware also dually detects the spark flashover signal from the perspective of voltage and current at the same time, and at the same time, a spark flashover pulse signal delay is added after the voltage comparison module 4 and the current comparison module 3. The two delay modules block each other, ensuring that each spark flashover signal is not missed, will not be repeatedly detected, and avoids false detection caused by interference; the software uses the analog-to-digital conversion circuit 10 to calculate the secondary voltage mean to form a secondary voltage mean curve. The secondary voltage mean decreases during spark flashover. By judging the slope of the secondary voltage mean curve drop, the spark flashover is judged from the software perspective; compared with the existing detection circuit, it avoids missed detection caused by excessive adjustment of the comparison level threshold, missed detection during low-energy sparks, and missed detection and false detection of pulse signals that are not detected by the single-chip microcomputer without signal delay. The hardware and software collaborative control and dual detection on the hardware greatly improve the timeliness and accuracy of spark flashover signal detection.
[0059] Reference Figures 2 to 6 , the embodiments provided by the present invention are:
[0060] A software and hardware coordinated spark detection circuit, such as Figure 2 and Figure 6As shown, it includes a secondary voltage detection branch 1, a secondary current detection branch 2, a logic and module 5, an isolation module 6 and a control module 7. The secondary current detection branch 2 includes a current comparison module 3 and a first delay module 8. The secondary voltage detection branch 1 includes a voltage comparison module 4 and a second delay module 9. The logic and module 5 and the current comparison module 3 are connected through the first delay module 8, and the logic and module 5 and the voltage comparison module 4 are connected through the second delay module 9. The input and output ends of the isolation module 6 are respectively connected to the output end of the logic and module 5 and the input end of the control module 7;
[0061] like Figure 2 and Figure 4 As shown, the current comparison module 3 includes a current comparator a, an inductor group L1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer RP1, a voltage regulator diode D1, a capacitor C1, a capacitor C2 and a capacitor C3; the output end of the inductor group L1 and the negative input end of the current comparator a are connected through the resistor R1; the resistor R2 is connected in parallel with the capacitor C1, and the two nodes thereof are connected to the ground and the output end of the resistor R1 respectively; the anode of the voltage regulator diode D1 is connected to the output end of the resistor R1; the input end of the potentiometer RP1 is connected to the 12V power supply and the cathode of the voltage regulator diode D1, the positive input end of the current comparator a is connected to the output end of the potentiometer RP1 through the resistor R3, and the two ends of the capacitor C2 are connected to the ground and the output end of the potentiometer RP1 respectively; the capacitor C3 is connected in parallel with the resistor R4, and one of its nodes is connected to the 12V power supply, and the other node is connected to the output end of the current comparator a and the input end of the first delay module 8.
[0062] like Figure 2 and Figure 5 As shown, the voltage comparison module 4 includes a voltage comparator b, an inductor group L2, a resistor R5, a resistor R6, a resistor R7, a potentiometer RP2, a voltage zener diode D2, a capacitor C4 and a capacitor C5; the output end of the inductor group L2, the resistor R5, the resistor R6, the potentiometer RP2 and the negative input end of the voltage comparator b are connected in sequence; the input end and the output end of the resistor R6 are respectively connected to the negative input end and the positive input end of the voltage comparator b, the anode of the voltage zener diode D2 is grounded, the cathode of the voltage zener diode D2 is connected to the resistor R5, and the anode of the voltage zener diode D2 is connected to the output end of the inductor group L2; the two ends of the capacitor C4 are respectively connected to the ground and the negative input end of the voltage comparator b; the capacitor C5 is connected in parallel with the resistor R7, and one of its nodes is connected to the 12V power supply, and the other node is connected to the output end of the voltage comparator b and the input end of the second delay module 9.
[0063] like Figure 2 and Figure 4As shown, the first delay module 8 includes a first monostable trigger c, a resistor R8, a resistor R9 and a resistor R10; the second pin and the ninth pin of the first monostable trigger c are connected through the resistor R8; the seventh pin of the first monostable trigger c is connected to the resistor R9, and the third pin of the first monostable trigger c and the resistor 9 are respectively connected to the two input ends of the logic and module 5; the sixth pin and the ninth pin of the first monostable trigger c are respectively connected to the capacitor C8 and the capacitor C7 both of which have one end connected to the ground, and the first pin and the eighth pin thereof are both grounded; the capacitor C6 is connected between the first pin and the second pin of the first monostable trigger c; the ninth pin of the first monostable trigger c is connected to the capacitor C7 and the 12V power supply, and the output end of the resistor R4 is connected to the fifth pin of the first monostable trigger c through the resistor R10.
[0064] like Figure 2 and Figure 5 As shown, the second delay module 9 includes a second monostable trigger d, a resistor R11, a resistor R12, a resistor R13 and a capacitor C10 with one end grounded; the 6th pin of the second monostable trigger d is connected to the resistor R12; the 4th pin of the second monostable trigger d, the input end of the resistor R11 and the other end of the capacitor C10 are connected in sequence, and the node of the resistor R11 and the capacitor C10 is connected to a 12V power supply; the 7th pin of the second monostable trigger d is connected to the capacitor C11 with one end both grounded, and its 5th pin is grounded; the capacitor C9 is connected between the 4th pin and the 5th pin of the second monostable trigger d; the 3rd pin of the second monostable trigger d and the resistor 12 are respectively connected to the two input ends of the logic and module 5; the output end of the resistor R7 is connected to the 1st pin of the first monostable trigger c through the resistor R13.
[0065] like Figure 2 As shown, the logic and module 5 is a logic chip U3; one input end of the logic chip U3 is connected to the third pin of the first monostable trigger c, and its node is connected to the resistor R12; the other input end of the logic chip U3 is connected to the third pin of the second monostable trigger d, and its node is connected to the resistor R9.
[0066] like Figure 2 and Figure 4 As shown, the positive input and output terminals of the current comparator a are connected to capacitors C12 and C13 respectively; the positive input and output terminals of the voltage comparator b are connected to capacitors C14 and C15 respectively. The isolation module 6 is a photoelectric coupling circuit, which is connected to a light-emitting diode SPK1 for displaying and detecting spark flashover signals.
[0067] like Figure 3 and Figure 6As shown, the control module 7 is provided with an analog-to-digital conversion circuit 10, which includes a resistor R17, a resistor R18, a voltage-stabilizing diode D3, a first operational amplifier voltage follower e, a potentiometer RP3, a resistor R19, a second operational amplifier voltage follower d and a resistor R20. The output end of the resistor R17 is connected to the positive input end of the first operational amplifier voltage follower e, and the negative input end of the first operational amplifier voltage follower e is connected to the output end; the resistor R18 is connected in series with the voltage-stabilizing diode D3 and in parallel with the resistor R17; the output end of the first operational amplifier voltage follower e, the potentiometer RP3, the resistor R19, and the positive input end of the second operational amplifier voltage follower d are connected in sequence, the resistor R20 is connected to the output end of the second operational amplifier voltage follower d, and the negative input end of the second operational amplifier voltage follower d is connected to the output end; the node between the positive input end of the second operational amplifier voltage follower d and the resistor R19 is connected to a grounded capacitor C16.
[0068] In summary, compared with the prior art, the present invention has the advantages of timely and accurate detection of spark flashover signals, anti-interference ability of the circuit and high stability. Through the current comparison module 3, the voltage comparison module 4, the logic and module 5, the isolation module 6 and the control module 7, the characteristics of the voltage and current changes during the spark flashover are used to simultaneously perform spark flashover detection on the secondary current overshoot and the secondary voltage. When any one of the current comparison module 3 and the voltage comparison module 4 detects the spark, it can be determined that the spark is generated, and the spark flashover signals of the current and voltage comparison modules are delayed accordingly, thereby avoiding missed detection and false detection of spark flashover, playing a role in preventing missed detection and improving the accuracy and real-time performance of detecting spark flashover signals. The present invention adopts hardware and software collaborative control, and the software and hardware monitor spark flashover in real time, avoiding missed detection and false detection caused by excessive adjustment of the comparison level threshold or low-energy sparks or no delay processing, greatly improving the timeliness and accuracy of spark flashover signal detection, anti-interference ability of the circuit and stability.
[0069] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A software and hardware collaborative spark detection circuit, characterized in that: It includes a current comparison module, a voltage comparison module, a logic module, an isolation module and a control module, wherein a first delay module is connected between the logic module and the current comparison module, a second delay module is connected between the logic module and the voltage comparison module, and an input and output end of the isolation module are respectively connected to the output end of the logic module and the input end of the control module; The current comparison module includes a current comparator, an inductor group L1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a potentiometer RP1, a voltage regulator diode D1, a capacitor C1, a capacitor C2 and a capacitor C3; the output end of the inductor group L1 and the negative input end of the current comparator are connected through the resistor R1; the resistor R2 is connected in parallel with the capacitor C1, and the two nodes thereof are connected to the ground and the output end of the resistor R1 respectively; the anode of the voltage regulator diode D1 is connected to the output end of the resistor R1; the input end of the potentiometer RP1 is connected to a 12V power supply and is connected to the cathode of the voltage regulator diode D1, the positive input end of the current comparator is connected to the output end of the potentiometer RP1 through the resistor R3, and the two ends of the capacitor C2 are connected to the ground and the output end of the potentiometer RP1 respectively; the capacitor C3 is connected in parallel with the resistor R4, and one node thereof is connected to the 12V power supply, and the other node is connected to the output end of the current comparator and the input end of the first delay module; the positive input and output ends of the current comparator are connected to capacitors C12 and C13 respectively; The voltage comparison module includes a voltage comparator, an inductor group L2, a resistor R5, a resistor R6, a resistor R7, a potentiometer RP2, a voltage zener diode D2, a capacitor C4 and a capacitor C5; the output end of the inductor group L2, the resistor R5, the resistor R6, the potentiometer RP2 and the negative input end of the voltage comparator are connected in sequence; the input end and the output end of the resistor R6 are respectively connected to the negative input end and the positive input end of the voltage comparator, the anode of the voltage zener diode D2 is grounded, the cathode of the voltage zener diode D2 is connected to the resistor R5, and the anode of the voltage zener diode D2 is connected to the output end of the inductor group L2; the two ends of the capacitor C4 are respectively connected to the ground and the negative input end of the voltage comparator; the capacitor C5 is connected in parallel with the resistor R7, and one of its nodes is connected to a 12V power supply, and the other node is connected to the output end of the voltage comparator and the input end of the second delay module; the positive input and output ends of the voltage comparator are respectively connected to capacitors C14 and C15; The first delay module includes a first monostable trigger, a resistor R8, a resistor R9 and a resistor R10; the second pin and the ninth pin of the first monostable trigger are connected through the resistor R8; the seventh pin of the first monostable trigger is connected to the resistor R9, and the third pin of the first monostable trigger and the resistor R9 are respectively connected to the two input ends of the logic and module; the sixth pin and the ninth pin of the first monostable trigger are respectively connected to the capacitor C8 and the capacitor C7, both of which have one end connected to the ground, and the first pin and the eighth pin thereof are both grounded; the capacitor C6 is connected between the first pin and the second pin of the first monostable trigger; the ninth pin of the first monostable trigger is connected to the capacitor C7 and connected to a 12V power supply, the output end of the resistor R4 is connected to the fifth pin of the first monostable trigger through the resistor R10, and the model of the first monostable trigger is CD14538BMT.
2. A software-hardware collaborative spark detection circuit according to claim 1, characterized in that: The second delay module includes a second monostable trigger, a resistor R11, a resistor R12, a resistor R13 and a capacitor C10 with one end grounded; the 6th pin of the second monostable trigger is connected to the resistor R12; the 4th pin of the second monostable trigger, the input end of the resistor R11 and the other end of the capacitor C10 are connected in sequence, and the node of the resistor R11 and the capacitor C10 is connected to a 12V power supply; the 7th pin of the second monostable trigger is connected to the capacitor C11 with one end both grounded, and its 5th pin is grounded; a capacitor C9 is connected between the 4th pin and the 5th pin of the second monostable trigger; the 3rd pin of the second monostable trigger and the resistor 12 are respectively connected to the two input ends of the logic and module; the output end of the resistor R7 is connected to the 1st pin of the first monostable trigger through the resistor R13, and the model of the second monostable trigger is CD14538BMT.
3. A software-hardware collaborative spark detection circuit according to claim 2, characterized in that: The isolation module is a photoelectric coupling circuit, and the photoelectric coupling circuit is connected to a light emitting diode SPK1 for displaying and detecting spark flashover signals.
4. The software-hardware collaborative spark detection circuit according to claim 3, characterized in that: An analog-to-digital conversion circuit is provided in the control module, and the analog-to-digital conversion circuit includes a resistor R17, a resistor R18, a voltage-stabilizing diode D3, a first op amp voltage follower, a potentiometer RP3, a resistor R19, a second op amp voltage follower and a resistor R20. The output end of the resistor R17 is connected to the positive input end of the first op amp voltage follower, and the negative input end of the first op amp voltage follower is connected to the output end; the resistor R18 is connected in series with the voltage-stabilizing diode D3 and in parallel with the resistor R17; the output end of the first op amp voltage follower, the potentiometer RP3, the resistor R19, and the positive input end of the second op amp voltage follower are connected in sequence, the resistor R20 is connected to the output end of the second op amp voltage follower, and the negative input end of the second op amp voltage follower is connected to the output end; a grounded capacitor C16 is connected to the node between the positive input end of the second op amp voltage follower and the resistor R19.
5. A detection method using a software and hardware collaborative spark detection circuit as claimed in claim 4, characterized in that: The detection steps include the following: Step 1: Compare the secondary voltage and secondary current of the electric field inside the electrostatic precipitator with the comparison levels in the voltage comparison module and the current comparison module respectively to obtain a low level; Step 2: The falling edge signals generated by the current comparison module and the voltage comparison module trigger the corresponding first monostable trigger and the second monostable trigger respectively, and output a negative pulse with a delay of 1.5ms to ensure that the control module responds to the spark flashover signal while preventing the control module from misdetecting; Step 3: In step 2, the first monostable trigger and the second monostable trigger are mutually blocked. When one of the paths detects the spark flashover signal first, the other path is blocked to prevent the spark flashover signal from being detected repeatedly. Step 4: The detected spark flashover signal is subjected to a logic AND operation through a logic AND module, and is isolated by a photoelectric coupler for collection by a control module. When a spark flashover signal is detected, SPK1 is visually displayed through a light emitting diode; Step 5. While steps 1 to 4 are being performed, the average value of the secondary voltage is calculated by an analog-to-digital conversion circuit to form a mean curve. The slope of the secondary voltage mean curve drop during flashover is calculated and compared with the threshold slope. When the slope is greater than the threshold slope, it is determined to be a spark flashover.
Citation Information
Patent Citations
Software and hardware collaborative spark detection circuit
CN215526007U
Fast-acting spark-over detector
US4644439A
