CN113242634B - Dimmer switch, method, controller and storage medium - Google Patents

Dimmer switch, method, controller and storage medium Download PDF

Info

Publication number
CN113242634B
CN113242634B CN202110564739.5A CN202110564739A CN113242634B CN 113242634 B CN113242634 B CN 113242634B CN 202110564739 A CN202110564739 A CN 202110564739A CN 113242634 B CN113242634 B CN 113242634B
Authority
CN
China
Prior art keywords
dimming
motor
control instruction
lamp
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110564739.5A
Other languages
Chinese (zh)
Other versions
CN113242634A (en
Inventor
罗贺文
宋德超
唐杰
陈道远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110564739.5A priority Critical patent/CN113242634B/en
Publication of CN113242634A publication Critical patent/CN113242634A/en
Application granted granted Critical
Publication of CN113242634B publication Critical patent/CN113242634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

A dimmer switch, a method, a controller and a storage medium. The dimmer switch comprises: the communication device is used for receiving the dimming control instruction; the controller is used for controlling the dimming circuit according to the dimming control instruction received by the communication device; the dimming circuit is used for adjusting the current introduced into the lamp based on the received dimming control instruction so as to adjust the light of the lamp. The dimming switch can receive dimming control instructions sent by other intelligent household appliances or mobile terminals, so that linkage with other intelligent household appliances or mobile terminals is realized. The light adjusting switch provided by the invention is not limited by the type of lamps, is suitable for most lamps in the market, and can realize the function of adjusting the light brightness through the light adjusting switch without replacing the lamps or enabling the lamps to have special chips or other complex structures, thereby avoiding increasing the cost of the lamps.

Description

Dimmer switch, method, controller and storage medium
Technical Field
The invention relates to the technical field of switches, in particular to a dimming switch, a dimming method, a controller and a storage medium.
Background
With the rapid development of the internet of things technology and the popularization of smart homes, more and more people are pursuing more intelligent life style. The dimming switch is widely applied in the field of intelligent switches. However, the current dimming switch is not suitable for all lamps and has certain limitations.
The common light-adjusting switch generally adopts a silicon controlled rectifier light-adjusting circuit to adjust light, and particularly changes the effective value of alternating current passing through a lamp by adjusting the conduction angle of commercial power added on the lamp, so as to change the brightness of light. Generally, the dimming mode is realized by manually rotating a potentiometer on a switch by a person, and cannot be remotely controlled through mobile phone app. The other dimming switch can only be used for the LED lamp, specifically, the dimming switch can be in Bluetooth communication with the LED lamp, the dimming switch sends a dimming signal to the LED lamp, and the LED lamp changes the light brightness by changing the flicker frequency of the LED lamp after receiving the signal. The remote-control dimming switch is only suitable for the LED lamp with the wireless communication module and cannot be suitable for the common incandescent lamp.
Therefore, there is a need for an intelligent switch that can be applied to all lamps, can be used after being installed, and can automatically adjust the brightness of the lamps conveniently.
Disclosure of Invention
The invention mainly aims to provide a dimming switch, a method, a controller and a storage medium, so as to realize remote control of the dimming switch.
In a first aspect, the present application provides a dimmer switch comprising: the communication device is used for receiving the dimming control instruction; the controller is used for controlling the dimming circuit according to the dimming control instruction received by the communication device; the dimming circuit is used for adjusting the current introduced into the lamp based on the received dimming control command so as to adjust the light of the lamp.
In one embodiment, the controller is further configured to generate a motor control command according to the dimming control command received by the communication device; the dimming circuit includes: the motor is used for rotating according to a motor control instruction generated by the controller; and the potentiometer is used for adjusting the resistance value of the resistor under the driving of the motor so as to adjust the current introduced into the lamp.
In one embodiment, the dimming circuit further comprises: and the silicon controlled rectifier circuit is electrically connected with the potentiometer and is used for adjusting the current effective value of the alternating current led into the lamp according to the resistance value of the potentiometer.
In one embodiment, further comprising: the Hall sensor is used for detecting the rotating speed of the motor when the motor rotates according to the motor control instruction generated by the controller; the controller is further used for comparing the rotating speed of the motor measured by the Hall sensor with a preset rotating speed threshold value, and sending a control instruction for stopping rotating to the motor when the rotating speed of the motor measured by the Hall sensor is smaller than or equal to the preset rotating speed threshold value.
In one embodiment, further comprising: the pyroelectric sensor is used for detecting whether a person exists in a preset distance range of the dimming switch; the controller is further used for controlling the dimming circuit according to a preset dimming control instruction when the communication device does not receive the dimming control instruction and the pyroelectric sensor detects that a person is in a preset distance range of the dimming switch, so that the light of the lamp can be adjusted.
In a second aspect, the present application provides a dimming method based on the dimming switch as described above, comprising the steps of: acquiring a dimming control instruction; and adjusting the current introduced into the lamp according to the dimming control instruction so as to adjust the light of the lamp.
In one embodiment, adjusting the current to the lamp according to the dimming control command comprises: generating a motor control instruction according to the dimming control instruction; and controlling a motor in the dimming circuit to rotate according to the motor control instruction so that the motor drives the potentiometer to adjust the resistance value of the resistor of the potentiometer, and further adjusting the current introduced into the lamp.
In one embodiment, the method further comprises the steps of: and when the motor rotates according to the motor control instruction, the rotating speed of the motor is obtained, and when the rotating speed of the motor is smaller than or equal to a preset rotating speed threshold value, the motor is controlled to stop rotating.
In one embodiment, before the dimming control instruction is obtained, the method further comprises the steps of: judging whether a person exists in a preset distance range of the light adjusting switch; when a person is in the preset distance range of the dimming switch, the dimming circuit is controlled according to a preset dimming control instruction, so that the light of the lamp can be adjusted.
In a third aspect, the present application provides a controller comprising a processor and a memory, the memory having stored therein program code which, when executed by the processor, implements the steps of the dimming method as described above.
In a fourth aspect, the present application provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the dimming method as described above.
The dimming switch can receive dimming control instructions sent by other intelligent household appliances or mobile terminals, so that linkage with other intelligent household appliances or mobile terminals is realized. The light adjusting switch provided by the invention is not limited by the type of lamps, is suitable for most lamps in the market, and can realize the function of adjusting the light brightness through the light adjusting switch without replacing the lamps or enabling the lamps to have special chips or other complex structures, thereby avoiding increasing the cost of the lamps. The dimming switch can fill the blank of dimming an incandescent lamp through the switch in the intelligent switch industry, and promote the industrial development.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention, in which:
fig. 1 is a schematic diagram of a dimmer switch according to an exemplary embodiment of the present application;
fig. 2 is a flow chart of a dimming method according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram of a dimmer switch according to an embodiment of the present application;
FIG. 4 is a graph of current conduction angle of a lamp according to the prior art;
FIG. 5 is a schematic diagram of a motor control circuit according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a connection between a potentiometer and a motor according to an embodiment of the present application;
FIG. 7 is a schematic view of a potentiometer and motor connection according to an embodiment of the present application;
FIG. 8 is a schematic view of the connection between the interior of the potentiometer and the motor according to an embodiment of the present application;
FIG. 9A is a schematic diagram of a voltage pulse signal measured by a Hall sensor at a slower motor speed according to one embodiment of the present application;
fig. 9B is a schematic diagram of a voltage pulse signal measured by a hall sensor at a faster motor speed according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Example one
Fig. 1 is a schematic structural diagram of a dimmer switch according to an exemplary embodiment of the present application. As shown in fig. 1, the dimmer switch 100 of the present embodiment may include: a communication device 110 for receiving a dimming control command; the controller 120 is configured to control the dimming circuit 130 according to a dimming control instruction received by the communication device 110, and the dimming circuit 130 is configured to adjust a current flowing into the lamp 200 based on the received dimming control instruction, so as to adjust the light of the lamp 200.
The dimming control instruction may be sent by the mobile terminal, may also be sent by other intelligent household electrical appliances, or is sent by the internet of things gateway, which is not limited herein. The dimming switch of the embodiment realizes linkage with other intelligent devices by receiving the dimming control instruction.
The dimming circuit 130 may include: a motor and a potentiometer. The controller 120 is further configured to generate a motor control command according to the dimming control command received by the communication device 110. The motor rotates according to the motor control instruction. The potentiometer is in power connection with the motor and is driven by the motor to adjust the resistance value of the resistor, so that the current introduced into the lamp 200 can be adjusted, and the light of the lamp 200 can be adjusted.
For the ac scenario, the dimming circuit 130 of the present embodiment may further include: thyristor circuits. The silicon controlled rectifier circuit is electrically connected with the potentiometer and used for adjusting the current effective value of alternating current led into the lamp according to the resistance value of the potentiometer.
The dimmer switch 100 of the present embodiment may further include: a hall sensor for detecting a rotation speed of the motor when the motor rotates according to a motor control instruction generated by the controller 120; the controller 120 is further configured to compare the rotating speed of the motor measured by the hall sensor with a preset rotating speed threshold, and send a control instruction to stop rotating to the motor when the rotating speed of the motor measured by the hall sensor is less than or equal to the preset rotating speed threshold. In one example, the preset rotational speed threshold may be 0.
In the process that the motor rotates according to the motor control instruction, if the motor rotates to the position of the limit point, the motor cannot continue to rotate, otherwise, the motor is possibly blocked or the potentiometer is possibly damaged. In order to avoid the motor from being stuck or the potentiometer from being damaged, the rotating speed of the motor in the rotating process is detected through the hall sensor, and when the rotating speed of the motor is reduced to be below a preset rotating speed threshold value, the controller 120 sends a control instruction for stopping rotating to the motor. The preset rotation speed threshold may be 0.
The dimmer switch 100 of the present embodiment may further include: a pyroelectric sensor for detecting whether a person is present within a preset distance range of the dimming switch 100; the controller 120 is further configured to, when the communication device 110 does not receive the dimming control instruction and the pyroelectric sensor detects that there is a person within the preset distance range of the dimming switch 100, control the dimming circuit 130 according to the preset dimming control instruction, so as to adjust the light of the lamp 200. Here, the light of the luminaire includes, but is not limited to, brightness and color of the light.
The dimmer switch of the present embodiment may be a zero line switch. Compared with the traditional dimming switch, the dimming switch of the embodiment can realize remote dimming of most lamps through the dimming control instruction, is not limited by the type of the lamps, is suitable for most lamps on the market, and is especially suitable for remote dimming of incandescent lamps. Moreover, the dimming switch of the embodiment is used for dimming, the lamp does not need to be provided with a special chip or be provided with a special and complex structure, the applicability is wider, the cost of the lamp is prevented from being increased, and the purchase cost of the dimmable lamp is reduced while the dimmable function is provided for the lamp of a user.
The dimming switch of this embodiment can receive the control signal of adjusting luminance to the realization is with the linkage of other intelligent household electrical appliances.
Example two
The present embodiment provides a dimming method based on the dimming switch as described above, and fig. 2 is a flowchart of a dimming method according to an exemplary embodiment of the present application. The method of the embodiment may include the steps of:
s100: and acquiring a dimming control instruction.
Of course, before this step, the method of this embodiment may further include the steps of: judging whether a person is in a preset distance range of the dimming switch; when a person is in the preset distance range of the dimming switch, the dimming circuit is controlled according to the preset dimming control instruction, so that the light of the lamp is adjusted. After the dimming control command is acquired, S200 is executed.
S200: and adjusting the current introduced into the lamp according to the dimming control instruction so as to adjust the light of the lamp.
Specifically, adjusting the current flowing into the lamp according to the dimming control command may include: and generating a motor control instruction according to the dimming control instruction, and controlling a motor in the dimming circuit to rotate according to the motor control instruction so as to drive the potentiometer to adjust the resistance value of the motor, thereby realizing the adjustment of the current introduced into the lamp.
In addition, the method may further include the steps of: when the motor rotates according to the motor control instruction, the rotating speed of the motor is obtained, and when the rotating speed of the motor is smaller than or equal to a preset rotating speed threshold value, the motor is controlled to stop rotating.
The method of the embodiment controls the effective value of the current led into the lamp according to the dimming control instruction, thereby realizing the dimming function of the lamp. The lamp can be remotely controlled to adjust the light without a special chip or circuit structure and increasing the cost of the lamp by a user, so that the life convenience is brought to the user.
EXAMPLE III
The present embodiment provides a controller comprising a processor and a memory, the memory storing program code, which when executed by the processor, implements the steps of the dimming method as described above:
acquiring a dimming control instruction; and adjusting the current introduced into the lamp according to the dimming control instruction so as to adjust the light of the lamp.
In one embodiment, adjusting the current into the lamp based on the dimming control command comprises: and generating a motor control instruction according to the dimming control instruction, and controlling a motor in the dimming circuit to rotate according to the motor control instruction so as to enable the motor to drive a potentiometer to adjust the resistance value of a resistor connected into a circuit where the lamp is located, thereby realizing the adjustment of the current connected into the lamp.
In one embodiment, further comprising the steps of: when the motor rotates according to the motor control instruction, the rotating speed of the motor is obtained, and when the rotating speed of the motor is smaller than or equal to a preset rotating speed threshold value, the motor is controlled to stop rotating.
In one embodiment, before the dimming control instruction is obtained, the method further comprises the steps of: judging whether a person is near the dimming switch; when a person is near the dimming switch, the current led into the lamp is adjusted according to a preset dimming control instruction so as to adjust the light of the lamp.
In one embodiment, the controller may include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory, Random Access Memory (RAM), and/or non-volatile memory in a computer-readable medium, such as Read Only Memory (ROM) or FLASH memory (FLASH RAM). Memory is an example of a computer-readable storage medium.
Example four
The present embodiment provides a storage medium storing a computer program, which when executed by a processor, implements the steps of the dimming method as described above:
acquiring a dimming control instruction; and adjusting the current introduced into the lamp according to the dimming control instruction so as to adjust the light of the lamp.
In one embodiment, adjusting the current into the lamp based on the dimming control command comprises: and generating a motor control instruction according to the dimming control instruction, and controlling a motor in the dimming circuit to rotate according to the motor control instruction so as to enable the motor to drive a potentiometer to adjust the resistance value of a resistor connected into a circuit where the lamp is located, thereby realizing the adjustment of the current connected into the lamp.
In one embodiment, the method further comprises the steps of: when the motor rotates according to the motor control instruction, the rotating speed of the motor is obtained, and when the rotating speed of the motor is smaller than or equal to a preset rotating speed threshold value, the motor is controlled to stop rotating.
In one embodiment, before the dimming control instruction is obtained, the method further comprises the steps of: judging whether a person is near the dimming switch; when a person is near the dimming switch, the current led into the lamp is adjusted according to a preset dimming control instruction so as to adjust the light of the lamp.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method or computer program product. Accordingly, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flow diagrams of methods according to embodiments of the invention. It will be understood that each flow in the flowcharts, and combinations of flows in the flowcharts, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows.
Storage media, including permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
EXAMPLE five
Fig. 3 is a schematic structural diagram of a dimmer switch according to an embodiment of the present application.
As shown in fig. 3, the effective value of the current of the mains supply applied to the lamp is often adjusted by manually rotating the potentiometer in the prior art (as shown in fig. 4, it is a graph of the current conduction angle of the mains supply applied to the lamp, specifically, the effective value of the current of the mains supply applied to the lamp is adjusted by adjusting the current conduction angle of the current of the mains supply applied to the lamp, in fig. 4, U d Representing the voltage of the alternating current applied to the lamp, i.e. the voltage of the 220V/50Hz alternating current for a thyristor (thyristor) dimmer circuit, a represents the control angle, i.e. the angle before the thyristor is switched on, theta represents the conduction angle, i.e. the electrical angle of the thyristor conduction time per half cycle, a + theta is 180 deg., and t represents the time. The thyristor is not conducted within the range of the control angle alpha, no voltage exists on the lamp, the thyristor is conducted within the range of the conduction angle theta, the voltage exists on the lamp, the larger the conduction angle theta is, the larger the effective value of the alternating current applied to the lamp is, the brighter the lamp is, the potentiometer changes the conduction angle theta by changing the resistance value in the access circuit, and then the adjustment of the light brightness of the lamp is realized, which is neither convenient nor intelligent. The dimming switch of the present embodiment can directly adjust the brightness of the lamp at the mobile phone end, and a specific working principle of the dimming switch of the present embodiment is described next.
In this embodiment, the controller may be a main control chip, and the dimming circuit may be composed of a motor control circuit, a motor (not shown in the figure), a potentiometer (not shown in the figure), and a thyristor circuit. The motor control circuit controls the motor according to a motor control signal of the controller, the motor drives the potentiometer to rotate to adjust the resistance value of the potentiometer, the conduction angle of the silicon controlled rectifier is adjusted by adjusting the resistance value of the potentiometer, and then dimming is achieved.
Fig. 5 is a schematic structural diagram of a motor control circuit according to an embodiment of the present application. In fig. 5:
the first end of the first resistor R1 is connected to the first current pulse signal PWM1, the second end of the first resistor R1 is connected to the base of the fourth triode Q4, the emitter of the fourth triode Q4 is grounded, the collector of the fourth triode Q4 is connected to the first end of the fourth resistor R4, and the second end of the fourth resistor R4 is connected to the supply voltage VCC. A first end of the fourth resistor R4 and a collector of the fourth transistor Q4 are commonly connected to a base of the second transistor Q2 and a base of the sixth transistor Q6. An emitter of the second transistor Q2 is connected to an emitter of the sixth transistor Q6, the first terminal of the MOTOR1, an anode of the fourth diode D4, and a cathode of the second diode D2.
A first end of the second resistor R2 is connected to the second current pulse signal PWM2, a second end of the second resistor R2 is connected to a base of the first transistor Q1, an emitter of the first transistor Q1 is grounded, a collector of the first transistor Q1 is connected to a first end of the third resistor R3, a second end of the third resistor R3 is connected to the supply voltage VCC, a collector of the first transistor Q1 and a first end of the third resistor R3 are commonly connected to a base and an emitter of the third transistor Q3, a base and an emitter of the fifth transistor Q5, a second terminal of the MOTOR1, an anode of the first diode D1, and a cathode of the third diode D3.
The collector of the second triode Q2, the cathode of the fourth diode D4, the cathode of the first diode D1, and the collector of the third triode Q3 are connected to each other and commonly connected to the supply voltage VCC. The collector of the sixth transistor Q6, the anode of the second diode D2, the anode of the third diode D3, and the collector of the fifth transistor Q5 are connected to each other and commonly grounded. Where 1k represents the resistance of the resistor and the numbers 1, 2 and 3 in the figure represent the terminals of the component.
As to the operation principle of the motor control circuit, as an alternative embodiment, the motor may be controlled to rotate forward when receiving the first current pulse signal PWM1, and may be controlled to rotate backward when receiving the second current pulse signal PWM 2. Of course, the reverse arrangement may be made.
Fig. 6 is a schematic diagram of a connection relationship between a potentiometer and a motor according to an embodiment of the present application, in fig. 6, 1-RCT represents a first set of power inputs of the motor, 2-Rin represents an input of a first connection terminal of the motor and the potentiometer, 7-Rout represents an output of the first connection terminal of the motor and the potentiometer, 3-Lin represents an input of a second connection terminal of the motor and the potentiometer, 4-LCT represents a second set of power inputs of the motor, 5-Lout represents an output of the second connection terminal of the motor and the potentiometer, 6-G represents a ground line, and 8-null pins. For example, the RCT may be connected to the power port, the G ground line, Rin, and Rout may be connected to two terminals of the potentiometer, respectively. Fig. 7 is a schematic structural diagram of a connection portion between a potentiometer and a motor according to an embodiment of the present application, fig. 8 is a schematic structural diagram of a connection portion between the inside of the potentiometer and the motor according to an embodiment of the present application, in fig. 7 and 8, a represents a ground terminal of the potentiometer, and B and C represent two terminals (i.e., an input terminal and an output terminal) of the potentiometer for resistance value adjustment, respectively.
In this embodiment, install a small-size motor additional at dimmer switch's potentiometre bottom, can drive the potentiometre when the gear revolve of motor and adjust the resistance that inserts in the circuit to the realization is to the regulation of the electric current through lamps and lanterns, and then adjusts the light of lamps and lanterns.
The dimming switch of this embodiment can establish communication connection with the cell-phone end through bluetooth module on the main control chip, receives the dimming signal (promptly dimming control instruction) that the cell-phone end sent, realizes the remote control of this dimming switch of cell-phone end, and then realizes the function to the adjusting luminance of lamps and lanterns.
Of course, the dimmer switch may also specifically establish a communication connection with the mobile terminal through other communication devices, which is not specifically limited in this application, and the dimmer switch of the present application is described herein by taking bluetooth as an example.
When the mobile phone end sends a dimming signal to the dimming switch, the main control chip on the dimming switch receives the dimming signal through the Bluetooth module of the main control chip and generates a corresponding motor control signal (namely a motor control instruction) according to the dimming signal. The motor rotates forwards or backwards according to the motor control signal, so that the potentiometer is driven to rotate to adjust the resistance value of the potentiometer connected into the circuit, the conduction angle of the silicon controlled rectifier is adjusted, and the current led into the lamp is adjusted. Furthermore, the light of the lamp is adjusted by adjusting the current led into the lamp.
Specifically, the resistance value of the potentiometer access circuit can be reduced when the motor rotates forwards, and the alternating current conduction angle is increased, so that the effective value of alternating current applied to the lamp is increased, and the light of the lamp is lightened; the resistance value of the potentiometer in the access circuit is increased when the motor rotates reversely, the alternating current conduction angle is reduced, and the alternating current effective value added on the lamp is reduced, so that the light of the lamp is darkened.
Meanwhile, in the embodiment, the speed of the motor in the rotating process can be detected through the Hall sensor, and the detected rotating speed is sent to the main control chip. The Hall sensor can detect the pulse voltage generated when the motor rotates, and the rotating speed of the motor can be calculated according to the period of the pulse voltage. Fig. 9A is a schematic diagram of a voltage pulse signal measured by a hall sensor when a motor rotates at a slow speed according to an embodiment of the present application, and fig. 9B is a schematic diagram of a voltage pulse signal measured by a hall sensor when a motor rotates at a fast speed according to an embodiment of the present application. When the motor rotates to a limit point, the motor can automatically stop rotating to avoid the motor from being blocked or the potentiometer from being damaged. When the rotation speed of the motor is detected to be 0, the main control chip sends a control signal for stopping rotation to the motor in time so as to avoid the motor from being locked or the potentiometer from being damaged.
Traditional light modulation switch need adjust luminance to lamps and lanterns through devices such as manual regulation potentiometre, encoder, the mechanical linkage module that accessible remote control was controlled (main control chip promptly), motor control circuit, including a motor, an end cap, a controller, and a cover plate) has been added to the light modulation switch of this embodiment on traditional light modulation switch's basis, can realize carrying out remote control through mobile terminal to ordinary lamps and lanterns and adjust luminance, and need not to be equipped with special chip and wireless receiving module and other complex construction for lamps and lanterns, the lamps and lanterns cost is reduced. The dimming switch of the embodiment is suitable for most lamps, and is particularly suitable for incandescent lamps.
The dimming switch of this embodiment receives the signal of adjusting luminance, and utilize main control chip according to the signal of adjusting luminance, motor control circuit, including a motor, an end cap, a controller, and a cover plate, the dimming function is realized to linkage control module group between potentiometre and the silicon controlled rectifier circuit, can be applied to multiple house places that have the demand of adjusting luminance such as bedroom, the sitting room, toilet, provide the human function that is close automatic light modulation for the user, the user can also control the switch of adjusting luminance through cell-phone terminal pair simultaneously and adjust light brightness, when bringing comfortable house experience for the consumer, very big promotion intelligent house industrial's development.
It is noted that the terms used herein are merely for describing particular embodiments and are not intended to limit exemplary embodiments according to the present application, and when the terms "include" and/or "comprise" are used in this specification, they specify the presence of features, steps, operations, devices, components, and/or combinations thereof.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
It should be understood that the exemplary embodiments herein may be embodied in many different forms and should not be construed as limited to only the embodiments set forth herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of these exemplary embodiments to those skilled in the art, and should not be construed as limiting the present invention.

Claims (7)

1. A dimmer switch, comprising:
the communication device is used for receiving a dimming control instruction, wherein the dimming control instruction is sent out by a mobile terminal or intelligent household appliance equipment;
the controller is used for controlling the dimming circuit according to the dimming control instruction received by the communication device; the dimming circuit is used for adjusting the current introduced into the lamp based on the received dimming control instruction so as to adjust the light of the lamp;
the controller is also used for generating a motor control instruction according to the dimming control instruction received by the communication device;
the dimming circuit includes: the motor is used for rotating according to the motor control instruction generated by the controller; the potentiometer is used for adjusting the resistance value of the resistor under the driving of the motor so as to adjust the current introduced into the lamp;
the Hall sensor is used for detecting the rotating speed of the motor when the motor rotates according to the motor control instruction generated by the controller;
the controller is further used for comparing the rotating speed of the motor measured by the Hall sensor with a preset rotating speed threshold value, and sending a control instruction for stopping rotating to the motor when the rotating speed of the motor measured by the Hall sensor is smaller than or equal to the preset rotating speed threshold value.
2. The dimmer switch of claim 1, wherein the dimming circuit further comprises:
and the silicon controlled rectifier circuit is electrically connected with the potentiometer and is used for adjusting the current effective value of the alternating current led into the lamp according to the resistance value of the potentiometer.
3. The dimmer switch of claim 1, further comprising:
the pyroelectric sensor is used for detecting whether a person exists in a preset distance range of the dimming switch;
the controller is further used for controlling the dimming circuit according to a preset dimming control instruction when the communication device does not receive the dimming control instruction and the pyroelectric sensor detects that a person is in a preset distance range of the dimming switch, so that the light of the lamp can be adjusted.
4. A dimming method based on the dimming switch as claimed in any one of claims 1 to 3, comprising the steps of:
acquiring a dimming control instruction, wherein the dimming control instruction is sent out by a mobile terminal or intelligent household appliance equipment;
adjusting the current introduced into the lamp according to the dimming control instruction to realize the adjustment of the light of the lamp, wherein the current introduced into the lamp is adjusted according to the dimming control instruction, and the method comprises the following steps: generating a motor control instruction according to the dimming control instruction; controlling a motor in the dimming circuit to rotate according to the motor control instruction so that the motor drives the potentiometer to adjust the resistance value of the resistor of the potentiometer, and further adjusting the current led into the lamp;
when the motor rotates according to the motor control instruction, the rotating speed of the motor is obtained, and when the rotating speed of the motor is smaller than or equal to a preset rotating speed threshold value, the motor is controlled to stop rotating.
5. The dimming method of claim 4, wherein before the dimming control instruction is obtained, the method further comprises the steps of:
judging whether a person exists in a preset distance range of the light adjusting switch;
when there is the people in dimmer switch's the default distance within range, it is right according to predetermined dimming control instruction dimmer circuit controls, in order to realize right the regulation of the light of lamps and lanterns.
6. A controller comprising a processor and a memory, said memory having stored therein program code which, when executed by said processor, carries out the steps of the dimming method of claim 4 or 5.
7. A storage medium storing a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the dimming method as claimed in claim 4 or 5.
CN202110564739.5A 2021-05-24 2021-05-24 Dimmer switch, method, controller and storage medium Active CN113242634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110564739.5A CN113242634B (en) 2021-05-24 2021-05-24 Dimmer switch, method, controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110564739.5A CN113242634B (en) 2021-05-24 2021-05-24 Dimmer switch, method, controller and storage medium

Publications (2)

Publication Number Publication Date
CN113242634A CN113242634A (en) 2021-08-10
CN113242634B true CN113242634B (en) 2022-09-09

Family

ID=77138382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110564739.5A Active CN113242634B (en) 2021-05-24 2021-05-24 Dimmer switch, method, controller and storage medium

Country Status (1)

Country Link
CN (1) CN113242634B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558525A (en) * 2020-12-14 2021-03-26 广州极飞科技有限公司 Motion control method, motion control device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1069615A (en) * 1991-08-19 1993-03-03 郭湘泗 dimmer
JP2009021035A (en) * 2007-07-10 2009-01-29 Panasonic Electric Works Co Ltd Dimming circuit and dimmer
CN101790271A (en) * 2010-03-23 2010-07-28 广东易家通数字家庭技术发展有限公司 Light controller capable of regulating delay and brightness
CN103197700B (en) * 2013-04-19 2016-06-08 天津工业大学 Servo-control system with limit function
CN203435198U (en) * 2013-08-26 2014-02-12 安徽理工大学 Wireless dimming fluorescent lamp system
CN106486226B (en) * 2016-07-28 2019-03-15 苏州寅泽缕弦电子技术有限公司 A kind of contact resistor of new type auto adjusting
CN110197750A (en) * 2019-07-08 2019-09-03 上海文顺电器有限公司 Programmable slide rheostat and application method based on stepper motor PLC intelligent control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558525A (en) * 2020-12-14 2021-03-26 广州极飞科技有限公司 Motion control method, motion control device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113242634A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US11741808B2 (en) Linkable LED lighting system designed with an app based free setting method for adjusting operating parameters of at least one LED security light
US11558939B2 (en) Multiple location load control system
US10375793B2 (en) Systems and methods for providing power and data to devices
US11503694B2 (en) Systems and methods for providing power and data to devices
US10652970B2 (en) Radio frequency (RF) controlled lamp with dimmer compatibility
US8907582B2 (en) Kickstart for dimmers driving slow starting or no starting lamps
CN109892016B (en) Light emitting diode controller, lighting control system and method for lighting control
US20160095187A1 (en) On line automatic detection of the time phase of the threshold voltage of a lighting load and its application in lighting management
CN103945614A (en) Illumination system and drive circuit
US10802524B2 (en) Adjustable electronic control system
JP2009507329A (en) Dimmer for use with a three-way switch
CA3069962C (en) Configuration for a load regulation device for lighting control
CN106678734A (en) Intelligent dimming system and method of light guide pipe illumination device
US9668326B2 (en) Light fixture with multiple dimming capabilities
CN113242634B (en) Dimmer switch, method, controller and storage medium
US20170280522A1 (en) Method And Apparatus For Modulating Load By Means Of A Control Command Obtained By Varying The Conduction Angle Of AC Voltage
US9572217B2 (en) Light emitting diode driver and method of controlling thereof having a dimmed input sense circuit
CN104135793A (en) Circuit using power switch to adjust electrical parameters
CN208424846U (en) The circuit of power switch adjustment electrical parameter
CN206369179U (en) A kind of intelligent Light-control System of photoconductive tube lighting device
US11057981B2 (en) System and method for providing high power factor wired lamp control
US11239739B2 (en) Power fetching system for no neutral switch and control method thereof, no neutral switch
EP2806712A1 (en) Application circuit and control method thereof
CN204145832U (en) A kind of LED light modulating device
EP3892066B1 (en) Automatic trimming for a dimmer switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant