Electronic ballast circuit and method for automatically identifying on-off of ultraviolet lamp

By designing an electronic ballast circuit including a microcontroller and an ultraviolet lamp wiring module, the on-off state of the ultraviolet lamp is automatically identified, and the problem of manual detection dependence in the prior art is solved, thereby improving detection efficiency and equipment reliability.

CN119893788APending Publication Date: 2025-04-25BEIJING BEASUN ELECTRONIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510152047.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Existing electronic ballasts are difficult to automatically identify the on-off state of the ultraviolet lamp, which leads to the dependence of manual detection, which may cause the ultraviolet lamp to not work properly or the electronic ballast to be damaged.

Method used

An electronic ballast circuit including a microcontroller, a driving module and an ultraviolet lamp wiring module is designed. The relay is controlled by a microcontroller, and the working voltage of the ultraviolet lamp is collected, and compared with the preset voltage to automatically identify the on-off state.

Benefits of technology

It realizes automatic identification of UV lamp on and off without manual detection, improves detection efficiency, ensures the normal operation of the electronic ballast, and avoids damage caused by filament breakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893788A_ABST
    Figure CN119893788A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic ballast circuit and method for automatically identifying on-off of an ultraviolet lamp, and relates to the field of electronic ballasts.The circuit comprises a single-chip microcomputer, a driving module and an ultraviolet lamp wiring module, and the signal control end of the single-chip microcomputer is connected with the input end of the driving module; the output end of the driving module is connected with the voltage input end of the ultraviolet lamp wiring module; a wiring terminal of the ultraviolet lamp wiring module is connected to an ultraviolet lamp, a working voltage acquisition end of the ultraviolet lamp wiring module is connected with an input end of the single chip microcomputer, and the working voltage acquisition end is used for acquiring working voltage of the ultraviolet lamp; the single-chip microcomputer is used for controlling the on and off of the relay in the ultraviolet lamp wiring module, obtaining the working voltage of the ultraviolet lamp, comparing the working voltage of the ultraviolet lamp with a preset voltage, and identifying the on-off state of the ultraviolet lamp based on a comparison result. According to the invention, the turn-on condition of the ultraviolet lamp can be rapidly and accurately judged, and the detection efficiency of the ultraviolet lamp is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic ballasts, and in particular to an electronic ballast circuit and method for automatically identifying whether an ultraviolet lamp is on or off. Background Art

[0002] In the field of ultraviolet disinfection, the current electronic ballasts that drive ultraviolet lamps have limited ability to identify the connection status of ultraviolet lamps, especially when judging the on and off status of the filament, which often requires manual detection. If the filament is disconnected and not discovered in time, it may cause the ultraviolet lamp to not work properly, or even cause damage to the electronic ballast. Summary of the invention

[0003] The purpose of this application is to provide an electronic ballast circuit and method, device, equipment, medium and product for automatically identifying the on and off of an ultraviolet lamp, which can quickly and accurately determine the connection status of the ultraviolet lamp and improve the detection efficiency of the ultraviolet lamp.

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

[0005] In a first aspect, the present application provides an electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off, comprising: a single chip microcomputer, a driving module and an ultraviolet lamp wiring module;

[0006] The signal control terminal of the single chip microcomputer is connected to the input terminal of the driving module, and the output terminal of the driving module is connected to the voltage input terminal of the ultraviolet lamp wiring module;

[0007] The connection terminal of the ultraviolet lamp connection module is connected to the ultraviolet lamp, the working voltage collection end of the ultraviolet lamp connection module is connected to the input end of the single-chip microcomputer, and the working voltage collection end is used to collect the working voltage of the ultraviolet lamp;

[0008] The filament of the ultraviolet lamp is connected to the wiring terminal of the relay in the ultraviolet lamp wiring module, and the wiring control terminal of the relay is connected to the relay control terminal of the single-chip microcomputer;

[0009] The single chip microcomputer is used to control the closing and opening of the relay, and obtain the working voltage of the ultraviolet lamp, compare the working voltage of the ultraviolet lamp with a preset voltage, and identify the on and off state of the ultraviolet lamp based on the comparison result.

[0010] Further, the ultraviolet lamp wiring module is provided with a first relay, a second relay and a third relay; the ultraviolet lamp includes a No. 1 ultraviolet lamp and a No. 2 ultraviolet lamp, the filament of the No. 1 ultraviolet lamp includes a first filament, a second filament, a third filament and a fourth filament, and the filament of the No. 2 ultraviolet lamp includes a fifth filament, a sixth filament, a seventh filament and an eighth filament; the working voltage collection terminal of the ultraviolet lamp wiring module includes a first voltage collection terminal and a second voltage collection terminal;

[0011] One end of the third relay is connected to the first filament, and a connection node between one end of the third relay and the first filament is a voltage input end of the ultraviolet lamp wiring module;

[0012] The second filament is connected to the first end of the second relay, and the connection node between the second filament and the first end of the second relay is a second voltage collection terminal; the second voltage collection terminal is used to collect the working voltage of the No. 1 ultraviolet lamp;

[0013] The third filament is connected to the second end of the second relay, the fourth filament, the fifth filament, and one end of the first relay are all connected to the other end of the third relay, the sixth filament is connected to the third end of the second relay, and the connection node between the sixth filament and the third end of the second relay is a first voltage collection end; the first voltage collection end is used to collect the working voltage of the second ultraviolet lamp;

[0014] The seventh filament is connected to the fourth end of the second relay, and the eighth filament is connected to the other end of the first relay;

[0015] The wiring control end of the first relay, the wiring control end of the second relay and the wiring control end of the third relay are all connected to the relay control end of the single-chip microcomputer; the input end of the single-chip microcomputer is respectively connected to the first voltage collection end and the second voltage collection end.

[0016] Further, the PB13 pin and the PB14 pin of the single chip microcomputer are signal control terminals of the single chip microcomputer, and the driving module includes a driving voltage unit and a grounding unit;

[0017] The signal control end of the single chip microcomputer is connected to the signal input end of the driving voltage unit; the voltage output end of the driving voltage unit is connected to the input end of the grounding unit, and the output end of the grounding unit is connected to the voltage input end of the ultraviolet lamp wiring module; the grounding end of the grounding unit is grounded.

[0018] Further, the grounding unit includes a pull-down resistor and a first capacitor;

[0019] One end of the pull-down resistor is connected to the voltage input end of the ultraviolet lamp wiring module, and the other end of the pull-down resistor and one end of the first capacitor are both connected to the voltage output end of the driving voltage unit; the other end of the first capacitor is grounded.

[0020] Further, the PA00 pin and the PB12 pin of the single-chip microcomputer are input terminals of the single-chip microcomputer;

[0021] The electronic ballast circuit for automatically identifying the on and off of the ultraviolet lamp further includes: a first acquisition circuit and a second acquisition circuit;

[0022] The input end of the first acquisition circuit is connected to the first voltage acquisition end, the output end of the first acquisition circuit is connected to the PB12 pin, and the first acquisition circuit is used to collect the working voltage of the second ultraviolet lamp;

[0023] The input end of the second acquisition circuit is connected to the second voltage acquisition end, the output end of the second acquisition circuit is connected to the PA00 pin, and the second acquisition circuit is used to collect the working voltage of the No. 1 ultraviolet lamp.

[0024] In a second aspect, the present application provides a method for automatically identifying whether an ultraviolet lamp is on or off, which is applied to the electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off, comprising:

[0025] Collect the working voltage of the UV lamp;

[0026] The operating voltage is compared with a preset voltage, and the on / off state of the ultraviolet lamp is identified based on the comparison result.

[0027] Further, the ultraviolet lamp includes a No. 1 ultraviolet lamp and a No. 2 ultraviolet lamp, the operating voltage of the ultraviolet lamp includes the operating voltage of the No. 1 ultraviolet lamp and the operating voltage of the No. 2 ultraviolet lamp, the No. 1 ultraviolet lamp includes a first filament, a second filament, a third filament and a fourth filament, and the No. 2 ultraviolet lamp includes a fifth filament, a sixth filament, a seventh filament and an eighth filament;

[0028] The operation voltage is compared with a preset voltage to obtain a comparison result, and the on / off state of the ultraviolet lamp is identified based on the comparison result, specifically including:

[0029] Comparing the first operating voltage of the first ultraviolet lamp with a preset voltage, and identifying the on / off states of the first ultraviolet lamp and the second ultraviolet lamp according to the comparison result;

[0030] When both the No. 1 ultraviolet lamp and the No. 2 ultraviolet lamp are not turned on, the working voltage of the No. 1 ultraviolet lamp is collected again to obtain a second working voltage, and the on / off state of the No. 1 ultraviolet lamp is identified according to a comparison result between the second working voltage and a preset voltage;

[0031] When the No. 1 ultraviolet lamp is not turned on, the working voltage of the No. 2 ultraviolet lamp is collected again to obtain a third working voltage, and the on / off state of the No. 2 ultraviolet lamp is identified based on a comparison result between the third working voltage and a preset voltage.

[0032] Further, the first operating voltage of the first ultraviolet lamp is compared with a preset voltage, and the on / off states of the first ultraviolet lamp and the second ultraviolet lamp are identified according to the comparison result, including:

[0033] When the first working voltage of the first ultraviolet lamp is less than the preset voltage, it is determined that the first filament and the second filament of the first ultraviolet lamp are not connected, indicating that the first ultraviolet lamp is not connected;

[0034] If the first operating voltage of the first ultraviolet lamp is greater than the preset voltage, the first filament and the second filament of the first ultraviolet lamp are connected, and the operating voltage of the first ultraviolet lamp is collected again to obtain a fourth operating voltage;

[0035] When the fourth operating voltage is less than the preset voltage, it is determined that both the first ultraviolet lamp and the second ultraviolet lamp are turned on;

[0036] When the fourth operating voltage is greater than the preset voltage, it is determined that both the first ultraviolet lamp and the second ultraviolet lamp are not turned on.

[0037] Further, the on / off state of the first ultraviolet lamp is identified according to the comparison result between the second working voltage and the preset voltage, including:

[0038] When the second operating voltage is less than the preset voltage, it is determined that the third filament and the fourth filament of the first ultraviolet lamp are connected, and the first ultraviolet lamp is turned on;

[0039] When the second operating voltage is greater than the preset voltage, it is determined that the third filament and the fourth filament of the No. 1 ultraviolet lamp are not connected, and the No. 1 ultraviolet lamp is not connected.

[0040] Further, the on / off state of the second ultraviolet lamp is identified according to the comparison result between the third working voltage and the preset voltage, including:

[0041] When the third working voltage is less than the preset voltage, it is determined that the fifth filament and the sixth filament of the second ultraviolet lamp are not connected, and the second ultraviolet lamp is not connected;

[0042] When the third working voltage is greater than the preset voltage, it is determined that the fifth filament and the sixth filament of the second ultraviolet lamp are connected, the working voltage of the second ultraviolet lamp is collected again to obtain a fifth working voltage, and the fifth working voltage is compared with the preset voltage;

[0043] When the fifth working voltage is greater than the preset voltage, it is determined that the seventh filament and the eighth filament of the second ultraviolet lamp are not connected, and the second ultraviolet lamp is not connected;

[0044] When the fifth operating voltage is less than the preset voltage, it is determined that the seventh filament and the eighth filament of the second ultraviolet lamp are connected, and the second ultraviolet lamp is turned on.

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

[0046] The present application provides an electronic ballast circuit and method for automatically identifying whether an ultraviolet lamp is on or off. The circuit controls the closing and opening of a relay in an ultraviolet lamp wiring module through a single-chip microcomputer, so that the filament of the ultraviolet lamp is connected to the ultraviolet lamp wiring module. On this basis, the working voltage of the ultraviolet lamp is obtained, and the working voltage of the ultraviolet lamp is compared with a preset voltage. The on or off of the ultraviolet lamp is identified based on the comparison result. This process can automatically identify whether the ultraviolet lamp is on or off through the comparison result, and there is no need for manual detection of the on or off of the ultraviolet lamp, thereby improving the detection efficiency of the ultraviolet lamp and ensuring the normal operation of the electronic ballast. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] 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.

[0048] Figure 1 This is a functional module diagram of an electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off in one embodiment of the present application;

[0049] Figure 2 A schematic diagram of the structure of an ultraviolet connection module provided in one embodiment of the present application;

[0050] Figure 3 A schematic diagram of the structure of a single chip microcomputer provided in one embodiment of the present application;

[0051] Figure 4 The structural intention of the driving module provided in one embodiment of the present application;

[0052] Figure 5 A schematic diagram of the structure of a first acquisition circuit provided in an embodiment of the present application;

[0053] Figure 6 A schematic diagram of the structure of a second acquisition circuit provided in an embodiment of the present application;

[0054] Figure 7 A logical relationship diagram of a method for automatically identifying whether a UV lamp is on or off provided in one embodiment of the present application. DETAILED DESCRIPTION

[0055] 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.

[0056] In order to make the purpose, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0057] The embodiment of the present application provides an electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off, such as Figure 1 As shown, it includes: a single chip computer 1, a driving module 2 and an ultraviolet lamp wiring module 3.

[0058] The signal control end of the single-chip microcomputer 1 is connected to the input end of the driving module 2, and the output end of the driving module 2 is connected to the voltage input end of the ultraviolet lamp wiring module 3. The wiring terminal of the ultraviolet lamp wiring module 3 is connected to the ultraviolet lamp, and the working voltage collection end of the ultraviolet lamp wiring module 3 is connected to the input end of the single-chip microcomputer 1, and the working voltage collection end is used to collect the working voltage of the ultraviolet lamp. The filament of the ultraviolet lamp is connected to the wiring end of the relay in the ultraviolet lamp wiring module 3, and the wiring control end of the relay is connected to the relay control end of the single-chip microcomputer 1. The single-chip microcomputer 1 is used to control the closing and opening of the relay, and obtain the working voltage of the ultraviolet lamp, compare the working voltage of the ultraviolet lamp with the preset voltage, and identify the on-off state of the ultraviolet lamp based on the comparison result.

[0059] like Figure 2 As shown, the ultraviolet lamp wiring module 3 is provided with a first relay A, a second relay B and a third relay C; the ultraviolet lamp includes a No. 1 ultraviolet lamp D1 and a No. 2 ultraviolet lamp D2, and the wiring terminals of the ultraviolet lamp wiring module 3 include a No. 1 terminal and a No. 2 terminal, wherein the No. 1 terminal is used to connect to the No. 1 ultraviolet lamp D1, and the No. 2 terminal is used to connect to the No. 2 ultraviolet lamp D2. The No. 1 ultraviolet lamp D1 includes a first filament P1, a second filament P2, a third filament P3 and a fourth filament P4, and the No. 1 ultraviolet lamp D1 can only be powered on and lit when the four filaments of the No. 1 ultraviolet lamp D1 are all connected, and the No. 2 ultraviolet lamp D2 includes a fifth filament P5, a sixth filament P6, a seventh filament P7 and an eighth filament P8, and the No. 2 ultraviolet lamp D2 can only be powered on and lit when the four filaments of the No. 2 ultraviolet lamp D2 are all connected. The working voltage collection terminal of the ultraviolet lamp wiring module 3 includes a first voltage collection terminal V2 and a second voltage collection terminal V1.

[0060] One end of the third relay C is connected to the first filament P1, and the connection node between the one end of the third relay C and the first filament P1 is the voltage input terminal VLAMP2 of the ultraviolet lamp wiring module 3. The second filament P2 is connected to the first end of the second relay B, and the connection node between the second filament P2 and the first end of the second relay B is the second voltage collection terminal V1; the second voltage collection terminal V1 is used to collect the working voltage of the first ultraviolet lamp.

[0061] The third filament P3 is connected to the second end of the second relay B, the fourth filament P4, the fifth filament P5, and one end of the first relay A are all connected to the other end of the third relay C, the sixth filament P6 is connected to the third end of the second relay B, and the connection node between the sixth filament P6 and the third end of the second relay B is the first voltage collection terminal V2; the first voltage collection terminal V2 is used to collect the working voltage of the No. 2 ultraviolet lamp.

[0062] The seventh filament P7 is connected to the fourth end of the second relay B, and the eighth filament P8 is connected to the other end of the first relay A.

[0063] The connection control end of the first relay A, the connection control end of the second relay B and the connection control end of the third relay C are all connected to the relay control end of the single chip computer 1; the input end of the single chip computer 1 is respectively connected to the first voltage collection end V2 and the second voltage collection end V1.

[0064] like Figure 3 As shown, the PB13 pin and the PB14 pin of the single-chip microcomputer 1 are the signal control terminals of the single-chip microcomputer 1, and the PB12 pin and the PA00 pin of the single-chip microcomputer 1 are the input terminals of the single-chip microcomputer 1; the PB12 pin is connected to the second voltage collection terminal V1, and the PA00 pin is connected to the first voltage collection terminal V2.

[0065] The relay control terminals of the single chip computer 1 are pins PA07, PA08 and PA09, the wiring control terminal of the first relay A is connected to pin PA07, the wiring control terminal of the second relay B is connected to pin PA08, and the wiring control terminal of the third relay C is connected to pin PA09.

[0066] like Figure 4 As shown, the driving module 2 includes a driving voltage unit 21 and a grounding unit 22. The signal control terminal of the single chip computer 1 is connected to the signal input terminal of the driving voltage unit 21; the voltage output terminal of the driving voltage unit 21 is connected to the input terminal of the grounding unit 22, and the output terminal of the grounding unit 22 is connected to the voltage input terminal of the ultraviolet lamp wiring module 3; the grounding terminal of the grounding unit 22 is grounded.

[0067] The driving voltage unit 21 includes: a driving chip U301, a first resistor R304, a second resistor R305, a third resistor R317, a fourth resistor R308, a fifth resistor R306, a sixth resistor R303, a seventh resistor R302, a third capacitor C303, a second capacitor C304, a resonant inductor L301A, a first field effect transistor Q301, a second field effect transistor Q302 and a first diode D302.

[0068] The HIN pin of the driving chip U301 is connected to one end of the first resistor R304, the other end of the first resistor R304 is connected to the PB15 pin, one end of the second resistor R305 is connected to the PB14 pin, the LIN pin of the driving chip U301 is connected to the other end of the second resistor R305, and one end of the first resistor R304 and one end of the second resistor R305 are signal input ends of the driving voltage unit 21.

[0069] The VCC pin of the driver chip U301 and the anode of the first diode D302 are both connected to the first positive power supply. In this embodiment, the first positive power supply is 12V. The cathode of the first diode D302 is connected to one end of the third resistor R317, and the other end of the third resistor R317 and one end of the second capacitor C304 are both connected to the VB pin of the driver chip U301. One end of the sixth resistor R303 and one end of the seventh resistor R302 are both connected to the gate of the first field effect transistor Q301, and the other end of the seventh resistor R302 is connected to the HO pin of the driver chip U301. The drain of the first field effect transistor Q301 is connected to a positive voltage, and the source of the first field effect transistor Q301, the other end of the second capacitor C304, the other end of the sixth resistor R303, and one end of the resonant inductor L301A are connected to the positive voltage. The first end and the drain of the second field effect transistor Q302 are both connected to the VS pin of the driving chip U301, the LO pin of the driving chip U301 is connected to one end of the fifth resistor R306, the other end of the fifth resistor R306 and one end of the fourth resistor R308 are both connected to the gate of the second field effect transistor Q302, the source of the second field effect transistor Q302 and the other end of the fourth resistor R308 are both grounded, the other end of the resonant inductor L301A is connected to one end of the third capacitor C303, the other end of the third capacitor C303 is the voltage output end of the driving voltage unit 21, and the COM pin of the driving chip U301 is grounded.

[0070] The grounding unit 22 includes a pull-down resistor RL and a first capacitor C305. One end of the pull-down resistor RL is connected to the voltage input end of the ultraviolet lamp wiring module 3, one end of the pull-down resistor RL is the output end of the grounding unit 22, the other end of the pull-down resistor RL and one end of the first capacitor C305 are both connected to the voltage output end of the driving voltage unit 21; the other end of the first capacitor C305 is grounded, and the other end of the first capacitor C305 is the grounding end of the grounding unit 22.

[0071] like Figure 4As shown, the pull-down resistor RL includes: a first pull-down resistor RL1, a second pull-down resistor RL2 and a third pull-down resistor RL3.

[0072] One end of the first capacitor C305 is connected to the other end of the first pull-down resistor RL1, one end of the first pull-down resistor RL1 is connected to the other end of the second pull-down resistor RL2, one end of the second pull-down resistor RL2 is connected to the other end of the third pull-down resistor RL3, and one end of the third pull-down resistor RL3 is the output end of the grounding unit 22.

[0073] In an exemplary embodiment, Figure 5 and Figure 6 As shown, the ultraviolet lamp on and off identification circuit also includes: a first acquisition circuit and a second acquisition circuit.

[0074] The input end of the first acquisition circuit is connected to the first voltage acquisition end V2, the output end of the first acquisition circuit is connected to the PB12 pin, and the first acquisition circuit is used to collect the working voltage of the second ultraviolet lamp.

[0075] The first acquisition circuit 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 limits the analog voltage V2_ADC amplified by the operational amplifier U1C to prevent the voltage from being too high or too low to damage the analog voltage V2_ADC. Figure 3 The analog voltage V2_ADC is the output of the first acquisition circuit.

[0076] Specifically, one end of the resistor R101 serves as the input end of the first acquisition circuit ( Figure 5V2 in the figure), connected to the first voltage collection end V2 of the ultraviolet lamp wiring module 3. 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 ZD1. The positive electrode of the voltage regulator ZD1 and the other end of the resistor R102 are both grounded. The voltage regulator ZD1 is mainly used to limit the voltage of the 10 pin of the operational amplifier U1C to prevent damage caused by too high voltage. 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 one end of the resistor R105 and 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 two-way diode D1 is connected to the voltage VCC. The anode end of the two-way diode D1 is grounded. The connection node of the two-way diode D1, the other end of the resistor R107 and the resistor R109 is the output end of the first acquisition circuit.

[0077] The input end of the second acquisition circuit is connected to the second voltage acquisition end, the output end of the second acquisition circuit is connected to the PA00 pin, and the second acquisition circuit is used to collect the working voltage of the No. 1 ultraviolet lamp.

[0078] The second acquisition circuit includes: resistor R101A, resistor R102A, resistor R103A, resistor R104A, resistor R105A, resistor R106A, resistor R107A, resistor R109A, dual-path diode D1A, operational amplifier U3C and voltage regulator ZD1A. The dual-path diode D1A mainly limits the analog voltage V1_ADC amplified by the operational amplifier U3C to prevent the voltage from being too high or too low to damage the analog voltage V1_ADC. Figure 3 The analog voltage V1_ADC is the output of the second acquisition circuit.

[0079] Specifically, one end of the resistor R101A serves as the input end of the second acquisition circuit ( Figure 6V1 in the figure), connected to the second voltage collection end V1 of the ultraviolet lamp wiring module 3. 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 pole of the voltage regulator ZD1A. The positive pole of the voltage regulator ZD1A and the other end of the resistor R102A are both grounded. The voltage regulator ZD1A is mainly used to limit the voltage of the 10 pin of the operational amplifier U3C to prevent the voltage from being too high and being damaged. The other end of the resistor R104A is connected to the positive input end of the operational amplifier U3C. The reverse input end of the operational amplifier U3C 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 U3C. 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 respectively. 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 connection node of the two-way diode D1, the other end of the resistor R107A and the resistor R109A is the output end of the second acquisition circuit.

[0080] In an exemplary embodiment, a method for automatically identifying whether an ultraviolet lamp is on or off is provided, which is applied to the electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off, and the method for automatically identifying whether an ultraviolet lamp is on or off includes: collecting the working voltage of the ultraviolet lamp, comparing the working voltage with a preset voltage, and identifying the on or off state of the ultraviolet lamp based on the comparison result.

[0081] Through the above-mentioned UV lamp on-off identification method, the on-off of the UV lamp can be automatically identified according to the comparison result of the working voltage of the UV lamp and the preset voltage. The user does not need to understand circuit knowledge, as long as the load is connected to the terminal of the UV lamp wiring module, the on-off state of the current UV lamp filament can be automatically detected, and then the on-off of the UV lamp can be determined.

[0082] In an exemplary embodiment, Figure 7 As shown, comparing the first operating voltage with a preset voltage, and identifying the on / off state of the ultraviolet lamp based on the comparison result, specifically includes:

[0083] After the electronic ballast circuit for automatically identifying the on and off state of the ultraviolet lamp is powered on, the first working voltage V21 of the first ultraviolet lamp D1 is obtained, the first working voltage V21 is compared with a preset voltage, and the on and off state of the first ultraviolet lamp D1 and the second ultraviolet lamp D2 are identified according to the comparison result. Specifically, it includes:

[0084] When the first working voltage V21 is less than the preset voltage, it is determined that the first filament P1 and the second filament P2 of the first ultraviolet lamp D1 are not turned on, indicating that the first ultraviolet lamp D1 is not turned on.

[0085] If the first working voltage V21 is greater than the preset voltage, the first filament P1 and the second filament P2 of the first ultraviolet lamp D1 are connected. At this time, the single chip computer 1 closes the second relay B and collects the working voltage V2 of the first ultraviolet lamp D1 again to obtain a fourth working voltage V24.

[0086] The fourth operating voltage V24 collected again is compared with the preset voltage. When the fourth operating voltage V24 is less than the preset voltage, it is determined that the first ultraviolet lamp D1 and the second ultraviolet lamp D2 are turned on.

[0087] When the fourth working voltage V24 is greater than the preset voltage, it is determined that the first ultraviolet lamp D1 and the second ultraviolet lamp D2 are not connected, that is, there are unconnected filaments among the third filament P3 and the fourth filament P4 of the first ultraviolet lamp D1 and the fifth filament P5, the sixth filament P6, the seventh filament P7, and the eighth filament P8 of the second ultraviolet lamp D2.

[0088] When the No. 1 ultraviolet lamp D1 and the No. 2 ultraviolet lamp D2 are not turned on, the single chip computer 1 keeps the second relay B closed and closes the first relay A, collects the working voltage V2 of the No. 1 ultraviolet lamp D1 again, obtains the second working voltage V22, and compares the collected second working voltage V22 with the preset voltage, and identifies the on / off state of the No. 1 ultraviolet lamp D1 according to the comparison result. Specifically including:

[0089] When the second working voltage V22 is less than the preset voltage, it is determined that the third filament P3 and the fourth filament P4 of the first ultraviolet lamp D1 are turned on, and the first ultraviolet lamp D1 is turned on.

[0090] When the second working voltage V22 is greater than the preset voltage, it is determined that the third filament P3 and the fourth filament P4 of the first ultraviolet lamp D1 are not turned on, and the first ultraviolet lamp D1 is not turned on.

[0091] When the No. 1 ultraviolet lamp D1 is not turned on, the single chip computer 1 disconnects the first relay A and the second relay B, closes the third relay C, collects the working voltage V1 of the No. 2 ultraviolet lamp D2 again, obtains the third working voltage V13, and compares the third working voltage V13 with the preset voltage, and identifies the on / off state of the No. 2 ultraviolet lamp D2 according to the comparison result. Specifically including:

[0092] When the third working voltage V13 is less than the preset voltage, it is determined that the fifth filament P5 and the sixth filament P6 of the second ultraviolet lamp D2 are not turned on, and the second ultraviolet lamp D2 is not turned on.

[0093] When the third working voltage V13 is greater than the preset voltage, it is determined that the fifth filament P5 and the sixth filament P6 of the No. 2 ultraviolet lamp D2 are connected. At this time, the single-chip microcomputer keeps the third relay C closed and closes the second relay B at the same time, and collects the working voltage V1 of the No. 2 ultraviolet lamp D2 again to obtain the fifth working voltage V15, and compares the fifth working voltage V15 with the preset voltage.

[0094] When the fifth working voltage V15 is greater than the preset voltage, it is determined that the seventh filament P7 and the eighth filament P8 of the second ultraviolet lamp D2 are not turned on, and the second ultraviolet lamp D2 is not turned on.

[0095] When the fifth working voltage V15 is less than the preset voltage, it is determined that the seventh filament P7 and the eighth filament P8 of the second ultraviolet lamp D2 are turned on, and the second ultraviolet lamp D2 is turned on.

[0096] The method of automatically identifying the on and off state of the UV lamp in this application does not require manual detection, and can quickly determine the connection status of the UV lamp filament, ensuring that the electronic ballast can operate correctly in various installation methods. By intelligently identifying the filament status of the UV lamp, it is possible to effectively avoid lighting failure or ballast damage caused by filament disconnection, thereby ensuring the normal preheating, starting and lighting process of the UV lamp, and improving the reliability and applicability of the equipment.

[0097] 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 circuit for automatically identifying the on and off state of an ultraviolet lamp, characterized in that: The electronic ballast circuit for automatically identifying the on and off of the ultraviolet lamp comprises: a single chip microcomputer, a driving module and an ultraviolet lamp wiring module; The signal control terminal of the single chip microcomputer is connected to the input terminal of the driving module, and the output terminal of the driving module is connected to the voltage input terminal of the ultraviolet lamp wiring module; The connection terminal of the ultraviolet lamp connection module is connected to the ultraviolet lamp, the working voltage collection end of the ultraviolet lamp connection module is connected to the input end of the single-chip microcomputer, and the working voltage collection end is used to collect the working voltage of the ultraviolet lamp; The filament of the ultraviolet lamp is connected to the wiring terminal of the relay in the ultraviolet lamp wiring module, and the wiring control terminal of the relay is connected to the relay control terminal of the single-chip microcomputer; The single chip microcomputer is used to control the closing and opening of the relay, and obtain the working voltage of the ultraviolet lamp, compare the working voltage of the ultraviolet lamp with a preset voltage, and identify the on and off state of the ultraviolet lamp based on the comparison result.

2. The electronic ballast circuit for automatically identifying the on and off state of an ultraviolet lamp according to claim 1, characterized in that: The ultraviolet lamp wiring module is provided with a first relay, a second relay and a third relay; the ultraviolet lamp includes a first ultraviolet lamp and a second ultraviolet lamp, the filament of the first ultraviolet lamp includes a first filament, a second filament, a third filament and a fourth filament, and the filament of the second ultraviolet lamp includes a fifth filament, a sixth filament, a seventh filament and an eighth filament; the working voltage collection end of the ultraviolet lamp wiring module includes a first voltage collection end and a second voltage collection end; One end of the third relay is connected to the first filament, and a connection node between one end of the third relay and the first filament is a voltage input end of the ultraviolet lamp wiring module; The second filament is connected to the first end of the second relay, and the connection node between the second filament and the first end of the second relay is a second voltage collection end; the second voltage collection end is used to collect the working voltage of the No. 1 ultraviolet lamp; The third filament is connected to the second end of the second relay, the fourth filament, the fifth filament, and one end of the first relay are all connected to the other end of the third relay, the sixth filament is connected to the third end of the second relay, and the connection node between the sixth filament and the third end of the second relay is a first voltage collection end; the first voltage collection end is used to collect the working voltage of the second ultraviolet lamp; The seventh filament is connected to the fourth end of the second relay, and the eighth filament is connected to the other end of the first relay; The wiring control end of the first relay, the wiring control end of the second relay and the wiring control end of the third relay are all connected to the relay control end of the single-chip microcomputer; the input end of the single-chip microcomputer is respectively connected to the first voltage collection end and the second voltage collection end.

3. The electronic ballast circuit for automatically identifying the on and off state of an ultraviolet lamp according to claim 1, characterized in that: The PB13 pin and the PB14 pin of the single chip microcomputer are signal control terminals of the single chip microcomputer, and the driving module includes a driving voltage unit and a grounding unit; The signal control end of the single chip microcomputer is connected to the signal input end of the driving voltage unit; the voltage output end of the driving voltage unit is connected to the input end of the grounding unit, and the output end of the grounding unit is connected to the voltage input end of the ultraviolet lamp wiring module; the grounding end of the grounding unit is grounded.

4. The electronic ballast circuit for automatically identifying the on and off state of an ultraviolet lamp according to claim 3 is characterized in that: The grounding unit includes a pull-down resistor and a first capacitor; One end of the pull-down resistor is connected to the voltage input end of the ultraviolet lamp wiring module, and the other end of the pull-down resistor and one end of the first capacitor are both connected to the voltage output end of the driving voltage unit; the other end of the first capacitor is grounded.

5. The electronic ballast circuit for automatically identifying the on and off state of an ultraviolet lamp according to claim 2, characterized in that: The PA00 pin and the PB12 pin of the single-chip microcomputer are input terminals of the single-chip microcomputer; The electronic ballast circuit for automatically identifying the on and off of the ultraviolet lamp further includes: a first acquisition circuit and a second acquisition circuit; The input end of the first acquisition circuit is connected to the first voltage acquisition end, the output end of the first acquisition circuit is connected to the PB12 pin, and the first acquisition circuit is used to collect the working voltage of the second ultraviolet lamp; The input end of the second acquisition circuit is connected to the second voltage acquisition end, the output end of the second acquisition circuit is connected to the PA00 pin, and the second acquisition circuit is used to collect the working voltage of the No. 1 ultraviolet lamp.

6. A method for automatically identifying whether an ultraviolet lamp is on or off, characterized in that: The electronic ballast circuit for automatically identifying whether an ultraviolet lamp is on or off as described in any one of claims 1 to 5, wherein the method for automatically identifying whether an ultraviolet lamp is on or off comprises: Collect the working voltage of the UV lamp; The operating voltage is compared with a preset voltage, and the on / off state of the ultraviolet lamp is identified based on the comparison result.

7. The method for automatically identifying whether a UV lamp is on or off according to claim 6, characterized in that: The ultraviolet lamp comprises a first ultraviolet lamp and a second ultraviolet lamp, the first ultraviolet lamp comprises a first filament, a second filament, a third filament and a fourth filament, the second ultraviolet lamp comprises a fifth filament, a sixth filament, a seventh filament and an eighth filament, and the operating voltage comprises a first operating voltage, a second operating voltage, a third operating voltage, a fourth operating voltage and a fifth operating voltage; The operating voltage is compared with a preset voltage, and the on / off state of the ultraviolet lamp is identified based on the comparison result, specifically including: Comparing the first operating voltage of the first ultraviolet lamp with a preset voltage, and identifying the on / off states of the first ultraviolet lamp and the second ultraviolet lamp according to the comparison result; When both the No. 1 ultraviolet lamp and the No. 2 ultraviolet lamp are not turned on, the working voltage of the No. 1 ultraviolet lamp is collected again to obtain a second working voltage, and the on / off state of the No. 1 ultraviolet lamp is identified according to a comparison result between the second working voltage and a preset voltage; When the No. 1 ultraviolet lamp is not turned on, the working voltage of the No. 2 ultraviolet lamp is collected again to obtain a third working voltage, and the on / off state of the No. 2 ultraviolet lamp is identified based on a comparison result between the third working voltage and a preset voltage.

8. The method for automatically identifying whether a UV lamp is on or off according to claim 7, characterized in that: The first operating voltage of the first ultraviolet lamp is compared with a preset voltage, and the on / off states of the first ultraviolet lamp and the second ultraviolet lamp are identified according to the comparison result, including: When the first working voltage of the first ultraviolet lamp is less than the preset voltage, it is determined that the first filament and the second filament of the first ultraviolet lamp are not connected, indicating that the first ultraviolet lamp is not connected; If the first operating voltage of the first ultraviolet lamp is greater than the preset voltage, the first filament and the second filament of the first ultraviolet lamp are connected, and the operating voltage of the first ultraviolet lamp is collected again to obtain a fourth operating voltage; When the fourth operating voltage is less than the preset voltage, it is determined that both the first ultraviolet lamp and the second ultraviolet lamp are turned on; When the fourth operating voltage is greater than the preset voltage, it is determined that both the first ultraviolet lamp and the second ultraviolet lamp are not turned on.

9. The method for automatically identifying whether a UV lamp is on or off according to claim 8, characterized in that: Identifying the on / off state of the first ultraviolet lamp according to the comparison result between the second working voltage and the preset voltage includes: When the second operating voltage is less than the preset voltage, it is determined that the third filament and the fourth filament of the first ultraviolet lamp are connected, and the first ultraviolet lamp is turned on; When the second operating voltage is greater than the preset voltage, it is determined that the third filament and the fourth filament of the No. 1 ultraviolet lamp are not connected, and the No. 1 ultraviolet lamp is not connected.

10. The method for automatically identifying whether an ultraviolet lamp is on or off according to claim 9, characterized in that: Identifying the on / off state of the second ultraviolet lamp according to the comparison result between the third working voltage and the preset voltage includes: When the third working voltage is less than the preset voltage, it is determined that the fifth filament and the sixth filament of the second ultraviolet lamp are not connected, and the second ultraviolet lamp is not connected; When the third working voltage is greater than the preset voltage, it is determined that the fifth filament and the sixth filament of the second ultraviolet lamp are connected, the working voltage of the second ultraviolet lamp is collected again to obtain a fifth working voltage, and the fifth working voltage is compared with the preset voltage; When the fifth working voltage is greater than the preset voltage, it is determined that the seventh filament and the eighth filament of the second ultraviolet lamp are not connected, and the second ultraviolet lamp is not connected; When the fifth operating voltage is less than the preset voltage, it is determined that the seventh filament and the eighth filament of the second ultraviolet lamp are connected, and the second ultraviolet lamp is turned on.