CN206977766U - Intelligent switch detects and identification circuit - Google Patents
Intelligent switch detects and identification circuit Download PDFInfo
- Publication number
- CN206977766U CN206977766U CN201720655476.8U CN201720655476U CN206977766U CN 206977766 U CN206977766 U CN 206977766U CN 201720655476 U CN201720655476 U CN 201720655476U CN 206977766 U CN206977766 U CN 206977766U
- Authority
- CN
- China
- Prior art keywords
- switch
- circuit
- identification circuit
- low
- voltage
- 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
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
Intelligent switch detection of the present utility model and identification circuit, technical purpose is to provide a kind of brand-new and reliable switch key detection and knows method for distinguishing, so as to effectively realize by physical switch action to control light scene to switch.Described intelligent switch detection and identification circuit include switch motion detection circuit and control circuit, in described switch motion detection circuit, including current-limiting circuit, full-wave rectification, intrinsic standoff ratio regulation, low-voltage detector, linear voltage regulator, optocoupler;Include MCU in the control circuit.The utility model small power consumption, cost is low, compatible urban electric power switch all on the market, can support to switch quick continuous action and act at a slow speed, in built-in light fixture, without doing any change and refitting to having switched on the market, is applied suitable for normal lighting.
Description
Technical field
The utility model proposes and realize a kind of by the way that physical switch switch modulation into different PWM waveforms, and is led to
Cross the method for judging that the pwm pulse width carrys out identification switch action;It is mainly used in physical switch scene in intelligent lighting field
Switching.
Background technology
In existing civil power physical switch detects circuit or integrated IC, three big inevitable defects, one there are:
In existing IC, such as(S4223), it requires that needing to power off the long time in switch handoff procedure can just detect, generally
More than 50mS is wanted, i.e., in Open-Close-Open, pass needs switch motion to be just detected more than more than 50mS to this process is opened.
In existing intelligent lighting industry, all multi-users do not receive that light fixture is fully powered-off, and such wireless aps P is just not available for remote control,
Then in single-pole double-throw switch (SPDT) in use, generally by physical switch L1 and L2 terminal shortcircuits, such physical switch is in handoff procedure, only
To have 3mS-20mS power-off times in centre, then existing technology can not detect the action of single-pole double-throw switch (SPDT) at all, secondly:It is existing
In some mains switch detection circuits and integrated IC, there is certain requirement to the speed of user operable switch, such as too fast or mistake
Slowly, the problem of discrimination is bad occurs, causes poor user experience;Thirdly:In existing detection method, it is desirable to which light fixture exchanges
Input can not add X electric capacity, therefore be only limited to low-power applications and non-isolated application, such as apply in shielding system, cross FCC
Certification is extremely difficult.
Utility model content
The problems such as application for light switch in the prior art is restricted too strong, poor compatibility, and experience sense is not strong, this
Utility model proposes a kind of new detection method;While solving the problems, such as that prior art light switch is present, and protect
Hold the advantage such as memory function of prior art, low-power consumption, low cost.
To realize above technical purpose, the technical solution of the utility model is:
Intelligent switch detects and identification circuit, and the detection of described intelligent switch and identification circuit include switch motion detection
Circuit and control circuit, in described switch motion detection circuit, including it is current-limiting circuit, full-wave rectification, intrinsic standoff ratio regulation, low
Press detector, linear voltage regulator, optocoupler;Include MCU control fixture colors or brightness in the control circuit.
Further, the low-voltage detector output is transferred to MCU by light-coupled isolation.
Further, described linear voltage regulator is after full-wave rectification, voltage-regulator diode voltage stabilizing, by unidirectionally leading
Logical diode-isolated, capacitor filtering etc. give LDO, and its output voltage is supplied to optocoupler primary, low-voltage detector, triode biasing etc.
Electricity;The MCU is connected with stand-by power supply.
Further, the switch key is single-pole double-throw switch (SPDT).
Further, the switch key is single-pole single-throw switch (SPST).
In the detection of the utility model intelligent switch and identification circuit, the detection of described intelligent switch and identification circuit include
Switch motion detects circuit and control circuit, in described switch motion detection circuit, including current-limiting circuit, full-wave rectification,
Intrinsic standoff ratio regulation, low-voltage detector, linear voltage regulator, optocoupler;Regulation intrinsic standoff ratio can change the dutycycle for switching not operating period,
Regulation current-limiting circuit can change the power consumption of switch, when the storage capacitor of linear adjustment output end of voltage stabilizer can change switch closing,
High pulsewidth maximum is held time, and being judged when switch is closed by the high pulse width time and low level time can accurately identification switch
Type;Include MCU in the control circuit, by the pulse width during switch motion, with switching not operating period
Pulse width is compared to whether identification switch has action, just changes output if any action, so as to control fixture color or bright
Degree.Described intrinsic standoff ratio regulation is to adjust output duty cycle by changing partial pressure resistance.Described low-voltage detector is to divide
Waveform after pressure is compared with reference voltage, so as to obtain PWM waveform.The low-voltage detector output passes through light-coupled isolation
It is transferred to MCU.The PWM waveform of described MCU real time scans optocoupler transmission, and compared with fixed pulse width, to hilted broadsword
Single-throw switch:High pulsewidth be more than the high pulsewidth of fixed pulse, pulsewidth.The MCU such as detects that low pulse width time is more than a timing
Between, then it is assumed that user is closing switch, is not wishing to carry out scene switching.Described linear voltage regulator is in full-wave rectification, voltage stabilizing
After diode voltage stabilizing, LDO is given by one-way conduction diode-isolated, capacitor filtering etc., its output voltage be to optocoupler it is primary,
The power supplies such as low-voltage detector, triode biasing.The MCU is powered by other outside power supplys, after civil power power-off, power supply
Time can maintain a period of time.The switch key is single-pole double-throw switch (SPDT).The switch key is single-pole single-throw switch (SPST).
In the utility model, AC power input waveform is modulated into different pwm pulses first, by MCU to difference
Pulse width(That is fixed duty cycle)It is compared to judge whether switch has action, switchs not operating when, input to
MCU pulse is that high pulsewidth t1 is 300US, cycle 10mS.High pulsewidth is that time t2 is 2ms-- when single-pole double-throw switch (SPDT) switches
50ms, when single-pole single-throw switch (SPST) switches, high pulsewidth is 50mS, and low pulsewidth is depending on power-off time, according to different switching speed
Degree is generally between 100mS-2S.Reference quantity is regard PWM duty cycle when switching not operating and cycle as by MCU, will be switched
Pulse width during switching is compared with the reference quantity, so as to recognize the action of switch.Super capacitor is that MCU is persistently supplied
Electricity, in real time detection and identification switch action, the discharge time of alternating current X electric capacity can be ignored completely.
Advantageous effects of the present utility model are:Compatible single-pole double throw and single-pole single-throw switch (SPST), minimum can be recognized out
Power-off time is 2mS when concern is changed, and small power consumption, is can be controlled in 20mW, compatible non-isolated and shielding system application.
Brief description of the drawings
Fig. 1 is circuit output waveform diagram when the utility model one embodiment does not act for switch.
Fig. 2 is that the utility model one embodiment is to have the oscillogram and pulsewidth schematic diagram corresponding to switch motion.
Fig. 3 is the circuit theory diagrams of the utility model one embodiment.
Fig. 4 is the circuit theory diagrams of the utility model one embodiment.
Fig. 5 is the circuit theory diagrams of the utility model one embodiment.
Fig. 6 is the circuit theory diagrams of the utility model one embodiment.
Fig. 7 is the circuit theory diagrams of the utility model one embodiment.
Embodiment
With reference to Fig. 1 to Fig. 7, specific embodiment of the present utility model is described in detail, but do not make any limit to claim
It is fixed.Intelligent switch detects and identification circuit, and the detection of described intelligent switch and identification circuit include switch motion detection circuit
And control circuit, in described switch motion detection circuit, including current-limiting circuit, full-wave rectification, intrinsic standoff ratio regulation, low pressure inspection
Survey device, linear voltage regulator, optocoupler;Regulation intrinsic standoff ratio can change the dutycycle for switching not operating period, and regulation current-limiting circuit can change
Become the power consumption of switch, when the storage capacitor of linear adjustment output end of voltage stabilizer can change switch closing, when high pulsewidth maximum maintains
Between, being judged when switch is closed by the high pulse width time and low level time can accurately identification switch type;In the control
Include MCU in circuit, by the pulse width during switch motion, compared with switching the pulse width of not operating period
Come whether identification switch has action, just change output if any action, so as to control fixture color or brightness.
Fig. 1 is the unified square wave of continuous dutycycle, and regulation low pressure detection comparator input divider resistance can be to the low arteries and veins
Width is effectively modulated.Modulation principle is as follows:
(1)Input mains:U (t)=Umsin (Wt), Um are peak-to-peak value, certain moment it is corresponding with the moment voltage close
It for t=arcsin { U (t)/Um }/2 π f, f is mains frequency to be;
(2)If intrinsic standoff ratio is A, intrinsic standoff ratio for low-voltage detector input voltage and civil power the ratio between voltage, i.e. A=Ui/ this moment
Uc, detection voltage are Udet=1.2V, when the input voltage of low-voltage detector is less than Udet, low-voltage detector output high level,
Otherwise output low level.Then in the case of intrinsic standoff ratio A, the time Ta for exporting high pulsewidth is, Ta=2ASIN (A*Udet/Um)/
(2 π f), it is 300uS that this case, which exports high pulsewidth,.
MCU1 detection switch action logics are:
(1)Switchtype will be judged after MCU initialization, and when user switches over, judge waveform arteries and veins in Fig. 2
Width, such as there is 2ms<t<100ms high level, and it is then single-pole double-throw switch (SPDT), such as 100ms that low level, which is less than equal to 10ms,<
t2<500ms, then it is single-pole single-throw switch (SPST);
(2)During switch motion, it is divided into single switch and is switched fast, if single-pole single-throw switch (SPST), single is closed or city
The low pulsewidth t2 that electricity power failure will appear from>500ms, 100ms when being switched fast<t2<500ms. is if single-pole double-throw switch (SPDT), single behaviour
50ms will occurs in work<t<100ms high pulsewidth, it is 2ms to be switched fast high pulsewidth<t<50ms;
(3)Single-chip microcomputer is by identifying physical switch type and the classification of action, to judge single switch or quickly cut
Change, if being switched fast, control LED constant current device is changed into output color.Closed if single, then current LED is exported into shape
State(Color and brightness value)It is stored in flash, scene and state when electricity powers off holding last time on next time.
Claims (5)
1. intelligent switch detects and identification circuit, it is characterized in that:Described intelligent switch detection and identification circuit include switch
Motion detector circuit and control circuit, in described switch motion detection circuit, including current-limiting circuit, full-wave rectification, partial pressure
Than regulation, low-voltage detector, linear voltage regulator, optocoupler;Include MCU control fixture colors or bright in the control circuit
Degree.
2. intelligent switch detection according to claim 1 and identification circuit, it is characterized in that:The low-voltage detector output is logical
Cross light-coupled isolation and be transferred to MCU.
3. intelligent switch detection according to claim 1 and identification circuit, it is characterized in that:Described linear voltage regulator be
After full-wave rectification, voltage-regulator diode voltage stabilizing, LDO, its output voltage are given by one-way conduction diode-isolated, capacitor filtering etc.
It is to power supplies such as optocoupler primary, low-voltage detector, triode biasings;The MCU is connected with stand-by power supply.
4. intelligent switch detection according to claim 1 and identification circuit, it is characterized in that:The switch key is that hilted broadsword is double
Throw switch.
5. intelligent switch detection according to claim 1 and identification circuit, it is characterized in that:The switch key is hilted broadsword list
Throw switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720655476.8U CN206977766U (en) | 2017-06-07 | 2017-06-07 | Intelligent switch detects and identification circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720655476.8U CN206977766U (en) | 2017-06-07 | 2017-06-07 | Intelligent switch detects and identification circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206977766U true CN206977766U (en) | 2018-02-06 |
Family
ID=61411884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720655476.8U Active CN206977766U (en) | 2017-06-07 | 2017-06-07 | Intelligent switch detects and identification circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206977766U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135593A (en) * | 2017-06-07 | 2017-09-05 | 深圳市奥金瑞科技有限公司 | Intelligent switch is detected and identification circuit |
CN112466110A (en) * | 2020-10-29 | 2021-03-09 | 欧普照明电器(中山)有限公司 | Equipment control system and equipment control method |
CN112770461A (en) * | 2020-12-25 | 2021-05-07 | 漳州立达信光电子科技有限公司 | Dimming circuit and dimming equipment |
-
2017
- 2017-06-07 CN CN201720655476.8U patent/CN206977766U/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135593A (en) * | 2017-06-07 | 2017-09-05 | 深圳市奥金瑞科技有限公司 | Intelligent switch is detected and identification circuit |
CN107135593B (en) * | 2017-06-07 | 2023-12-05 | 深圳市奥金瑞科技有限公司 | Intelligent switch detection and identification circuit |
CN112466110A (en) * | 2020-10-29 | 2021-03-09 | 欧普照明电器(中山)有限公司 | Equipment control system and equipment control method |
CN112466110B (en) * | 2020-10-29 | 2024-02-23 | 欧普照明电器(中山)有限公司 | Equipment control system and equipment control method |
CN112770461A (en) * | 2020-12-25 | 2021-05-07 | 漳州立达信光电子科技有限公司 | Dimming circuit and dimming equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107135593A (en) | Intelligent switch is detected and identification circuit | |
CN106413189B (en) | Use the intelligence control system relevant to TRIAC light modulator and method of modulated signal | |
CN206977766U (en) | Intelligent switch detects and identification circuit | |
CN102057752B (en) | Dimmer circuit, dimmer system and dimmable device | |
CN102843836B (en) | Controlled-silicon adapting LED (light-emitting diode) driving circuit, method and switch power supply | |
CN204231732U (en) | LED driving device and semiconductor chip used therein | |
CN103582239B (en) | The method of light adjusting controller, light source driving circuit and control dimming light source | |
CN105322801A (en) | Trailing edge detector using current collapse | |
CN109729621A (en) | Control circuit, method, chip and the drive system and method for leadage circuit | |
CN103718652A (en) | Driver device and driving method for driving a load, in particular an led unit | |
CN109991535B (en) | Flash switch control system and input flash detection circuit thereof | |
CN106341925A (en) | LED driving chip, LED driving power supply system capable of adjusting color temperature, and LED lamp | |
CN201499095U (en) | Power supply capable of reducing power consumption under no-load state | |
CN105611684A (en) | Circuit for realizing light modulation via power switch and lamp | |
CN105430828B (en) | Led drive device | |
CN105098765A (en) | Voltage zero-crossing switching control device supporting multiple paths of switches | |
CN106714392B (en) | Block switch brightness adjustment control driving circuit with LED open-circuit-protections | |
CN101464720B (en) | Power supplier | |
CN104168697A (en) | Output current control circuit used for switch section dimming of LED driving power supply | |
RU2683025C2 (en) | Switch controller of boost converter stage | |
CN203181285U (en) | LED lamp control system | |
CN105307316A (en) | Led start control circuit | |
CN103889114A (en) | LED dimming and driving circuit | |
CN211184370U (en) | Low-power consumption single live wire switch light modulator | |
CN105636274B (en) | For exchanging the start-up charging circuit of light modulating LED driving power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |