CN207742510U - Intelligent switch - Google Patents

Intelligent switch Download PDF

Info

Publication number
CN207742510U
CN207742510U CN201721788646.6U CN201721788646U CN207742510U CN 207742510 U CN207742510 U CN 207742510U CN 201721788646 U CN201721788646 U CN 201721788646U CN 207742510 U CN207742510 U CN 207742510U
Authority
CN
China
Prior art keywords
layer plate
modules
copper post
intelligent switch
wiring copper
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
CN201721788646.6U
Other languages
Chinese (zh)
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.)
Jiaxing Hengchuang Power Equipment Coltd
Zhejiang University of Technology ZJUT
Original Assignee
Jiaxing Hengchuang Power Equipment Coltd
Zhejiang University of Technology ZJUT
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 Jiaxing Hengchuang Power Equipment Coltd, Zhejiang University of Technology ZJUT filed Critical Jiaxing Hengchuang Power Equipment Coltd
Priority to CN201721788646.6U priority Critical patent/CN207742510U/en
Application granted granted Critical
Publication of CN207742510U publication Critical patent/CN207742510U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses intelligent switch.The intelligent switch includes shell, and the top panel of the shell is equipped with 5 spring hole scoket of switch button, flourescent sheet and standard, zero curve and the firewire connection of 5 spring hole scoket of standard and alternating current.The intelligent switch further includes core layer plate, logical layer plate and application layer plate, the core layer plate includes 02 modules of ESP8266 WROOM, LED light D1, interface P1, LED light D1 is connected with No. 6 pins of 02 modules of ESP8266 WROOM, and the interface P1 is connected with No. 8 pins of 02 modules of ESP8266 WROOM.Intelligent switch disclosed by the utility model, built-in three layers of connected structure is easy to repair and replaces.Sequentially grafting and has the control of remote impulse switch and port detection function and at the same time be built in shell for core layer plate, logical layer plate and application layer plate.

Description

Intelligent switch
Technical field
The utility model belongs to intelligent switch technology field, and in particular to intelligent switch.
Background technology
With the increase of power demand in load side household energy management system, the scheduling peak load shifting of load side, especially Being the spatial load forecastings of household electrical appliance seems particularly significant.For example, electric light, refrigerator, air-conditioning, water heater etc..In current switch control In technology processed, there are two kinds of control modes of line traffic control and wireless control.Wherein, line traffic control is connected by cable, wireless controlled System is then not necessarily to cable and connects, based on bluetooth, zigbee, wifi.
Above-mentioned all types of wireless control modes existing defects to some extent.For bluetooth, although there is 50 meters or more length The product example of distance communication exists, but communication distance is still limited.For example, providing nothing based on bluetooth for developing intellectual resource equipment Line is possible, but still can not achieve long-range strange land control.For zigbee, although Zigbee-technology promotes the birth of intellectual product It is raw, but its there are traffic rates limited, disadvantage that product is unstable and cost is high.
Utility model content
The utility model is directed to the situation of the prior art, provides a kind of intelligent switch.
The utility model uses following technical scheme, and the intelligent switch includes shell, and the top panel of the shell is equipped with The zero curve and firewire of 5 spring hole scoket of switch button, flourescent sheet and standard, 5 spring hole scoket of standard and alternating current connect, which is characterized in that The intelligent switch further includes core layer plate, logical layer plate and application layer plate, the core layer plate, logical layer plate With application layer plate sequentially grafting and at the same time be built in shell, wherein:
The core layer plate includes ESP8266-WROOM-02 modules, LED light D1, interface P1, the LED light D1 is connected with No. 6 pins of ESP8266-WROOM-02 modules, and No. 8 of the interface P1 and ESP8266-WROOM-02 modules are drawn Foot is connected;
The logical layer plate include switch S1 and switch S2, Schmidt trigger U1A and Schmidt trigger U1B, and NOT gate U2A, PNP triode Q1 and PNP triode Q2, the input terminal of the Schmidt trigger U1A is connected with switch S1, described The input terminal of Schmidt trigger U1B is connected with switch S2, the NAND gate U2A outputs with Schmidt trigger U1A simultaneously End is connected with the output end of Schmidt trigger U2A, and the output end of the NAND gate U2A is connected with the base stage of PNP triode Q1.
According to above-mentioned technical proposal, the base stage of No. 3 pins and PNP triode Q2 of the ESP8266-WROOM-02 modules It is connected.
According to above-mentioned technical proposal, the logical layer plate further includes d type flip flop U3A, the current collection of the PNP triode Q1 The collector of pole and PNP triode Q2 pass through resistance U3R1 and resistance U3R2 while the CLK1 pin phases with d type flip flop U3A respectively Even.
According to above-mentioned technical proposal, the application layer plate includes isolated form ACDC module Pz and DCDC modules U5, described Alternating current is converted to 5V direct currents by isolated form ACDC modules, and 5V direct currents are converted to 3.3V direct currents by the DCDC modules U5.
According to above-mentioned technical proposal, the application layer plate further includes relay M1 and diode D2, the diode D2 With relay M1 reverse parallel connections.
According to above-mentioned technical proposal, the application layer plate further includes wiring copper post B1, wiring copper post B2, wiring copper post B3, wiring copper post B4 and wiring copper post B5, the wiring copper post B1 and wiring copper post B2 respectively with the zero curve of alternating current and firewire phase Even, wiring copper post B3 is connected with the common of relay M1, and wiring copper post B4 is connected with the normally opened contact of relay M1, wiring Copper post B5 is connected with the normally-closed contact of relay M1.
Intelligent switch disclosed by the utility model, advantage are:
1) three layers of connected structure are used on hardware, are convenient for the replacement and repair of part.
2) shell can continue to use the surface structure as existing switch.
3) core layer circuit board may migrate on any electric appliance, is transformed into intellectual product.
4) ESP8266-WROOM-02 modules have the control of remote impulse switch and port detection function.
Description of the drawings
Fig. 1 is the system block diagram of the intelligent switch of the preferred embodiment in the utility model.
Fig. 2 is the circuit diagram of the core layer plate of the intelligent switch of the preferred embodiment in the utility model.
Fig. 3 is the circuit diagram of the logical layer plate of the intelligent switch of the preferred embodiment in the utility model.
Fig. 4 is the circuit diagram of the application layer plate of the intelligent switch of the preferred embodiment in the utility model.
Fig. 5 is the control flow chart of the intelligent switch of the preferred embodiment in the utility model.
Fig. 6 is the structural schematic diagram of the intelligent switch of the preferred embodiment in the utility model.
Reference numeral includes:1- switch buttons;2- fluorescent lamps;3- shells;5 spring hole scoket of 4- standards.
Specific implementation mode
The utility model discloses a kind of intelligent switch, with reference to preferred embodiment, to the specific reality of the utility model The mode of applying is further described.
The external knot of the intelligent switch (below can abbreviation intelligent switch) is shown to Fig. 6, Fig. 6 referring to Figure 1 of the drawings Structure.Preferably, the intelligent switch includes shell 3, and the top panel of the shell 3 is equipped with switch button 1, flourescent sheet 2 and standard 5 Spring hole scoket 4, the zero curve and firewire of the direct and alternating current of 5 spring hole scoket 4 of standard connect without by be built in intelligent switch after Electric appliance.
With further reference to Fig. 2 to Fig. 4 of attached drawing, it is preferable that the intelligent switch further include core layer plate (pcb board), Logical layer plate (pcb board) and application layer plate (pcb board), the core layer plate, logical layer plate and application layer plate are suitable Secondary grafting is and at the same time be built in shell 3.
With further reference to Fig. 1 and Fig. 5 of attached drawing, it is preferable that the core layer plate includes ESP8266-WROOM-02 moulds Group (ESP8266 minimum systems), the central controller of the ESP8266-WROOM-02 modules as core layer, internal programming work( Energy firmware, and it is integrated with the bottom code of not increasing income of ESPTOUCH and ESPMESH.Which overcome the limits of router access node System so that ESP8266 can extend multiple nodes, and node Ad Hoc network is realized by its ESP-MESH technology and ESP-TOUCH technologies And intelligent control.Up to thousands of a nodes can be placed in home energy source management system by these technologies, to realize house The energy scheduling of front yard equipment.
Preferably, the core layer plate further includes LED light D1, LED light D1 and ESP8266-WROOM- No. 6 pins (GPIO13) of 02 module are connected.The LED light is used to indicate the configuring condition of module, and configuration failure lights, and matches It is set to work(extinguishing.
Preferably, the core layer plate further include interface P1 (download mouth), interface P2 and interface P3, the interface P1 with No. 8 pins (GPIO0) of ESP8266-WROOM-02 modules are connected, interface P1 with pass through TXD, RXD serial ports download and online Debugging, the ports GPIO0 pull down when downloading, and when operation is hanging.Remaining GPIO port and * * ADC of ESP8266-WROOM-02 modules Pin is respectively connected to interface P2 and interface P3, and specific function is realized to logical layer.
Preferably, the core layer plate further includes capacitance C0, and capacitance C0 ensures that ESP8266-WROOM-02 modules obtain To reliable 3.3V power supply power supplies, No. 15 pins (RST reset pins) of ESP8266-WROOM-02 modules are by 12K resistance It is pulled to 3.3V power supplys.
Preferably, the logical layer plate includes in switch S1 and switch S2, default conditions lower switch S1 and switch S2 Any one switch is in down state.
Preferably, the logical layer plate further includes Schmidt trigger U1A and Schmidt trigger U1B, it is described apply it is close The input terminal of special trigger U1A is connected with switch S1, and the input terminal of the Schmidt trigger U1B is connected with switch S2, described Schmidt trigger U1A and Schmidt trigger U1B be respectively used to by switch S1, switch S2 switching signal shaping, disappear and tremble simultaneously It negates.
Preferably, the logical layer plate further includes NAND gate U2A, the NAND gate U2A while and Schmidt trigger The output end of U1A is connected with the output end of Schmidt trigger U2A.When S1 and S2 switches are default conditions, i.e., two inputs End obtains one high and one low two level, then NAND gate U2A exports high level.Only when S1 and S2 are bounced, two input terminals All it is high level, NAND gate U2A exports low level.
Preferably, the logical layer plate further includes PNP triode Q1, PNP triode Q2, and the NAND gate U2A's is defeated Outlet is connected with the base stage of PNP triode Q1.Wherein, No. 3 pins (GPIO14) of the ESP8266-WROOM-02 modules with The base stage of PNP triode Q2 is connected.
Preferably, the logical layer plate further includes d type flip flop U3A, the collector and PNP tri- of the PNP triode Q1 The collector of pole pipe Q2 is connected with the CLK1 pins of d type flip flop U3A by resistance U3R1 and resistance U3R2 simultaneously respectively.Therefore, From a default conditions to another default conditions, the CLK1 pins of d type flip flop U3A can pass through Q1 crystal by switch S1 and switch S2 It is in control a pulse and overturns, the overturning of metal-oxide-semiconductor on off state.
Further, under user's remote control, the Test pin pulses of d type flip flop U3A export.If high in the clouds node shape The state consistency that state is read with Test pins is then not necessarily to export PWM, otherwise exports the PWM waveform of 500ms, pass through PNP triode CLK1 pins of the Q2 in d type flip flop U3A generates pulse signal, and logic layer state is made to overturn.
Preferably, the application layer plate includes isolated form ACDC module Pz and DCDC modules U5, the isolated form ACDC Alternating current is converted to 5V direct currents by module, and 5V direct currents are converted to 3.3V direct currents by the DCDC modules U5, and by connecing Line terminals P1 and connecting terminal P2 (not shown)s are by the electrical appliance and core layer of 3.3V direct currents electricity output to logical layer plate The electrical appliance of plate.
Preferably, the application layer plate further includes relay M1 and diode D2, and diode D2 and relay M1 are reversed (anode and cathode of diode D2 is connected with 1 end of relay M1 and 2 ends respectively) in parallel.
Preferably, the application layer plate further includes wiring copper post B1, wiring copper post B2, wiring copper post B3, wiring copper post B4 and wiring copper post B5, the wiring copper post B1 and wiring copper post B2 are connected with the zero curve of alternating current and firewire respectively, wiring copper post B3 is connected with the common of relay M1, and wiring copper post B4 is connected with the normally opened contact of relay M1, wiring copper post B5 with after The normally-closed contact of electric appliance M1 is connected.Meanwhile the mode of connection can be changed according to different demands.
Referring to Fig. 5 of attached drawing, the utility model patent application also discloses a kind of intelligent control method of intelligent switch, packet Include following steps:
Step S1:ESP8266-WROOM-02 modules initialize and read the SSID values of acquiescence;
Step S2:Judge whether SSID values are zero, enters Smart_Config patterns (intelligence configuration mould if it is zero Formula) with configure SSID values and scan and connect corresponding SSID, otherwise scan and connect corresponding SSID;
Step S3:Judge whether Activeflag values are zero, enters Smart_Config patterns if it is zero to configure The Activeflag values of controlled device and remote server (Cloud Server) is connected, otherwise connects remote server;
Step S4:The corresponding high in the clouds nodal value for being stored in remote server of controlled device is obtained, is obtained simultaneously The level value of the Test pins (ports GPIO12, No. 12 pins) of ESP8266-WROOM-02 modules;
Step S5:Judge whether above-mentioned high in the clouds nodal value and the Test pin levels value of controlled device are consistent, if differed Cause the PWM waveform of PWM pins (ports GPIO14, No. 14 pins) the output 500ms of then ESP8266-WROOM-02 modules.
Specifically, ESP8266-WROOM-02 modules initialization i.e. setting Smart_Config patterns are ESPTOUCH moulds Formula, and it is STATION patterns that WIFI patterns, which are arranged,.
Intelligent link calls wifi_station_get_config_default methods to read WIFI chips acquiescence The pointer of link information and incoming station_config types, SSID values are read from the pointer, enter Smart_ if 0 Config and otherwise incoming call back function scans the SSID of acquiescence, connects the SSID if scanning successfully, if successful connection into Enter intelligent configuration, connection failure enters Smart_Config and incoming call back function.
Intelligence configuration, that is, read the activeflag values of esp_platform_saved_param structures esp_param, If not 0 equipment is also not configured, in generation, is sent by UDP after the ESPTOUCH of cell phone application into configuration mode The character string of table device type, intelligent switch are " switch ", and water heater is then " heater ", and string length is limited to 6 Byte;Mobile phone terminal shows equipment after receiving the UDP message packet on interface and is decided whether to add the equipment by user, clicks After adding button, cell phone application calculates and generates a unique node in cloud database side automatically, and will include that the node connects The UDP packets of information are sent to 1234 ports of IP address of equipment, read the connection Cloud Server after the UDP packets, connect into Enter power function, starting device function after work(, and the packet of UDP is sent to power function.
Information in UDP packets that is, after equipment entered function function, is carried out string-concatenation, obtained by starting device function To link information, the API of cloud database is called to carry out initialization connection;It is input to call the ports API setting GPIO12 of chip Pattern, the ports setting GPIO13 are output mode, and the ports setting GPIO14 are output mode;Start 1 second timer to call together Function is walked, the variation of high in the clouds node is detected, if high in the clouds node is changed, reads the level value of the ports GPIO12 and guarantor It deposits, reads the data value of high in the clouds node, compare two amounts, if it is inconsistent, the ports GPIO14 export PWM waveform, with height- Low-high form output, wave period 500ms;500ms, shape is connected in the PNP triodes for the logical layer being connected with the signal wire The ends the output Q state of d type flip flop is set to overturn at trigger pulse, to make the N-channel MOS pipe folding condition being connect with the ends Q It changes, the relay folding condition of driving changes.
For a person skilled in the art, the technical solution recorded in foregoing embodiments can still be repaiied Change or equivalent replacement of some of the technical features, within the spirit and principle of the utility model, made by it is any Modification, equivalent replacement, improvement etc., should be included in the scope of protection of the utility model.

Claims (6)

1. the top panel of a kind of intelligent switch, including shell, the shell is equipped with 5 spring hole scoket of switch button, flourescent sheet and standard, The zero curve and firewire of 5 spring hole scoket of standard and alternating current connect, which is characterized in that the intelligent switch further include core layer plate, Logical layer plate and application layer plate, the core layer plate, logical layer plate and application layer plate sequentially grafting and at the same time It is built in shell, wherein:
The core layer plate includes ESP8266-WROOM-02 modules, LED light D1, interface P1, LED light D1 with No. 6 pins of ESP8266-WROOM-02 modules are connected, No. 8 pin phases of the interface P1 and ESP8266-WROOM-02 modules Even;
The logical layer plate includes switch S1 and switch S2, Schmidt trigger U1A and Schmidt trigger U1B, NAND gate U2A, PNP triode Q1 and PNP triode Q2, the input terminal of the Schmidt trigger U1A are connected with switch S1, it is described apply it is close The input terminal of special trigger U1B is connected with switch S2, the NAND gate U2A simultaneously with the output end of Schmidt trigger U1A and The output end of Schmidt trigger U2A is connected, and the output end of the NAND gate U2A is connected with the base stage of PNP triode Q1.
2. intelligent switch according to claim 1, which is characterized in that No. 3 of the ESP8266-WROOM-02 modules are drawn Foot is connected with the base stage of PNP triode Q2.
3. intelligent switch according to claim 1, which is characterized in that the logical layer plate further includes d type flip flop U3A, The collector of the PNP triode Q1 and the collector of PNP triode Q2 pass through resistance U3R1 and resistance U3R2 while and D respectively The CLK1 pins of trigger U3A are connected.
4. intelligent switch according to claim 1, which is characterized in that the application layer plate includes isolated form ACDC modules Alternating current is converted to 5V direct currents by Pz and DCDC modules U5, the isolated form ACDC modules, and the DCDC modules U5 is by 5V direct currents Electricity is converted to 3.3V direct currents.
5. intelligent switch according to claim 1, which is characterized in that the application layer plate further includes relay M1 and two Pole pipe D2, the diode D2 and relay M1 reverse parallel connections.
6. intelligent switch according to claim 5, which is characterized in that the application layer plate further include wiring copper post B1, Wiring copper post B2, wiring copper post B3, wiring copper post B4 and wiring copper post B5, the wiring copper post B1 and wiring copper post B2 respectively with The zero curve of alternating current is connected with firewire, and wiring copper post B3 is connected with the common of relay M1, wiring copper post B4 and relay M1 Normally opened contact be connected, wiring copper post B5 is connected with the normally-closed contact of relay M1.
CN201721788646.6U 2017-12-19 2017-12-19 Intelligent switch Active CN207742510U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721788646.6U CN207742510U (en) 2017-12-19 2017-12-19 Intelligent switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721788646.6U CN207742510U (en) 2017-12-19 2017-12-19 Intelligent switch

Publications (1)

Publication Number Publication Date
CN207742510U true CN207742510U (en) 2018-08-17

Family

ID=63118659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721788646.6U Active CN207742510U (en) 2017-12-19 2017-12-19 Intelligent switch

Country Status (1)

Country Link
CN (1) CN207742510U (en)

Similar Documents

Publication Publication Date Title
CN103309308B (en) A kind of device intelligence control method and device, system, PnP device
CN104412245B (en) For the apparatus and method using more than one communication pattern control electrical equipment
CN106647316A (en) Smart home control system and control method thereof
CN205193466U (en) Home systems's gateway peripheral circuit and this home systems based on ARM and zigBee
CN106154845A (en) A kind of intelligent domestic system
CN105762883B (en) Method and electronic equipment for charging for electronic equipment
CN102291284A (en) Intelligent terminal device of wireless network digital home
CN102799152A (en) Intelligent household control system based on bluetooth
CN106569471A (en) Wireless smart home controller
CN105681181A (en) Home gateway system suitable for smart home
CN107479940A (en) A kind of method and device for realizing Internet of Things module
CN206712816U (en) A kind of Internet of Things master control formula home appliance system
CN103856411B (en) Switching system connected with UART interface of router
CN106154993A (en) A kind of device controller
CN207742510U (en) Intelligent switch
CN206672032U (en) Multi-band switch reset circuit and interchanger
CN104201515A (en) Remote intelligent socket
CN108170048A (en) Intelligent switch and intelligent control method
CN105159129B (en) Intelligent appliance control system and control method
CN209388297U (en) A kind of expansion equipment and communicating circuit
CN205304589U (en) Power source control circuit
CN202183025U (en) Intelligent mains supply controller
CN109254534A (en) Integrated control switch system and its control method
CN207319445U (en) A kind of intelligent infrared ray remote control system
CN207690276U (en) A kind of multifunctional household remote controler based on smart machine

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant