The Intelligent metering socket of energy remote control pressing manual key
Technical field
It the utility model is related to smart jack field, and in particular to a kind of intelligence meter of energy remote control pressing manual key
Measure socket.
Background technology
With the development of society and the progress of science and technology, the life of people has become more and more intelligent, in order to meet
The demand of people, socket also become smart jack, and some smart jacks can remove electric power rubbish, some smart jack energy lightning protection
Hit, anti-short circuit, antioverloading, it is anticreep, can also automatically power off, also have smart jack have functions of child lock and real-time display electricity
The function of stream, the ratio that up to the present smart jack has developed is wide, but technically needs to improve.
And present smart jack can be transferred through carrying out power-off control by compressing switch mostly, but can not remote control to by
Compress switch and pressed, it is so very inconvenient, although while smart jack all there is functions of child lock, functions of child lock
When having failure, when functions of child lock fails, the child to stay in may have the danger of electric shock.
Utility model content
The purpose of this utility model is to provide a kind of Intelligent metering socket of energy remote control pressing manual key, solved
Existing smart jack is unable to remote control to by the problem of the pressing that compress switch, while solves when functions of child lock fails,
The children to stay in have the problem of Danger Electric shock risk.
A kind of Intelligent metering socket of energy remote control pressing manual key, including the master control electricity set gradually from top to bottom
Road plate, socket structure part and power supply circuit board, above-mentioned socket structure part are connected with utility grid, and socket structure part is connected with utility grid
Circuit be provided with relay switch, power supply circuit board is connected with main control board by copper post, and power supply circuit board is provided with power taking
Module and DC-DC isolation module, the input of electricity-fetching module are connected with utility grid, and the output end of electricity-fetching module is isolated with DC-DC
The input of module is connected, and the output end of DC-DC isolation module is connected with main control board, and monolithic is included on main control board
Machine, socket zigbee modules and relay module, single-chip microcomputer and socket zigbee modules are connected with each other, the output end of single-chip microcomputer with after
The input of electric module is connected, and the output end of relay module is connected with relay switch, the input and output end of above-mentioned single-chip microcomputer
Touch-control module and display module are also connected with respectively, and outside by compressing switch, the outside metope by the place that compresses switch is connected with touch-control module
Provided with protective cover, protective cover is connected by hinge with wall, and the outside of protective cover is provided with cylinder, and cylinder piston rod runs through protective cover
Cover body, the direction of motion of cylinder piston rod and outside identical by the pressing direction to compress switch, the control panel of cylinder is connected with gas
Cylinder zigbee modules, socket zigbee modules and cylinder zigbee modules are connected with each other with gateway, and gateway is set with mobile terminal
It is standby to be connected with each other.
Electricity-fetching module from utility grid carry out power taking, and by DC-DC isolation module carry out transformation and to circuit carry out every
From being then powered as power supply to the single-chip microcomputer on main control board and modules, by being touched to touch-control module
Control, can be controlled, touch information is passed to single-chip microcomputer by touch-control module, and single-chip microcomputer receives touch-control mould to the power on/off of socket
Handled after the information that block transmits, then send control signal, control signal is passed into relay module, relay module is connecing
Relay switch break-make is controlled after receiving control signal, so as to realize the power on/off of socket, is passed to control signal in single-chip microcomputer
While relay module, signal is also passed to display module by single-chip microcomputer, and the energization situation that display module can be to socket shows
Show, socket zigbee modules are then responsible for the transmission and reception of data, and socket zigbee modules receive the letter that single-chip microcomputer is sent
After breath, by the information transmission received to gateway, mobile terminal device will send information to by gateway in real time, while can be with
Control instruction is sent by mobile terminal device, the control instruction sent from mobile terminal device is through gateway passes to socket
Zigbee modules, control instruction is passed into single-chip microcomputer by socket zigbee modules, single-chip microcomputer is to receive control instruction laggard
Row processing, then sends control signal to the module of correlation, socket is controlled, which achieves the long-range control to socket
System, the functions of child lock that can make socket by mobile terminal device enable, and the metope at outside pressing switch sets protective cover energy
Outside pressing switch is protected, children can not be just pressed outside pressing switch after closing protective cover, and adult's energy
The cylinder outside protective cover is controlled by mobile terminal device, controls the method for cylinder and the method phase of control socket
Together, control instruction is sent to the control panel of cylinder by mobile terminal device, the control panel of cylinder receives control instruction
Afterwards, control cylinder piston rod motion, by cylinder piston rod motion just can to the outside in protective cover by compress switch carry out by
Pressure, such adult press outside by compressing switch before going out, and control the disconnection of relay switch, and close protective cover, can just prevent
The children for only making to stay at home because functions of child lock fails have Danger Electric shock risk, in the case where protective cover is in the closing of normal phase, lead to
Crossing control cylinder can press outside pressing switch anywhere or anytime, control the break-make of intelligent switch, and such people are just not
Need it is manual go pressing outside by compressing switch, it is more convenient to use.
As it is of the present utility model further preferably, electric energy metering module, electric energy meter are additionally provided with above-mentioned power supply circuit board
The input of amount module is connected with the output end of DC-DC isolation module, the output end of electric energy metering module and the input of single-chip microcomputer
End is connected.
Electric energy metering module can detect to circuit, the data of detection be sent to single-chip microcomputer after detection, then by list
Piece machine is handled data such as obtained voltages, electric current and electricity, is inserted the information transmission of voltage, electric current and electricity after processing
Seat zigbee modules, send information to gateway, then be sent to mobile terminal device by gateway by socket zigbee modules.
As it is of the present utility model further preferably, above-mentioned touch-control module is SW-SPST key switches, and display module is
LED.
As it is of the present utility model further preferably, the main control chip of above-mentioned electricity-fetching module is LNK306 chips, LNK306
The input of chip is connected with utility grid, and the output end of LNK306 chips is connected with the input of DC-DC isolation module, DC-DC
Isolation module includes B1205XT-2WR2 chips and HT7233 chips, input and the LNK306 chips of B1205XT-2WR2 chips
Output end be connected, the output end of B1205XT-2WR2 chips is connected with the input of HT7233 chips, HT7233 chips it is defeated
Go out end with main control board to be connected, the main control chip of above-mentioned single-chip microcomputer is STM32F103C8T6 chips, socket zigbee modules
Main control chip is zigbee chips, and the main control chip of relay module is L9110S chips, STM32F103C8T6 chips and zigbee
Chip is connected with each other, and the output end of STM32F103C8T6 chips is connected with the input of L9110S chips, L9110S chips it is defeated
Go out end with the input of relay switch to be connected, the model ADW1205HLW of above-mentioned relay switch.
LNK306 chips by preferred circuit, coordinate electric capacity, resistance and the diode of periphery by the voltage of utility grid from
220V is reduced to 12V, it is changed into 12V dc source, and R1 carries out halfwave rectifier equivalent to fuse, D1, and C5 and C6 are
Filter capacitor;The 5V power supplys that 12V dc source is isolated after the conversion of B1205XT-2WR2 chips, then pass through
The 3.3V power supplys that HT7233 chips are isolated, main control board are powered by the 3.3V power supplys isolated, STM32F103C8T6
The PA11 pins and PA12 pins of chip are connected with the IA pins and IB pins of L9110S chips respectively, STM32F103C8T6 cores
Piece is handled after receiving touching signals, then the IA pins and IB by PA11 pins and PA12 pins to L9110S chips
Pin sends control signal, and after L9110S chips receive control signal, control relay switch is opened and closed, so as to control socket
Break-make, the RX pins and TX pins of STM32F103C8T6 chips be then connected with TX1 the and RX1 pins of zigbee chips respectively,
The TX pins of STM32F103C8T6 chips are used for the RX1 pin transmitting informations to zigbee chips, STM32F103C8T6 chips
RX pins then be used for receive the feedack that the TX1 pins of zigbee chips are sent.
As of the present utility model further preferred, output end and the B1205XT-2WR2 chips of above-mentioned LNK306 chips
78L05/SOT-89 chips are also connected with the connected circuit of input.
Set 78L05/SOT-89 chips that there is voltage stabilizing, internal circuit can be made to realize current limliting and Thermal protection, simultaneously
Influence of noise can be eliminated, eliminates the scattering problem related to single-point regulation.
As it is of the present utility model further preferably, the main control chip of above-mentioned electric energy metering module is HLW8012 chips,
The input of HLW8012 chips is connected with the output end of DC-DC isolation module, the output ends of HLW8012 chips and single-chip microcomputer
Input is connected.
The collection of current signal is carried out by R10 copper-manganese resistance, and Current calculation is carried out by HLW8012 chips;By
R12-R15 and R18 bleeder circuit carries out voltage acquisition, and carries out voltage calculating, HLW8012 chips by HLW8012 chips
CF1 and CF pins can export electric pulse, voltage or current impulse.
As of the present utility model further preferred, the output end of above-mentioned HLW8012 chips and the input phase of single-chip microcomputer
PS2811-1 chips are also connected with circuit even.
PS2811-1 chips have the function that isolation optocoupler, after the relevant information for collecting circuit, are passing information to
Pass through isolation optocoupler during single-chip microcomputer, be avoided that the interference of signal.
As it is of the present utility model further preferably, the opening position where after the expansion of above-mentioned protective cover is additionally provided with to recessed within the walls
Sunken protective cover neck, protective cover neck is interior to be provided with protective cover shackle member.
After opening protective cover, protective cover is stuck in protective cover neck, metope is seemed more clean and tidy, also not allow
Easily hit the damage that protective cover causes protective cover.
Compared with prior art, the utility model can at least reach one in following beneficial effect:
1. being isolated by DC-DC isolation module to the power supply of electric energy metering module and main control board, improve
The accuracy of metering and the stability of main control board.
2. reduce influence of the fluctuation to Metering socket of power network.
3. socket power on/off can locally be controlled manually by button, can also be passed through by the APP on mobile terminal device
Gateway remote controls socket power on/off.
4. whether worked by buttons of the APP on mobile terminal device through gateway control socket, you can to pass through APP
Whether the functions of child lock of control socket enables, if the functions of child lock of socket enables, button locally controls the logical of socket manually
Power-off can not use, if functions of child lock is not enabled, the manual local operation of button is normal.
5. if sent a telegram here after civil power power-off again, some equipment are to need to work immediately such as refrigerator, are to need socket to be powered
Original state is kept afterwards, and other equipment is such as air-conditioning that need not be worked immediately, and this Intelligent metering socket can lead to
Whether the APP crossed on mobile terminal device is set enables energization hold mode.
6. single-chip microcomputer can timing the electricity for reading socket metering, instantaneous voltage, the power consumption parameter such as transient current and handle
Information is pushed to the APP on mobile terminal device, and carries out statistical analysis to the power consumption of equipment.
Brief description of the drawings
Fig. 1 is the structural representation of the utility model main control board, socket structure part and power supply circuit board.
Fig. 2 is the attachment structure schematic diagram of each module on the utility model main control board and power supply circuit board.
Fig. 3 is the circuit diagram of the utility model electricity-fetching module.
Fig. 4 is the circuit diagram of the utility model DC-DC isolation module.
Fig. 5 is the circuit diagram of the utility model electric energy metering module.
Fig. 6 is the circuit diagram of the utility model single-chip microcomputer.
Fig. 7 is the circuit diagram of the utility model socket zigbee modules.
Fig. 8 is the circuit diagram of the utility model relay module.
Fig. 9 is the circuit diagram of the utility model touch-control module.
Figure 10 is the circuit diagram of the utility model display module.
Figure 11 be outside the utility model by compress switch, the structural representation of protective cover and cylinder.
Embodiment
In order that the purpose of this utility model, technical scheme and advantage are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the utility model is further elaborated.It should be appreciated that specific embodiment described herein is only explaining
The utility model, it is not used to limit the utility model.
Specific embodiment 1:
Fig. 1, Fig. 2 and Figure 11 show it is a kind of can remote control pressing manual key Intelligent metering socket, including from upper
Main control board 1, socket structure part 2 and the power supply circuit board 3 set gradually under, above-mentioned socket structure part 2 connect with utility grid
Connect, the circuit that socket structure part 2 is connected with utility grid is provided with relay switch, and power supply circuit board 3 and main control board 1 pass through copper
Post connects, and power supply circuit board 3 is provided with electricity-fetching module 31 and DC-DC isolation module 32, the input and civil power of electricity-fetching module 31
Net is connected, and the output end of electricity-fetching module 31 is connected with the input of DC-DC isolation module 32, the output of DC-DC isolation module 32
End is connected with main control board 1, and single-chip microcomputer 11, socket zigbee modules 12 and relay module 13 are included on main control board 1, single
Piece machine 11 and socket zigbee modules 12 are connected with each other, and the output end of single-chip microcomputer 11 is connected with the input of relay module 13, after
The output end of electric module 13 is connected with relay switch, and the input and output end of above-mentioned single-chip microcomputer 11 are also connected with touch-control module respectively
14 and display module 15, be connected with touch-control module 14 it is outside by compressing switch 4, it is outside to be provided with protective cover by the metope to compress switch at 4
5, protective cover 5 is connected by hinge with wall, and the outside of protective cover 5 is provided with cylinder 6, and cylinder piston rod runs through the cover of protective cover 5
Body, the direction of motion of cylinder piston rod with it is outside by compress switch 4 pressing direction it is identical, the control panel of cylinder 6 is connected with cylinder
Zigbee modules, socket zigbee modules 12 and cylinder zigbee modules are connected with each other with gateway, and gateway is set with mobile terminal
It is standby to be connected with each other.
Electricity-fetching module from utility grid carry out power taking, and by DC-DC isolation module carry out transformation and to circuit carry out every
From being then powered as power supply to the single-chip microcomputer on main control board and modules, by being touched to touch-control module
Control, can be controlled, touch information is passed to single-chip microcomputer by touch-control module, and single-chip microcomputer receives touch-control mould to the power on/off of socket
Handled after the information that block transmits, then send control signal, control signal is passed into relay module, relay module is connecing
Relay switch break-make is controlled after receiving control signal, so as to realize the power on/off of socket, is passed to control signal in single-chip microcomputer
While relay module, signal is also passed to display module by single-chip microcomputer, and the energization situation that display module can be to socket shows
Show, socket zigbee modules are then responsible for the transmission and reception of data, and socket zigbee modules receive the letter that single-chip microcomputer is sent
After breath, by the information transmission received to gateway, mobile terminal device will send information to by gateway in real time, while can be with
Control instruction is sent by mobile terminal device, the control instruction sent from mobile terminal device is through gateway passes to socket
Zigbee modules, control instruction is passed into single-chip microcomputer by socket zigbee modules, single-chip microcomputer is to receive control instruction laggard
Row processing, then sends control signal to the module of correlation, socket is controlled, which achieves the long-range control to socket
System, the functions of child lock that can make socket by mobile terminal device enable, and the metope at outside pressing switch 4 sets protective cover 5
Outside pressing switch 4 can be protected, children can not be just pressed outside pressing switch 4 after closing protective cover 5, and big
People can be controlled by mobile terminal device to the cylinder 6 outside protective cover 5, is controlled the method for cylinder 6 and is controlled socket
Method is identical, sends control instruction by the control panel of mobile terminal device to cylinder 6, the control panel of cylinder 6 receives
After control instruction, control cylinder piston rod motion just can be to the outside in protective cover 5 by pressing off by the motion of cylinder piston rod
Close and 4 pressed, such adult 4 presses outside by compressing switch before going out, and controls the disconnection of relay switch, and close protection
Cover 5, the children for preventing from making to stay at home because functions of child lock fails have Danger Electric shock risk, and the closing of normal phase is in protective cover 5
In the case of, by controlling cylinder 6 to press anywhere or anytime outside pressing switch 4, so as to control intelligent switch
Break-make, such people avoid the need for it is manual go pressing outside by compressing switch 4, it is more convenient to use.
Specific embodiment 2:
The present embodiment is that electric energy metering module is additionally arranged on the basis of specific embodiment 1, on above-mentioned power supply circuit board 3 also
Provided with electric energy metering module 33, the input of electric energy metering module 33 is connected with the output end of DC-DC isolation module 32, electric energy meter
The output end of amount module 33 is connected with the input of single-chip microcomputer 11.
Electric energy metering module can detect to circuit, the data of detection be sent to single-chip microcomputer after detection, then by list
Piece machine is handled data such as obtained voltages, electric current and electricity, is inserted the information transmission of voltage, electric current and electricity after processing
Seat zigbee modules, send information to gateway, then be sent to mobile terminal device by gateway by socket zigbee modules.
Specific embodiment 3:
As shown in Figure 9 and Figure 10, the present embodiment is that touch-control module and display module are entered on the basis of specific embodiment 1
Further instruction is gone, above-mentioned touch-control module 14 is SW-SPST key switches, and display module 15 is LED.
Specific embodiment 4:
As shown in Fig. 3, Fig. 4, Fig. 6, Fig. 7, Fig. 8, the present embodiment is to main control board on the basis of specific embodiment 1
Upper modules have carried out further instruction, and the main control chip of above-mentioned electricity-fetching module 31 is LNK306 chips, LNK306 chips
Input be connected with utility grid, the output end of LNK306 chips is connected with the input of DC-DC isolation module 32, DC-DC every
Include B1205XT-2WR2 chips and HT7233 chips, input and the LNK306 chips of B1205XT-2WR2 chips from module 32
Output end be connected, the output end of B1205XT-2WR2 chips is connected with the input of HT7233 chips, HT7233 chips it is defeated
Go out end with main control board 1 to be connected, the main control chip of above-mentioned single-chip microcomputer 11 is STM32F103C8T6 chips, socket zigbee moulds
The main control chip of block 12 is zigbee chips, and the main control chip of relay module 13 is L9110S chips, STM32F103C8T6 chips
It is connected with each other with zigbee chips, the output end of STM32F103C8T6 chips is connected with the input of L9110S chips, L9110S
The output end of chip is connected with the input of relay switch, the model ADW1205HLW of above-mentioned relay switch.
LNK306 chips by preferred circuit, coordinate electric capacity, resistance and the diode of periphery by the voltage of utility grid from
220V is reduced to 12V, it is changed into 12V dc source, and R1 carries out halfwave rectifier equivalent to fuse, D1, and C5 and C6 are
Filter capacitor;The 5V power supplys that 12V dc source is isolated after the conversion of B1205XT-2WR2 chips, then pass through
The 3.3V power supplys that HT7233 chips are isolated, main control board are powered by the 3.3V power supplys isolated, STM32F103C8T6
The PA11 pins and PA12 pins of chip are connected with the IA pins and IB pins of L9110S chips respectively, STM32F103C8T6 cores
Piece is handled after receiving touching signals, then the IA pins and IB by PA11 pins and PA12 pins to L9110S chips
Pin sends control signal, and after L9110S chips receive control signal, control relay switch is opened and closed, so as to control socket
Break-make, the RX pins and TX pins of STM32F103C8T6 chips be then connected with TX1 the and RX1 pins of zigbee chips respectively,
The TX pins of STM32F103C8T6 chips are used for the RX1 pin transmitting informations to zigbee chips, STM32F103C8T6 chips
RX pins then be used for receive the feedack that the TX1 pins of zigbee chips are sent.
Specific embodiment 5:
The present embodiment is that 78L05/SOT-89 chips are additionally arranged on the basis of specific embodiment 4, above-mentioned LNK306 chips
The circuit that is connected with the input of B1205XT-2WR2 chips of output end on be also connected with 78L05/SOT-89 chips.
Set 78L05/SOT-89 chips that there is voltage stabilizing, internal circuit can be made to realize current limliting and Thermal protection, simultaneously
Influence of noise can be eliminated, eliminates the scattering problem related to single-point regulation.
Specific embodiment 6:
As shown in figure 5, the present embodiment is that electric energy metering module has been carried out further on the basis of specific embodiment 2
Illustrate, the main control chip of above-mentioned electric energy metering module 33 is HLW8012 chips, and the input of HLW8012 chips is isolated with DC-DC
The output end of module 32 is connected, and the output end of HLW8012 chips is connected with the input of single-chip microcomputer 11.
The collection of current signal is carried out by R10 copper-manganese resistance, and Current calculation is carried out by HLW8012 chips;By
R12-R15 and R18 bleeder circuit carries out voltage acquisition, and carries out voltage calculating, HLW8012 chips by HLW8012 chips
CF1 and CF pins can export electric pulse, voltage or current impulse.
Specific embodiment 7:
The present embodiment is that PS2811-1 chips are additionally arranged on the basis of specific embodiment 6, above-mentioned HLW8012 chips it is defeated
Go out on the circuit that end is connected with the input of single-chip microcomputer 11 and be also connected with PS2811-1 chips.
PS2811-1 chips have the function that isolation optocoupler, after the relevant information for collecting circuit, are passing information to
Pass through isolation optocoupler during single-chip microcomputer, be avoided that the interference of signal.
Specific embodiment 8:
The present embodiment is that protective cover neck 7 is additionally arranged on the basis of specific embodiment 1, institute after above-mentioned protective cover 5 deploys
Opening position be additionally provided with to the protective cover neck 7 being recessed within the walls, is provided with protective cover shackle member in protective cover neck 7.
After opening protective cover 5, protective cover 5 is stuck in protective cover neck 7, metope is seemed more clean and tidy,
It is not easy to hit the damage that protective cover 5 causes protective cover.
Although reference be made herein to the utility model is described multiple explanatory embodiments of the present utility model, still,
It should be understood that those skilled in the art can be designed that a lot of other modifications and embodiment, these modifications and embodiment
It will fall within spirit disclosed in the present application and spirit.More specifically, in disclosure, drawings and claims
In the range of, a variety of variations and modifications can be carried out to the building block and/or layout of theme combination layout.Except to building block
And/or outside the modification and improvement of layout progress, to those skilled in the art, other purposes also will be apparent.