Dimming circuit and dimmer
Through wireless communication circuits and microprocessors, the resistance value of the resistor component is adjusted, and the problems of complex wiring and cumbersome installation of dimming circuits are solved, achieving the effect of simplifying wiring and installation.
Patent Information
- Application Number
- CN202490000004.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-20
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2034-02-20
AI Technical Summary
The existing dimming circuit has complex wiring and is too long, and is cumbersome to install, so it needs to match the height of the human body.
The wireless communication circuit is used to convert the wireless communication signal into a wired communication signal, and the resistance value of the resistor component is adjusted through the microprocessor, so that the adjustment resistance is connected to the power supply ground through wireless communication.
The wiring and installation of dimming circuits are simplified, the requirements for matching the height of the human body are avoided, and the convenience and efficiency of installation are improved.
Smart Images

Figure CN222484960U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic circuits, and in particular, relates to a dimming circuit and a dimmer. Background Art
[0002] In the traditional lighting market in Europe and America, especially in North America, many LED lamps have built-in 0 to 10V dimming function. The specific application method is usually to connect the lamps through a dimmer switch to achieve the switching and dimming functions.
[0003] The dimmer switch has a built-in adjustable resistor (such as a 120K resistor or a resistor of other resistance values). The voltage difference between the two control pins (D+, D-) of the lamp is changed by manually adjusting the resistor. The maximum adjustable value is 10V and the minimum adjustable value is 0V to control the brightness of the lamp.
[0004] Since the adjustment resistor needs to be adjusted manually, the setting of the dimmer switch needs to match the height of the human body. The lamps are usually located on the ceiling, or installed on the mounting frame of the venue, in the installation groove of the street lamp, etc., which makes the dimming circuit wiring complicated and too long, and the installation is cumbersome.
[0005] Therefore, the wiring of the related dimming circuit is complicated and too long, and the installation is cumbersome. Utility Model Content
[0006] The purpose of the present application is to provide a dimming circuit and a dimmer, aiming to solve the problems of complex and long wiring and cumbersome installation of related dimming circuits.
[0007] The embodiment of the present application provides a dimming circuit, including:
[0008] a wireless communication circuit configured to receive a wireless communication signal from a wireless link and convert the wireless communication signal into a first wired communication signal;
[0009] A resistor component, comprising a plurality of regulating resistors connected in series, wherein a first end of a first regulating resistor serves as a regulating end of the dimming circuit;
[0010] A microprocessor is connected to the wireless communication circuit and the resistor component, has a port group for adjusting the resistance value of the resistor component, and is configured to set at least one port in the port group to a first level according to the first wired communication signal so that the second end of at least one of the adjustment resistors is connected to the power ground.
[0011] In one embodiment, each port in the port group is connected to the second end of each regulating resistor in a one-to-one correspondence.
[0012] In one embodiment, a switch assembly is also included;
[0013] The switch assembly includes a plurality of switch modules;
[0014] The plurality of switch modules are connected to the second ends of the plurality of regulating resistors in a one-to-one correspondence, and are connected to the second ends of the plurality of regulating resistors in a one-to-one correspondence;
[0015] The switch module is configured to connect the second end of the corresponding regulating resistor to the power ground in response to a signal of a first level output by a port in the port group.
[0016] In one embodiment, the microprocessor is further configured to output a control signal according to the first wired communication signal; and the dimming circuit further includes:
[0017] The switch circuit is connected to the microprocessor and configured to receive input alternating current and transmit the input alternating current according to the control signal.
[0018] In one embodiment, the dimming circuit further includes:
[0019] A conversion isolation circuit is configured to receive input alternating current, and isolate and convert the input alternating current to output output alternating current;
[0020] a zero-crossing detection circuit configured to output a detection signal in response to the output AC power crossing a zero point;
[0021] The microprocessor is further configured to output a control signal according to the first wired communication signal and the detection signal.
[0022] In one of the embodiments, the zero-crossing detection circuit includes a photocoupler, a first resistor and a second resistor;
[0023] The negative electrode of the photoelectric coupler and the first end of the first resistor serve together as the output AC input end of the zero-crossing detection circuit, and are connected to the conversion isolation circuit to access the output AC; the positive electrode of the photoelectric coupler is connected to the second end of the first resistor, and the collector of the photoelectric coupler and the first end of the second resistor serve together as the inspection signal output end of the zero-crossing detection circuit, and are connected to the microprocessor to output the detection signal; the emitter of the photoelectric coupler is connected to the power ground.
[0024] In one of the embodiments, the switch circuit includes a relay, a first transistor, a first diode, a third resistor and a fourth resistor;
[0025] The first end of the third resistor and the first end of the fourth resistor serve together as the control signal input end of the switch circuit, and are connected to the microprocessor to receive the control signal; the second end of the fourth resistor is connected to the base of the first transistor, the collector of the first transistor is connected to the first control end of the relay and the positive electrode of the first diode, the second control end of the relay and the negative electrode of the first diode serve together as the first DC input end of the switch circuit to receive the first DC power; the common end of the relay serves as the input AC output end of the switch circuit to output the input AC power; the normally open end of the relay serves as the input AC input end of the switch circuit, and is connected to the conversion isolation circuit to receive the input AC power; the emitter of the first transistor and the second end of the third resistor are commonly connected to the power ground.
[0026] In one embodiment, it also includes:
[0027] a rectifier circuit, connected to the conversion isolation circuit, configured to rectify the output alternating current to output a first direct current to power the switch circuit;
[0028] The voltage stabilizing circuit is connected to the rectifier circuit and is configured to stabilize the first direct current to power the wireless communication circuit and the microprocessor.
[0029] In one embodiment, the port group includes a first general purpose input and output terminal of the microprocessor, a second general purpose input and output terminal of the microprocessor, a third general purpose input and output terminal of the microprocessor, a fourth general purpose input and output terminal of the microprocessor, a fifth general purpose input and output terminal of the microprocessor, a sixth general purpose input and output terminal of the microprocessor, a seventh general purpose input and output terminal of the microprocessor, an eighth general purpose input and output terminal of the microprocessor, a ninth general purpose input and output terminal of the microprocessor, a tenth general purpose input and output terminal of the microprocessor, and an eleventh general purpose input and output terminal of the microprocessor; the power supply terminal of the microprocessor is connected to a first stabilized direct current; the twelfth general purpose input and output terminal of the microprocessor is connected to a first wired communication signal; the thirteenth general purpose input and output terminal of the microprocessor outputs a control signal; the fourteenth general purpose input and output terminal of the microprocessor is connected to a detection signal; and the ground terminal of the microprocessor is connected to a power ground.
[0030] In one embodiment, the wireless communication circuit includes a wireless receiving chip, a first inductor, a second inductor, a first capacitor, a second capacitor and an antenna;
[0031] The power supply end of the wireless receiving chip serves as the first DC input end of the wireless communication circuit to receive the stabilized first DC power; the data output end of the wireless receiving chip serves as the first wired communication signal output end of the wireless communication circuit to be connected to the microprocessor to output the first wired communication signal; the RF input end of the wireless receiving chip is connected to the first end of the first inductor and the first end of the first capacitor, the second end of the first inductor is connected to the first end of the second capacitor, the second end of the second inductor and the antenna, and the ground end of the wireless receiving chip is connected to the power ground.
[0032] An embodiment of the present application further provides a dimmer, which includes the above-mentioned dimming circuit.
[0033] Compared with the prior art, the embodiments of the present application have the following beneficial effects: since the wireless communication circuit converts the wireless communication signal into a first wired communication signal; the resistor component includes a plurality of adjustment resistors connected in series, wherein the first end of the first adjustment resistor serves as the adjustment end of the dimming circuit; the microprocessor has a port group for adjusting the resistance value of the resistor component, and sets at least one port in the port group to a first level according to the first wired communication signal, so that the second end of at least one adjustment resistor is connected to the power ground; therefore, the second end of at least one adjustment resistor can be connected to the power ground through wireless communication, thereby adjusting the resistance of the resistor component, and the installation of the dimmer switch does not need to match the height of the human body, and can be set together with the lamp on the ceiling or on the mounting frame of the venue, in the mounting groove of the street lamp, and other application scenarios, saving the wiring of the dimming switch from the lamp to the ground, that is, simplifying the wiring and installation of the dimming circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical application in the embodiments of the present application, the drawings required for use in the description of 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 any creative work.
[0035] Figure 1 A schematic diagram of a dimming circuit provided in one embodiment of the present application;
[0036] Figure 2 Another structural schematic diagram of a dimming circuit provided in an embodiment of the present application;
[0037] Figure 3 Another structural schematic diagram of a dimming circuit provided in an embodiment of the present application;
[0038] Figure 4 Another structural schematic diagram of a dimming circuit provided in an embodiment of the present application;
[0039] Figure 5 Another structural schematic diagram of a dimming circuit provided in an embodiment of the present application;
[0040] Figure 6 A partial exemplary circuit schematic diagram of a dimming circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0043] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0044] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0045] Figure 1 The structural diagram of the dimming circuit provided by the preferred embodiment of the present application is shown. For the convenience of explanation, only the part related to the present embodiment is shown, which is described in detail as follows:
[0046] The dimming circuit includes a wireless communication circuit 01, a resistor component 02 and a microprocessor U1.
[0047] The wireless communication circuit 01 is configured to receive a wireless communication signal from a wireless link and convert the wireless communication signal into a first wired communication signal.
[0048] The resistor component 02 includes a plurality of regulating resistors Rs connected in series, wherein a first end of the first regulating resistor Rs serves as a regulating end of the dimming circuit.
[0049] The microprocessor U1 is connected to the wireless communication circuit 01 and the resistor component 02, and has a port group for adjusting the resistance value of the resistor Rs component 02, and is configured to set at least one port in the port group to a first level according to a first wired communication signal so that the second end of at least one adjustment resistor Rs is connected to the power ground.
[0050] It should be emphasized that the related dimming circuit also uses thyristors and performs dimming through chopping. This thyristor chopping dimming method has a poor power factor (PF) value and low efficiency. The present application reduces the possibility of a decrease in the PF value by adjusting the resistance value of the resistor component 02.
[0051] In a specific implementation, there are two situations for the above dimming circuit.
[0052] In the first case, if Figure 1 As shown, each port in the port group is connected to the second end of each regulating resistor in a one-to-one correspondence.
[0053] It should be noted that this situation is applicable to microprocessors whose outputs have a high impedance state.
[0054] In the second case, if Figure 2 As shown, the dimming circuit further includes a switch component 90; the switch component 90 includes a plurality of switch modules 91; the plurality of switch modules 91 are connected to the second ends of the plurality of adjustment resistors Rs in a one-to-one correspondence, and are connected to the plurality of ports in the port group in a one-to-one correspondence; the switch module 91 is configured to connect the second end of the corresponding adjustment resistor Rs to the power ground in response to a signal of a first level output by a port in the port group. It can be understood that the switch module 91 includes a switch tube, and the switch tube includes a triode, a field effect tube, and an insulated gate bipolar transistor.
[0055] It should be noted that this situation is applicable to a microprocessor whose output does not have a high-impedance state.
[0056] It should be noted that if both the wireless communication signal and the first wired communication signal carry a dimming flag, the microprocessor U1 is specifically configured to set the port corresponding to the dimming flag to the first level.
[0057] By sending a wireless communication signal carrying a dimming identifier from a wireless link and converting the wireless communication signal to obtain a first wired communication signal carrying the dimming identifier, the microprocessor U1 sets the port corresponding to the dimming identifier to a first level, thereby grounding the second end of the adjustment resistor Rs corresponding to the port set to a low level, adjusting the resistance value of the resistor component 02, and adjusting the lamp to a preset brightness.
[0058] It should be noted that both the wireless communication signal and the first wired communication signal carry continuous dimming instructions. The microprocessor U1 is specifically configured to set each port in the port group to the first level in a cycle according to the continuous dimming instruction, so as to set the second end of each adjustment resistor Rs to the first level in a cycle.
[0059] By sending a wireless communication signal carrying a continuous dimming instruction from a wireless link and converting the wireless communication signal into a first wired communication signal carrying the continuous dimming instruction, the microprocessor U1 sets each port in the port group to the first level in sequence according to the continuous dimming instruction, so as to connect the second end of each adjustment resistor Rs to the power ground in sequence, and cyclically adjust the resistance value of the resistor component 02, thereby cyclically increasing or decreasing the brightness of the lamp.
[0060] It should be noted that both the wireless communication signal and the first wired communication signal carry a dimming termination instruction, and the microprocessor U1 is specifically configured to stop setting the ports in the port group to the first level in sequence according to the dimming termination instruction, and maintain the current first level port settings.
[0061] After receiving the first wired communication signal carrying the continuous dimming instruction, the first wired communication signal carrying the termination dimming instruction is received again. At this time, the microprocessor U1 stops setting the ports in the port group to the first level in sequence according to the termination dimming instruction, and maintains the current setting of the first level port, that is, when the brightness of the lamp is cyclically increased or decreased, the current brightness of the lamp is maintained according to the termination dimming instruction.
[0062] like Figure 3 As shown, the microprocessor U1 is further configured to output a control signal according to the first wired communication signal; the dimming circuit also includes a switch circuit 03.
[0063] The switch circuit 03 is connected to the microprocessor U1 and is configured to receive the input AC power and transmit the input AC power according to the control signal.
[0064] The switch circuit 03 is used to switch the power supply to the lamp on and off, thereby turning the lamp on or off.
[0065] like Figure 4 As shown, the dimming circuit further includes a conversion isolation circuit 04 and a zero-crossing detection circuit 05 .
[0066] The conversion isolation circuit 04 is configured to receive the input AC power, and isolate and convert the input AC power to output the output AC power;
[0067] The zero-crossing detection circuit 05 is configured to output a detection signal in response to the output AC power crossing a zero point;
[0068] The microprocessor U1 is further configured to output a control signal according to the first wired communication signal and the detection signal.
[0069] The zero-crossing detection circuit 05 responds to the zero-crossing of the output AC power and outputs a detection signal, so that the microprocessor U1 outputs a control signal when the output AC power crosses the zero point, realizing the on-off of the power supply to the lamp when the input AC power crosses the zero point, reducing the possibility of arcing and sparking of the relay inside the switch circuit 03 when turning on or off the lamp, and improving the safety and reliability of the dimming circuit. At the same time, although the input AC power is not grounded, the 0 potential jumps between the zero line and the live line of the input AC power. Due to the isolation effect of the conversion isolation circuit 04, when the power supply of the dimming circuit is grounded, the possibility of short circuit is reduced, and the safety and reliability of the dimming circuit are further improved.
[0070] like Figure 5 As shown, the dimming circuit also includes a rectifier circuit 06 and a voltage stabilizing circuit 07 .
[0071] The rectifier circuit 06 is connected to the conversion isolation circuit 04 and is configured to rectify the output alternating current to output a first direct current to power the switch circuit 03 .
[0072] The voltage stabilizing circuit 07 is connected to the rectifier circuit 06 and is configured to stabilize the first direct current to power the wireless communication circuit 01 and the microprocessor U1.
[0073] The power supply to each functional module is realized through the rectifier circuit 06 and the voltage stabilizing circuit 07 .
[0074] Figure 6 A partial exemplary circuit structure of a dimming circuit provided in an embodiment of the present application is shown. For the sake of convenience, only the part related to the embodiment of the present application is shown, which is described in detail as follows:
[0075] The port group includes a first general input and output terminal P0.5 of the microprocessor U1, a second general input and output terminal P1.4 of the microprocessor U1, a third general input and output terminal P3.0 of the microprocessor U1, a fourth general input and output terminal P1.3 of the microprocessor U1, a fifth general input and output terminal P1.2 of the microprocessor U1, a sixth general input and output terminal P1.1 of the microprocessor U1, a seventh general input and output terminal P1.0 of the microprocessor U1, an eighth general input and output terminal P0.1 of the microprocessor U1, and a ninth general input and output terminal P1. The universal input and output terminal P0.2, the tenth universal input and output terminal P0.3 of the microprocessor U1 and the eleventh universal input and output terminal P0.4 of the microprocessor U1; the power supply terminal of the microprocessor U1 is connected to the first stabilized DC power; the twelfth universal input and output terminal P1.5 of the microprocessor U1 is connected to the first wired communication signal; the thirteenth universal input and output terminal P0.7 of the microprocessor U1 outputs a control signal; the fourteenth universal input and output terminal P2.0 of the microprocessor U1 is connected to the detection signal; the ground terminal of the microprocessor U1 is connected to the power ground.
[0076] The wireless communication circuit 01 includes a wireless receiving chip U2 , a first inductor L1 , a second inductor L2 , a first capacitor C1 , a second capacitor C2 and an antenna ANT.
[0077] The power supply terminal VDD of the wireless receiving chip U2 serves as the first DC input terminal of the wireless communication circuit 01 to connect to the stabilized first DC power; the data output terminal DOUT of the wireless receiving chip U2 serves as the first wired communication signal output terminal of the wireless communication circuit 01, and is connected to the microprocessor U1 to output the first wired communication signal; the radio frequency input terminal RFIN of the wireless receiving chip U2 is connected to the first end of the first inductor L1 and the first end of the first capacitor C1, the second end of the first inductor L1 is connected to the first end of the second capacitor C2, the second end of the second inductor L2 and the antenna ANT, and the ground terminal GND of the wireless receiving chip U2 is connected to the power ground.
[0078] It should be emphasized that the wireless communication circuit 01 can be implemented by various communication chips, for example, a WIFI chip and a Bluetooth chip.
[0079] The zero-crossing detection circuit 05 includes a photocoupler U3, a first resistor R1 and a second resistor R2.
[0080] The negative electrode of the photoelectric coupler U3 and the first end of the first resistor R1 serve together as the output AC input end of the zero-crossing detection circuit 05, and are connected to the conversion isolation circuit 04 to access the output AC power; the positive electrode of the photoelectric coupler U3 is connected to the second end of the first resistor R1, and the collector of the photoelectric coupler U3 and the first end of the second resistor R2 serve together as the inspection signal output end of the zero-crossing detection circuit 05, and are connected to the microprocessor U1 to output the detection signal; the emitter of the photoelectric coupler U3 is connected to the power ground.
[0081] The zero-crossing detection circuit 05 is realized by the photocoupler U3, and the circuit is simple and reliable.
[0082] The switch circuit 03 includes a relay K1, a first transistor Q1, a first diode D1, a third resistor R3 and a fourth resistor R4.
[0083] The first end of the third resistor R3 and the first end of the fourth resistor R4 serve together as the control signal input end of the switch circuit 03, and are connected to the microprocessor U1 to receive the control signal; the second end of the fourth resistor R4 is connected to the base of the first transistor Q1, the collector of the first transistor Q1 is connected to the first control end of the relay K1 and the positive electrode of the first diode D1, the second control end of the relay K1 and the negative electrode of the first diode D1 serve together as the first DC input end of the switch circuit 03 to receive the first DC; the common end of the relay K1 serves as the input AC output end of the switch circuit 03 to output the input AC; the normally open end of the relay K1 serves as the input AC input end of the switch circuit 03, and is connected to the conversion isolation circuit 04 to receive the input AC; the emitter of the first transistor Q1 and the second end of the third resistor R3 are connected to the power ground.
[0084] The conversion isolation circuit 04 includes a transformer T1; the first end of the primary side of the transformer T1 and the second end of the primary side of the transformer T1 serve together as an input AC input terminal of the conversion isolation circuit 04 to access the input AC power; the first end of the secondary side of the transformer T1 and the second end of the negative side of the transformer T1 serve together as an output AC output terminal of the conversion isolation circuit 04, which is connected to the rectifier circuit 06 to output the output AC power.
[0085] The rectifier circuit 06 includes a rectifier bridge DB1 and a third capacitor C3; the first AC end AC of the rectifier bridge DB1 and the second AC end AC of the rectifier bridge DB1 serve together as the output AC input end of the rectifier circuit 06, and are connected to the conversion isolation circuit 04 to access the output AC power; the positive DC output end V+ of the rectifier bridge DB1 and the first end of the third capacitor C3 serve together as the first DC input end of the rectifier circuit 06 to output the first DC power; the negative DC output end V- of the rectifier bridge DB1 and the second end of the third capacitor C3 are connected to the power ground.
[0086] The voltage stabilizing circuit 07 includes a voltage stabilizer U4, a fourth capacitor C4 and a fifth capacitor C5; the input terminal IN of the voltage stabilizer U4 and the first end of the fourth capacitor C4 serve together as the first DC input terminal of the voltage stabilizing circuit 07, and are connected to the rectifier circuit 06 to receive the first DC power; the output terminal OUT of the voltage stabilizer U4 and the second end of the fourth capacitor C4 serve together as the stabilized first DC output terminal of the voltage stabilizing circuit 07, and are connected to the wireless communication circuit 01 and the microprocessor U1 to output the stabilized first DC power; the ground terminal GND of the voltage stabilizer U4, the second end of the fourth capacitor C4 and the second end of the fifth capacitor C5 are connected to the power ground.
[0087] The following is a combination of working principles Figure 5 As shown for further explanation:
[0088] The first end of the primary side of the transformer T1 and the second end of the primary side of the transformer T1 are connected to the input AC power, and the transformer T1 isolates and converts the input AC power to output the output AC power from the first end of the secondary side of the transformer T1 and the second end of the negative side of the transformer T1. The first AC end AC of the rectifier bridge DB1 and the second AC end AC of the rectifier bridge DB1 are connected to the output AC power, and the rectifier bridge DB1 rectifies the output AC power to output the first DC power from the positive DC output end V+ of the rectifier bridge DB1. The input end IN of the voltage regulator U4 is connected to the first DC power, and the voltage regulator U4 stabilizes the first DC power to output the stabilized first DC power from the output end OUT of the voltage regulator U4.
[0089] The antenna ANT receives a wireless communication signal from the wireless link and converts the wireless communication signal into a second wired communication signal. The second wired communication signal is filtered and impedance matched by the first inductor L1, the second inductor L2, the first capacitor C1 and the second capacitor C2, and then input to the RF input terminal RFIN of the wireless receiving chip U2. The wireless receiving chip U2 converts the second wired communication signal into a first wired communication signal and outputs it from the data output terminal DOUT of the wireless receiving chip U2 to the twelfth general input and output terminal P1.5 of the microprocessor U1.
[0090] When both the wireless communication signal and the first wired communication signal carry the dimming identifier, the microprocessor U1 sets the port corresponding to the dimming identifier to the first level (low level), for example, the third general input and output terminal P3.0 of the microprocessor U1 is set to a low level, so that the resistance of the resistor component 02 is set to 2 times the adjustment resistance Rs. By analogy, the resistance of the resistor component 02 can be set to 1 times the adjustment resistance Rs to 11 times the adjustment resistance Rs; thereby adjusting the lamp to a preset brightness.
[0091] Both the wireless communication signal and the first wired communication signal carry continuous dimming instructions. The microprocessor U1 sets each port in the port group to the first level (low level) in a cycle according to the continuous dimming instruction, so as to set the second end of each adjustment resistor Rs to a low level (connected to the power ground) in a cycle; thereby gradually dimming the brightness of the lamp.
[0092] When the brightness of the lamp is gradually dimmed in a cycle or gradually dimmed, if a first wired communication signal carrying a termination dimming instruction is received, the microprocessor U1 stops setting the ports in the port group to the first level (low level) in sequence according to the termination dimming instruction, and maintains the current first level (low level) port setting; for example, when the first wired communication signal carrying the termination dimming instruction is received, the current low level port of the microprocessor U1 is the third general input and output terminal P3.0, then the microprocessor U1 stops setting the ports in the port group to a low level in sequence according to the termination dimming instruction, and maintains the current low level port (the third general input and output terminal P3.0) setting, and maintains the resistance of the resistor component 02 set to 2 times the adjustment resistance Rs.
[0093] The negative pole of the photocoupler U3 and the positive pole of the photocoupler U3 are connected to the output alternating current, and when the output alternating current passes through the zero point, a detection signal (jump signal) is output from the collector of the photocoupler U3. If the wired communication signal and the first wired communication signal both carry an on instruction, the microprocessor U1 responds to the on instruction and outputs a control signal from the thirteenth general input and output terminal P0.7 to the base of the first transistor Q1 when receiving the detection signal, so that the first transistor Q1 is turned on, the first direct current flows into the coil of the relay K1, and the relay K1 is closed and transmits the input alternating current to the lamp.
[0094] An embodiment of the present application further provides a dimmer, which includes the above-mentioned dimming circuit.
[0095] In an embodiment of the present application, the wireless communication signal is converted into a first wired communication signal through a wireless communication circuit; the resistor component includes a plurality of adjustment resistors connected in series, wherein the first end of the first adjustment resistor serves as an adjustment end of the dimming circuit; the microprocessor has a port group for adjusting the resistance value of the resistor component, and at least one port in the port group is set to a low level according to the first wired communication signal; each port in the port group is connected to the second end of each adjustment resistor in a one-to-one correspondence; therefore, the second end of at least one adjustment resistor can be set to a low level through wireless communication, thereby adjusting the resistance of the resistor component, and the installation of the dimmer switch does not need to match the height of the human body, and can be set on the ceiling together with the lamp, thereby simplifying the wiring and installation of the dimming circuit.
[0096] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0097] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A dimming circuit, characterized in that: include: a wireless communication circuit configured to receive a wireless communication signal from a wireless link and convert the wireless communication signal into a first wired communication signal; A resistor component, comprising a plurality of regulating resistors connected in series, wherein a first end of a first regulating resistor serves as a regulating end of the dimming circuit; A microprocessor is connected to the wireless communication circuit and the resistor component, has a port group for adjusting the resistance value of the resistor component, and is configured to set at least one port in the port group to a first level according to the first wired communication signal so that the second end of at least one of the adjustment resistors is connected to the power ground.
2. The dimming circuit according to claim 1, characterized in that: Each port in the port group is connected to the second end of each regulating resistor in a one-to-one correspondence.
3. The dimming circuit according to claim 1, characterized in that: Also included is a switch assembly; The switch assembly includes a plurality of switch modules; The plurality of switch modules are connected to the second ends of the plurality of regulating resistors in a one-to-one correspondence, and are connected to the plurality of ports in the port group in a one-to-one correspondence; The switch module is configured to connect the second end of the corresponding regulating resistor to the power ground in response to a signal of a first level output by a port in the port group.
4. The dimming circuit according to claim 1, characterized in that: The microprocessor is further configured to output a control signal according to the first wired communication signal; the dimming circuit further includes: The switch circuit is connected to the microprocessor and configured to receive input alternating current and transmit the input alternating current according to the control signal.
5. The dimming circuit according to claim 4, characterized in that: The dimming circuit also includes: A conversion isolation circuit is configured to receive input alternating current, and isolate and convert the input alternating current to output output alternating current; a zero-crossing detection circuit configured to output a detection signal in response to the output AC power crossing a zero point; The microprocessor is further configured to output a control signal according to the first wired communication signal and the detection signal.
6. The dimming circuit according to claim 5, characterized in that: The zero-crossing detection circuit includes a photoelectric coupler, a first resistor and a second resistor; The negative electrode of the photoelectric coupler and the first end of the first resistor serve together as the output AC input end of the zero-crossing detection circuit, and are connected to the conversion isolation circuit to access the output AC; the positive electrode of the photoelectric coupler is connected to the second end of the first resistor, and the collector of the photoelectric coupler and the first end of the second resistor serve together as the inspection signal output end of the zero-crossing detection circuit, and are connected to the microprocessor to output the detection signal; the emitter of the photoelectric coupler is connected to the power ground.
7. The dimming circuit according to claim 5, characterized in that: The switch circuit includes a relay, a first triode, a first diode, a third resistor and a fourth resistor; The first end of the third resistor and the first end of the fourth resistor serve together as the control signal input end of the switch circuit, and are connected to the microprocessor to receive the control signal; the second end of the fourth resistor is connected to the base of the first transistor, the collector of the first transistor is connected to the first control end of the relay and the positive electrode of the first diode, the second control end of the relay and the negative electrode of the first diode serve together as the first DC input end of the switch circuit to receive the first DC power; the common end of the relay serves as the input AC output end of the switch circuit to output the input AC power; the normally open end of the relay serves as the input AC input end of the switch circuit, and is connected to the conversion isolation circuit to receive the input AC power; the emitter of the first transistor and the second end of the third resistor are commonly connected to the power ground.
8. The dimming circuit according to claim 5, characterized in that: Also includes: a rectifier circuit, connected to the conversion isolation circuit, configured to rectify the output alternating current to output a first direct current to power the switch circuit; The voltage stabilizing circuit is connected to the rectifier circuit and is configured to stabilize the first direct current to power the wireless communication circuit and the microprocessor.
9. The dimming circuit according to any one of claims 1 to 8, characterized in that: The port group includes a first general purpose input and output terminal of the microprocessor, a second general purpose input and output terminal of the microprocessor, a third general purpose input and output terminal of the microprocessor, a fourth general purpose input and output terminal of the microprocessor, a fifth general purpose input and output terminal of the microprocessor, a sixth general purpose input and output terminal of the microprocessor, a seventh general purpose input and output terminal of the microprocessor, an eighth general purpose input and output terminal of the microprocessor, a ninth general purpose input and output terminal of the microprocessor, a tenth general purpose input and output terminal of the microprocessor and an eleventh general purpose input and output terminal of the microprocessor; a power supply terminal of the microprocessor is connected to a first DC power after voltage stabilization; a twelfth general purpose input and output terminal of the microprocessor is connected to a first wired communication signal; a thirteenth general purpose input and output terminal of the microprocessor outputs a control signal; a fourteenth general purpose input and output terminal of the microprocessor is connected to a detection signal; and a ground terminal of the microprocessor is connected to a power ground.
10. The dimming circuit according to any one of claims 1 to 8, characterized in that: The wireless communication circuit includes a wireless receiving chip, a first inductor, a second inductor, a first capacitor, a second capacitor and an antenna; The power supply terminal of the wireless receiving chip serves as the first DC input terminal of the wireless communication circuit to receive the stabilized first DC power; the data output terminal of the wireless receiving chip serves as the first wired communication signal output terminal of the wireless communication circuit to be connected to the microprocessor to output the first wired communication signal; The RF input end of the wireless receiving chip is connected to the first end of the first inductor and the first end of the first capacitor, the second end of the first inductor is connected to the first end of the second capacitor, the second end of the second inductor and the antenna, and the ground end of the wireless receiving chip is connected to the power ground.
11. A dimmer, characterized in that: The dimmer comprises the dimming circuit according to any one of claims 1 to 10.