CN215816703U - Intelligent safety socket based on Internet of things - Google Patents

Intelligent safety socket based on Internet of things Download PDF

Info

Publication number
CN215816703U
CN215816703U CN202122082821.2U CN202122082821U CN215816703U CN 215816703 U CN215816703 U CN 215816703U CN 202122082821 U CN202122082821 U CN 202122082821U CN 215816703 U CN215816703 U CN 215816703U
Authority
CN
China
Prior art keywords
resistor
chip microcomputer
single chip
module
twenty
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
CN202122082821.2U
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.)
Hunan University of Science and Technology
Original Assignee
Hunan University of Science and Technology
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 Hunan University of Science and Technology filed Critical Hunan University of Science and Technology
Priority to CN202122082821.2U priority Critical patent/CN215816703U/en
Application granted granted Critical
Publication of CN215816703U publication Critical patent/CN215816703U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses an intelligent safety socket based on the Internet of things, which comprises an intelligent socket and a receiver, wherein the intelligent socket comprises a first single chip microcomputer, the receiver comprises a second power carrier communication module and a second single chip microcomputer, a power supply is connected with a household appliance after passing through a relay module and an electromagnetic induction coil, a current detection module is positioned between the power supply and the relay module, the output end of the current detection module is connected with the first single chip microcomputer, an electric leakage detection module is connected with the electromagnetic induction coil, the output end of the electric leakage detection module is connected with the first single chip microcomputer, the first single chip microcomputer is connected with the relay module, the first single chip microcomputer is communicated with the second single chip microcomputer through the first power carrier communication module and the second power carrier communication module, and the second single chip microcomputer is communicated with a mobile phone end through a WIFI module. The intelligent socket communicates with each unit module of a family through power line carrier waves, rewiring is not needed, the installation is convenient, the user cost can be saved, and the safety of the intelligent socket is reflected through leakage detection.

Description

Intelligent safety socket based on Internet of things
Technical Field
The utility model relates to an intelligent safety socket based on the Internet of things.
Background
With the introduction and popularization of smart home concepts, more and more smart home products emerge in the market like bamboo shoots in spring after rain. In many household products, the multifunctional socket is a device product with an intelligent control function, but the single control function thereof does not make it widely popular. After the household appliance is used for a long time, the power consumption can be increased and even the electric leakage can be caused along with the aging of devices, thereby causing potential safety hazards. Although earth leakage protection is detected at the home's main gate, it occurs whenever there is an earth leakage due to electrical irregularities or due to sensor aging.
Disclosure of Invention
In order to solve the technical problems, the utility model provides the intelligent safety socket based on the Internet of things, which is simple in structure, safe and reliable.
The technical scheme for solving the technical problems is as follows: an intelligent safety socket based on the Internet of things comprises an intelligent socket and a receiver, wherein the intelligent socket comprises a first single chip microcomputer, a relay module, a leakage detection module, a first power carrier communication module, a current detection module and an electromagnetic induction coil, the receiver comprises a second power carrier communication module and a second single chip microcomputer, a power supply is connected with a household appliance after passing through the relay module and the electromagnetic induction coil, the current detection module is positioned between the power supply and the relay module, the output end of the current detection module is connected with the first single chip microcomputer, the leakage detection module is connected with the electromagnetic induction coil, the output end of the leakage detection module is connected with the first single chip microcomputer, the first single chip microcomputer is connected with the relay module to control the on-off of a relay, and the first single chip microcomputer is communicated with the second single chip microcomputer through the first power carrier communication module and the second power carrier communication module, and the second singlechip is in data communication with the mobile phone end through the WIFI module.
In the intelligent safety socket based on the internet of things, the first single chip microcomputer adopts STM32F070, pins PA0-PA1 of the first single chip microcomputer are connected with the current detection module, pins PA2 of the first single chip microcomputer are connected with the electric leakage detection module, pins PA3 and PA4 of the first single chip microcomputer are connected with the relay module, and the on-off of the relay module is controlled; the PA9 and PA10 modules of the first singlechip are connected with the first power carrier communication module and are communicated with the first power carrier communication module; the pins PA13 and PA14 of the first singlechip are download ports; PF0 and PF1 ports of the first singlechip are connected with an external crystal oscillator circuit; the VDD and VDDA ports of the first single chip microcomputer are connected with a power supply; the VSS port and the ROOT0 port of the first singlechip are grounded; the NRST port of the first singlechip is connected with a power supply through a resistor.
The above-mentioned intelligent security socket based on thing networking, electromagnetic induction coil has No. 1 to No. 8 total pins, and wherein No. 1, No. 7 pins are the output input port of live wire, and No. 2, No. 8 pins are the output input port of zero line, and No. 4, No. 5 pins are induction coil output joint, and No. 6, No. 3 pins are the zero line test joint of coil, adopt the button mode to control the detection with the live wire zero line, realize the leakage state simulation of live wire and zero line through the button.
The above-mentioned intelligent security socket based on thing networking, the electric leakage detection module includes eighteenth resistance, nineteenth resistance, twentieth resistance, twenty-first resistance, twenty-second resistance, twenty-third resistance, twenty-fourth resistance, twelfth electric capacity, thirteenth electric capacity and operational amplifier, operational amplifier adopts LM358, eighteenth resistance's one end, twelfth electric capacity's one end, thirteenth electric capacity's one end are connected to electromagnetic induction coil's No. 5 pin, thirteenth electric capacity's the other end ground connection, operational amplifier's V1+ port is connected to the other end of twentieth resistance, eighteenth resistance's the other end, the twelfth electric capacity's the other end, nineteenth resistance's one end is connected to the other end of nineteenth resistance, operational amplifier's V1+ port is connected to the other end of twenty-first resistance, One end of a twenty-second resistor, the other end of the twenty-second resistor is connected with a V1out port of the operational amplifier and one end of a twenty-third resistor, the other end of the twenty-third resistor is grounded after passing through a twenty-fourth resistor, a VCC port of the operational amplifier is connected with a power supply, a GND port of the operational amplifier is grounded, and a PA2 port of the first single chip microcomputer is connected with the other end of the twenty-third resistor.
Above-mentioned intelligent security socket based on thing networking, the main chip of first power carrier communication module adopts KQ-130, and OUTVCC pin, the INVCC pin of main chip connect the power, and the INGND pin ground connection of main chip, the RXD pin of main chip connect the PA10 pin of first singlechip, and the TXD pin of main chip connects the PA9 pin of first singlechip, and the MODE pin of main chip is through ground connection behind a resistance.
Above-mentioned intelligent security socket based on thing networking still includes first voltage stabilizing module, and the first singlechip is connected behind first voltage stabilizing module to the power.
Above-mentioned intelligent security socket based on thing networking still includes second voltage stabilizing module, and the second singlechip is connected behind second voltage stabilizing module to the power.
The utility model has the beneficial effects that: according to the intelligent socket, the power carrier is communicated with each unit module of a family, rewiring is not needed, the installation is convenient, the user cost can be saved, the safety of the intelligent socket is reflected through leakage detection, the data sending and downloading functions are realized through the Internet of things, the socket can be controlled through a mobile phone, the control functions of a plurality of sockets can be realized, and convenience and better experience are brought to users.
Drawings
Fig. 1 is a block diagram of the overall structure of the present invention.
Fig. 2 is a circuit diagram of the first single chip microcomputer in fig. 1.
Fig. 3 is a circuit diagram of the leakage detecting module in fig. 1.
Fig. 4 is a circuit diagram of the first power carrier communication module in fig. 1.
Fig. 5 is a functional block diagram of the smart security socket in the extranet mode.
Detailed Description
The utility model is further described below with reference to the accompanying drawings and examples.
As shown in figure 1, an intelligent safety socket based on the Internet of things comprises an intelligent socket and a receiver, wherein the intelligent socket comprises a first single chip microcomputer, a relay module, an electric leakage detection module, a first power carrier communication module, a current detection module, a first voltage stabilization module, a second voltage stabilization module and an electromagnetic induction coil, the receiver comprises a second power carrier communication module and a second single chip microcomputer, a power supply is connected with a household appliance after passing through the relay module and the electromagnetic induction coil, the current detection module is positioned between the power supply and the relay module, the output end of the current detection module is connected with the first single chip microcomputer, the electric leakage detection module is connected with the electromagnetic induction coil, the output end of the electric leakage detection module is connected with the first single chip microcomputer, the first single chip microcomputer is connected with the relay module to control the on-off of a relay, the power supply is connected with the first single chip microcomputer after passing through the first voltage stabilization module, the power supply is connected with the second singlechip through the second voltage stabilizing module. The first single chip microcomputer is communicated with the second single chip microcomputer through the first power carrier communication module and the second power carrier communication module, data received by the second power carrier communication module are processed by the second single chip microcomputer and transmitted to the WIFI module, and the second single chip microcomputer is in signal bidirectional transmission with the mobile phone end through the WIFI module.
The receiver receives and sends the mobile phone terminal control instruction and the power carrier signal, the intelligent socket is connected with the 220V power supply and the household appliance through the relay module and the electric leakage detection module, and the function of socket remote control is finally achieved through the receiver and the intelligent socket. Electric leakage detection module uses electromagnetic induction coil to detect the realization of electric leakage current, when live wire and zero line let in electric current, when input current is different with output current, ADC through the first singlechip of smart jack detects out electromagnetic induction coil's induced voltage, be connected before 220V power and domestic appliance through relay module disconnection, and communicate with the receiver part through first power line carrier communication module, and through wiFi module and the communication of cell-phone end in the receiver, remind the electric leakage condition to appear in this socket, the user also can carry out wiFi remote communication with the receiver through cell-phone APP simultaneously, realize with the smart jack communication through the second power line carrier communication module in the receiver, control smart jack's switch-on and shutdown function.
The intelligent socket adopts first singlechip as the master control core, first voltage stabilizing module carries out the step-down power supply to the system, utilize current detection to carry out the detection and the calculation of system's electric current, adopt the control of external relay unit realization zero line, the live wire, relay main function is the completion zero line, the switching on and the closure of live wire, generally the small-size equipment only need control one of them just can, but consider this design to control zero line and live wire respectively for safety, and realize and the receiver communication through first power line carrier communication module, and then realize remote control intelligent socket.
The receiver is as data interchange center, need two serial ports to accomplish the communication of carrier module and the communication of wiFi module, adopt the second singlechip as the master control core, second voltage stabilizing module wherein carries out the step-down power supply to the system, second power line carrier communication module and each socket current data, electric leakage data, open state data and control data communicate, and carry out data processing through the second singlechip and send for the WIFI module, convey to the cell-phone end by the WIFI module at last.
As shown in fig. 2, the first single-chip microcomputer adopts STM32F070, pins PA0-PA1 of the first single-chip microcomputer are connected with the current detection module, a pin PA2 of the first single-chip microcomputer is connected with the leakage detection module, and pins PA3 and PA4 of the first single-chip microcomputer are connected with the relay module to control on and off of the relay module; the PA9 and PA10 modules of the first singlechip are connected with the first power carrier communication module and are communicated with the first power carrier communication module; the pins PA13 and PA14 of the first singlechip are download ports; PF0 and PF1 ports of the first singlechip are connected with an external crystal oscillator circuit; the VDD and VDDA ports of the first single chip microcomputer are connected with a power supply; the VSS port and the ROOT0 port of the first singlechip are grounded; considering that the system does not need to be reset frequently, the NRST port of the first single chip microcomputer is connected with a power supply through a resistor. And the second singlechip adopts STM32F 030.
As shown in fig. 3, in an actual process, leakage current is very small, current detection is performed on a zero line and a live line independently, requirements on precision of devices are high, and requirements on measuring range are large. Electromagnetic induction coil has No. 1 to No. 8 total pins, and wherein No. 1, No. 7 pins are the output input port of live wire, and No. 2, No. 8 pins are the output input port of zero line, and No. 4, No. 5 pins are induction coil output joint, and No. 6, No. 3 pins are the zero live wire test joint of coil, adopt the button mode to control zero line and live wire and detect, realize the electric leakage state simulation of live wire and zero line through the button. When the current difference between the zero line and the live line reaches a preset threshold value, the electromagnetic induction coil realizes the detection of electric leakage through a differential circuit.
As shown in fig. 3, the leakage detection module includes an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, a twenty-first resistor R21, a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, a twelfth capacitor C12, a thirteenth capacitor C13 and an operational amplifier, where the operational amplifier adopts LM358, a pin No. 5 of the electromagnetic induction coil is connected to one end of the eighteenth resistor R18, one end of the twelfth capacitor C12, one end of the thirteenth capacitor C13, one end of the twentieth resistor R20, the other end of the thirteenth capacitor C13 is grounded, the other end of the twentieth resistor R20 is connected to a V1+ port of the operational amplifier, a pin No. 4 of the electromagnetic induction coil is connected to the other end of the eighteenth resistor R18, the other end of the twelfth capacitor C12, one end of the nineteenth resistor R19, and the other end of the nineteenth resistor R19 is connected to one end of the twenty-first resistor R21, the other end of the twenty-first resistor R21 is connected with the V1+ port of the operational amplifier and one end of a twenty-second resistor R22, the other end of the twenty-second resistor R22 is connected with the V1out port of the operational amplifier and one end of a twenty-third resistor R23, the other end of the twenty-third resistor R23 is grounded after passing through a twenty-fourth resistor R24, the VCC port of the operational amplifier is connected with a power supply, the GND port of the operational amplifier is grounded, and the PA2 port of the first single chip microcomputer is connected with the other end of the twenty-third resistor R23.
As shown in fig. 4, a first power carrier communication module loads a signal to be transmitted to an existing power line through a carrier technology, and uses the existing power line as a transmission medium, so that the power line can transmit a power signal while transmitting a specific signal to a second power carrier communication module in a receiver. The main chip of the first power carrier communication module adopts KQ-130, pins 1 and 2 of the main chip are AC access pins, and are connected with AC220V, so that the communication function is performed through AC 220V. An OUTVCC pin and an INVCC pin of the main chip are power supply pins of the power supply and are connected with a power supply, an INGND pin of the main chip is grounded, an RXD pin of the main chip is connected with a PA10 pin of the first singlechip, a TXD pin of the main chip is connected with a PA9 pin of the first singlechip, and the RXD pin and the TXD pin are serial port communication pins; the MODE pin is a MODE selection pin, and is a self-defined communication MODE when the VCC is connected, therefore, a self-defined communication MODE is selected, and the MODE pin of the main chip is grounded after passing through a 10K resistor, so that the purpose of self-defined communication is realized.
As shown in fig. 5, the second power carrier communication module in the receiver transmits data to the second single chip, and the second single chip communicates with the ESP8266 WiFi module through a serial port. In order to realize control of the intelligent socket under different network environments, the mobile phone can send a control instruction to the cloud server through the 4G environment, the cloud server transmits the control instruction to the router through the WAN, then the router serves as a relay point to forward the instruction to the socket through the home Wi-Fi environment, and meanwhile the socket can also feed the state of the socket back to the mobile phone through the same transmission channel. In the working mode, the intelligent safety socket is controlled by the mobile phone in the external network mode.

Claims (7)

1. An intelligent safety socket based on the Internet of things is characterized by comprising an intelligent socket and a receiver, wherein the intelligent socket comprises a first single chip microcomputer, a relay module, an electric leakage detection module, a first power carrier communication module, a current detection module and an electromagnetic induction coil, the receiver comprises a second power carrier communication module and a second single chip microcomputer, a power supply is connected with a household appliance after passing through the relay module and the electromagnetic induction coil, the current detection module is positioned between the power supply and the relay module, the output end of the current detection module is connected with the first single chip microcomputer, the electric leakage detection module is connected with the electromagnetic induction coil, the output end of the electric leakage detection module is connected with the first single chip microcomputer, the first single chip microcomputer is connected with the relay module to control the on-off of a relay, and the first single chip microcomputer is communicated with the second single chip microcomputer through the first power carrier communication module and the second power carrier communication module, and the second singlechip is in data communication with the mobile phone end through the WIFI module.
2. The intelligent safety socket based on the Internet of things of claim 1, wherein the first single chip microcomputer adopts STM32F070, pins PA0-PA1 of the first single chip microcomputer are connected with the current detection module, a pin PA2 of the first single chip microcomputer is connected with the electric leakage detection module, and pins PA3 and PA4 of the first single chip microcomputer are connected with the relay module to control the on-off of the relay module; the PA9 and PA10 modules of the first singlechip are connected with the first power carrier communication module and are communicated with the first power carrier communication module; the pins PA13 and PA14 of the first singlechip are download ports; PF0 and PF1 ports of the first singlechip are connected with an external crystal oscillator circuit; the VDD and VDDA ports of the first single chip microcomputer are connected with a power supply; the VSS port and the ROOT0 port of the first singlechip are grounded; the NRST port of the first singlechip is connected with a power supply through a resistor.
3. The intelligent safety socket based on the internet of things of claim 2, characterized in that the electromagnetic induction coil has No. 1 to No. 8 total pins, wherein No. 1, No. 7 pins are the output and input ports of live wire, No. 2, No. 8 pins are the output and input ports of zero line, No. 4, No. 5 pins are the induction coil output joint, No. 6, No. 3 pins are the zero live wire test joint of coil, adopt the key mode to control and detect zero line and live wire, realize the leakage state simulation of live wire and zero line through the key.
4. The intelligent safety socket based on the internet of things of claim 2, wherein the electric leakage detection module comprises an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a twenty-first resistor, a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor, a twelfth capacitor, a thirteenth capacitor and an operational amplifier, the operational amplifier adopts LM358, a pin 5 of the electromagnetic induction coil is connected with one end of the eighteenth resistor, one end of the twelfth capacitor, one end of the thirteenth capacitor and one end of the twentieth resistor, the other end of the thirteenth capacitor is grounded, the other end of the twentieth resistor is connected with a V1+ port of the operational amplifier, a pin 4 of the electromagnetic induction coil is connected with the other end of the eighteenth resistor, the other end of the twelfth capacitor and one end of the nineteenth resistor, the other end of the nineteenth resistor is connected with one end of the twenty-first resistor, the other end of the twenty-first resistor is connected with a V1+ port of the operational amplifier and one end of a twenty-second resistor, the other end of the twenty-second resistor is connected with a V1out port of the operational amplifier and one end of a twenty-third resistor, the other end of the twenty-third resistor is grounded through a twenty-fourth resistor, a VCC port of the operational amplifier is connected with a power supply, a GND port of the operational amplifier is grounded, and a PA2 port of the first single chip microcomputer is connected with the other end of the twenty-third resistor.
5. The internet-of-things-based intelligent safety socket according to claim 2, wherein the main chip of the first power carrier communication module is KQ-130, an OUTVCC pin and an INVCC pin of the main chip are connected with a power supply, an invd pin of the main chip is grounded, an RXD pin of the main chip is connected with a PA10 pin of the first single chip microcomputer, a TXD pin of the main chip is connected with a PA9 pin of the first single chip microcomputer, and a MODE pin of the main chip is grounded after passing through a resistor.
6. The intelligent safety socket based on the internet of things as claimed in claim 2, further comprising a first voltage stabilizing module, wherein the power supply is connected with the first single chip microcomputer after passing through the first voltage stabilizing module.
7. The intelligent safety socket based on the internet of things as claimed in claim 2, further comprising a second voltage stabilizing module, wherein the power supply is connected with the second single chip microcomputer after passing through the second voltage stabilizing module.
CN202122082821.2U 2021-08-31 2021-08-31 Intelligent safety socket based on Internet of things Active CN215816703U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122082821.2U CN215816703U (en) 2021-08-31 2021-08-31 Intelligent safety socket based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122082821.2U CN215816703U (en) 2021-08-31 2021-08-31 Intelligent safety socket based on Internet of things

Publications (1)

Publication Number Publication Date
CN215816703U true CN215816703U (en) 2022-02-11

Family

ID=80154009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122082821.2U Active CN215816703U (en) 2021-08-31 2021-08-31 Intelligent safety socket based on Internet of things

Country Status (1)

Country Link
CN (1) CN215816703U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482654A (en) * 2022-10-08 2022-12-16 江西志特新材料股份有限公司 Hardware communication system based on LORA wireless communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482654A (en) * 2022-10-08 2022-12-16 江西志特新材料股份有限公司 Hardware communication system based on LORA wireless communication

Similar Documents

Publication Publication Date Title
CN204389961U (en) A kind of integrated monitoring socket and jack system
US20170033602A1 (en) Smart power socket and smart home system
CN201307685Y (en) Intelligent power socket based on short message service (SMS) control
CN203397176U (en) Household electric appliance remote control and environment monitoring system based on intelligent mobile phone
CN215816703U (en) Intelligent safety socket based on Internet of things
CN201682430U (en) Temperature control power supply device
CN105226461A (en) A kind of intelligent socket device
CN201654536U (en) Domestic electric appliance control system
CN109309991A (en) A kind of control method, control device and control system
CN203340068U (en) Power line carrier wave communication system
CN203103676U (en) Intelligent socket and intelligent socket control system
CN205583290U (en) Intelligent socket
CN203178787U (en) Switch control device and intelligent household system
CN203101978U (en) GSM (Global System for Mobile Communications) based intelligent home control system
CN204304165U (en) Usb adapter
CN102629724A (en) Intelligent socket
CN207920820U (en) Middle pump house motor start stop operation remote control system
CN112615213A (en) Intelligent socket
CN104678858A (en) Wi-Fi conversion socket with over-current protection and energy statistics and intelligent household appliance control system
CN205178200U (en) Multifunctional intelligent socket
CN204595582U (en) Based on the intelligent household control terminal of PON
CN208955340U (en) Intelligent power socket based on NB-IoT
CN203894937U (en) Short-distance wireless appliance current signal feedback device
CN205355481U (en) Smart jack of integrated electric quantity statistics function
CN203422444U (en) Wideband line finder

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant