Self-adaptive dimming system of lamp

By introducing a combination of power circuit, voltage divider circuit, current sampling circuit and microcontroller in the dimming system, identifying the load type of the lamp and adaptively selecting the dimming method, the interference problem caused by the failure of the existing system to identify the load type is solved, and the interference problem caused by the failure of the existing system to identify the load type is improved. The safety and reliability of the lamps.

CN222216003UActive Publication Date: 2024-12-20RINGSLINK XIAMEN NETWORK COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420931327.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-12-20
Estimated Expiration
2034-04-30

AI Technical Summary

Technical Problem

The existing dimming system cannot identify the load type of the lamp, resulting in the inability to adaptively select the appropriate dimming control method, which may cause interference from the AC power line and affect the performance and reliability of the lamp.

Method used

A dimming control module including power supply circuit, voltage voltage divider circuit, current sampling circuit, power metering circuit and microcontroller were designed. By collecting current peak and effective values, determining the load type and selecting an appropriate dimming control method to reduce the AC Power cord interference.

Benefits of technology

Accurate identification of the load type of lamps and adaptive dimming control are achieved, which improves the safety and reliability of lamps and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222216003U_ABST
    Figure CN222216003U_ABST
Patent Text Reader

Abstract

The self-adaptive dimming system comprises a mains supply alternating current power supply, a dimming control module and the lamp, and the dimming control module comprises a power supply circuit, a voltage division circuit, a current sampling circuit, an electric energy metering circuit, a single chip microcomputer and a dimming circuit. The alternating current mains supply is respectively connected with the power supply circuit, the voltage division circuit and the lamp, the power supply circuit is respectively connected with the electric energy metering circuit and the dimming circuit, the electric energy metering circuit is respectively connected with the voltage division circuit, the current sampling circuit and the single chip microcomputer, and the dimming circuit is connected with the current sampling circuit, the single chip microcomputer and the lamp. According to the utility model, the load type of the lamp is automatically identified, a proper dimming control mode is adaptively switched, and the reliability and safety of the lamp are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of smart home, in particular to an adaptive dimming system of a lamp. Background Art

[0002] like Figure 1 As shown, in the existing dimming system, it includes an AC power supply, a dimming control module and a lamp. The neutral wire and the live wire of the AC power supply are connected to the input end of the dimming control module, and the output end of the dimming control module and the neutral wire of the AC power supply are both connected to the lamp. The dimming control module controls the phase angle of the AC power supply to change the on time and off time of the lamp, so as to achieve the purpose of controlling the brightness of the lamp.

[0003] At present, the two most commonly used phase angle dimming control methods include leading edge phase dimming and trailing edge phase dimming. Figure 2 The figure shows the leading edge phase dimming. The first part of the AC power supply voltage after it passes zero is cut off by the dimming control module. The AC voltage waveform is as follows: Figure 3 The figure shows the trailing edge phase-cut dimming, in which the last part of the AC power supply voltage after it passes through zero is cut off by the dimming control module.

[0004] The load types of lamps currently on the market can be divided into resistive, capacitive and inductive according to impedance characteristics. Different load types of lamps should adopt corresponding dimming control methods. Using the wrong dimming control method will generate interference signals on the AC power line, which will harm the lamps, affect the performance and reliability of the lamps, and even cause damage to the lamps in serious cases.

[0005] Therefore, it is very important to identify the load type of the lamp in the dimming system and adopt the correct dimming control method according to the different load types. The existing dimming control module is a dimming switch, whose function is only to control the on time and off time of the lamp, that is, to control the on and off of the lamp. It is unable to collect the peak current and the effective current value of the lamp and identify the load type of the lamp after calculation, and it is even more unable to adaptively select the leading edge phase-cut dimming or trailing edge phase-cut dimming according to the connected load type. Therefore, an adaptive dimming system for lamps is urgently needed. Utility Model Content

[0006] In view of this, an object of the present invention is to provide an adaptive dimming system for a lamp.

[0007] In order to achieve the above-mentioned technical objectives, the technical solution adopted by the utility model is: an adaptive dimming system for lamps, comprising: an AC power supply, a dimming control module and a lamp, the dimming control module comprising: a power supply circuit, a voltage divider circuit, a current sampling circuit, an electric energy metering circuit, a single-chip microcomputer and a dimming circuit, the AC power supply is respectively connected to the power supply circuit, the voltage divider circuit and the lamp, the power supply circuit is respectively connected to the electric energy metering circuit and the dimming circuit, the electric energy metering circuit is respectively connected to the voltage divider circuit, the current sampling circuit and the single-chip microcomputer, and the dimming circuit is connected to the current sampling circuit, the single-chip microcomputer and the lamp.

[0008] Furthermore, the power supply circuit includes a first non-isolated power supply and a second non-isolated power supply, the first non-isolated power supply is connected in parallel between the neutral line interface and the live line interface of the AC power supply, the power output end of the first non-isolated power supply is connected to the power input end of the electric energy metering circuit, and the ground end of the first non-isolated power supply is connected to the first reference ground; the input end of the second non-isolated power supply is connected to the neutral line interface of the AC power supply, the power output end of the second non-isolated power supply is connected to the power input end of the dimming circuit, and the ground end of the second non-isolated power supply is connected to the second reference ground.

[0009] Furthermore, the first non-isolated power supply and the second non-isolated power supply both use DC-DC power supply chips.

[0010] Furthermore, the voltage divider circuit includes a resistor R1 and a resistor R2, one end of the resistor R1 is connected to the neutral line interface of the AC power supply, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the electric energy metering circuit, and the other end of the resistor R2 is connected to the first reference ground.

[0011] Furthermore, the current sampling circuit includes a resistor R3, one end of the resistor R3 is connected to the first reference ground, the other end of the resistor R3 is connected to the dimming circuit, and both ends of the resistor R3 are connected in parallel to corresponding pins of the electric energy metering circuit.

[0012] Furthermore, the electric energy metering circuit includes a chip U1, the model of the chip U1 is HLW8112; the VP pin of the chip U1 is connected between the resistor R1 and the resistor R2, the IAP pin and the IAN pin of the chip U1 are respectively connected to the two ends of the resistor R3, the GND pin of the chip U1 is connected to the first reference ground, the VDD pin of the chip U1 is connected to the power output end of the first non-isolated power supply, and the RX pin, TX pin, INT1 pin and INT2 pin of the chip U1 are all connected to the microcontroller.

[0013] Furthermore, the dimming circuit includes a MOS tube Q1, a MOS tube Q2, a resistor R4 and a resistor R5, the G pole of the MOS tube Q1 and the G pole of the MOS tube Q2 are both connected to the power output end of the second non-isolated power supply, the D pole of the MOS tube Q1 is connected to the other end of the resistor R3, the S pole of the MOS tube Q1 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the S pole of the MOS tube Q2, and the D pole of the MOS tube Q2 is connected to the lamp; a second reference ground is connected between the resistor R4 and the resistor R5.

[0014] Furthermore, the dimming control module also includes an RS trigger and an overshoot protection circuit, the power supply end of the RS trigger is connected to the power supply output end of the second non-isolated power supply, the input end of the RS trigger is connected to the output end of the single-chip computer, the output end of the RS trigger is respectively connected to the G pole of the MOS tube Q1 and the G pole of the MOS tube Q2, and the ground end of the RS trigger is connected to the second reference ground; the power supply end of the overshoot protection circuit is connected to the power supply output end of the second non-isolated power supply, the two input ends of the overshoot protection circuit are respectively connected to one end of the resistor R4 and the other end of the resistor R5, the output end of the overshoot protection circuit is connected to the input end of the RS trigger, and the ground end of the overshoot protection circuit is connected to the second reference ground.

[0015] Furthermore, the dimming control module also includes a photocoupler, the input end of the photocoupler is connected to the output end of the single-chip microcomputer, and the output end of the photocoupler is connected to the input end of the RS trigger.

[0016] Furthermore, the dimming control module also includes a fuse, an input end of the fuse is connected to the live wire interface of the AC power supply, and an output end of the fuse is connected to the first reference ground.

[0017] By adopting the above technical solution, the utility model has the following beneficial effects compared with the prior art:

[0018] In the utility model, the power supply circuit steps down the voltage of the AC power supply of the mains to supply power to the electric energy metering circuit and the dimming circuit. The AC power supply of the mains is divided by the voltage divider circuit and then connected to the electric energy metering circuit. The electric energy metering circuit can accurately obtain the voltage of the AC power supply of the mains. The electric energy metering circuit calculates the zero-crossing point of the voltage signal through the voltage of the AC power supply of the mains. The single-chip microcomputer reads the zero-crossing interrupt signal sent by the electric energy metering circuit. The dimming circuit can be accurately controlled by controlling the time of turning on and off the MOS tube according to the zero-crossing interrupt signal, thereby controlling the turning on and off of the lamp. The electric energy metering circuit collects the current peak value and the current effective value of the lamp through the current sampling circuit and sends them to the single-chip microcomputer. The single-chip microcomputer calculates the proportional value according to the current peak value and the current effective value and judges the load type of the lamp according to the threshold value. The corresponding dimming control mode (leading edge phase-cut dimming or trailing edge phase-cut dimming) is determined according to the load type. The dimming circuit is adjusted according to the correct dimming control mode to control the turning on and off of the lamp, which greatly reduces the interference on the AC power line, improves the safety and reliability of the lamp, and has low cost. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 It is a structural schematic diagram of a dimming system in the prior art.

[0021] Figure 2 It is the AC voltage waveform of leading edge phase-cut dimming.

[0022] Figure 3 It is the AC voltage waveform of trailing edge phase-cut dimming.

[0023] Figure 4 It is a structural schematic diagram of an adaptive dimming system for a lamp provided in an embodiment of the utility model.

[0024] Description of the numbers in the figure:

[0025] 10-dimming control module, 101-power supply circuit, 1011-first non-isolated power supply, 1012-second non-isolated power supply, 102-voltage divider circuit, 103-current sampling circuit, 104-electric energy metering circuit, 105-single-chip microcomputer, 106-dimming circuit, 107-RS trigger, 108-overshoot protection circuit, 109-photocoupler, 110-fuse, 20-AC power supply, 30-lamp. DETAILED DESCRIPTION

[0026] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is particularly noted that the following embodiments are only used to illustrate the present invention, but do not limit the scope of the present invention. Similarly, the following embodiments are only partial embodiments of the present invention rather than all embodiments. All other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] See also Figure 4 The utility model discloses an adaptive dimming system for a lamp, comprising: a dimming control module 10, a mains AC power supply 20 and a lamp 30, wherein the mains AC power supply 20 provides power for the dimming control module 10 and the lamp 30, the dimming control module 10 is used to control the on time and off time of the lamp 30, and the lamp 30 realizes the change of the ambient brightness.

[0028] The dimming control module 10 includes: a power supply circuit 101, a voltage divider circuit 102, a current sampling circuit 103, an electric energy metering circuit 104, a single-chip computer 105 and a dimming circuit 106. The AC power supply 20 is respectively connected to the power supply circuit 101, the voltage divider circuit 102 and the lamp 30 (the neutral line interface and the live line interface of the AC power supply 20 are both connected to the power supply circuit 101, and the neutral line interface of the AC power supply 20 is connected to the voltage divider circuit 102 and the lamp 30). The power supply circuit 101 is respectively connected to the electric energy metering circuit 104 and the dimming circuit 106. The electric energy metering circuit 104 is respectively connected to the voltage divider circuit 102, the current sampling circuit 103 and the single-chip computer 105. The dimming circuit 106 is connected to the current sampling circuit 103, the single-chip computer 105 and the lamp 30. The power supply circuit 101 steps down the voltage of the AC power supply 20 to supply power to the energy metering circuit 104 and the dimming circuit 106. The AC power supply 20 is divided by the voltage divider circuit 102 and then connected to the energy metering circuit 104. The energy metering circuit 104 can accurately obtain the voltage of the AC power supply 20. The energy metering circuit 104 calculates the zero-crossing point of the voltage signal through the voltage of the AC power supply 20. The single-chip computer 105 reads the zero-crossing interrupt signal sent by the energy metering circuit 104. The time of turning on and off the MOS tube can be controlled accurately according to the zero-crossing interrupt signal. The optical circuit 106 controls the on and off of the lamp 30; the electric energy metering circuit 104 collects the current peak value and the current effective value of the lamp 30 through the current sampling circuit 103 and sends them to the single-chip microcomputer 105, the single-chip microcomputer 105 calculates the proportional value according to the current peak value and the current effective value and determines the load type of the lamp 30 according to the threshold value, determines the corresponding dimming control mode (leading edge phase-cut dimming or trailing edge phase-cut dimming) according to the load type, and adjusts the dimming circuit 106 according to the correct dimming control mode to control the on and off of the lamp 30, thereby improving the safety and reliability of the lamp 30.

[0029] In this embodiment, the power supply circuit 101 includes a first non-isolated power supply 1011 and a second non-isolated power supply 1012. The first non-isolated power supply 1011 and the second non-isolated power supply 1012 both adopt DC-DC power supply chips. The first non-isolated power supply 1011 is connected in parallel between the neutral line interface and the live line interface of the AC power supply 20. The power output end of the first non-isolated power supply 1011 is connected to the power input end of the electric energy metering circuit, and the ground end of the first non-isolated power supply 1011 is connected to the first reference ground; the input end of the second non-isolated power supply 1012 is connected to the neutral line interface of the AC power supply 20, the power output end of the second non-isolated power supply 1012 is connected to the power input end of the dimming circuit 103, and the ground end of the second non-isolated power supply 1012 is connected to the second reference ground. The first non-isolated power supply 1011 uses a DC-DC power supply chip to step down the voltage to obtain a 5V voltage, which supplies power to the electric energy metering circuit 104 and provides a first reference ground; the second non-isolated power supply 1012 uses a DC-DC power supply chip to step down the voltage to obtain a 12V voltage, which supplies power to the dimming circuit 106 and provides a second reference ground.

[0030] In this embodiment, the voltage divider circuit 102 includes a resistor R1 and a resistor R2, one end of the resistor R1 is connected to the neutral line interface of the AC power supply 20, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the electric energy metering circuit 104, and the other end of the resistor R2 is connected to the first reference ground. Since the voltage between the neutral line and the live line of the AC power supply 20 is the AC phase voltage, it cannot be directly connected to the electric energy metering circuit 104, so a resistor voltage division method (voltage division by resistors R1 and R2) is adopted to provide a voltage signal that meets its electrical performance requirements for detection, and the real AC phase voltage is calculated by the voltage division ratio. Therefore, the electric energy metering circuit 104 can accurately obtain the voltage of the AC power, and the sampling circuit inside the electric energy metering circuit 104 can obtain the zero crossing point of the AC voltage by quickly sampling the voltage after voltage division and comparing the voltage.

[0031] In this embodiment, the current sampling circuit 103 includes a resistor R3, one end of the resistor R3 is connected to the first reference ground, the other end of the resistor R3 is connected to the dimming circuit 106, and the two ends of the resistor R3 are connected in parallel to the corresponding pins of the electric energy metering circuit 104. Due to the requirement of the electric energy metering circuit 104 to collect signals, the reference ground (first reference ground) of the electric energy metering circuit 104 needs to be consistent with the live wire level, therefore, the reference ground of the electric energy metering circuit 104 is connected to the live wire interface of the AC power source 20.

[0032] In this embodiment, the electric energy metering circuit 104 includes a chip U1, and the model of the chip U1 is HLW8112; the VP pin of the chip U1 is connected between the resistor R1 and the resistor R2, the IAP pin and the IAN pin of the chip U1 are respectively connected to the two ends of the resistor R3, the GND pin of the chip U1 is connected to the first reference ground, the VDD pin of the chip U1 is connected to the power output end of the first non-isolated power supply 1011, and the RX pin, TX pin, INT1 pin and INT2 pin of the chip U1 are all connected to the single-chip computer 105. The electric energy metering circuit 104 integrates a ∑-Δ type ADC circuit, reads the sampling voltage through the sampling resistor R3, and the DSP circuit integrated in the electric energy metering circuit 104 performs data conversion to obtain the current data of the load, which provides a basis for judging the load impedance characteristics. The voltage value and load current data obtained by the electric energy metering circuit 104 can calculate the power of the connected load.

[0033] In this embodiment, the dimming circuit 106 includes a MOS transistor Q1, a MOS transistor Q2, a resistor R4 and a resistor R5. The G poles of the MOS transistor Q1 and the G poles of the MOS transistor Q2 are both connected to the power output end of the second non-isolated power supply 1012, the D pole of the MOS transistor Q1 is connected to the other end of the resistor R3, the S pole of the MOS transistor Q1 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the S pole of the MOS transistor Q2, and the D pole of the MOS transistor Q2 is connected to the lamp 30; a second reference ground is connected between the resistor R4 and the resistor R5.

[0034] In this embodiment, the dimming control module 10 also includes an RS trigger 107 and an overshoot protection circuit 108, the power supply end of the RS trigger 107 is connected to the power supply output end of the second non-isolated power supply 1012, the input end of the RS trigger 107 is connected to the output end of the single-chip computer 105, the output end of the RS trigger 107 is respectively connected to the G pole of the MOS tube Q1 and the G pole of the MOS tube Q2, and the ground end of the RS trigger 107 is connected to the second reference ground; the power supply end of the overshoot protection circuit 108 is connected to the power supply output end of the second non-isolated power supply 1012, the two input ends of the overshoot protection circuit 108 are respectively connected to one end of the resistor R4 and the other end of the resistor R5, the output end of the overshoot protection circuit 108 is connected to the input end of the RS trigger 107, and the ground end of the overshoot protection circuit 108 is connected to the second reference ground. Since the dimming circuit 106 generates an overshoot current signal during the start-up process, which may easily cause damage to the MOS tube, the overshoot protection circuit 108 and the RS trigger 107 work closely together to quickly respond to the overshoot signal and turn off the MOS tube in time, thereby protecting the dimming circuit 106 from damage. Because the overshoot protection circuit 108 needs to implement bidirectional current protection, the center of the resistor R4 and the resistor R5 between the two MOS tubes is used as a reference ground, so the second non-isolated power supply 1012 supplies power to the RS trigger 107 and the overshoot protection circuit 108 to provide a reference ground.

[0035] In this embodiment, the dimming control module 10 further includes a photocoupler 109, the input end of the photocoupler 109 is connected to the output end of the single-chip microcomputer 105, and the output end of the photocoupler 109 is connected to the input end of the RS trigger 107. Since the reference grounds of the single-chip microcomputer 105 and the RS trigger 107 are different, the control signal needs to be transmitted through the photocoupler 109.

[0036] In this embodiment, the dimming control module 10 also includes a fuse 110, the input end of the fuse 110 is connected to the live wire interface of the AC power supply 20, and the output end of the fuse 110 is connected to the first reference ground. In order to protect the AC power supply 20 and the electric energy metering circuit 104, the reference ground of the electric energy metering circuit 104 is connected to the live wire interface of the AC power supply 20 through a fuse 110.

[0037] The working principle of the utility model is as follows:

[0038] The AC power source 20 is stepped down by the power circuit 101 to supply power to the energy metering circuit 104 and the dimming circuit 106; when the dimming circuit 106 is turned on, the live current is output to the lamp 30 through the fuse 110, the resistor R3, and the dimming circuit 106 and to the neutral line, forming a complete current loop to light up the lamp 30.

[0039] The AC power supply 20 is connected to the electric energy metering circuit 104 after being divided by the voltage divider circuit 102. The electric energy metering circuit 104 collects the voltage signal after the voltage division in real time, and calculates the real voltage signal of the AC power supply 20 according to the voltage division ratio. The electric energy metering circuit 104 then calculates the zero-crossing point of the voltage signal according to the voltage signal of the AC power supply 20, and sends a zero-crossing interrupt signal to the single-chip microcomputer 105; the dimming mode of the dimming circuit 106 is preset to be the leading edge phase-cut dimming and to be turned on at 75% of the half cycle after the zero-crossing point (i.e., at 25% of the half cycle before the zero-crossing point); the single-chip microcomputer 105 reads the zero-crossing interrupt signal sent by the electric energy metering circuit 104 and responds quickly, and the single-chip microcomputer 105 sends a control signal to realize the turning on and off of the dimming circuit 106;

[0040] After the lamp 30 is powered on, the single chip microcomputer 105 controls the time of opening and closing the dimming circuit 106 according to the zero-crossing interrupt signal and the preset parameters, and turns on the lamp 30 for the first time at 75% of the half cycle after the zero-crossing point, and gradually turns on the lamp 30 at a step speed of increasing the duty cycle by 1% every 30ms until the IO port output duty cycle is 100%;

[0041] When current flows through the resistor R3, a voltage signal is generated at both ends of the resistor R3. The electric energy metering circuit 104 detects the voltage signal, and the internal ADC circuit calculates and stores the current flowing through the resistor R3. The DSP circuit integrated in the electric energy metering circuit 104 then performs data conversion to obtain the effective value of the current of the lamp 30 and the current peak value of the lamp 30. During the opening process of the lamp 30, the electric energy metering circuit 104 collects and stores the current of the lamp 30 in real time through the current sampling circuit 103, thereby obtaining the current peak value of the lamp 30; when the lamp 30 is fully turned on, the electric energy metering circuit 104 collects the effective value of the current of the lamp 30 through the current sampling circuit 103; the electric energy metering circuit 104 communicates data with the single-chip microcomputer 105 through the serial port, and can obtain the configuration information provided by the single-chip microcomputer 105, and send the relevant calculation data to the single-chip microcomputer 105;

[0042] The single chip computer 105 compares the current peak value and the current effective value. If the current peak value is greater than 5 times the current effective value, it is determined that the load type of the lamp 30 is capacitive; if the current peak value is not greater than 5 times the current effective value, it is determined that the load type of the lamp 30 is inductive or resistive.

[0043] If the load type of the lamp 30 is determined to be capacitive, the subsequent opening and closing of the lamp 30 adopts the trailing edge phase dimming; if the load type of the lamp 30 is determined to be inductive or resistive, the subsequent opening and closing of the lamp 30 adopts the leading edge phase dimming. The dimming circuit 106 is adjusted according to the correct dimming control method to control the opening and closing of the lamp 30, thereby improving the safety and reliability of the lamp 30.

[0044] The above descriptions are only some embodiments of the present invention, and do not limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An adaptive dimming system for a lamp, comprising: A mains AC power supply, a dimming control module and a lamp, characterized in that the dimming control module includes: a power supply circuit, a voltage divider circuit, a current sampling circuit, an electric energy metering circuit, a single-chip microcomputer and a dimming circuit, the mains AC power supply is respectively connected to the power supply circuit, the voltage divider circuit and the lamp, the power supply circuit is respectively connected to the electric energy metering circuit and the dimming circuit, the electric energy metering circuit is respectively connected to the voltage divider circuit, the current sampling circuit and the single-chip microcomputer, and the dimming circuit is connected to the current sampling circuit, the single-chip microcomputer and the lamp.

2. The adaptive dimming system of a lamp as claimed in claim 1, characterized in that: The power supply circuit comprises a first non-isolated power supply and a second non-isolated power supply, wherein the first non-isolated power supply is connected in parallel between the neutral line interface and the live line interface of the AC power supply, the power output end of the first non-isolated power supply is connected to the power input end of the electric energy metering circuit, and the ground end of the first non-isolated power supply is connected to the first reference ground; The input end of the second non-isolated power supply is connected to the neutral line interface of the AC power supply, the power output end of the second non-isolated power supply is connected to the power input end of the dimming circuit, and the ground end of the second non-isolated power supply is connected to the second reference ground.

3. The adaptive dimming system of a lamp as claimed in claim 2, characterized in that: The first non-isolated power supply and the second non-isolated power supply both use DC-DC power supply chips.

4. The adaptive dimming system for a lamp as claimed in claim 2, characterized in that: The voltage divider circuit includes a resistor R1 and a resistor R2, one end of the resistor R1 is connected to the neutral line interface of the AC power supply, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the electric energy metering circuit, and the other end of the resistor R2 is connected to the first reference ground.

5. The adaptive dimming system of a lamp as claimed in claim 4, characterized in that: The current sampling circuit includes a resistor R3, one end of the resistor R3 is connected to the first reference ground, the other end of the resistor R3 is connected to the dimming circuit, and both ends of the resistor R3 are connected in parallel to corresponding pins of the electric energy metering circuit.

6. The adaptive dimming system for a lamp as claimed in claim 5, characterized in that: The electric energy metering circuit includes a chip U1, and the model of the chip U1 is HLW8112; the VP pin of the chip U1 is connected between the resistor R1 and the resistor R2, the IAP pin and the IAN pin of the chip U1 are respectively connected to the two ends of the resistor R3, the GND pin of the chip U1 is connected to the first reference ground, the VDD pin of the chip U1 is connected to the power output end of the first non-isolated power supply, and the RX pin, TX pin, INT1 pin and INT2 pin of the chip U1 are all connected to the single-chip microcomputer.

7. The adaptive dimming system for a lamp as claimed in claim 5, characterized in that: The dimming circuit includes a MOS tube Q1, a MOS tube Q2, a resistor R4 and a resistor R5. The G poles of the MOS tube Q1 and the G poles of the MOS tube Q2 are both connected to the power output end of the second non-isolated power supply, the D pole of the MOS tube Q1 is connected to the other end of the resistor R3, the S pole of the MOS tube Q1 is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the S pole of the MOS tube Q2, and the D pole of the MOS tube Q2 is connected to the lamp; a second reference ground is connected between the resistor R4 and the resistor R5.

8. The adaptive dimming system for a lamp as claimed in claim 7, characterized in that: The dimming control module also includes an RS trigger and an overshoot protection circuit, wherein the power supply end of the RS trigger is connected to the power supply output end of the second non-isolated power supply, the input end of the RS trigger is connected to the output end of the single-chip microcomputer, the output end of the RS trigger is respectively connected to the G pole of the MOS tube Q1 and the G pole of the MOS tube Q2, and the ground end of the RS trigger is connected to the second reference ground; the power supply end of the overshoot protection circuit is connected to the power supply output end of the second non-isolated power supply, the two input ends of the overshoot protection circuit are respectively connected to one end of the resistor R4 and the other end of the resistor R5, the output end of the overshoot protection circuit is connected to the input end of the RS trigger, and the ground end of the overshoot protection circuit is connected to the second reference ground.

9. The adaptive dimming system of a lamp as claimed in claim 8, characterized in that: The dimming control module further includes a photoelectric coupler, the input end of the photoelectric coupler is connected to the output end of the single-chip microcomputer, and the output end of the photoelectric coupler is connected to the input end of the RS trigger.

10. The adaptive dimming system for a lamp as claimed in claim 1, characterized in that: The dimming control module further comprises a fuse, an input end of the fuse is connected to a live wire interface of a mains AC power source, and an output end of the fuse is connected to a first reference ground.