Summary of the invention
The object of the invention is to provide a kind of rotary switch, single to solve in prior art switching function, can not control multiple photographsThe open and close of bright lamp, cannot realize the problem of multifunction purposes.
In order to realize above-mentioned object, the invention provides a kind of rotary switch, it comprises base, switch panel and control module,This base has an inner chamber, is provided with control module and load driver module in this base intracavity, and this switch panel is provided with rotationSwitch, knob and fixed magnet, this control module is provided with magnetic induction sensor, control module and wireless communication module, this controlModule and magnetic induction sensor and wireless communication module are electrically connected, and this load driver module is connected with control module, this fixed magnetBe arranged on the knob near magnetic induction sensor one end, this switch panel is fastened on this base, thereby by this knob, determine magneticIron is limited in the inner chamber of this base, sends control signal by rotary switch touch-control magnetic induction sensor, and control module receives letterNumber analyze, send to load driver module control controlled plant.
Preferably, magnetic induction sensor circular array is distributed on control module.
Preferably, switch panel is provided with multiple marks, and rotary switch is provided with 1 mark.
Preferably, the mark above switch panel, has one at least for scene mode mark.
Preferably, when rotary switch rotates to scene mode mark, control module produces a scene mode instruction, by wirelessCommunication module sends to gateway device, and gateway device sends wireless instructions to controlled plant, controls controlled plant and completes corresponding movingDo.
Preferably, control module is connected with load driver module by insert-connecting plate.
Rotary switch of the present invention, sends control signal by rotary switch touch-control magnetic induction sensor, and control module receives signal and entersRow is analyzed, and sends to load driver module control controlled plant, can also send to gateway device by wireless communication module in addition,Gateway device sends wireless instructions control controlled plant, and this rotary switch is powerful, is convenient to assembling, can realize scene mouldThe control of formula.
Beneficial effect of the present invention:
1. this patent compact conformation, easy to operate sensitive, and also easy installation and removal, powerful, be convenient to assembling, can realizeThe control of scene mode;
2. compared with prior art, the present invention is widely used, very easily universal, adopts rotation to carry out switch, safer, and does not haveSome noises, mechanical strength is higher, long service life.
Detailed description of the invention
For the ease of those skilled in the art's understanding, below in conjunction with embodiment and accompanying drawing, the present invention is further illustrated, realThe content that the mode of executing is mentioned not is limitation of the invention.
Shown in Fig. 1, Fig. 4, a kind of rotary switch structure schematic diagram of the present invention, it comprises base 16, switch panel 1And control module 11, this base has an inner chamber, in these base 16 inner chambers, is provided with control module 11 and load driver module15, this switch panel 1 is provided with rotary switch 2, knob 3 and fixed magnet 4, and this fixed magnet 4 is arranged near magnetic induction sensingOn the knob of device 111 one end, this control module 11 is provided with magnetic induction sensor 111, control module 112 and radio communication moldPiece 113, this control module 112 is electrically connected with magnetic induction sensor 111 and wireless communication module 113 respectively, this controlUnit 11 is electrically connected with load driver module 15, and this switch panel 1 is fastened on this base 16, thereby by this knob 3Be limited in the inner chamber of this base 16 with fixed magnet 4, send control by rotary switch 2 touch-control magnetic induction sensors 111Signal, control module 112 reception control signals are analyzed, and send to load driver module 15 to control controlled plant.
Magnetic induction sensor 111, rotary switch 2 drives fixed magnet 4 touch-control magnetic induction sensors 111 to send by knob 3Control signal, control module 112 reception control signals carry out data analysis, send to load driver module 15 to control controlled plant,Can also pass through in addition wireless form control controlled plant, control module 112 receives signal analysis, passes through radio communicationModule 113 transmits control signal to gateway device, and gateway device receives and send wireless instructions, controls controlled plant; Control mouldPiece 112 the insides are integrated with memory module, and memory module is in order to the volume of the control signal of storing rotary switch 2 touch-controls and sendingCode data; Control module 112, rotary switch 2 touch-control magnetic induction sensors 111 send control signal, and control module 112 connectsCollect mail and number carry out data analysis, and search the position letter of the control signal that magnetic induction sensor 111 sends by memory moduleBreath, finds after corresponding positional information, has two kinds of implementations, a kind of for directly to control controlled by load driver module 15Equipment, another kind sends to gateway device by wireless communication module 113 by positional information, after gateway device receiving position information,Control controlled plant.
Wireless communication module 113, transmits wireless Zigbee protocol signal, is connected with the networking of a ZigBee gateway device, andMutual data transmission signal, above-mentioned ZigBee gateway device also forms a ZigBee intelligence with other ZigBee controlled plantEnergy house system, it has taked the strong radio physical layer of IEEE802.1.4, and ZigBee wireless transmission bandwidth is at 20-250KB/sScope, is applicable to the transmission of sensor data acquisition and control data, and ZigBee is wireless can set up large scale network, network nodeCapacity reaches 65535, has very powerful networking advantage; Wireless communication module 113, rotary switch 2 touch-control magnetic strengthsInduction sensor 111 sends control signal, and control module 112 reception control signals carry out data analysis, pass through radio communication moldPiece 113 sends control signal and carries out communication; Magnetic induction sensor 111 circular array are distributed on control module 11.
Switch panel 1 is provided with multiple marks, and rotary switch 2 is provided with 1 mark; Control module 11 passes through insert-connecting plate14 are electrically connected with load driver module 15; Switch panel 1 mark above, has one at least for scene mode mark; RevolveWhen turn-off pass 2 rotates to scene mode mark, control module 112 produces a scene mode instruction, passes through wireless communication module113 send to gateway device, and gateway device sends wireless instructions to controlled plant, control controlled plant and complete corresponding action;Rotary switch 2 is provided with backlight (do not indicate), for back lighting is provided when the rotary switch.
With reference to Fig. 2, Fig. 3, a kind of rotary switch that the present embodiment provides, rotary switch 2 is arranged on switch panel 1,Switch panel 1 below is provided with knob 3 and fixed magnet 4, and fixed magnet 4 is arranged on knob 3, in base 16, is provided with controlUnit 11 processed and load driver module 15, control module 11 be provided with magnetic induction sensor 111, wireless communication module 113 andControl module 112, magnetic induction sensor 111 distributes and is arranged on control module 11 ringwise, and load driver module 15 is pacifiedBe contained in control module 11 belows, control module 11 is connected with load driver module 15 by insert-connecting plate 14, by rotationSwitch 2 sends control signal by fixed magnet 4 touch-control magnetic induction sensors 111, and control module 112 receives magnetic induction sensingThe control signal that device 111 sends is carried out data analysis, and sends to load driver module 15 to control controlled plant.
Rotary switch 2 comprises switch panel 1, base 16 and control module 11, and switch panel 1 and base 16 connect mutuallyClose, can tighten in stable position at the installation portion of rotary-type switch device making. Switch panel 1 and base 16 are logicalInterconnecting and the inner space that limits between crossing, is stably arranged in inner space to make other can be formed to original paper.On a surface of switch panel 1, be formed with through hole 12, to limit the opening being open upwards, thereby rotation is openedClose at least a portion of 2 and can be arranged to that outside being exposed to, the surface of switch panel 1 identifies multiple quarters through switch panel 1Degree.
Control module 11 is arranged in base 16, and control module 11 comprises wiring (not shown) and the installation of various circuitSuperincumbent electric elements (not shown), so that the control signal that makes it possible to that rotary switch 2 is produced is delivered to other structuresBecome element, control module 11 specifically includes magnetic induction sensor 111, control module 112 and wireless communication module 113,Magnetic induction sensor 111 is welded on control module 11 above circular array is distributed in, and is provided with in addition on control module 11Through hole 12, will insert in through hole 12 according to the mode running through to be allowed for post 13 joint portions of revolving of joint base 16,On control module 11, be furnished with insert-connecting plate 14, insert-connecting plate 14 one end are installed on the back side of control module 11, and separatelyOne end is exposed through through hole 12 and is connected to load driver module 15, drives with load by insert-connecting plate 14 control modules 11Module 15 is electrically connected; Rotary switch 2 comprises knob 3 and fixed magnet 4, and fixed magnet 4 installs on knob 3, rotationSwitch 2 is arranged on switch panel 1, sends control by rotary switch 2 by fixed magnet 4 touch-control magnetic induction sensors 111Signal processed; Knob 3 is arranged to part through switch panel 1 through hole 12 and outside being exposed to, by this structure, and userCan realize the rotation of knob 3, knob 3 comprises fixed magnet 4, and in this embodiment, they are those for knob 3 and fixed magnet 4This forms.
The following specific embodiment for rotary switch of the present invention:
When concrete application, user has two kinds of modes of operation, a kind of by manual rotary switch 2 control illuminating lamp unlatching orClose, another kind can or be closed by the unlatching of the mode control illuminating lamp of mobile phone remote, and user is basis oneself in the time of original applicationDemand rotary switch 2 is arranged, existing rotary switch 2 is provided with 5 scales " 0,1,2,3,4 ", first quarterDegree 0 is made as and closes, and second scale 1 is made as and controls 1 street lamp, the 3rd scale 2 is made as and controls 2 street lamps, the 3rdScale 3 is made as control standard-sized sheet, and the 4th scale is made as home mode, when initial user in the control of use scenes pattern,Prior to scenes function corresponding to scene set pattern on cloud server or gateway device, this patent rotary switch 2 has two kinds of realizationsMode, illustrates, and is connected the unlatching of wired mode control illuminating lamp or is closed Yong Huxuan by load driver module 15Turn-off closes 1 scale, sends control signal, control module 112 by manual rotary switch 2 touch-control magnetic induction sensors 111Reception control signal carries out data analysis, and control module 112 is searched the coded number of corresponding control signal by memory moduleAccording to, find after corresponding positional information, send position signalling to load driver module 15, load driver module 15 passes through lineMode control 1 street lamp open illumination, can also control scene mode by manual rotary switch 2 in addition, revolve by rotary switch 2Forward scene mode mark to, rotary switch 2 touch-controls send control signal to magnetic induction sensor 111, and control module 112 connectsReceive control signal and analyze, send control information to gateway device by wireless communication module 113, gateway device sends wirelessInstruction control controlled plant, another implementation, the unlatching of the mode control illuminating lamp by mobile phone remote or close, usesFamily is transmitting control signal to cloud server by mobile phone, after cloud server reception control signal, analyzes, and finds relativelyThe gateway device of answering also sends to this gateway device by control signal, and after gateway device reception control signal is analyzed, gateway is establishedFor control signal is sent to control module 112, control module 112 reception control signals also send to load driver module 15,The unlatching of load driver module 15 reception control signal control illuminating lamps or close.
The technical scheme that adopts embodiments of the invention to provide: user is by 111 of rotary switch 2 touch-control magnetic induction sensorsGo out control signal, controller module reception control signal carries out data analysis, and finds corresponding positional information and send to load to driveDynamic model piece 15, the unlatching of the positional information control lamp that load driver module 15 directly sends according to control module 112 and closure,Can also pass through in addition the mode control scene mode of mobile phone remote, this patent is simple in structure, powerful, easy to operate, suitableWith a large amount of applying.
The concrete application approach of the present invention is a lot, and above is only the preferred embodiment of the present invention, it should be pointed out that for this technology and leadsThe those of ordinary skill in territory, under the premise without departing from the principles of the invention, can also make some improvement, and these improve alsoShould be considered as protection scope of the present invention.