Major and minor output chain control functional socket
Technical field
The present invention relates to a kind of socket, specifically a kind of major and minor output chain control functional socket belongs to intelligent socket skill
Art field.
Background technique
Existing common socket (including socket, flush-mounted in socket of wall etc.) has multiple jacks, each jack it is only
Vertical power supply is not interfere with each other.When normal use, each jack is continued power.Use host computer, electricity at home or in company
It is by each electric appliance grafting when the electrical equipments such as brain display, speaker, television set, DVD player, desk lamp, printer, projector
One jack, separately provides power supply.Each electric appliance produces electricl energy loss in the standby state in this way.
Currently, earth resource is in short supply, environmental pollution is serious, loss is reduced, energy-saving and emission-reduction are a technical problem to be solved urgently.
For solving the problems, such as that the most fundamental method of the electric energy loss under the standby modes such as electrical equipment is that these electric appliances are thoroughly also electric
Source disconnects.But due to the actual use of apparatus such as computer and the habit problem of people, thoroughly disconnect the power supply of electrical equipment with
Reducing electric energy loss of electric appliance when standby is a technical problem urgently to be resolved in the industry.
Summary of the invention
In view of the above existing problems in the prior art, the present invention provides a kind of major and minor output chain control functional socket, energy
The output electric current that main accessory power outlet is detected by single chip machine controlling circuit, judges its working condition, and then control is connected to secondary defeated
The relay of socket out is realized the power supply mode of main accessory power outlet chain control pair accessory power outlet, is had for secondary accessory power outlet power supply
Effect plays the actual consumption for reducing terminal appliance, saves the waste and loss of the energy, reduces the pollution of environment, promotes user
Life quality, increase the competitiveness of product in market.
To achieve the goals above, the technical solution adopted by the present invention is that:
A kind of major and minor output chain control functional socket, including input plug, main accessory power outlet and secondary accessory power outlet, also
Including transformer rectifier circuit, single chip machine controlling circuit, relay;The input plug respectively with main accessory power outlet, rectifier transformer
Circuit, relay electrical connection, the main accessory power outlet, transformer rectifier circuit are electrically connected with single chip machine controlling circuit respectively again, institute
It states single chip machine controlling circuit and is electrically connected with relay, the relay is electrically connected with secondary accessory power outlet again.
Preferably, the input plug includes plug P1, capacitor C1;The 1st pin of the plug P1 is connected to capacitor
One end of C1, the 2nd pin of plug P1 are connected to the other end of capacitor C1, the 3rd pin ground connection of plug P1.
Preferably, the transformer rectifier circuit include resistance R5, resistance R14, diode D2, diode D3, resistance R7,
Resistance R8, three-terminal regulator chip U2, resistance R13, PNP triode Q2, electrolytic capacitor C3, resistance R15, resistance R11, resistance R12,
Three-terminal regulator chip U3, capacitor C2;The 1st pin of the plug P1 is connected to the 3rd pin of diode D2 by resistance R14,
The 2nd pin of plug P1 is connected to the 3rd pin of diode D3, the 1st pin of the diode D2 and two poles by resistance R5
The 1st pin of pipe D3 is grounded, and the 3rd pin of diode D2 and the 3rd pin of diode D3 meet positive pole VA, and three end is steady
The reference pole of pressure chip U2 is connected to positive pole VA by resistance R7, is grounded by resistance R8, the sun of three-terminal regulator chip U2
The cathode of pole ground connection, three-terminal regulator chip U2 is connected to positive pole VA by resistance R13, and the cathode of three-terminal regulator chip U2 connects
It is connected to the base stage of PNP triode Q2, the emitter of the PNP triode Q2 is connected to positive pole, the current collection of PNP triode Q2
Pole ground connection, the anode of the electrolytic capacitor C3 are connected to positive pole VA, cathode ground connection, and positive pole VA is connected by resistance R15
It is connected to positive pole VB, the reference pole of three-terminal regulator chip U3 is connected to positive pole VB by resistance R11, passes through resistance R12
Ground connection, the plus earth of three-terminal regulator chip U3, the cathode of three-terminal regulator chip U3 are connected to positive pole VB, and the one of capacitor C2
End is connected to positive pole VB, other end ground connection.
Preferably, the single chip machine controlling circuit includes single-chip microcontroller U1, resistance R16, resistance R10, resistance R2, capacitor
C6, Hall current sensor T1, diode D1, resistance R3, resistance R4, electrolytic capacitor C4;
The 1st pin of the single-chip microcontroller U1 is connected to positive pole VB by resistance R2, and is grounded by capacitor C6, Hall
The 3rd pin of current sensor T1 is connected to the 3rd pin of diode D1, the 4th pin of Hall current sensor T1 and two poles
The 1st pin of pipe D1 and one end ground connection of resistance R3, the 2nd pin of diode D1 is connected to the other end of resistance R3, and passes through
Resistance R4 is connected to the anode of the 2nd pin and electrolytic capacitor C4 of single-chip microcontroller U1, and the cathode of electrolytic capacitor is grounded, single-chip microcontroller U1's
4th pin ground connection, the 7th foot of single-chip microcontroller U1 is connected to positive pole VB by resistance R16, and is grounded by resistance R10, monolithic
The 8th pin of machine U1 is connected to positive pole VB.
Preferably, the main accessory power outlet includes socket P2, and the 1st pin of the socket P2 is connected to the of plug P1
1 pin, the 2nd pin of socket P2 are connected to the 2nd pin of plug P1, socket P2 by the main winding of Hall current sensor T1
The 3rd pin ground connection.
Preferably, the relay include relay LS1, diode D4, N-channel MOS pipe Q1, resistance R1, resistance R6,
Resistance R9, capacitor C5;The 3rd pin of the single-chip microcontroller U1 is connected to the gate pole of N-channel MOS pipe Q1, the N ditch by resistance R6
The gate pole of road metal-oxide-semiconductor Q1 is grounded by resistance R1, and the 5th pin of the relay LS1 and the 3rd pin of diode D4 connect together
It is connected to positive pole, the 4th pin of relay LS1 and the 1st pin of diode D4 are connected to the leakage of N-channel MOS pipe Q1 together
Pole, the source electrode ground connection of N-channel MOS pipe Q1, the 3rd pin of relay LS1 are connected to the 2nd pin of plug P1, relay LS1's
1st pin passes sequentially through resistance R9, capacitor C5 is connected to the 3rd pin of relay LS1.
Preferably, the secondary accessory power outlet includes socket P3, and the 1st pin of the socket P3 is connected to the of plug P1
1 pin, the 3rd pin ground connection of socket P3, the 2nd pin of socket P3 are connected to the 1st pin of relay LS1.
A kind of major and minor output chain control functional socket, including input plug, main accessory power outlet and multiple secondary outputs are inserted
Seat, further includes transformer rectifier circuit, single chip machine controlling circuit, multiple relays;The input plug respectively with main accessory power outlet,
Transformer rectifier circuit electrical connection, the main accessory power outlet, transformer rectifier circuit are electrically connected with single chip machine controlling circuit respectively again,
The single chip machine controlling circuit is electrically connected with the input terminal of multiple relays respectively again, the input terminals of multiple relays again respectively with
Input plug is connected, and the output end of each relay is electrically connected a secondary accessory power outlet again.
Preferably, the input plug includes plug P1, capacitor C1;The 1st pin of the plug P1 is connected to capacitor
One end of C1, the 2nd pin of plug P1 are connected to the other end of capacitor C1, the 3rd pin ground connection of plug P1;The rectifier transformer
Circuit includes resistance R5, resistance R14, diode D2, diode D3, resistance R7, resistance R8, three-terminal regulator chip U2, resistance
R13, PNP triode Q2, electrolytic capacitor C3, resistance R15, resistance R11, resistance R12, three-terminal regulator chip U3, capacitor C2;It is described
The 1st pin of plug P1 is connected to the 3rd pin of diode D2 by resistance R14, and the 2nd pin of plug P1 is connected by resistance R5
It is connected to the 3rd pin of diode D3, the 1st pin of the diode D2 and the 1st pin ground connection of diode D3, diode D2's
The 3rd pin of 3rd pin and diode D3 meet positive pole VA, and the reference pole of the three-terminal regulator chip U2 is connected by resistance R7
It is connected to positive pole VA, is grounded by resistance R8, the cathode of the plus earth of three-terminal regulator chip U2, three-terminal regulator chip U2 is logical
It crosses resistance R13 and is connected to positive pole VA, the cathode of three-terminal regulator chip U2 is connected to the base stage of PNP triode Q2, the PNP
The emitter of triode Q2 is connected to positive pole, and the grounded collector of PNP triode Q2, the anode of the electrolytic capacitor C3 is even
It is connected to positive pole VA, cathode ground connection, positive pole VA is connected to positive pole VB, three-terminal regulator chip U3 by resistance R15
Reference pole positive pole VB is connected to by resistance R11, be grounded by resistance R12, the plus earth of three-terminal regulator chip U3,
The cathode of three-terminal regulator chip U3 is connected to positive pole VB, and one end of capacitor C2 is connected to positive pole VB, other end ground connection.
Preferably, the single chip machine controlling circuit includes single-chip microcontroller U1, resistance R16, resistance R10, resistance R2, capacitor
C6, Hall current sensor T1, diode D1, resistance R3, resistance R4, electrolytic capacitor C4;The 1st pin of the single-chip microcontroller U1 is logical
It crosses resistance R2 and is connected to positive pole VB, and be grounded by capacitor C6, the 3rd pin of Hall current sensor T1 is connected to two poles
One end of the 3rd pin of pipe D1, the 4th pin of Hall current sensor T1 and the 1st pin of diode D1 and resistance R3 ground connection,
The 2nd pin of diode D1 is connected to the other end of resistance R3, and the 2nd pin and electricity of single-chip microcontroller U1 are connected to by resistance R4
The anode of capacitor C4, the cathode ground connection of electrolytic capacitor are solved, the 4th pin of single-chip microcontroller U1 is grounded, and the 7th foot of single-chip microcontroller U1 passes through electricity
Resistance R16 is connected to positive pole VB, and is grounded by resistance R10, and the 8th pin of single-chip microcontroller U1 is connected to positive pole VB;Institute
Stating main accessory power outlet includes socket P2, and the 1st pin of the socket P2 is connected to the 1st pin of plug P1, and the 2nd of socket P2 is drawn
Foot is connected to the 2nd pin of plug P1, the 3rd pin ground connection of socket P2 by the main winding of Hall current sensor T1.
Preferably, relay includes relay LS1, diode D4, N-channel MOS pipe Q1, resistance R1, resistance R6, resistance
R9, capacitor C5;The 3rd pin of the single-chip microcontroller U1 is connected to the gate pole of N-channel MOS pipe Q1, the N-channel by resistance R6
The gate pole of metal-oxide-semiconductor Q1 is grounded by resistance R1, and the 5th pin of the relay LS1 and the 3rd pin of diode D4 connect together
To positive pole, the 4th pin of relay LS1 and the 1st pin of diode D4 are connected to the drain electrode of N-channel MOS pipe Q1 together,
The source electrode of N-channel MOS pipe Q1 is grounded, and the 3rd pin of relay LS1 is connected to the 2nd pin of plug P1, and the 1st of relay LS1 the
Pin passes sequentially through resistance R9, capacitor C5 is connected to the 3rd pin of relay LS1.It is described
Secondary accessory power outlet includes socket P3, and the 1st pin of the socket P3 is connected to the 1st pin of plug P1, socket P3
The 3rd pin ground connection, the 2nd pin of socket P3 is connected to the 1st pin of relay LS1.
The invention has the advantages that:
Compared with the prior device, the present invention detects the output electric current of main accessory power outlet by single chip machine controlling circuit, judgement
Its working condition, then control is connected to the relay of secondary accessory power outlet, for secondary accessory power outlet power supply, realizes that main accessory power outlet connects
The power supply mode of lock control pair accessory power outlet;This socket also has major and minor output chain control in addition to having the function of power distribution
Function, it is vdiverse in function, it is easy to use, the actual consumption of terminal appliance is greatly reduced, the waste and loss of the energy are saved, is dropped
The low pollution of environment promotes the life quality of user, increases the competitiveness of product in market.
Detailed description of the invention
Fig. 1 is the circuit diagram of existing socket;
Fig. 2 is the circuit diagram of the major and minor output chain control functional socket of one kind of the invention;
Fig. 3 is the circuit diagram of the extension of the major and minor output chain control functional socket of one kind of the invention;
Fig. 4 is that (i.e. a kind of novel intelligent battery repairs the electricity of charger to a preferred embodiment of the present invention circuit diagram
Road schematic diagram).
Specific embodiment
The present invention will be further explained below with reference to the attached drawings.
It is the circuit diagram of existing socket as shown in Figure 1.
As shown in Fig. 2, a kind of major and minor output chain control functional socket, including input plug, main accessory power outlet and pair are defeated
Socket out further includes transformer rectifier circuit, single chip machine controlling circuit, relay;Input plug respectively with main accessory power outlet, rectification
Transforming circuit, relay electrical connection, main accessory power outlet, transformer rectifier circuit are electrically connected with single chip machine controlling circuit respectively again, single
Piece machine control circuit is electrically connected with relay again, and relay is electrically connected with secondary accessory power outlet again.
As shown in figure 3, a kind of major and minor output chain control functional socket, including input plug, main accessory power outlet and multiple
Secondary accessory power outlet further includes transformer rectifier circuit, single chip machine controlling circuit, multiple relays;Input plug respectively with main output
Socket, transformer rectifier circuit electrical connection, main accessory power outlet, transformer rectifier circuit are electrically connected with single chip machine controlling circuit respectively again,
Single chip machine controlling circuit is electrically connected with the input terminal of multiple relays respectively again, the input terminals of multiple relays again respectively with input
Plug is connected, and the output end of each relay is electrically connected a secondary accessory power outlet again.Secondary accessory power outlet can have it is multiple, this
Sample can meet the demand for connecting a variety of different electrical equipments, preferably convenient to use, promote the life quality of user, increase
Add the competitiveness of product in market.
As shown in Figure 2, Figure 4 shows, input plug includes plug P1, capacitor C1;The 1st pin of plug P1 is connected to capacitor C1's
One end, the 2nd pin of plug P1 are connected to the other end of capacitor C1, the 3rd pin ground connection of plug P1.
Transformer rectifier circuit includes that resistance R5, resistance R14, diode D2, diode D3, resistance R7, resistance R8, three ends are steady
Press chip U2, resistance R13, PNP triode Q2, electrolytic capacitor C3, resistance R15, resistance R11, resistance R12, three-terminal regulator chip
U3, capacitor C2;The 1st pin of plug P1 is connected to the 3rd pin of diode D2 by resistance R14, and the 2nd pin of plug P1 is logical
Cross the 3rd pin that resistance R5 is connected to diode D3, the 1st pin of diode D2 and the 1st pin ground connection of diode D3, two poles
The 3rd pin of pipe D2 and the 3rd pin of diode D3 meet positive pole VA, and the reference pole of three-terminal regulator chip U2 passes through resistance R7
It is connected to positive pole VA, is grounded by resistance R8, the plus earth of three-terminal regulator chip U2, the cathode of three-terminal regulator chip U2
It is connected to positive pole VA by resistance R13, the cathode of three-terminal regulator chip U2 is connected to the base stage of PNP triode Q2, PNP tri-
The emitter of pole pipe Q2 is connected to positive pole, and the anode of the grounded collector of PNP triode Q2, electrolytic capacitor C3 is connected to electricity
Source anode VA, cathode ground connection, positive pole VA are connected to positive pole VB, the reference of three-terminal regulator chip U3 by resistance R15
Pole is connected to positive pole VB by resistance R11, is grounded by resistance R12, the plus earth of three-terminal regulator chip U3, and three ends are steady
The cathode of pressure chip U3 is connected to positive pole VB, and one end of capacitor C2 is connected to positive pole VB, other end ground connection.
Single chip machine controlling circuit includes single-chip microcontroller U1, resistance R16, resistance R10, resistance R2, capacitor C6, Hall current sensing
Device T1, diode D1, resistance R3, resistance R4, electrolytic capacitor C4;The 1st pin of single-chip microcontroller U1 is connected to power supply by resistance R2
Positive VB, and be grounded by capacitor C6, the 3rd pin of Hall current sensor T1 is connected to the 3rd pin of diode D1, Hall
One end of the 4th pin of current sensor T1 and the 1st pin of diode D1 and resistance R3 ground connection, the 2nd pin of diode D1
It is connected to the other end of resistance R3, and is connected to by resistance R4 the anode of the 2nd pin and electrolytic capacitor C4 of single-chip microcontroller U1, electricity
The cathode ground connection of capacitor, the 4th pin ground connection of single-chip microcontroller U1 are solved, the 7th foot of single-chip microcontroller U1 is being connected to power supply just by resistance R16
Pole VB, and be grounded by resistance R10, the 8th pin of single-chip microcontroller U1 is connected to positive pole VB.
Main accessory power outlet includes socket P2, and the 1st pin of socket P2 is connected to the 1st pin of plug P1, and the 2nd of socket P2 the
Pin is connected to the 2nd pin of plug P1, the 3rd pin ground connection of socket P2 by the main winding of Hall current sensor T1.
Relay includes relay LS1, diode D4, N-channel MOS pipe Q1, resistance R1, resistance R6, resistance R9, capacitor
C5;The 3rd pin of single-chip microcontroller U1 is connected to the gate pole of N-channel MOS pipe Q1 by resistance R6, and the gate pole of N-channel MOS pipe Q1 passes through
Resistance R1 ground connection, the 5th pin of relay LS1 and the 3rd pin of diode D4 are connected to positive pole, relay LS1 together
The 4th pin and the 1st pin of diode D4 be connected to the drain electrode of N-channel MOS pipe Q1 together, the source electrode of N-channel MOS pipe Q1 connects
Ground, the 3rd pin of relay LS1 are connected to the 2nd pin of plug P1, the 1st pin of relay LS1 pass sequentially through resistance R9,
Capacitor C5 is connected to the 3rd pin of relay LS1.
Secondary accessory power outlet includes socket P3, and the 1st pin of socket P3 is connected to the 1st pin of plug P1, and the 3rd of socket P3 the
Pin ground connection, the 2nd pin of socket P3 are connected to the 1st pin of relay LS1.
Working principle:
Diode D2 and diode D3 play rectified action, and alternating voltage is changed into DC voltage, after by three-terminal voltage-stabilizing
Chip U2 and triode Q2 and other resistance capacitances etc., voltage is changed into VA value, and (this voltage range is 12-48V, according to relay work
Depending on making voltage), voltage on the one hand is provided for relay work, on the other hand passes through three-terminal regulator chip U3 and other resistance electricity
Hold etc., voltage VA is changed into voltage VB value (this voltage range is 3-5V, depending on single-chip microcontroller operating voltage) again, is single-chip microcontroller
Work provides voltage;This conversion potential circuit is simple and practical, low in cost.
Input plug P1 is connect by Hall current sensor T1 with main accessory power outlet P2 corresponding pin, and passes through relay
LS1 is connect with secondary accessory power outlet P3 corresponding pin;Hall current sensor T1 is used to detect the operating current of main accessory power outlet P2,
Relay LS1 is used to control the working condition of secondary accessory power outlet P3.
The electric current of the primary side of Hall current sensor T1 is flowed through, electromagnetic induction passes through to Hall current sensor T1 pair side
After diode D1 rectification, voltage is formed on resistance R3, after the filtering of resistance R4 and electrolytic capacitor C4, is connected to single-chip microcontroller
The 2nd pin of U1, passes through ADC Function detection to voltage value;This voltage value and current current value are correspondingly, to can be used for
Judge the working condition for the electrical equipment that main accessory power outlet P2 is connected to.
When the electrical equipment work that main accessory power outlet P2 is connected to, current value increases, thus the voltage of monolithic machine testing
Value is also corresponding to be increased, when voltage value is greater than the set value, it is believed that the electrical equipment that main accessory power outlet P2 is connected to has begun
Work, at this moment the 3rd pin of single-chip microcontroller U1 exports high level, opens relay, makes the 1st pin and the 3rd pin of relay LS1
Connection, the electrical equipment that secondary accessory power outlet P3 is connected to it start to power;In this way, being achieved that the main chain control of accessory power outlet P2
Make the function that pair accessory power outlet P3 is opened.
When the electrical equipment that main accessory power outlet P2 is connected to stops working, current value reduces, thus monolithic machine testing
Voltage value also reduces accordingly, when voltage value is less than setting value, it is believed that the electrical equipment that main accessory power outlet P2 is connected to is
It stops working or enters standby mode, at this moment the 3rd pin of single-chip microcontroller U1 exports low level, closes relay, makes relay LS1
The 1st pin and the 3rd pin disconnect, electrical equipment that secondary accessory power outlet P3 is connected to it stops power supply;In this way, just realizing master
The function that accessory power outlet P2 chain control pair accessory power outlet P3 is closed.
After detecting the electrical equipment closing that main accessory power outlet P2 is connected to, secondary accessory power outlet P3 is prevented to be connected to
There is abnormal phenomenon in electrical equipment, after several seconds time that needs to be delayed, turns off the electrical equipment that secondary accessory power outlet P3 is connected to, and rises
The time that data are saved to protection electrical equipment or to electrical equipment, accomplish humanized processing.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.