CN112165752A - Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch - Google Patents

Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch Download PDF

Info

Publication number
CN112165752A
CN112165752A CN202010933840.9A CN202010933840A CN112165752A CN 112165752 A CN112165752 A CN 112165752A CN 202010933840 A CN202010933840 A CN 202010933840A CN 112165752 A CN112165752 A CN 112165752A
Authority
CN
China
Prior art keywords
signal
abnormal
preset value
adjusting
signal period
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.)
Granted
Application number
CN202010933840.9A
Other languages
Chinese (zh)
Other versions
CN112165752B (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202010933840.9A priority Critical patent/CN112165752B/en
Publication of CN112165752A publication Critical patent/CN112165752A/en
Application granted granted Critical
Publication of CN112165752B publication Critical patent/CN112165752B/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
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/36Circuits for reducing or suppressing harmonics, ripples or electromagnetic interferences [EMI]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • 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/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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

The application discloses a method for adjusting abnormal zero signals of a single-fire dimming double-control switch, which comprises the following steps: acquiring a signal period; judging whether the signal period is abnormal or not; when the signal period is abnormal, executing an adjusting action; judging whether the signal period is abnormal comprises the following steps: acquiring the time difference of zero-crossing interruption of the falling edges of two adjacent signals; when the time difference is not equal to a first preset value, the signal period is abnormal; and when the time difference is equal to the first preset value, the signal period is normal. Compared with the prior art, the method has the following beneficial effects: a filtering algorithm is adopted in a single-fire silicon controlled light-adjusting switch product, so that a burr signal can be eliminated, and the single-fire silicon controlled light-adjusting switch can be better adapted to LED lamps of different brands.

Description

Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch
Technical Field
The application relates to the field of smart home, in particular to a method for adjusting abnormal zero signals of a single-fire dimming double-control switch.
Background
In the prior art, the problems that a load lamp flickers and LEDs of different brands cannot be compatible due to the shaking of a mechanical switch occur in a single-fire dimming double-control switch based on a silicon controlled rectifier, so that the user experience is poor. The reason for this is that the two cases cause interference to the null point signal, which would otherwise cause the above-mentioned problem.
Normal zero-point signal as shown in fig. 1, the alternating current signal of 220V50Hz is converted into a standard square wave signal through a zero-point circuit, the duty ratio is 50%, and the period is 20 ms. In the double-control dimming, since the mechanical switch needs to be controlled, the zero point signal will generate abnormal fluctuation, and the abnormal signal is shown in fig. 2 and 3. Since the dimming switch is operated based on the periodic zero signal, the abnormal zero signal may cause the load lamp to flicker or even damage the lamp. The invention can effectively avoid the problem of load lamp flicker caused by the shake of the mechanical switch by adding the filtering algorithm.
In the dimming process, due to the fact that different brands of LED power circuits are different, the zero-point signal is abnormal, and due to the fact that the dimming function is triggered based on the interruption of the zero-point signal, the abnormal zero-point signal causes dimming abnormity as shown in FIG. 4.
Disclosure of Invention
The main objective of the present application is to provide a method for adjusting an abnormal zero signal of a single-fire dimming dual-control switch, which includes:
acquiring a signal period;
judging whether the signal period is abnormal or not;
when the signal period is abnormal, executing an adjusting action;
judging whether the signal period is abnormal comprises the following steps:
acquiring the time difference of zero-crossing interruption of the falling edges of two adjacent signals;
when the time difference is not equal to a first preset value, the signal period is abnormal; and
and when the time difference is equal to the first preset value, the signal period is normal.
Optionally, when the signal period is abnormal, performing the adjusting action comprises:
and stopping the control signal when the time difference is greater than the first preset value.
Optionally, when the signal period is abnormal, performing the adjusting action comprises:
when the time difference is smaller than the first preset value, judging whether the rising edge of the signal triggers time updating;
when there is no rising edge triggering time update, the control signal is stopped.
Optionally, when the signal period is abnormal, performing the adjusting action comprises:
when the rising edge triggering time is updated, judging whether the burr signal time is smaller than a second preset value;
when the time of the burr signal is smaller than the second preset value, judging whether the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value or not;
and when the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value, keeping outputting the control signal.
Optionally, the first preset value is 20 milliseconds.
Optionally, the second preset value is 1 millisecond.
According to another aspect of the present application, there is also provided a system for adjusting an abnormal zero signal of a single fire dimming duel-control switch, including:
the acquisition module is used for acquiring a signal period;
the first judging module is used for judging whether the signal period is abnormal or not;
the execution module is used for executing the adjustment action when the signal period is abnormal;
judging whether the signal period is abnormal comprises the following steps:
the acquisition module acquires the time difference of zero-crossing interruption of two adjacent signal falling edges;
when the time difference is not equal to a first preset value, the signal period is abnormal; and
and when the time difference is equal to the first preset value, the signal period is normal.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor realizes the method of any one of the above items when executing the computer program.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The present application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
Compared with the prior art, the method has the following beneficial effects:
1. a filtering algorithm is adopted in a single-fire silicon controlled light-adjusting switch product, so that a burr signal can be eliminated, and the single-fire silicon controlled light-adjusting switch can be better adapted to LED lamps of different brands.
2. A filtering algorithm is added in a single-fire double-control dimming switch product compatible with a mechanical switch to solve the abnormal problem that the period of a zero signal is lengthened or shortened due to the shaking of the mechanical switch.
3. In the single fire light-adjusting double-control product, the zero point signal abnormity is divided into three conditions of signal elongation, signal shortening and burr signal doping, the processing modes of the systems are different, the first two systems stop controlling signal output, and when the burr signal abnormity exists, the systems do not act.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a diagram of a normal zero signal in the prior art;
FIG. 2 is a diagram of an abnormal zero signal (shortening) in the prior art;
FIG. 3 is a diagram illustrating an abnormal zero signal (becoming longer) in the prior art;
FIGS. 4A-4B are schematic diagrams of signals of doped glitches in the prior art
FIG. 5 is a schematic flow chart illustrating a method for adjusting an abnormal zero signal of a single fire dimming duel-control switch according to an embodiment of the present application;
FIG. 6 is a schematic flow chart illustrating a method for adjusting an abnormal zero signal of a single fire dimming duel-control switch according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a method for adjusting an abnormal zero signal of a single fire dimming duel-control switch according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a triac dimmer for power regulation and on/off switching signals according to an exemplary embodiment of the present application;
fig. 9 illustrates the use of two triacs with a mechanical switch to implement a bi-level control function in a single fire bi-level dimmer switch according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a computer device according to one embodiment of the present application; and
FIG. 11 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
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 application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 5 to 7, an embodiment of the present application provides a method for adjusting an abnormal zero signal of a single fire dimming dual-control switch, including:
s2: acquiring a signal period;
s4: judging whether the signal period is abnormal or not;
s6: when the signal period is abnormal, executing an adjusting action;
judging whether the signal period is abnormal comprises the following steps:
s41: acquiring the time difference of zero-crossing interruption of the falling edges of two adjacent signals;
s42: when the time difference is not equal to a first preset value, the signal period is abnormal; and
s43: and when the time difference is equal to the first preset value, the signal period is normal.
In an embodiment of the present application, when the signal period is abnormal, the performing the adjustment action includes:
and stopping the control signal when the time difference is greater than the first preset value.
In an embodiment of the present application, when the signal period is abnormal, the performing the adjustment action includes:
when the time difference is smaller than the first preset value, judging whether the rising edge of the signal triggers time updating;
when there is no rising edge triggering time update, the control signal is stopped.
In an embodiment of the present application, when the signal period is abnormal, the performing the adjustment action includes:
when the rising edge triggering time is updated, judging whether the burr signal time is smaller than a second preset value;
when the time of the burr signal is smaller than the second preset value, judging whether the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value or not;
and when the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value, keeping outputting the control signal.
In an embodiment of the application, the first preset value is 20 milliseconds.
In an embodiment of the application, the second preset value is 1 millisecond.
The invention adopts the bidirectional thyristor dimmer for power regulation and on-off switching, and as shown in fig. 8, a red signal is a trigger signal CTR, a yellow signal is an alternating current zero signal ZRD, and a blue signal is a 220V commercial power alternating current signal. The zero signal is a mains supply periodic signal with a period of T (20ms), and is generated by a hardware circuit as a control signal reference in the present application. The trigger signal is a signal for triggering the conduction of the controllable silicon, the earlier the trigger signal arrives, the longer the conduction time of the controllable silicon is, the larger the current flowing through the system is, and the brighter the dimming brightness is. Namely, when the zero signal is detected, the dimming function can be realized by controlling the conduction time (the position of the trigger signal) of the controlled silicon.
The signal in fig. 8 is a trigger signal time with t being 5ms, and it can be seen from the figure that the trigger signal is turned on at the time of 5ms of the ac signal with the period signal of 50Hz (20ms), and the blue ac signal is restored to the normal state to supply power to the system. When the control signal is turned off, the blue alternating current signal is cut off, and power cannot be supplied to the system.
As shown in fig. 9, the single-fire double-control dimming switch uses two bidirectional thyristors and a mechanical switch to realize the double-control function, and the principle is that the mechanical switch can selectively turn on the thyristor 1 or the thyristor 2, and the two thyristors are turned on and off. The default power-on state is that the controllable silicon 1 is turned on, the controllable silicon 2 is turned off, the mechanical switch is turned on the controllable silicon 1, the circuit is on at the moment, and the load lamp is on. The load lamp can be turned off in 2 operations at this time: the first control method is that when the user presses the mechanical switch, because the controllable silicon 2 is in the off state, when the mechanical switch switches the controllable silicon 2 circuit by the controllable silicon 1, the circuit is broken and the load lamp is off; the second method is that a silicon controlled rectifier switching button is pressed, two silicon controlled rectifier states are exchanged at the time, the silicon controlled rectifier 1 is closed, the silicon controlled rectifier 2 is opened, and as the mechanical switch is positioned on the silicon controlled rectifier 1, the circuit is broken, and the load lamp is turned off.
As shown in fig. 2 and 3, the abnormal phenomenon of the zero-point signal caused by the mechanical switching action is characterized in that the normal 20ms periodic signal is lengthened or shortened, so based on the characteristic, when the output is interrupted by the falling edge of the zero-crossing signal ZRD, the MCU acquires the interrupt signal and reads the current time T1. When the next falling edge zero-crossing interrupt is acquired by the MCU, the current time T2 is read, f (T) ═ T2-T1. When f (t) is greater than or less than 20ms, the output of the control signal CTR is stopped. The control signal is turned on when f (t) equals 20 ms. Because the control signal is turned on based on the zero-crossing signal when the dimmer is turned on, whether the current zero-crossing signal is normal or not is judged before the control signal is turned on, and whether the control signal is turned on or not is determined. The method is mainly used for solving the problem that a load lamp is exploded and flickers due to the abnormal zero signal in the process of turning off the lamp and turning on the lamp.
As shown in fig. 4A-4B, the zero signal abnormality will be caused by the need of compatibility with different brands of LEDs, and the performance characteristic is that a spike signal is doped in the normal 20ms periodic signal, and the dimming abnormality is caused by the fact that the dimming function is triggered based on the zero signal interruption. Based on the characteristics, a filtering algorithm is added in the software implementation process for acquiring the burr signal q (t), and the specific implementation mode is as follows: when the zero signal falling edge triggers the interrupt, the MCU acquires the current time T1, and when the next falling edge zero-crossing interrupt is acquired by the MCU, the current time T2 is read, and F (T) is T2-T1. Since the glitch signal q (t) is divided into two cases, one is located in the positive half cycle (the first 10ms peak glitch) and the other is located in the negative half cycle (the last 10ms peak glitch). The glitch signal cannot be distinguished by using the time acquisition of the falling edge, so that the rising edge zero-crossing interrupt detection is started, namely the triggering time of the first rising edge is P1, the triggering time of the second rising edge is P2, and the like in the future. As shown in fig. 4A, T1 is 0, P1 is 4, T2 is 4.5, P2 is 10, and T3 is 20. As shown in fig. 4B, T1 is 0, P1 is 10, T2 is 14, P2 is 14.5, and T3 is 20. It can be found that in a complete cycle, five time points of T1, P1, T2, P2 and T3 can be obtained, while in fig. 1, 2 and 3, only three time points of T1, P1 and T2 can be obtained. It is not difficult to find the glitch signal q (T) ═ T2-P1 or q (T) ═ P2-T2. Since it is a glitch, q (t) will be much less than 1ms, and this feature can be used to determine that this interrupt trigger is a glitch.
In summary, when the zero-point signal is triggered by interruption, it is first determined whether f (T) is abnormal, and when f (T) is 20ms from T2 to T1, the interruption signal is a normal signal, and the control signal is turned on; when F (t) >20ms, the interrupt signal is an abnormal signal caused by a mechanical switch, and the control signal needs to be closed; if F (t) <20ms, detecting whether P1 and P2 have updating, if not, determining that the signal is abnormal, closing the control signal, if the updating exists and the value of Q (t) is far less than 1ms, determining that the signal is a glitch signal, and at this time, although the interrupt trigger exists, not performing any processing. The filtering algorithm is used for eliminating abnormal signals generated in the dimming process.
As shown in fig. 6, during the program operation, the user can perform the dimming operation and the switching operation. When the user executes the actions, the system firstly judges the zero-point signal by a filtering algorithm. The zero point signal after the user performs the action is divided into four cases: the period of the zero signal is lengthened, the period of the zero signal is shortened, and the zero signal is abnormally doped with the burr signal and the normal zero signal. When the zero signal is normal, normal dimming is performed without action; when the period of the zero signal is lengthened or shortened, the system stops outputting the control signal; when the zero signal is abnormally doped with the glitch signal, whether the interrupt signal is the glitch signal needs to be additionally judged, and if the interrupt signal is the glitch signal, the system is not allowed to stop controlling the signal output.
As shown in fig. 7, in the zero point signal processing, it is first determined whether f (T) ═ T2-T1 is equal to 20ms, and if so, it is determined as a normal signal, and if not, it is determined whether f (T) is greater than 20ms, and if so, it is determined as a signal stretching abnormal interrupt signal caused by the mechanical switching operation; if the time is less than 20ms, further judgment is needed. If the trigger time P1 is not rising and P2 is updated when F (t) <20ms, the signal caused by the mechanical switch action is judged to be shortened and abnormal signals are judged; if P1 and P2 are updated, whether the time of Q (T) is far less than 1ms needs to be judged, if the time of Q (T) is far less than 1ms, whether T3-T1 is equal to 20ms needs to be judged, if the time is equal to 20ms, the system is judged to be a glitch signal, and the system keeps outputting the control signal.
Compared with the prior art, the method has the following beneficial effects:
1. a filtering algorithm is adopted in a single-fire silicon controlled light-adjusting switch product, so that a burr signal can be eliminated, and the single-fire silicon controlled light-adjusting switch can be better adapted to LED lamps of different brands.
2. A filtering algorithm is added in a single-fire double-control dimming switch product compatible with a mechanical switch to solve the abnormal problem that the period of a zero signal is lengthened or shortened due to the shaking of the mechanical switch.
3. In the single fire light-adjusting double-control product, the zero point signal abnormity is divided into three conditions of signal elongation, signal shortening and burr signal doping, the processing modes of the systems are different, the first two systems stop controlling signal output, and when the burr signal abnormity exists, the systems do not act.
An embodiment of the present application further provides a system for adjusting an abnormal zero signal of a single-fire dimming dual-control switch, including:
the acquisition module is used for acquiring a signal period;
the first judging module is used for judging whether the signal period is abnormal or not;
the execution module is used for executing the adjustment action when the signal period is abnormal;
judging whether the signal period is abnormal comprises the following steps:
the acquisition module acquires the time difference of zero-crossing interruption of two adjacent signal falling edges;
when the time difference is not equal to a first preset value, the signal period is abnormal; and
and when the time difference is equal to the first preset value, the signal period is normal.
Referring to fig. 10, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 11, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for adjusting an abnormal zero signal of a single-fire dimming double-control switch is characterized by comprising the following steps:
acquiring a signal period;
judging whether the signal period is abnormal or not;
when the signal period is abnormal, executing an adjusting action;
judging whether the signal period is abnormal comprises the following steps:
acquiring the time difference of zero-crossing interruption of the falling edges of two adjacent signals;
when the time difference is not equal to a first preset value, the signal period is abnormal; and
and when the time difference is equal to the first preset value, the signal period is normal.
2. The method for adjusting the abnormal zero signal of the single fire dimming double control switch according to claim 1, wherein when the signal period is abnormal, the adjusting action comprises:
and stopping the control signal when the time difference is greater than the first preset value.
3. The method for adjusting the abnormal zero signal of the single fire dimming double control switch according to claim 2, wherein when the signal period is abnormal, the adjusting action comprises:
when the time difference is smaller than the first preset value, judging whether the rising edge of the signal triggers time updating;
when there is no rising edge triggering time update, the control signal is stopped.
4. The method for adjusting the abnormal zero signal of the single fire dimming double control switch according to claim 3, wherein when the signal period is abnormal, the adjusting action comprises the following steps:
when the rising edge triggering time is updated, judging whether the burr signal time is smaller than a second preset value;
when the time of the burr signal is smaller than the second preset value, judging whether the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value or not;
and when the time difference between the first falling edge and the last falling edge of the signal in one period is equal to the first preset value, keeping outputting the control signal.
5. The method for adjusting the abnormal zero signal of the single-fire dimming double-control switch according to claim 4, wherein the first preset value is 20 milliseconds.
6. The method for adjusting the abnormal zero signal of the single fire dimming double control switch according to claim 5, wherein the second preset value is 1 millisecond.
7. A system for adjusting abnormal zero signals of a single-fire dimming double-control switch is characterized by comprising:
the acquisition module is used for acquiring a signal period;
the first judging module is used for judging whether the signal period is abnormal or not;
the execution module is used for executing the adjustment action when the signal period is abnormal;
judging whether the signal period is abnormal comprises the following steps:
the acquisition module acquires the time difference of zero-crossing interruption of two adjacent signal falling edges;
when the time difference is not equal to a first preset value, the signal period is abnormal; and
and when the time difference is equal to the first preset value, the signal period is normal.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of claims 1-6 when executing the computer program.
9. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-6.
10. A computer program product comprising computer readable code that, when executed by a computer device, causes the computer device to perform the method of any of claims 1-6.
CN202010933840.9A 2020-09-08 2020-09-08 Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch Active CN112165752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010933840.9A CN112165752B (en) 2020-09-08 2020-09-08 Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010933840.9A CN112165752B (en) 2020-09-08 2020-09-08 Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch

Publications (2)

Publication Number Publication Date
CN112165752A true CN112165752A (en) 2021-01-01
CN112165752B CN112165752B (en) 2023-04-07

Family

ID=73858416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010933840.9A Active CN112165752B (en) 2020-09-08 2020-09-08 Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch

Country Status (1)

Country Link
CN (1) CN112165752B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170240A (en) * 2008-01-16 2009-07-30 Sharp Corp Dimming device of light-emitting diode
JP2010283980A (en) * 2009-06-04 2010-12-16 Panasonic Corp Power supply unit
US20140176016A1 (en) * 2012-12-17 2014-06-26 Ecosense Lighting Inc. Systems and methods for dimming of a light source
US20140300329A1 (en) * 2013-03-15 2014-10-09 Maxim Integrated Products, Inc. Systems and Methods to Auto-Adjust Zero Cross Circuits for Switching Regulators
CN104218786A (en) * 2013-05-31 2014-12-17 浙江三花股份有限公司 Power factor correction protecting method and equipment
US20150123556A1 (en) * 2012-06-15 2015-05-07 Panasonic Intellectual Property Management Co., Ltd. Lighting device and luminaire
US20150156842A1 (en) * 2012-06-11 2015-06-04 Elm Inc. High-stability dimmer
CN106877844A (en) * 2017-01-03 2017-06-20 青岛海尔空调器有限总公司 A kind of zero cross signal filtering method and device
CN107683631A (en) * 2015-06-08 2018-02-09 松下知识产权经营株式会社 Light modulating device
CN108029183A (en) * 2015-09-10 2018-05-11 松下知识产权经营株式会社 Light modulating device
CN108337789A (en) * 2018-02-27 2018-07-27 深圳市晟瑞科技有限公司 A kind of list firewire light adjusting circuit and light modulating device
JP2018173529A (en) * 2017-03-31 2018-11-08 ブラザー工業株式会社 Image forming apparatus and method for controlling heater
CN110798213A (en) * 2019-10-29 2020-02-14 珠海市一微半导体有限公司 Anomaly detection method, anomaly protection method, data detector and DAC system
CA3110324A1 (en) * 2018-09-28 2020-04-02 Leviton Manufacturing Co., Inc. Dimmer with improved noise immunity

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170240A (en) * 2008-01-16 2009-07-30 Sharp Corp Dimming device of light-emitting diode
JP2010283980A (en) * 2009-06-04 2010-12-16 Panasonic Corp Power supply unit
US20150156842A1 (en) * 2012-06-11 2015-06-04 Elm Inc. High-stability dimmer
US20150123556A1 (en) * 2012-06-15 2015-05-07 Panasonic Intellectual Property Management Co., Ltd. Lighting device and luminaire
US20140176016A1 (en) * 2012-12-17 2014-06-26 Ecosense Lighting Inc. Systems and methods for dimming of a light source
US20140300329A1 (en) * 2013-03-15 2014-10-09 Maxim Integrated Products, Inc. Systems and Methods to Auto-Adjust Zero Cross Circuits for Switching Regulators
CN104218786A (en) * 2013-05-31 2014-12-17 浙江三花股份有限公司 Power factor correction protecting method and equipment
CN107683631A (en) * 2015-06-08 2018-02-09 松下知识产权经营株式会社 Light modulating device
CN108029183A (en) * 2015-09-10 2018-05-11 松下知识产权经营株式会社 Light modulating device
CN106877844A (en) * 2017-01-03 2017-06-20 青岛海尔空调器有限总公司 A kind of zero cross signal filtering method and device
JP2018173529A (en) * 2017-03-31 2018-11-08 ブラザー工業株式会社 Image forming apparatus and method for controlling heater
CN108337789A (en) * 2018-02-27 2018-07-27 深圳市晟瑞科技有限公司 A kind of list firewire light adjusting circuit and light modulating device
CA3110324A1 (en) * 2018-09-28 2020-04-02 Leviton Manufacturing Co., Inc. Dimmer with improved noise immunity
CN110798213A (en) * 2019-10-29 2020-02-14 珠海市一微半导体有限公司 Anomaly detection method, anomaly protection method, data detector and DAC system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李治斌等: "基于Zig Bee技术的智能调光开关设计", 《传感器与微系统》 *
胡岳等: "一种新型数控调光开关的设计与实现", 《电脑知识与技术》 *
赵乃卓等: "双向可控硅实现过零调功调光方法分析", 《电子技术》 *

Also Published As

Publication number Publication date
CN112165752B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN101014913B (en) Programmable wallbox dimmer
US7847440B2 (en) Load control device for use with lighting circuits having three-way switches
CA2611589C (en) Dimmer switch for use with lighting circuits having three-way switches
CN107182156B (en) A kind of system and method that lamp light-regulating and state reset are realized by switch
US20100207532A1 (en) Lighting controller
TWI597930B (en) Use to change the conduction angle as the control command of the control device
US20130049610A1 (en) Two-level led security light with motion sensor
NO861485L (en) MICRODATA MACHINE CONTROLLED LIGHT SWITCH.
TWI463781B (en) Multiple-level power control system
EP2062463A2 (en) Wall-mountable timer for an electrical load
US20100138067A1 (en) Lighting control device for use with lighting circuits having three-way switches
US20110298302A1 (en) Toggling Method and Apparatus in Controllers for Home Appliances
CN112165752B (en) Method and system for adjusting abnormal zero signals of single-fire dimming double-control switch
US20150171762A1 (en) Two-wire neutralless digital dimmer for leading-edge dimmable lamp driver and a method of operation thereof
JP2019061802A (en) Illumination control system, lighting system, illumination system, and program
CN207947922U (en) Intelligent lighting system
CN112312633A (en) Synchronous control system, method and device for illuminating lamp and computer readable storage medium
CN204887576U (en) LED controlling means with automatic adjustting of lighteness function
US11239739B2 (en) Power fetching system for no neutral switch and control method thereof, no neutral switch
CN209627742U (en) Control device and control system for switch panel
JP2011258431A (en) Power supply circuit, illumination device and illumination system
CN108174474B (en) LED lamp with dimming function during opening and closing and dimming method during opening and closing
JP2013109641A (en) Two-wire system load control device
JP3409334B2 (en) Lighting equipment
JP6463865B1 (en) Load control system and load control device

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