Electronic ballast for monitoring power balance of double lamps

By integrating MCU and circuit detection circuits in electronic ballasts, real-time detection and equalization of the power of ultraviolet lamps is solved, and the safety and life of the lamps are ensured.

CN119052969AActive Publication Date: 2024-11-29BEIJING BEASUN ELECTRONIC CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411179195.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-29
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

When two ultraviolet lamps are terminated from the electronic ballast output, the existing technology cannot effectively detect and ensure the power balance of a single lamp, resulting in high pressure drift caused by air leakage, overpower operation and heating problems, affecting the lamp tube, Lifespan and safety.

Method used

An electronic ballast including MCU, power conversion circuit, single and double lamp state machine, double lamp tube voltage detection circuit, single lamp tube voltage detection circuit, lamp tube current sampling circuit and lamp tube current detection circuit are designed. Through the connection and control of these components, the MCU detects the dual-light tube voltage signal and the single-light tube voltage signal in real time, calculates the actual power, and achieves dual-light power equalization by adjusting the frequency of the PWM pulse signal.

Benefits of technology

It realizes accurate detection and balanced control of real-time power of any ultraviolet lamp, ensures the safe and reliable operation of electronic ballasts and ultraviolet lamps, and extends the service life of the lamp.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052969A_ABST
    Figure CN119052969A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic ballast for monitoring power balance of double lamps, and relates to the technical field of electronic ballasts, and the electronic ballast comprises an MCU, a power conversion circuit, a single-lamp and double-lamp state machine, a double-lamp tube voltage detection circuit, a single-lamp tube voltage detection circuit, a tube current sampling circuit, and a tube current detection circuit. The MCU is used for controlling the single-lamp and double-lamp state machine to perform single-lamp and double-lamp state judgment according to a received double-lamp tube voltage signal acquired by the double-lamp tube voltage detection circuit and a single-lamp tube voltage signal acquired by the single-lamp tube voltage detection circuit, and outputting a PWM pulse signal according to a judgment result; the power conversion circuit receives the PWM pulse signal and then carries out power conversion so as to control the electronic ballast to realize double-lamp power balance work. According to the electronic ballast for monitoring the power balance of the two lamps, when the output end of the electronic ballast is connected with the two ultraviolet lamp tubes for working, the working power balance of the two ultraviolet lamp tubes can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic ballasts, and in particular to an electronic ballast for monitoring power balance of dual lamps. Background Art

[0002] In the field of ultraviolet sterilization, electronic ballasts are mainly used to drive ultraviolet lamps to emit light, thereby performing sterilization. When the output end of the electronic ballast is connected to two ultraviolet lamps, no matter whether the electronic ballast is in constant current output mode or constant power output mode, it is impossible to detect the actual power of a single ultraviolet lamp. In this case, once any of the two ultraviolet lamps leaks and causes the lamp voltage to drift high, the ultraviolet lamp will heat up due to overpower operation, thereby affecting the life of the ultraviolet lamp and even causing safety issues such as ultraviolet lamp burnout. Summary of the invention

[0003] The purpose of the present application is to provide an electronic ballast for monitoring the power balance of two lamps, which can ensure the working power balance of the two ultraviolet lamps when the output end of the electronic ballast is connected to two ultraviolet lamps for operation.

[0004] To achieve the above objectives, this application provides the following solutions:

[0005] In a first aspect, the present application provides an electronic ballast for monitoring power balance of dual lamps, including: an MCU, a power conversion circuit, a single-dual lamp state machine, a dual-lamp lamp voltage detection circuit, a single-lamp lamp voltage detection circuit, a lamp current sampling circuit, and a lamp current detection circuit;

[0006] The lamp tube voltage output end of the power conversion circuit is connected to the input end of the single-dual lamp state machine, the dual-lamp lamp tube voltage output end of the single-dual lamp state machine is connected to the input end of the dual-lamp lamp tube voltage detection circuit, and the output end of the dual-lamp lamp tube voltage detection circuit is connected to the dual-lamp voltage input end of the MCU; the single-lamp lamp tube voltage output end of the single-dual lamp state machine is connected to the input end of the single-lamp lamp tube voltage detection circuit, and the output end of the single-lamp lamp tube voltage detection circuit is connected to the single-lamp voltage input end of the MCU; the lamp tube current output end of the power conversion circuit is connected to the input end of the lamp tube current sampling circuit, and the output end of the lamp tube current sampling circuit is connected to the dual-lamp voltage input end of the MCU. The MCU is connected to the input end of the lamp current detection circuit, and the output end of the lamp current detection circuit is connected to the current input end of the MCU; the MCU is used to control the single-dual lamp state machine to perform single-dual lamp state judgment according to the dual-lamp lamp voltage signal collected by the dual-lamp lamp voltage detection circuit and the single-lamp lamp voltage signal collected by the single-lamp lamp voltage detection circuit, and output a PWM pulse signal according to the judgment result; the output end of the MCU is connected to the driving signal input end of the power conversion circuit, and the power conversion circuit is used to perform power conversion after receiving the PWM pulse signal to control the electronic ballast to achieve dual-lamp power balance operation.

[0007] Optionally, the PB14 pin and the PB15 pin of the MCU serve as the output ends of the MCU, the PA00 pin of the MCU serves as the dual-lamp voltage input end of the MCU, the PB12 pin of the MCU serves as the single-lamp voltage input end of the MCU, and the PA01 pin of the MCU serves as the current input end of the MCU.

[0008] Optionally, the power conversion circuit specifically includes: a resistor R304, a resistor R305, a resistor R317, a resistor R302, a resistor R303, a resistor R306, a resistor R308, a resistor RCS1, a diode D302, a gate start chip U301, a capacitor C303, a capacitor C304, a capacitor C305, a field effect transistor Q301, a field effect transistor Q302, a resonant inductor L301A and an ultraviolet lamp LAMP;

[0009] The HIN pin of the gate startup chip U301 is connected to one end of the resistor R304, and the other end of the resistor R304 is connected to the PB15 pin of the MCU; the LIN pin of the gate startup chip U301 is connected to one end of the resistor R305, and the other end of the resistor R305 is connected to the PB14 pin of the MCU; the COM pin of the gate startup chip U301 is grounded; the VCC pin of the gate startup chip U301 and the positive electrode of the diode D302 are both connected to a 12V voltage; the negative electrode of the diode D302 is connected to a 12V voltage; The gate start chip U301 is connected to one end of the resistor R317; the VB pin of the gate start chip U301 and the other end of the resistor R317 are both connected to one end of the capacitor C304; the HO pin of the gate start chip U301 is connected to one end of the resistor R302; the other end of the resistor R302 is respectively connected to the gate of the field effect transistor Q301 and one end of the resistor R303; the LO pin of the gate start chip U301 is connected to one end of the resistor R306; the other end of the resistor R306 is respectively connected to the gate of the field effect transistor Q301 and one end of the resistor R303. The gate of the field effect transistor Q302 and one end of the resistor R308 are connected; the source of the field effect transistor Q302 and the other end of the resistor R308 are grounded; the drain of the field effect transistor Q301 is connected to the voltage Vdc1; the source of the field effect transistor Q301, the other end of the resistor R303, the other end of the capacitor C304, the VS pin of the gate start chip U301 and the drain of the field effect transistor Q302 are all connected to one end of the resonant inductor L301A; the other end of the resonant inductor L301A is connected to one end of the capacitor C303 The other end of the capacitor C303 is respectively connected to one end of the capacitor C305 and one end of the ultraviolet lamp LAMP; the other end of the ultraviolet lamp LAMP is connected to one end of the resistor RCS1; the other end of the resistor RCS1 and the other end of the capacitor C305 are both grounded; the common end of the capacitor C303, the capacitor C305 and the ultraviolet lamp LAMP is the lamp voltage output end of the power conversion circuit; the common end of the ultraviolet lamp LAMP and the resistor RCS1 is the lamp current output end of the power conversion circuit.

[0010] Optionally, the dual-lamp tube voltage detection circuit specifically includes: a resistor R101, a resistor R102, a resistor R103, a resistor R104, a resistor R105, a resistor R106, a resistor R107, a resistor R109, a dual-path diode D1, an operational amplifier U1C and a voltage regulator ZD1;

[0011] One end of the resistor R101 is used as the input end of the dual-lamp tube voltage detection circuit and is connected to the dual-lamp tube voltage output end of the single-dual-lamp state machine; the other end of the resistor R101 is respectively connected to one end of the resistor R103 and one end of the resistor R102; the other end of the resistor R103 is respectively connected to one end of the resistor R104 and the negative electrode of the voltage regulator tube ZD1; the positive electrode of the voltage regulator tube ZD1 and the other end of the resistor R102 are both grounded; the other end of the resistor R104 is connected to the positive input end of the operational amplifier U1C; the reverse input end of the operational amplifier U1C is respectively connected to the positive input end of the resistor R105 One end of the dual-path diode D1 is connected to one end of the resistor R106; the other end of the resistor R105 is grounded; the other end of the resistor R106 is respectively connected to one end of the resistor R107 and the output end of the operational amplifier U1C; the other end of the resistor R107 is respectively connected to the common end of the dual-path diode D1 and one end of the resistor R109; the other end of the resistor R109 is grounded; the cathode end of the dual-path diode D1 is connected to the voltage VCC; the anode end of the dual-path diode D1 is grounded; the common end of the dual-path diode D1, the resistor R107 and the resistor R109 is the output end of the dual-lamp tube voltage detection circuit.

[0012] Optionally, the single lamp tube voltage detection circuit specifically includes: a resistor R101A, a resistor R102A, a resistor R103A, a resistor R104A, a resistor R105A, a resistor R106A, a resistor R107A, a resistor R109A, a dual-path diode D1A, an operational amplifier U2C and a voltage regulator ZD1A;

[0013] One end of the resistor R101A is used as the input end of the single-lamp tube voltage detection circuit and is connected to the single-lamp tube voltage output end of the single-lamp and double-lamp state machine; the other end of the resistor R101A is respectively connected to one end of the resistor R103A and one end of the resistor R102A; the other end of the resistor R103A is respectively connected to one end of the resistor R104A and the negative electrode of the voltage regulator tube ZD1A; the positive electrode of the voltage regulator tube ZD1A and the other end of the resistor R102A are both grounded; the other end of the resistor R104A is connected to the positive input end of the operational amplifier U2C; the reverse input end of the operational amplifier U2C is respectively connected to one end of the resistor R105A. The other end of the resistor R105A is connected to one end of the resistor R106A; the other end of the resistor R106A is connected to one end of the resistor R107A and the output end of the operational amplifier U2C; the other end of the resistor R107A is connected to the common end of the two-way diode D1A and one end of the resistor R109A; the other end of the resistor R109A is grounded; the negative end of the two-way diode D1A is connected to the voltage VCC; the positive end of the two-way diode D1A is grounded; the common end of the two-way diode D1A, the resistor R107A and the resistor R109A is the output end of the single lamp tube voltage detection circuit.

[0014] Optionally, the single and double lamp state machine specifically includes: relay A, relay B, relay C, relay D, resistor R1, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, resistor R7, resistor R1A, resistor R2A, resistor R3A, resistor R4A, resistor R5A, resistor R6A and resistor R7A;

[0015] The first terminal of the single-double lamp state machine is connected to the first ultraviolet lamp tube, and the first terminal introduces four filaments, including filament 1, filament 2, filament 3 and filament 4; the second terminal of the single-double lamp state machine is connected to the second ultraviolet lamp tube, and the second terminal introduces four filaments, including filament 5, filament 6, filament 7 and filament 8; the filament 1 is connected to one end of the relay A; the filament 2 is respectively connected to one end of the resistor R5 and one end of the relay B; the other end of the resistor R5 is connected to the resistor R4 One end of the resistor R4 is connected to one end of the resistor R3, the other end of the resistor R3 is respectively connected to one end of the resistor R2 and one end of the resistor R7, the other end of the resistor R2 is connected to one end of the resistor R1, the other end of the resistor R7 is connected to one end of the resistor R6, and the other end of the resistor R1 and the other end of the resistor R6 are both grounded; the common end of the resistor R6 and the resistor R7 is the double lamp tube voltage output end of the single and double lamp state machine; the filament 3 is connected to The other end of the relay B is connected; the filament 4 is respectively connected to the other end of the relay A, one end of the relay D and the filament 5; the filament 6 is respectively connected to one end of the resistor R5A and one end of the relay C; the other end of the resistor R5A is connected to one end of the resistor R4A, the other end of the resistor R4A is connected to one end of the resistor R3A, the other end of the resistor R3A is respectively connected to one end of the resistor R2A and one end of the resistor R7A, the other end of the resistor R2A is connected to one end of the resistor R1A, the other end of the resistor R7A is connected to one end of the resistor R6A, and the other end of the resistor R1A and the other end of the resistor R6A are both grounded; the common end of the resistor R6A and the resistor R7A is the single lamp tube voltage output end of the single and double lamp state machine; the filament 7 is connected to the other end of the relay C; the filament 8 is connected to the other end of the relay D; the common end of the relay A and the filament 1 is the input end of the single and double lamp state machine.

[0016] Optionally, the lamp current sampling circuit specifically includes: a resistor R8 and a capacitor C1;

[0017] One end of the resistor R8 serves as the input end of the lamp current sampling circuit and is connected to the lamp current output end of the power conversion circuit; the other end of the resistor R8 is connected to one end of the capacitor C1; the other end of the capacitor C1 is grounded; the common end of the resistor R8 and the capacitor C1 is the output end of the lamp current sampling circuit.

[0018] Optionally, the lamp current detection circuit specifically includes: a resistor R201, a resistor R202, a resistor R203, a resistor R204, a resistor R205, a dual-path diode D2, an operational amplifier U1A and a voltage regulator ZD2;

[0019] One end of the resistor R201 is connected to the negative electrode of the voltage regulator ZD2, and is connected to the output end of the lamp current sampling circuit as the input end of the lamp current detection circuit; the positive electrode of the voltage regulator ZD2 is grounded; the other end of the resistor R201 is connected to the positive input end of the operational amplifier U1A; the reverse input end of the operational amplifier U1A is respectively connected to one end of the resistor R203 and one end of the resistor R202; the other end of the resistor R202 is grounded; the other end of the resistor R203 is respectively connected to one end of the resistor R204 and the output end of the operational amplifier U1A; the other end of the resistor R204 is respectively connected to one end of the resistor R205 and the common end of the two-way diode D2; the other end of the resistor R205 is grounded; the negative end of the two-way diode D2 is connected to the voltage VCC; the positive end of the two-way diode D2 is grounded; the common end of the two-way diode D2, the resistor R204 and the resistor R205 is the output end of the lamp current detection circuit.

[0020] Optionally, if the judgment result is that both the first ultraviolet lamp and the second ultraviolet lamp are connected to the electronic ballast or only the first ultraviolet lamp is connected to the electronic ballast, the MCU uses the difference operation method to calculate the actual power according to the dual-lamp lamp voltage signal collected by the dual-lamp lamp voltage detection circuit and the lamp current signal collected by the lamp current detection circuit; if the judgment result is that only the second ultraviolet lamp is connected to the electronic ballast, the MCU uses the difference operation method to calculate the actual power according to the single-lamp lamp voltage signal collected by the single-lamp lamp voltage detection circuit and the lamp current signal collected by the lamp current detection circuit.

[0021] Optionally, the actual power is compared with a power threshold preset by the MCU; if the actual power is greater than or equal to the power threshold, the MCU increases the frequency of the output PWM pulse signal; if the actual power is less than the power threshold, the MCU reduces the frequency of the output PWM pulse signal.

[0022] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0023] The present application provides an electronic ballast for monitoring the power balance of two lamps. Through the connection among an MCU, a power conversion circuit, a single-lamp and double-lamp state machine, a dual-lamp tube voltage detection circuit, a single-lamp tube voltage detection circuit, a lamp tube current sampling circuit and a lamp tube current detection circuit, when two ultraviolet lamps are connected to the output end of the electronic ballast for operation, the MCU arranged in the electronic ballast accurately calculates the actual power of any ultraviolet lamp in real time according to the dual-lamp tube voltage signal collected by the dual-lamp tube voltage detection circuit, the single-lamp tube voltage signal collected by the single-lamp tube voltage detection circuit and the lamp tube current signal collected by the lamp tube current detection circuit, and controls the frequency of the output PWM pulse signal according to the calculated actual power, thereby ensuring that the working power of the two ultraviolet lamps remains balanced and ensuring the safe and reliable operation of the electronic ballast itself and the ultraviolet lamps. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 A schematic diagram of the power conversion circuit structure provided for this application;

[0026] Figure 2 MCU structure diagram provided for this application;

[0027] Figure 3 A schematic diagram of the dual-lamp tube voltage detection circuit structure provided for this application;

[0028] Figure 4 A schematic diagram of the structure of a single lamp tube voltage detection circuit provided in this application;

[0029] Figure 5 A schematic diagram of the single and double light state machine structure provided for this application;

[0030] Figure 6 A schematic diagram of the structure of the lamp current sampling circuit provided in this application;

[0031] Figure 7 This is a schematic diagram of the structure of the lamp current detection circuit provided in this application. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0034] like Figures 1 to 7 As shown, the electronic ballast for monitoring the power balance of dual lamps disclosed in the present application includes: an MCU, a power conversion circuit, a single-dual lamp state machine, a dual-lamp lamp voltage detection circuit, a single-lamp lamp voltage detection circuit, a lamp current sampling circuit, and a lamp current detection circuit. Among them, the lamp voltage output end of the power conversion circuit is connected to the input end of the single-dual lamp state machine, the dual-lamp lamp voltage output end of the single-dual lamp state machine is connected to the input end of the dual-lamp lamp voltage detection circuit, and the output end of the dual-lamp lamp voltage detection circuit is connected to the dual-lamp voltage input end of the MCU. The single-lamp lamp voltage output end of the single-dual lamp state machine is connected to the input end of the single-lamp lamp voltage detection circuit, and the output end of the single-lamp lamp voltage detection circuit is connected to the single-lamp voltage input end of the MCU. The lamp current output end of the power conversion circuit is connected to the input end of the lamp current sampling circuit, the output end of the lamp current sampling circuit is connected to the input end of the lamp current detection circuit, and the output end of the lamp current detection circuit is connected to the current input end of the MCU. The output end of the MCU is connected to the drive signal input end of the power conversion circuit.

[0035] like Figure 1 As shown, the power conversion circuit specifically includes: resistor R304, resistor R305, resistor R317, resistor R302, resistor R303, resistor R306, resistor R308, resistor RCS1, diode D302, gate start chip U301, capacitor C303, capacitor C304, capacitor C305, field effect transistor Q301, field effect transistor Q302, resonant inductor L301A and ultraviolet lamp LAMP. Among them, the gate start chip U301 is used to drive field effect transistor Q301 and field effect transistor Q302, and field effect transistor Q301 and field effect transistor Q302 are MOSFET tubes. Capacitor C303 and capacitor C305 are both high-voltage film capacitors. Resistor RCS1 is the working current sampling resistor of the ultraviolet lamp LAMP, which is used to sample the working current of the ultraviolet lamp LAMP.

[0036] like Figure 2As shown, the present application uses the PB14 and PB15 pins of the MCU as the output terminals of the MCU, the PA00 pin as the dual-lamp voltage input terminal of the MCU, the PB12 pin as the single-lamp voltage input terminal of the MCU, and the PA01 pin as the current input terminal of the MCU. The PB14 and PB15 pins are used to output PWM pulse signals, namely, the PWM pulse signal PWMH and the PWM pulse signal PWML. These two PWM pulse signals are transmitted to Figure 1 The HIN pin and LIN pin of the gate start chip U301 in the present application are connected to the relay signal Relay1, the relay signal Relay2 and the relay signal Relay3 at the PA07 pin, the PA08 pin and the PA09 pin of the MCU respectively. The relay signal Relay1 is used to control relay A, the relay signal Relay2 is used to control relays B and C, and the relay signal Relay3 is used to control relay D. When the PA07 pin, the PA08 pin and the PA09 pin of the MCU output a voltage of 3.3V, the relay corresponding to each pin is closed, and when the voltage is 0V, the relay corresponding to each pin is disconnected.

[0037] Specifically, the HIN pin of the gate startup chip U301 is connected to one end of the resistor R304, and the other end of the resistor R304 is connected to the PB15 pin of the MCU. The LIN pin of the gate startup chip U301 is connected to one end of the resistor R305, and the other end of the resistor R305 is connected to the PB14 pin of the MCU. The COM pin of the gate startup chip U301 is grounded. The VCC pin of the gate startup chip U301 and the positive pole of the diode D302 are both connected to the 12V voltage H12V, and the 12V voltage H12V is used to drive the gate startup chip U301, which is the power supply voltage. The negative pole of the diode D302 is connected to one end of the resistor R317. The VB pin of the gate startup chip U301 and the other end of the resistor R317 are both connected to one end of the capacitor C304. The HO pin of the gate startup chip U301 is connected to one end of the resistor R302. The other end of the resistor R302 is respectively connected to the gate of the field effect tube Q301 and one end of the resistor R303. The LO pin of the gate start chip U301 is connected to one end of the resistor R306. The other end of the resistor R306 is respectively connected to the gate of the field effect tube Q302 and one end of the resistor R308. The source of the field effect tube Q302 and the other end of the resistor R308 are both grounded. The drain of the field effect tube Q301 is connected to the voltage Vdc1, and the voltage Vdc1 is a 400V DC voltage. The source of the field effect tube Q301, the other end of the resistor R303, the other end of the capacitor C304, the VS pin of the gate start chip U301 and the drain of the field effect tube Q302 are all connected to one end of the resonant inductor L301A. The other end of the resonant inductor L301A is connected to one end of the capacitor C303. The other end of the capacitor C303 is respectively connected to one end of the capacitor C305 and one end of the ultraviolet lamp LAMP. The other end of the ultraviolet lamp LAMP is connected to one end of the resistor RCS1. The other end of the resistor RCS1 and the other end of the capacitor C305 are both grounded. The common end of the capacitor C303, the capacitor C305 and the ultraviolet lamp LAMP is the lamp voltage output end of the power conversion circuit, which outputs the lamp voltage VLAMP. The common end of the ultraviolet lamp LAMP and the resistor RCS1 is the lamp current output end of the power conversion circuit, which outputs the lamp current ILAMP.

[0038] like Figure 3 As shown, the dual-lamp tube voltage detection circuit specifically includes: resistor R101, resistor R102, resistor R103, resistor R104, resistor R105, resistor R106, resistor R107, resistor R109, dual-path diode D1, operational amplifier U1C and voltage regulator ZD1. The dual-path diode D1 mainly clamps the analog voltage V2_ADC amplified by the operational amplifier U1C to prevent the voltage from being too high or too low to cause damage. Figure 2 The analog voltage V2_ADC is the output of the dual-lamp tube voltage detection circuit.

[0039] Specifically, one end of the resistor R101 serves as the input end of the dual lamp tube voltage detection circuit ( Figure 3 V2 in the figure), connected to the voltage output end of the double lamp tube of the single and double lamp state machine. The other end of resistor R101 is connected to one end of resistor R103 and one end of resistor R102 respectively. The other end of resistor R103 is connected to one end of resistor R104 and the negative electrode of voltage regulator ZD1 respectively. The positive electrode of voltage regulator ZD1 and the other end of resistor R102 are both grounded. Voltage regulator ZD1 is mainly used to clamp the voltage of pin 10 of operational amplifier U1C to prevent damage caused by too high voltage. The other end of resistor R104 is connected to the positive input end of operational amplifier U1C. The reverse input end of operational amplifier U1C is connected to one end of resistor R105 and one end of resistor R106 respectively. The other end of resistor R105 is grounded. The other end of resistor R106 is connected to one end of resistor R107 and the output end of operational amplifier U1C respectively. In addition, the power supply end of operational amplifier U1C is connected to 12V voltage and ground GND respectively. The other end of the resistor R107 is connected to the common end of the dual-path diode D1 and one end of the resistor R109. The other end of the resistor R109 is grounded. The cathode end of the dual-path diode D1 is connected to the voltage VCC. The anode end of the dual-path diode D1 is grounded. The common end of the dual-path diode D1, the resistor R107 and the resistor R109 is the output end of the dual-lamp tube voltage detection circuit.

[0040] The specific structure of the single-lamp tube voltage detection circuit of the present application is the same as the specific structure of the dual-lamp tube voltage detection circuit. Figure 4 As shown, the single lamp tube voltage detection circuit specifically includes: resistor R101A, resistor R102A, resistor R103A, resistor R104A, resistor R105A, resistor R106A, resistor R107A, resistor R109A, dual-path diode D1A, operational amplifier U2C and voltage regulator ZD1A. The dual-path diode D1A mainly clamps the analog voltage V1_ADC amplified by the operational amplifier U2C to prevent the voltage from being too high or too low to cause damage. Figure 2 The analog voltage V1_ADC is the output of the single lamp tube voltage detection circuit.

[0041] Specifically, one end of the resistor R101A serves as the input end of the single lamp tube voltage detection circuit ( Figure 4V1 in the figure), connected to the single lamp tube voltage output end of the single and double lamp state machine. The other end of the resistor R101A is respectively connected to one end of the resistor R103A and one end of the resistor R102A. The other end of the resistor R103A is respectively connected to one end of the resistor R104A and the negative electrode of the voltage regulator ZD1A. The positive electrode of the voltage regulator ZD1A and the other end of the resistor R102A are both grounded. The other end of the resistor R104A is connected to the positive input end of the operational amplifier U2C. The reverse input end of the operational amplifier U2C is respectively connected to one end of the resistor R105A and one end of the resistor R106A. The other end of the resistor R105A is grounded. The other end of the resistor R106A is respectively connected to one end of the resistor R107A and the output end of the operational amplifier U2C. The other end of the resistor R107A is respectively connected to the common end of the dual-path diode D1A and one end of the resistor R109A. The other end of the resistor R109A is grounded. The cathode terminal of the dual-path diode D1A is connected to the voltage VCC. The anode terminal of the dual-path diode D1A is grounded. The common terminal of the dual-path diode D1A, the resistor R107A and the resistor R109A is the output terminal of the single-lamp tube voltage detection circuit.

[0042] like Figure 5 As shown, the single and double lamp state machine specifically includes: relay A, relay B, relay C, relay D, resistor R1, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, resistor R7, resistor R1A, resistor R2A, resistor R3A, resistor R4A, resistor R5A, resistor R6A and resistor R7A.

[0043] Specifically, terminal 1 of the single-double lamp state machine is connected to the first ultraviolet lamp tube, and four filaments are introduced into terminal 1, including filament 1 (P1), filament 2 (P2), filament 3 (P3) and filament 4 (P4). Terminal 2 of the single-double lamp state machine is connected to the second ultraviolet lamp tube, and four filaments are introduced into terminal 2, including filament 5 (P5), filament 6 (P6), filament 7 (P7) and filament 8 (P8). Filament 1 is connected to one end of relay A. Filament 2 is respectively connected to one end of resistor R5 and one end of relay B. The other end of resistor R5 is connected to one end of resistor R4, the other end of resistor R4 is connected to one end of resistor R3, the other end of resistor R3 is respectively connected to one end of resistor R2 and one end of resistor R7, the other end of resistor R2 is connected to one end of resistor R1, the other end of resistor R7 is connected to one end of resistor R6, and the other end of resistor R1 and the other end of resistor R6 are both grounded. The common end of resistor R6 and resistor R7 is the voltage output end of the double lamp tube of the single and double lamp state machine ( Figure 5V2 in the figure), outputs the dual-lamp tube voltage collected by the resistor divider. Filament 3 is connected to the other end of relay B. Filament 4 is respectively connected to the other end of relay A, one end of relay D and filament 5. Filament 6 is respectively connected to one end of resistor R5A and one end of relay C. The other end of resistor R5A is connected to one end of resistor R4A, the other end of resistor R4A is connected to one end of resistor R3A, the other end of resistor R3A is respectively connected to one end of resistor R2A and one end of resistor R7A, the other end of resistor R2A is connected to one end of resistor R1A, the other end of resistor R7A is connected to one end of resistor R6A, and the other end of resistor R1A and the other end of resistor R6A are both grounded. The common end of resistor R6A and resistor R7A is the single-lamp tube voltage output end of the single-dual lamp state machine ( Figure 5 The filament 7 is connected to the other end of the relay C. The filament 8 is connected to the other end of the relay D. The common end of the relay A and the filament 1 is the input end of the single and double lamp state machine.

[0044] like Figure 6 As shown, the lamp current sampling circuit specifically includes: a resistor R8 and a capacitor C1. The present application collects the current through a filter circuit composed of a resistor R8 and a capacitor C1. Figure 1 The lamp current ILAMP is at the lamp current output terminal of the power conversion circuit.

[0045] Specifically, one end of the resistor R8 is used as the input end of the lamp current sampling circuit and is connected to the lamp current output end of the power conversion circuit. The other end of the resistor R8 is connected to one end of the capacitor C1. The other end of the capacitor C1 is grounded. The common end of the resistor R8 and the capacitor C1 is the output end of the lamp current sampling circuit ( Figure 6 at V3 in the figure).

[0046] like Figure 7 As shown, the lamp current detection circuit specifically includes: a resistor R201, a resistor R202, a resistor R203, a resistor R204, a resistor R205, a dual-path diode D2, an operational amplifier U1A and a voltage regulator ZD2.

[0047] Specifically, one end of the resistor R201 is connected to the negative electrode of the voltage regulator tube ZD2, serving as the input end of the lamp current detection circuit ( Figure 7V3 in the figure) is connected to the output end of the lamp current sampling circuit. The positive pole of the voltage regulator ZD2 is grounded. The voltage regulator ZD2 is mainly used to clamp the voltage of the 3rd pin of the operational amplifier U1A to prevent the voltage from being too high. The other end of the resistor R201 is connected to the positive input end of the operational amplifier U1A. The reverse input end of the operational amplifier U1A is respectively connected to one end of the resistor R203 and one end of the resistor R202. The other end of the resistor R202 is grounded. The other end of the resistor R203 is respectively connected to one end of the resistor R204 and the output end of the operational amplifier U1A. In addition, the power supply end of the operational amplifier U1A is respectively connected to the 12V voltage H12V and the ground GND. The other end of the resistor R204 is respectively connected to one end of the resistor R205 and the common end of the dual-path diode D2. The other end of the resistor R205 is grounded. The negative end of the dual-path diode D2 is connected to the voltage VCC. The positive end of the dual-path diode D2 is grounded. The common end of the dual-path diode D2, the resistor R204 and the resistor R205 is the output end of the lamp current detection circuit, and the output is the analog current ILAMP_ADC.

[0048] In the electronic ballast of the present application, the MCU is used to control the single-dual lamp state machine to perform single-dual lamp state judgment according to the dual-lamp lamp voltage signal collected by the dual-lamp lamp voltage detection circuit and the single-lamp lamp voltage signal collected by the single-lamp lamp voltage detection circuit, and output a PWM pulse signal according to the judgment result. The power conversion circuit is used to perform power conversion after receiving the PWM pulse signal to control the electronic ballast to achieve dual-lamp power balancing.

[0049] Specifically, the implementation of the dual-lamp power balancing of the electronic ballast of the present application is based on the collection of Figure 2 The ADC values ​​of the three pins PA00, PA01 and PB12 of the MCU, namely the single-chip microcomputer U2, of which the PA00 pin collects Figure 3 The voltage value of the analog voltage V2_ADC in the PB12 pin is collected Figure 4 The voltage value of the analog voltage V1_ADC in the PA01 pin is collected Figure 7 The current value of the analog current ILAMP_ADC in the circuit is converted into the actual lamp voltage and lamp current value through interpolation. Then, a single or double lamp judgment is performed through the single or double lamp state machine: when the output end of the electronic ballast is connected to a double lamp or a single lamp No. 1 (only the first UV lamp is connected), Figure 2 The microcontroller U2 uses the voltage value of the analog voltage V2_ADC collected by the PA00 pin and the current value of the analog current ILAMP_ADC collected by the PA01 pin to calculate and obtain the power of the double lamps or the single lamp No. 1; when the electronic ballast is only connected to the single lamp No. 2 (only the second ultraviolet lamp is connected), Figure 2The microcontroller U2 uses the voltage value of the analog voltage V1_ADC collected by the PB12 pin and the current value of the analog current ILAMP_ADC collected by the PA01 pin to calculate and obtain the power of the single lamp No. 2. Among them, the single and double lamp state machine has three judgment processes: double lamp judgment, single lamp No. 1 judgment and single lamp No. 2 judgment.

[0050] Figure 2 After the microcontroller U2 is initialized and powered on, it first determines the voltage value of the analog voltage V2_ADC collected by the PA00 pin. When the voltage value of the analog voltage V2_ADC is greater than the threshold voltage VREF preset inside the microcontroller, it indicates that the filaments at the No. 1 terminal and the No. 2 terminal of the single- and double-lamp state machine are in good contact, and the single- and double-lamp state machine enters the double-lamp judgment process; otherwise, it indicates that the filaments at the No. 1 terminal and the No. 2 terminal are not connected well, and it is considered that there is no single lamp No. 1 in the circuit, and enters the No. 2 single lamp judgment process; the No. 1 single lamp judgment process is after the double lamp judgment process; the following is an overview of the specific implementation of each process.

[0051] Double light judgment process: Figure 5 As shown, firstly, the relays A and D are disconnected, and the relays B and C are closed. When the voltage value of the analog voltage V2_ADC is less than or equal to the threshold voltage VREF, it is considered that the filaments in the single-double lamp state machine are all connected, which is a double lamp circuit, and the double lamp lighting process is started. Otherwise, when the voltage value of the analog voltage V2_ADC is greater than the threshold voltage VREF, it indicates that the filaments 3, 4, 5, 6, 7 and 8 in the single-double lamp state machine are not connected properly, and the No. 1 single lamp judgment process is entered.

[0052] No. 1 single light judgment process: Figure 5 As shown, first keep relays B and C closed, and then close relay D. Figure 2 The single-chip computer U2 detects the voltage value of the analog voltage V2_ADC of the PA00 pin. If the voltage value of the analog voltage V2_ADC is less than or equal to the threshold voltage VREF, it is determined that the filaments 3 and 4 in the single- and double-lamp state machine are in good contact. Since it is confirmed in the double-lamp judgment process that there is only one lamp or no lamp in the circuit, it is determined that the wiring of single lamp No. 1 is correct, and the wiring of single lamp No. 2 is problematic. The judgment is terminated after starting the lighting process of single lamp No. 1. Otherwise, if the voltage value of the analog voltage V2_ADC is greater than the threshold voltage VREF, it is determined that the filaments 3 and 4 in the single- and double-lamp state machine are in poor contact, and it is determined that single lamp No. 1 is not connected well, and then the single lamp No. 2 judgment process is entered.

[0053] No. 2 single light judgment process: Figure 5As shown, firstly disconnect relays B, C, and D, and close relay A to detect the voltage value of the analog voltage V1_ADC. If the voltage value of the analog voltage V1_ADC is less than or equal to the threshold voltage VREF, it is inferred that the filaments 5 and 6 in the single-double lamp state machine are in poor contact, indicating that there is a problem with the wiring of the single lamp No. 2, and it is determined that no lamp is connected to the circuit, and the judgment process ends. Otherwise, if the voltage value of the analog voltage V1_ADC is greater than the threshold voltage VREF, it is determined that the filaments 5 and 6 in the single-double lamp state machine are in good contact. Keep relay A closed and close relays B and C at the same time, and detect the voltage value of the analog voltage V1_ADC again. If the voltage value of the analog voltage V1_ADC is greater than the threshold voltage VREF, it means that the filaments 7 and 8 in the single-double lamp state machine are in poor contact, indicating that there is a problem with the wiring of the single lamp No. 2, and it is determined that no lamp is connected to the circuit, and the judgment process ends. On the contrary, if the voltage value of the analog voltage V1_ADC is less than or equal to the threshold voltage VREF, it means that the filaments 7 and 8 in the single and double lamp state machine are in good contact, and it is determined that the wiring of single lamp No. 2 is normal, the lighting process of single lamp No. 2 is started, and the judgment process ends.

[0054] Power calculation: Determine the state of the connected lamp through the single and double lamp state machine. If dual lamps or single lamp No. 1 are connected, multiply the analog voltage V2_ADC and the analog current ILAMP_ADC, and use the interpolation algorithm inside the microcontroller to get the actual power of the dual lamps or single lamp No. 1; if single lamp No. 2 is connected, multiply the analog voltage V1_ADC and the analog current ILAMP, and use the interpolation algorithm inside the microcontroller to get the actual power of single lamp No. 2.

[0055] Constant power: After calculating the actual power, whether a single lamp or two lamps are connected, the MCU will use the PID algorithm to output constant power. Figure 2 When the calculated actual power is greater than the set power threshold, the MCU will increase the frequency of the PWM pulse signal by reducing Figure 2 The frequency of the PWM pulse signal output by the PB15 and PB14 pins of the microcontroller U2 is Figure 1The resistors R304 and R305 are transmitted to the pins 2 and 3 of the gate start chip U301. After the PWM pulse signal is isolated and amplified inside the gate start chip U301, it is output from pins 5 and 7 to control the operation of the field effect transistors Q301 and Q302, and to reduce the working current of the ultraviolet lamp to adjust and reduce the real-time power of the ultraviolet lamp. When the actual power of the ultraviolet lamp is less than the set power threshold, the MCU will reduce the output frequency of the PWM pulse signal to increase the current of the ultraviolet lamp, and finally increase the real-time power of the ultraviolet lamp. By dynamically adjusting the frequency of the PWM pulse signal in real time, the actual working power of the ultraviolet lamp can be dynamically adjusted.

[0056] In summary, the electronic ballast for monitoring the power balance of dual lamps in this application mainly includes a hardware circuit part and a software part. Among them, the hardware circuit part mainly includes Figure 1 The power conversion circuit, namely the LCC resonant half-bridge circuit, is used for power conversion, mainly to convert the input energy into the energy required for the operation of the ultraviolet lamp. Since the input energy refers to the electric energy of the AC input, and since the input AC is a low-frequency AC of 47HZ-63HZ, it cannot be directly used for the ultraviolet lamp. The function of the electronic ballast is to convert the input AC into a high-frequency AC that can work for the ultraviolet lamp, and the LCC resonant half-bridge is the circuit for converting electricity. The principle of conversion is to drive the switch MOSFET at high speed through the PWM pulse signals PWMH and PWML to generate high-frequency AC.

[0057] Figure 2 It is the logic control unit of the microcontroller, which mainly controls the working sequence of the entire circuit and realizes various protections, such as heartbeat, preheating, ignition and operation. In the heartbeat stage, Figure 2 The microcontroller U2 will output a PWM signal with a frequency of 50KHz and a duty cycle of 5% through the PB14 and PB15 pins. Figure 1 The resistors R304 and R305 transmit the signal to the pins 2 and 3 of the gate start chip U301. After the signal is isolated and amplified inside the gate start chip U301, it is output from pins 5 and 7 to control the operation of the field effect transistors Q301 and Q302, thereby outputting the electronic ballast current. Then the preheating stage is carried out. Before preheating, the microcontroller U2 will output a 3.3V voltage through the PA08 pin to control Figure 5 The relay B in the circuit is closed, and then the PB14 and PB15 pins of the single-chip microcomputer U2 output the PWM of the preheating frequency and duty cycle. The principle of the PWM output signal circuit is the same as the heartbeat stage, generating a working current to preheat the lamp. After the preheating is completed, the ignition is performed. Before the ignition, the single-chip microcomputer U2 will turn off the voltage output by the PA08 pin, so that Figure 5The relay is disconnected, and then the PWM signal of the ignition frequency and duty cycle is output to light the lamp. Finally, after the ignition is completed, the operation phase is entered, and the PWM signal of the operation phase frequency and duty cycle is output to maintain the normal operation of the lamp.

[0058] Figure 3 , Figure 4 and Figure 5 The circuit is mainly used to collect and calculate the lamp voltage of two ultraviolet lamps. Figure 6 and Figure 7 It is mainly used to collect and calculate the lamp current of two ultraviolet lamps. Through the above hardware circuit, combined with software control, a circuit is provided that can collect the data of the working voltage and working current of the ultraviolet lamp in real time, and then judge the real-time power of the lamp to achieve and ensure the efficient and reliable operation of the ballast and lamp.

[0059] Therefore, the electronic ballast used to monitor the power balance of two lamps in the present application can accurately detect the real-time working power of any ultraviolet lamp when two ultraviolet lamps are connected to the output end of the electronic ballast, ensure the working power balance of the two ultraviolet lamps, accurately control and adjust the working power of the two ultraviolet lamps, ensure the safe and reliable operation of the electronic ballast itself and the ultraviolet lamps, thereby ensuring that both ultraviolet lamps are not overloaded and the service life of the ultraviolet lamps can be increased.

[0060] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0061] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. An electronic ballast for monitoring power balance of dual lamps, characterized in that: include: MCU, power conversion circuit, single and double lamp state machine, double lamp tube voltage detection circuit, single lamp tube voltage detection circuit, lamp tube current sampling circuit and lamp tube current detection circuit; The lamp tube voltage output end of the power conversion circuit is connected to the input end of the single-double lamp state machine, the double lamp tube voltage output end of the single-double lamp state machine is connected to the input end of the double lamp tube voltage detection circuit, and the output end of the double lamp tube voltage detection circuit is connected to the double lamp voltage input end of the MCU; the single lamp tube voltage output end of the single-double lamp state machine is connected to the input end of the single lamp tube voltage detection circuit, and the output end of the single lamp tube voltage detection circuit is connected to the single lamp voltage input end of the MCU; the lamp tube current output end of the power conversion circuit is connected to the input end of the lamp tube current sampling circuit, the output end of the lamp tube current sampling circuit is connected to the input end of the lamp tube current detection circuit, and the output end of the lamp tube current detection circuit is connected to the current input end of the MCU; The MCU is used to control the single-dual lamp state machine to perform single-dual lamp state judgment according to the dual-lamp tube voltage signal collected by the dual-lamp tube voltage detection circuit and the single-lamp tube voltage signal collected by the single-lamp tube voltage detection circuit, and output a PWM pulse signal according to the judgment result; the output end of the MCU is connected to the driving signal input end of the power conversion circuit, and the power conversion circuit is used to perform power conversion after receiving the PWM pulse signal to control the electronic ballast to achieve dual-lamp power balancing operation.

2. The electronic ballast for monitoring power balance of dual lamps according to claim 1, characterized in that: The PB14 pin and the PB15 pin of the MCU serve as the output terminals of the MCU, the PA00 pin of the MCU serves as the dual-lamp voltage input terminal of the MCU, the PB12 pin of the MCU serves as the single-lamp voltage input terminal of the MCU, and the PA01 pin of the MCU serves as the current input terminal of the MCU.

3. The electronic ballast for monitoring dual lamp power balance according to claim 2, characterized in that: The power conversion circuit specifically includes: a resistor R304, a resistor R305, a resistor R317, a resistor R302, a resistor R303, a resistor R306, a resistor R308, a resistor RCS1, a diode D302, a gate start chip U301, a capacitor C303, a capacitor C304, a capacitor C305, a field effect transistor Q301, a field effect transistor Q302, a resonant inductor L301A and an ultraviolet lamp LAMP; The HIN pin of the gate startup chip U301 is connected to one end of the resistor R304, and the other end of the resistor R304 is connected to the PB15 pin of the MCU; the LIN pin of the gate startup chip U301 is connected to one end of the resistor R305, and the other end of the resistor R305 is connected to the PB14 pin of the MCU; the COM pin of the gate startup chip U301 is grounded; the VCC pin of the gate startup chip U301 and the positive electrode of the diode D302 are both connected to a 12V voltage; the negative electrode of the diode D302 is connected to a 12V voltage; The gate start chip U301 is connected to one end of the resistor R317; the VB pin of the gate start chip U301 and the other end of the resistor R317 are both connected to one end of the capacitor C304; the HO pin of the gate start chip U301 is connected to one end of the resistor R302; the other end of the resistor R302 is respectively connected to the gate of the field effect transistor Q301 and one end of the resistor R303; the LO pin of the gate start chip U301 is connected to one end of the resistor R306; the other end of the resistor R306 is respectively connected to the gate of the field effect transistor Q301 and one end of the resistor R303. The gate of the field effect transistor Q302 and one end of the resistor R308 are connected; the source of the field effect transistor Q302 and the other end of the resistor R308 are grounded; the drain of the field effect transistor Q301 is connected to the voltage Vdc1; the source of the field effect transistor Q301, the other end of the resistor R303, the other end of the capacitor C304, the VS pin of the gate start chip U301 and the drain of the field effect transistor Q302 are all connected to one end of the resonant inductor L301A; the other end of the resonant inductor L301A is connected to one end of the capacitor C303 The other end of the capacitor C303 is respectively connected to one end of the capacitor C305 and one end of the ultraviolet lamp LAMP; the other end of the ultraviolet lamp LAMP is connected to one end of the resistor RCS1; the other end of the resistor RCS1 and the other end of the capacitor C305 are both grounded; the common end of the capacitor C303, the capacitor C305 and the ultraviolet lamp LAMP is the lamp voltage output end of the power conversion circuit; the common end of the ultraviolet lamp LAMP and the resistor RCS1 is the lamp current output end of the power conversion circuit.

4. The electronic ballast for monitoring power balance of dual lamps according to claim 1, characterized in that: The dual-lamp tube voltage detection circuit specifically includes: a resistor R101, a resistor R102, a resistor R103, a resistor R104, a resistor R105, a resistor R106, a resistor R107, a resistor R109, a dual-path diode D1, an operational amplifier U1C and a voltage regulator ZD1; One end of the resistor R101 is used as the input end of the dual-lamp tube voltage detection circuit and is connected to the dual-lamp tube voltage output end of the single-dual-lamp state machine; the other end of the resistor R101 is respectively connected to one end of the resistor R103 and one end of the resistor R102; the other end of the resistor R103 is respectively connected to one end of the resistor R104 and the negative electrode of the voltage regulator tube ZD1; the positive electrode of the voltage regulator tube ZD1 and the other end of the resistor R102 are both grounded; the other end of the resistor R104 is connected to the positive input end of the operational amplifier U1C; the reverse input end of the operational amplifier U1C is respectively connected to the positive input end of the resistor R105 One end of the dual-path diode D1 is connected to one end of the resistor R106; the other end of the resistor R105 is grounded; the other end of the resistor R106 is respectively connected to one end of the resistor R107 and the output end of the operational amplifier U1C; the other end of the resistor R107 is respectively connected to the common end of the dual-path diode D1 and one end of the resistor R109; the other end of the resistor R109 is grounded; the cathode end of the dual-path diode D1 is connected to the voltage VCC; the anode end of the dual-path diode D1 is grounded; the common end of the dual-path diode D1, the resistor R107 and the resistor R109 is the output end of the dual-lamp tube voltage detection circuit.

5. The electronic ballast for monitoring dual lamp power balance according to claim 1, characterized in that: The single lamp tube voltage detection circuit specifically includes: a resistor R101A, a resistor R102A, a resistor R103A, a resistor R104A, a resistor R105A, a resistor R106A, a resistor R107A, a resistor R109A, a dual-path diode D1A, an operational amplifier U2C and a voltage regulator ZD1A; One end of the resistor R101A is used as the input end of the single-lamp tube voltage detection circuit and is connected to the single-lamp tube voltage output end of the single-lamp and double-lamp state machine; the other end of the resistor R101A is respectively connected to one end of the resistor R103A and one end of the resistor R102A; the other end of the resistor R103A is respectively connected to one end of the resistor R104A and the negative electrode of the voltage regulator tube ZD1A; the positive electrode of the voltage regulator tube ZD1A and the other end of the resistor R102A are both grounded; the other end of the resistor R104A is connected to the positive input end of the operational amplifier U2C; the reverse input end of the operational amplifier U2C is respectively connected to one end of the resistor R105A. The other end of the resistor R105A is connected to one end of the resistor R106A; the other end of the resistor R106A is connected to one end of the resistor R107A and the output end of the operational amplifier U2C; the other end of the resistor R107A is connected to the common end of the two-way diode D1A and one end of the resistor R109A; the other end of the resistor R109A is grounded; the negative end of the two-way diode D1A is connected to the voltage VCC; the positive end of the two-way diode D1A is grounded; the common end of the two-way diode D1A, the resistor R107A and the resistor R109A is the output end of the single lamp tube voltage detection circuit.

6. The electronic ballast for monitoring power balance of two lamps according to claim 1, characterized in that: The single and double lamp state machine specifically includes: relay A, relay B, relay C, relay D, resistor R1, resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, resistor R7, resistor R1A, resistor R2A, resistor R3A, resistor R4A, resistor R5A, resistor R6A and resistor R7A; The first terminal of the single-double lamp state machine is connected to the first ultraviolet lamp tube, and the first terminal introduces four filaments, including filament 1, filament 2, filament 3 and filament 4; the second terminal of the single-double lamp state machine is connected to the second ultraviolet lamp tube, and the second terminal introduces four filaments, including filament 5, filament 6, filament 7 and filament 8; the filament 1 is connected to one end of the relay A; the filament 2 is respectively connected to one end of the resistor R5 and one end of the relay B; the other end of the resistor R5 is connected to the resistor R4 One end of the resistor R4 is connected to one end of the resistor R3, the other end of the resistor R3 is respectively connected to one end of the resistor R2 and one end of the resistor R7, the other end of the resistor R2 is connected to one end of the resistor R1, the other end of the resistor R7 is connected to one end of the resistor R6, and the other end of the resistor R1 and the other end of the resistor R6 are both grounded; the common end of the resistor R6 and the resistor R7 is the double lamp tube voltage output end of the single and double lamp state machine; the filament 3 is connected to The other end of the relay B is connected; the filament 4 is respectively connected to the other end of the relay A, one end of the relay D and the filament 5; the filament 6 is respectively connected to one end of the resistor R5A and one end of the relay C; the other end of the resistor R5A is connected to one end of the resistor R4A, the other end of the resistor R4A is connected to one end of the resistor R3A, the other end of the resistor R3A is respectively connected to one end of the resistor R2A and one end of the resistor R7A, the other end of the resistor R2A is connected to one end of the resistor R1A, the other end of the resistor R7A is connected to one end of the resistor R6A, and the other end of the resistor R1A and the other end of the resistor R6A are both grounded; the common end of the resistor R6A and the resistor R7A is the single lamp tube voltage output end of the single and double lamp state machine; the filament 7 is connected to the other end of the relay C; the filament 8 is connected to the other end of the relay D; the common end of the relay A and the filament 1 is the input end of the single and double lamp state machine.

7. The electronic ballast for monitoring power balance of two lamps according to claim 1, characterized in that: The lamp current sampling circuit specifically includes: a resistor R8 and a capacitor C1; One end of the resistor R8 serves as the input end of the lamp current sampling circuit and is connected to the lamp current output end of the power conversion circuit; the other end of the resistor R8 is connected to one end of the capacitor C1; the other end of the capacitor C1 is grounded; the common end of the resistor R8 and the capacitor C1 is the output end of the lamp current sampling circuit.

8. The electronic ballast for monitoring power balance of two lamps according to claim 1, characterized in that: The lamp current detection circuit specifically includes: a resistor R201, a resistor R202, a resistor R203, a resistor R204, a resistor R205, a dual-path diode D2, an operational amplifier U1A and a voltage regulator ZD2; One end of the resistor R201 is connected to the negative electrode of the voltage regulator ZD2, and is connected to the output end of the lamp current sampling circuit as the input end of the lamp current detection circuit; the positive electrode of the voltage regulator ZD2 is grounded; the other end of the resistor R201 is connected to the positive input end of the operational amplifier U1A; the reverse input end of the operational amplifier U1A is respectively connected to one end of the resistor R203 and one end of the resistor R202; the other end of the resistor R202 is grounded; the other end of the resistor R203 is respectively connected to one end of the resistor R204 and the output end of the operational amplifier U1A; the other end of the resistor R204 is respectively connected to one end of the resistor R205 and the common end of the two-way diode D2; the other end of the resistor R205 is grounded; the negative end of the two-way diode D2 is connected to the voltage VCC; the positive end of the two-way diode D2 is grounded; the common end of the two-way diode D2, the resistor R204 and the resistor R205 is the output end of the lamp current detection circuit.

9. The electronic ballast for monitoring power balance of two lamps according to claim 6, characterized in that: If the judgment result is that both the first ultraviolet lamp and the second ultraviolet lamp are connected to the electronic ballast or only the first ultraviolet lamp is connected to the electronic ballast, the MCU calculates the actual power by using a difference operation method according to the dual-lamp lamp voltage signal collected by the dual-lamp lamp voltage detection circuit and the lamp current signal collected by the lamp current detection circuit; If the judgment result is that only the second ultraviolet lamp is connected to the electronic ballast, the MCU calculates the actual power using a difference operation method based on the single-lamp voltage signal collected by the single-lamp voltage detection circuit and the lamp current signal collected by the lamp current detection circuit.

10. The electronic ballast for monitoring power balance of two lamps according to claim 9, characterized in that: The actual power is compared with a power threshold preset by the MCU; if the actual power is greater than or equal to the power threshold, the MCU increases the frequency of the output PWM pulse signal; if the actual power is less than the power threshold, the MCU reduces the frequency of the output PWM pulse signal.

Citation Information

Patent Citations

  • Controller of gas discharge lamp having inductive ballast

    CN103716973A

  • Protection circuit suitable for ultraviolet lamp

    CN217904689U

  • Electronic ballast for high pressure intensity discharge lamp

    KR1020080099751A

  • Electronic ballast for high intensity discharge lamp

    KR200228127Y1

  • The apparatus and method for synchronous lighting by one ballast with two bulb

    WO2005051050A1