SUMMERY OF THE UTILITY MODEL
In order to overcome the defects of the prior art, the utility model aims to solve the technical problems that: a dimming and toning circuit with low power consumption is provided.
In order to solve the technical problem, the utility model discloses a technical scheme be:
the utility model provides a mixing of colors circuit of adjusting luminance, includes silicon controlled rectifier dimming circuit, switching circuit, little night-light source circuit, main lighting source circuit and colour temperature control circuit, switching circuit is connected with silicon controlled rectifier dimming circuit and little night-light source circuit electricity respectively, main lighting source circuit is connected with little night-light source circuit electricity.
Further, the silicon controlled rectifier dimming circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R10, a resistor R11, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a safety resistor F1, a safety resistor F2, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, an electrolytic capacitor EC2, an inductor L1, an inductor L2, a diode D1, a diode D2, a diode D5, a transformer T1, a common mode magnetic ring T2, a chip U1 and a rectifier bridge DB 1;
a first pin of the chip U1 is electrically connected with one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 respectively, a first pin of the chip U1, one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 are all grounded, a third pin of the chip U1 is electrically connected with one end of a resistor R15 and one end of a resistor R16 respectively, the other end of the resistor R15 is electrically connected with a cathode of a diode D2, an anode of the diode D2 is electrically connected with an anode of a diode D5 and one end of a secondary winding of a transformer T1 respectively, the other ends of the secondary windings of the transformers T1 and T16 are electrically connected with the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 respectively, the other end of the secondary winding of a transformer T1, the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 are all grounded respectively, a fourth pin of the chip U1 is electrically connected with, One end of an electrolytic capacitor EC2 and the other end of a capacitor C5 are electrically connected, the other end of the resistor R7 is electrically connected with one end of a resistor R6, the other end of the resistor R6 is electrically connected with one end of an inductor L2, one end of a resistor R2, one end of a capacitor C2, one end of a resistor R3, one end of a resistor R4, one end of a resistor R5, one end of a capacitor C4 and a switching circuit, the other end of the resistor R4 is electrically connected with the other end of a resistor R5, a cathode of a diode D1 and the other end of a capacitor C4, an anode of a diode D1 is electrically connected with one end of a resistor R17, the other end of the resistor R17 is electrically connected with the switching circuit, a fifth pin of a chip U1 and a sixth pin of a chip U1, an eighth pin of the chip U1 is electrically connected with the other end of a resistor R1 and the other end of the resistor R1, and the other end of the inductor, One end of a capacitor C1 is electrically connected to a third end of a rectifier bridge DB1, the other end of the resistor R3 is electrically connected to one end of a capacitor C3, the other end of the capacitor C3 is respectively electrically connected to the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1, the other end of a capacitor C3, the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1 are all grounded, a first end of the rectifier bridge DB1 is respectively electrically connected to one end of an inductor L1 and one end of a resistor R1, a fourth end of the rectifier bridge DB1 is electrically connected to one end of a secondary winding of a common mode magnetic ring T2, a second end of a secondary winding of the common mode magnetic ring T2 is respectively electrically connected to one end of a capacitor C9 and one end of a safety resistor F2, the other end of the inductor L1 is respectively electrically connected to the other end of a resistor R1 and one end of a safety ring 1, the other end of the fuse resistor F1 is connected with a live wire, and the other end of the fuse resistor F2 is connected with a zero wire.
Further, the switching circuit comprises a resistor R12, a resistor R13, a capacitor C7, a capacitor C8, an electrolytic capacitor EC1 and a diode D3, one end of the resistor R12 is electrically connected with the anode of the diode D3, the thyristor dimming circuit and the color temperature control circuit respectively, the other end of the resistor R12 is electrically connected with one end of the capacitor C7, the other end of the capacitor C7 is electrically connected with the cathode of the diode D3, one end of the electrolytic capacitor EC1, one end of the resistor R13 and the small night light source circuit respectively, the other end of the electrolytic capacitor EC1 is electrically connected with the other end of the resistor R13, one end of the capacitor C8 and the thyristor dimming circuit respectively, and the other end of the capacitor C8 is grounded.
Further, little night-light source circuit includes resistance R8, resistance R9, field effect transistor Q1 and emitting diode LED1, emitting diode LED 1's positive pole is connected with the switching circuit electricity, emitting diode LED 1's negative pole is connected with field effect transistor Q1's drain electrode electricity, field effect transistor Q1's grid is connected with resistance R8's one end and resistance R9's one end electricity respectively, resistance R8's the other end is connected with the singlechip PWM of peripheral hardware electricity, resistance R9's the other end is connected with field effect transistor Q1's source electricity and resistance R9's the other end and field effect transistor Q1's source all ground connection.
Further, the main lighting source circuit comprises a resistor R20, a resistor R21, a resistor R22, a resistor R23, a light-emitting diode LED2, a light-emitting diode LED3, a field-effect tube Q2 and a field-effect tube Q3;
the anode of the light emitting diode LED2 is respectively electrically connected with the anode of the light emitting diode LED3 and the light source circuit of the small night lamp, the cathode of the light emitting diode LED2 is electrically connected with the drain of a field effect transistor Q2, the grid of the field effect transistor Q2 is respectively and electrically connected with one end of a resistor R20 and one end of a resistor R21, the other end of the resistor R20 is electrically connected with an external singlechip PWM, the other end of the resistor R21 is electrically connected with the source electrode of the field effect transistor Q2, the other end of the resistor R21 and the source electrode of the field effect transistor Q2 are both grounded, the cathode of the light emitting diode LED3 is electrically connected with the drain of a field effect transistor Q3, the grid of the field effect transistor Q3 is respectively and electrically connected with one end of a resistor R22 and one end of a resistor R23, the other end of the resistor R22 is electrically connected with an external single chip microcomputer PWM, the other end of the resistor R23 is electrically connected with the source electrode of the field-effect transistor Q3, and the other end of the resistor R23 and the source electrode of the field-effect transistor Q3 are both grounded.
Further, the color temperature control circuit comprises a resistor R26, a resistor R27, a resistor R28, a resistor R29, a capacitor C6, an electrolytic capacitor EC3, a diode D7, a voltage regulator tube ZD1, a switch K1 and a chip U2;
a first pin of the chip U2 is electrically connected with one end of a capacitor C6, one end of a resistor R29, a sixth pin of a switch K1, a cathode of a voltage regulator tube ZD1, one end of a resistor R28 and one end of a resistor R27 respectively, a fourth pin of the chip U2 is electrically connected with the other end of the resistor R29, an anode of the voltage regulator tube ZD1 is electrically connected with the other end of a resistor R28 and one end of an electrolytic capacitor EC3 respectively, an anode of a voltage regulator tube ZD1, the other end of a resistor R28 and one end of an electrolytic capacitor EC3 are all grounded, the other end of the electrolytic capacitor EC3 is electrically connected with one end of a resistor R26 and a cathode of a diode D7 respectively, the other end of the resistor R26 is electrically connected with the other end of the resistor R26, an anode of the diode D26 is electrically connected with a switching circuit, the other end of the capacitor C26 is electrically connected with an eighth pin of the chip U26 and the first pin of the switch K26 respectively, the seventh pin of the chip U2 is electrically connected with the fourth pin of the switch K1, the sixth pin of the chip U2 is electrically connected with the second pin of the switch K1, the fifth pin of the chip U2 is electrically connected with the third pin of the switch K1, and the sixth pin of the switch K1 is connected with a power supply.
Further, the thyristor dimming circuit is electrically connected with the switching circuit through a transformer T3.
The beneficial effects of the utility model reside in that:
the silicon controlled rectifier dimming circuit can detect whether a dimmer is connected in the circuit, so that the circuit can normally work under the condition of no dimmer and can normally dim light under the condition of the presence of the dimmer; the switching of different color temperatures can be realized by arranging the switching circuit; the small night lamp light source circuit and the main lighting light source circuit are arranged to realize circular switching; through the cooperation between silicon controlled rectifier dimmer circuit, switching circuit, little night-light source circuit, main illumination light source circuit and the colour temperature control circuit, realize main illumination and little night-light switching mode when reducing the consumption to realize the switching of the different colour temperatures of main illumination, provide the different colour temperature of user and select, and then improve user's experience and feel.
Detailed Description
In order to explain the technical content, the objects and the effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, the technical solution provided by the present invention is:
the utility model provides a mixing of colors circuit of adjusting luminance, includes silicon controlled rectifier dimming circuit, switching circuit, little night-light source circuit, main lighting source circuit and colour temperature control circuit, switching circuit is connected with silicon controlled rectifier dimming circuit and little night-light source circuit electricity respectively, main lighting source circuit is connected with little night-light source circuit electricity.
From the above description, the beneficial effects of the present invention are:
the silicon controlled rectifier dimming circuit can detect whether a dimmer is connected in the circuit, so that the circuit can normally work under the condition of no dimmer and can normally dim light under the condition of the presence of the dimmer; the switching of different color temperatures can be realized by arranging the switching circuit; the small night lamp light source circuit and the main lighting light source circuit are arranged to realize circular switching; through the cooperation between silicon controlled rectifier dimmer circuit, switching circuit, little night-light source circuit, main illumination light source circuit and the colour temperature control circuit, realize main illumination and little night-light switching mode when reducing the consumption to realize the switching of the different colour temperatures of main illumination, provide the different colour temperature of user and select, and then improve user's experience and feel.
Further, the silicon controlled rectifier dimming circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R10, a resistor R11, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a safety resistor F1, a safety resistor F2, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, an electrolytic capacitor EC2, an inductor L1, an inductor L2, a diode D1, a diode D2, a diode D5, a transformer T1, a common mode magnetic ring T2, a chip U1 and a rectifier bridge DB 1;
a first pin of the chip U1 is electrically connected with one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 respectively, a first pin of the chip U1, one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 are all grounded, a third pin of the chip U1 is electrically connected with one end of a resistor R15 and one end of a resistor R16 respectively, the other end of the resistor R15 is electrically connected with a cathode of a diode D2, an anode of the diode D2 is electrically connected with an anode of a diode D5 and one end of a secondary winding of a transformer T1 respectively, the other ends of the secondary windings of the transformers T1 and T16 are electrically connected with the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 respectively, the other end of the secondary winding of a transformer T1, the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 are all grounded respectively, a fourth pin of the chip U1 is electrically connected with, One end of an electrolytic capacitor EC2 and the other end of a capacitor C5 are electrically connected, the other end of the resistor R7 is electrically connected with one end of a resistor R6, the other end of the resistor R6 is electrically connected with one end of an inductor L2, one end of a resistor R2, one end of a capacitor C2, one end of a resistor R3, one end of a resistor R4, one end of a resistor R5, one end of a capacitor C4 and a switching circuit, the other end of the resistor R4 is electrically connected with the other end of a resistor R5, a cathode of a diode D1 and the other end of a capacitor C4, an anode of a diode D1 is electrically connected with one end of a resistor R17, the other end of the resistor R17 is electrically connected with the switching circuit, a fifth pin of a chip U1 and a sixth pin of a chip U1, an eighth pin of the chip U1 is electrically connected with the other end of a resistor R1 and the other end of the resistor R1, and the other end of the inductor, One end of a capacitor C1 is electrically connected to a third end of a rectifier bridge DB1, the other end of the resistor R3 is electrically connected to one end of a capacitor C3, the other end of the capacitor C3 is respectively electrically connected to the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1, the other end of a capacitor C3, the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1 are all grounded, a first end of the rectifier bridge DB1 is respectively electrically connected to one end of an inductor L1 and one end of a resistor R1, a fourth end of the rectifier bridge DB1 is electrically connected to one end of a secondary winding of a common mode magnetic ring T2, a second end of a secondary winding of the common mode magnetic ring T2 is respectively electrically connected to one end of a capacitor C9 and one end of a safety resistor F2, the other end of the inductor L1 is respectively electrically connected to the other end of a resistor R1 and one end of a safety ring 1, the other end of the fuse resistor F1 is connected with a live wire, and the other end of the fuse resistor F2 is connected with a zero wire.
As can be seen from the above description, the fuse resistor F1 is used as a fuse in the circuit, and the common mode magnetic ring T2, the inductor L1 and the resistor R1 are used for pre-bridge filtering; the capacitor C9 provides a holding current for the low end of the Wifi dimmer; the rectifier bridge DB1 is used for rectification; the capacitor C1, the capacitor C2, the capacitor C3 and the inductor L2 are used for filtering, wherein the capacitor C1, the capacitor C2, the capacitor C3 and the resistor R3 are also used for being compatible with different dimmers; the transformer T1 is used for transmission and conversion of energy provided by the isolation circuit; the diode D1, the resistor R4, the resistor R5, the resistor R17 and the capacitor C4 are used for absorbing peak surge spike voltage at two ends of the transformer T1; the resistor R6, the resistor R7 and the capacitor C5 provide starting Vcc voltage for the chip U1, and the chip U2 is powered by the transformer T1, the diode D5, the resistor R14 and the electrolytic capacitor EC2 after the chip U1 is started; the diode D2, the resistor R15 and the resistor R16 provide feedback voltage for the circuit and are used for setting the OVP voltage in the circuit; the chip U2 is a dimming chip and is used for providing a stable constant current circuit; the resistor R10 and the resistor R11 are sampling resistors and are used to set the output current in the circuit.
Further, the switching circuit comprises a resistor R12, a resistor R13, a capacitor C7, a capacitor C8, an electrolytic capacitor EC1 and a diode D3, one end of the resistor R12 is electrically connected with the anode of the diode D3, the thyristor dimming circuit and the color temperature control circuit respectively, the other end of the resistor R12 is electrically connected with one end of the capacitor C7, the other end of the capacitor C7 is electrically connected with the cathode of the diode D3, one end of the electrolytic capacitor EC1, one end of the resistor R13 and the small night light source circuit respectively, the other end of the electrolytic capacitor EC1 is electrically connected with the other end of the resistor R13, one end of the capacitor C8 and the thyristor dimming circuit respectively, and the other end of the capacitor C8 is grounded.
From the above description, the diode D3 and the electrolytic capacitor EC1 are output rectifying filters for providing pure dc voltage for the output circuit, the resistor R12 and the capacitor C7 are for absorbing the peak surge voltage across the diode D3, and the resistor R13 is for discharging the electrolytic capacitor EC 1.
Further, little night-light source circuit includes resistance R8, resistance R9, field effect transistor Q1 and emitting diode LED1, emitting diode LED 1's positive pole is connected with the switching circuit electricity, emitting diode LED 1's negative pole is connected with field effect transistor Q1's drain electrode electricity, field effect transistor Q1's grid is connected with resistance R8's one end and resistance R9's one end electricity respectively, resistance R8's the other end is connected with the singlechip PWM of peripheral hardware electricity, resistance R9's the other end is connected with field effect transistor Q1's source electricity and resistance R9's the other end and field effect transistor Q1's source all ground connection.
From the above description, the resistor R9 is used for discharging the fet Q1 because of the capacitance inside the fet; the resistor R8 is used for limiting PWM spike signals and separating the chip U2 from the field effect transistor Q1, so that the chip U2 is prevented from being influenced by the field effect transistor Q1; the field effect transistor Q1 is used as a switch, the on-off of the light emitting diode LED1 is controlled by the peripheral single chip microcomputer PWM, when the other end of the resistor R8 inputs a high level, the light emitting diode LED1 (i.e., a small night lamp) is on, and when the other end of the resistor R8 inputs a low level, the light emitting diode LED1 is off.
Further, the main lighting source circuit comprises a resistor R20, a resistor R21, a resistor R22, a resistor R23, a light-emitting diode LED2, a light-emitting diode LED3, a field-effect tube Q2 and a field-effect tube Q3;
the anode of the light emitting diode LED2 is respectively electrically connected with the anode of the light emitting diode LED3 and the light source circuit of the small night lamp, the cathode of the light emitting diode LED2 is electrically connected with the drain of a field effect transistor Q2, the grid of the field effect transistor Q2 is respectively and electrically connected with one end of a resistor R20 and one end of a resistor R21, the other end of the resistor R20 is electrically connected with an external singlechip PWM, the other end of the resistor R21 is electrically connected with the source electrode of the field effect transistor Q2, the other end of the resistor R21 and the source electrode of the field effect transistor Q2 are both grounded, the cathode of the light emitting diode LED3 is electrically connected with the drain of a field effect transistor Q3, the grid of the field effect transistor Q3 is respectively and electrically connected with one end of a resistor R22 and one end of a resistor R23, the other end of the resistor R22 is electrically connected with an external single chip microcomputer PWM, the other end of the resistor R23 is electrically connected with the source electrode of the field-effect transistor Q3, and the other end of the resistor R23 and the source electrode of the field-effect transistor Q3 are both grounded.
From the above description, the resistors R21 and R23 are used for discharging the fets Q2 and Q3, respectively, because there is a capacitor inside the fets; the resistor R20 and the resistor R22 limit PWM spike signals and separate the chip U2 from the field effect transistor Q2 and the field effect transistor Q3, so that the chip U2 is prevented from being influenced by the field effect transistor Q2 and the field effect transistor Q3; the field-effect transistor Q2 and the field-effect transistor Q3 are used as switches, the light-emitting diode LED2 and the light-emitting diode LED3 are controlled to be turned on and off by the peripheral single chip microcomputer PWM, when the other end of the resistor R20 inputs a high level, the light-emitting diode LED2 is turned on, and when the other end of the resistor R20 inputs a low level, the light-emitting diode LED2 is turned off; similarly, when the other end of the resistor R22 is inputted with a high level, the light emitting diode LED3 is turned on, and when the other end of the resistor R22 is inputted with a low level, the light emitting diode LED3 is turned off.
Further, the color temperature control circuit comprises a resistor R26, a resistor R27, a resistor R28, a resistor R29, a capacitor C6, an electrolytic capacitor EC3, a diode D7, a voltage regulator tube ZD1, a switch K1 and a chip U2;
a first pin of the chip U2 is electrically connected with one end of a capacitor C6, one end of a resistor R29, a sixth pin of a switch K1, a cathode of a voltage regulator tube ZD1, one end of a resistor R28 and one end of a resistor R27 respectively, a fourth pin of the chip U2 is electrically connected with the other end of the resistor R29, an anode of the voltage regulator tube ZD1 is electrically connected with the other end of a resistor R28 and one end of an electrolytic capacitor EC3 respectively, an anode of a voltage regulator tube ZD1, the other end of a resistor R28 and one end of an electrolytic capacitor EC3 are all grounded, the other end of the electrolytic capacitor EC3 is electrically connected with one end of a resistor R26 and a cathode of a diode D7 respectively, the other end of the resistor R26 is electrically connected with the other end of the resistor R26, an anode of the diode D26 is electrically connected with a switching circuit, the other end of the capacitor C26 is electrically connected with an eighth pin of the chip U26 and the first pin of the switch K26 respectively, the seventh pin of the chip U2 is electrically connected with the fourth pin of the switch K1, the sixth pin of the chip U2 is electrically connected with the second pin of the switch K1, the fifth pin of the chip U2 is electrically connected with the third pin of the switch K1, and the sixth pin of the switch K1 is connected with a power supply.
As can be seen from the above description, the switch K1 has six gears, and the first gear is manually shifted to 2700K color temperature, the second gear is 3000K color temperature, the third gear is 4000K color temperature, the fourth gear is 5000K color temperature, the fifth gear is 6500K color temperature, the fourth gear is automatic Auto gear (i.e. for switching the main lighting mode and the small night light mode), and the user only needs to shift to the gear required by the user;
the resistor R26, the resistor R27, the resistor R28, the voltage regulator tube ZD1, the electrolytic capacitor EC3 and the diode D7 are used for obtaining 5V direct current voltage to supply power to the chip U2, so that the chip U2 works normally; the chip U2 is a singlechip, is a carrier of a software program, provides various required instructions for a circuit and then outputs PWM signals; the resistor R29 is used for detecting whether a wall switch signal exists outside the chip U2; the capacitor C6 is used for filtering external high-frequency interference signals of the chip U2 for filtering.
Further, the thyristor dimming circuit is electrically connected with the switching circuit through a transformer T3.
Referring to fig. 1 and fig. 2, a first embodiment of the present invention is:
referring to fig. 1, a light and color adjusting circuit includes a silicon controlled light adjusting circuit 1, a switching circuit 2, a small night light source circuit 3, a main illumination light source circuit 4 and a color temperature control circuit 5, wherein the switching circuit 2 is electrically connected with the silicon controlled light adjusting circuit 1 and the small night light source circuit 3 respectively, and the main illumination light source circuit 4 is electrically connected with the small night light source circuit 3.
Referring to fig. 2, the scr dimming circuit 1 includes a resistor R1 (with a resistance value of 4.7K Ω), a resistor R2 (with a resistance value of 4.7K Ω), a resistor R3 (with a resistance value of 470 Ω), a resistor R4 (with a resistance value of 240K Ω), a resistor R5 (with a resistance value of 240K Ω), a resistor R6 (with a resistance value of 47K Ω), a resistor R7 (with a resistance value of 47K Ω), a resistor R10 (with a resistance value of 1.4 Ω), a resistor R11 (with a resistance value of 1.5 Ω), a resistor R14 (with a resistance value of 100 Ω), a resistor R15 (with a resistance value of 68K Ω), a resistor R16 (with a resistance value of 3K Ω), a resistor R17 (with a resistance value of 100 Ω), a fuse resistor F1 (with a resistance value of 33 Ω), a fuse F2 (with a resistance value of 33 Ω), a capacitor C1 (with a capacitance value of 100nF), a capacitor C2 (with a capacitance value of 100nF), a capacitor C3 (with a capacitor C, A capacitor C5 (with the capacitance value of 1uF), an electrolytic capacitor EC2 (with the capacitance value of 2.2uF), an inductor L1 (with the inductance value of 2.0mH), an inductor L2 (with the inductance value of 2.0mH), a diode D1 (with the model of RS1MSMA), a diode D2 (with the model of ES1JSOD-123), a diode D5 (with the model of ES1JSOD-123), a transformer T1 (with the model of EE1610V142J), a common mode magnetic ring T2 (with the model of 9.5.3- (10K) -15:15-600UH), a chip U1 (with the model of BP3216C) and a rectifier bridge DB1 (with the model of MB 10S);
a first pin of the chip U1 is electrically connected with one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 respectively, a first pin of the chip U1, one end of a capacitor C5, one end of a resistor R10 and one end of a resistor R11 are all grounded, a third pin of the chip U1 is electrically connected with one end of a resistor R15 and one end of a resistor R16 respectively, the other end of the resistor R15 is electrically connected with a cathode of a diode D2, an anode of the diode D2 is electrically connected with an anode of a diode D5 and one end of a secondary winding of a transformer T1 respectively, the other ends of the secondary windings of the transformers T1 and T16 are electrically connected with the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 respectively, the other end of the secondary winding of a transformer T1, the other end of an electrolytic capacitor EC2 and the other end of a resistor R16 are all grounded respectively, a fourth pin of the chip U1 is electrically connected with, One end of an electrolytic capacitor EC2 and the other end of a capacitor C5 are electrically connected, the other end of the resistor R7 is electrically connected with one end of a resistor R6, the other end of the resistor R6 is electrically connected with one end of an inductor L2, one end of a resistor R2, one end of a capacitor C2, one end of a resistor R3, one end of a resistor R4, one end of a resistor R5, one end of a capacitor C4 and the switching circuit 2, the other end of the resistor R4 is electrically connected with the other end of a resistor R5, the cathode of a diode D1 and the other end of a capacitor C4, the anode of a diode D1 is electrically connected with one end of a resistor R17, the other end of the resistor R17 is electrically connected with the switching circuit 2, the fifth pin of a chip U1 and the sixth pin of a chip U1, the eighth pin of the chip U1 is electrically connected with the other end of a resistor R1 and the other end of the resistor R1, and the other end of the other, One end of a capacitor C1 is electrically connected to a third end of a rectifier bridge DB1, the other end of the resistor R3 is electrically connected to one end of a capacitor C3, the other end of the capacitor C3 is respectively electrically connected to the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1, the other end of a capacitor C3, the other end of a capacitor C2, the other end of a capacitor C1 and a second end of a rectifier bridge DB1 are all grounded, a first end of the rectifier bridge DB1 is respectively electrically connected to one end of an inductor L1 and one end of a resistor R1, a fourth end of the rectifier bridge DB1 is electrically connected to one end of a secondary winding of a common mode magnetic ring T2, a second end of a secondary winding of the common mode magnetic ring T2 is respectively electrically connected to one end of a capacitor C9 and one end of a safety resistor F2, the other end of the inductor L1 is respectively electrically connected to the other end of a resistor R1 and one end of a safety ring 1, the other end of the fuse resistor F1 is connected with a live wire, and the other end of the fuse resistor F2 is connected with a zero wire.
Referring to fig. 2, the switching circuit 2 includes a resistor R12 (with a resistance of 100 Ω), a resistor R13, a capacitor C7 (with a capacitance of 100pF), a capacitor C8 (with a capacitance of 2.2nF), an electrolytic capacitor EC1 (with a capacitance of 470uF), and a diode D3 (with a model of ES2JSMA), one end of the resistor R12 is electrically connected to the anode of the diode D3, the thyristor dimming circuit 1, and the color temperature control circuit 5, the other end of the resistor R12 is electrically connected to one end of the capacitor C7, the other end of the capacitor C7 is electrically connected to the cathode of the diode D3, one end of the electrolytic capacitor EC1, one end of the resistor R13, and the small night light source circuit 3, the other end of the electrolytic capacitor EC1 is electrically connected to the other end of the resistor R13, one end of the capacitor C8, and the thyristor dimming circuit 1, and the other end of the capacitor C8 is grounded.
Referring to fig. 2, the light source circuit 3 of the small night light includes a resistor R8 (with a resistance value of 330 Ω), a resistor R9 (with a resistance value of 47K Ω), a fet Q1 (with a model of SOT-89), and a LED1 (with a model of 2835), an anode of the LED1 is electrically connected to the switching circuit 2, a cathode of the LED1 is electrically connected to a drain of the fet Q1, a gate of the fet Q1 is electrically connected to one end of the resistor R8 and one end of the resistor R9, the other end of the resistor R8 is electrically connected to a peripheral single-chip PWM, the other end of the resistor R9 is electrically connected to a source of the fet Q1, and the other end of the resistor R9 and the source of the fet Q1 are both grounded.
Referring to fig. 2, the main illumination light source circuit 4 includes a resistor R20 (with a resistance of 330 Ω), a resistor R21 (with a resistance of 47K Ω), a resistor R22 (with a resistance of 330 Ω), a resistor R23 (with a resistance of 47K Ω), a light emitting diode LED2 (with a model 2835), a light emitting diode LED3 (with a model 2835), a field effect transistor Q2 (with a model SOT-89), and a field effect transistor Q3 (with a model SOT-89);
the anode of the light emitting diode LED2 is electrically connected with the anode of the light emitting diode LED3 and the small night light source circuit 3, the cathode of the light emitting diode LED2 is electrically connected with the drain of a field effect transistor Q2, the grid of the field effect transistor Q2 is respectively and electrically connected with one end of a resistor R20 and one end of a resistor R21, the other end of the resistor R20 is electrically connected with an external singlechip PWM, the other end of the resistor R21 is electrically connected with the source electrode of the field effect transistor Q2, the other end of the resistor R21 and the source electrode of the field effect transistor Q2 are both grounded, the cathode of the light emitting diode LED3 is electrically connected with the drain of a field effect transistor Q3, the grid of the field effect transistor Q3 is respectively and electrically connected with one end of a resistor R22 and one end of a resistor R23, the other end of the resistor R22 is electrically connected with an external single chip microcomputer PWM, the other end of the resistor R23 is electrically connected with the source electrode of the field-effect transistor Q3, and the other end of the resistor R23 and the source electrode of the field-effect transistor Q3 are both grounded.
Referring to fig. 2, the color temperature control circuit 5 includes a resistor R26 (with a resistance of 47K Ω), a resistor R27 (with a resistance of 47K Ω), a resistor R28 (with a resistance of 240K Ω), a resistor R29 (with a resistance of 10K Ω), a capacitor C6 (with a capacitance of 100nF), an electrolytic capacitor EC3 (with a capacitance of 1uF), a diode D7 (with a model of ES1JSOD-123), a voltage regulator ZD1 (with a model of SOD-123), a switch K1 (with a model of SS15D03G6), and a chip U2 (with a model of SOP 8);
a first pin of the chip U2 is electrically connected with one end of a capacitor C6, one end of a resistor R29, a sixth pin of a switch K1, a cathode of a voltage regulator tube ZD1, one end of a resistor R28 and one end of a resistor R27 respectively, a fourth pin of the chip U2 is electrically connected with the other end of the resistor R29, an anode of the voltage regulator tube ZD1 is electrically connected with the other end of a resistor R28 and one end of an electrolytic capacitor EC3 respectively, an anode of a voltage regulator tube ZD1, the other end of a resistor R28 and one end of an electrolytic capacitor EC3 are all grounded, the other end of the electrolytic capacitor EC3 is electrically connected with one end of a resistor R26 and a cathode of a diode D7 respectively, the other end of the resistor R26 is electrically connected with the other end of the resistor R26, an anode of the diode D26 is electrically connected with a switching circuit 2, the other end of the capacitor C26 is electrically connected with an eighth pin of the chip U26 and the first pin of the switch K26 respectively, the seventh pin of the chip U2 is electrically connected with the fourth pin of the switch K1, the sixth pin of the chip U2 is electrically connected with the second pin of the switch K1, the fifth pin of the chip U2 is electrically connected with the third pin of the switch K1, and the sixth pin of the switch K1 is connected with a power supply.
The thyristor dimming circuit 1 is electrically connected with the switching circuit 2 through a transformer T3.
The working principle of the dimming and toning circuit is as follows:
the switch K1 has six gears, the color temperature of 2700K is shifted to 1 gear by hand, the color temperature of 3000K is shifted to 2 gear, the color temperature of 4000K is shifted to 3 gear, the color temperature of 5000K is shifted to 4 gear, the color temperature of 6500K is shifted to 5 gear, the color temperature of 6 gear is automatic Auto gear (namely, the mode is used for switching main illumination and small night lamp), the user only needs to shift to the gear required by the user;
the resistor R26, the resistor R27, the resistor R28, the voltage regulator tube ZD1, the electrolytic capacitor EC3 and the diode D7 are used for obtaining 5V direct current voltage to supply power to the chip U2, so that the chip U2 works normally; the chip U2 is a singlechip, is a carrier of a software program, provides various required instructions for a circuit and then outputs PWM signals; the resistor R29 is used for detecting whether a wall switch signal exists outside the chip U2; the capacitor C6 is used for filtering external high-frequency interference signals of the chip U2 for filtering.
The fuse resistor F1 is used as a fuse in a circuit, and the common mode magnetic ring T2, the inductor L1 and the resistor R1 are used for pre-bridge filtering; the capacitor C9 provides a holding current for the low end of the Wifi dimmer; the rectifier bridge DB1 is used for rectification; the capacitor C1, the capacitor C2, the capacitor C3 and the inductor L2 are used for filtering, wherein the capacitor C1, the capacitor C2, the capacitor C3 and the resistor R3 are also used for being compatible with different dimmers; the transformer T1 is used for transmission and conversion of energy provided by the isolation circuit; the diode D1, the resistor R4, the resistor R5, the resistor R17 and the capacitor C4 are used for absorbing peak surge spike voltage at two ends of the transformer T1; the resistor R6, the resistor R7 and the capacitor C5 provide starting Vcc voltage for the chip U1, and the chip U2 is powered by the transformer T1, the diode D5, the resistor R14 and the electrolytic capacitor EC2 after the chip U1 is started; the diode D2, the resistor R15 and the resistor R16 provide feedback voltage for the circuit and are used for setting the OVP voltage in the circuit; the chip U2 is a dimming chip and is used for providing a stable constant current circuit; the resistor R10 and the resistor R11 are sampling resistors and are used to set the output current in the circuit.
The diode D3 and the electrolytic capacitor EC1 are used for output rectification filtering and providing pure direct-current voltage for an output circuit, the resistor R12 and the capacitor C7 are used for absorbing peak surge voltage at two ends of the diode D3, and the resistor R13 is used for discharging of the electrolytic capacitor EC 1.
The resistor R9 is used for discharging the field effect transistor Q1 because the inside of the field effect transistor is provided with a capacitor; the resistor R8 is used for limiting PWM spike signals and separating the chip U2 from the field effect transistor Q1, so that the chip U2 is prevented from being influenced by the field effect transistor Q1; the field effect transistor Q1 is used as a switch, the on-off of the light emitting diode LED1 is controlled by the peripheral single chip microcomputer PWM, when the other end of the resistor R8 inputs a high level, the light emitting diode LED1 (i.e., a small night lamp) is on, and when the other end of the resistor R8 inputs a low level, the light emitting diode LED1 is off.
The resistor R21 and the resistor R23 are respectively used for discharging the field effect transistor Q2 and the field effect transistor Q3, because the inside of the field effect transistor is provided with a capacitor; the resistor R20 and the resistor R22 limit PWM spike signals and separate the chip U2 from the field effect transistor Q2 and the field effect transistor Q3, so that the chip U2 is prevented from being influenced by the field effect transistor Q2 and the field effect transistor Q3; the field-effect transistor Q2 and the field-effect transistor Q3 are used as switches, the light-emitting diode LED2 and the light-emitting diode LED3 are controlled to be turned on and off by the peripheral single chip microcomputer PWM, when the other end of the resistor R20 inputs a high level, the light-emitting diode LED2 is turned on, and when the other end of the resistor R20 inputs a low level, the light-emitting diode LED2 is turned off; similarly, when the other end of the resistor R22 is inputted with a high level, the light emitting diode LED3 is turned on, and when the other end of the resistor R22 is inputted with a low level, the light emitting diode LED3 is turned off.
In summary, the dimming and color mixing circuit provided by the utility model can detect whether the circuit is connected with the dimmer or not by setting the silicon controlled rectifier dimming circuit, and can normally work under the condition of no dimmer and can normally adjust the light under the condition of being connected with the dimmer; the switching of different color temperatures can be realized by arranging the switching circuit; the small night lamp light source circuit and the main lighting light source circuit are arranged to realize circular switching; through the cooperation between silicon controlled rectifier dimmer circuit, switching circuit, little night-light source circuit, main illumination light source circuit and the colour temperature control circuit, realize main illumination and little night-light switching mode when reducing the consumption to realize the switching of the different colour temperatures of main illumination, provide the different colour temperature of user and select, and then improve user's experience and feel.
The above mentioned is only the embodiment of the present invention, and not the limitation of the patent scope of the present invention, all the equivalent transformations made by the contents of the specification and the drawings, or the direct or indirect application in the related technical field, are included in the patent protection scope of the present invention.