CN206922114U - A kind of electrical source socket and its electric operation control circuit figure - Google Patents

A kind of electrical source socket and its electric operation control circuit figure Download PDF

Info

Publication number
CN206922114U
CN206922114U CN201720383031.9U CN201720383031U CN206922114U CN 206922114 U CN206922114 U CN 206922114U CN 201720383031 U CN201720383031 U CN 201720383031U CN 206922114 U CN206922114 U CN 206922114U
Authority
CN
China
Prior art keywords
socket
infrared
microcontroller
switch
relay
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
CN201720383031.9U
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201720383031.9U priority Critical patent/CN206922114U/en
Application granted granted Critical
Publication of CN206922114U publication Critical patent/CN206922114U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Switches Operated By Changes In Physical Conditions (AREA)

Abstract

It the utility model is related to a kind of electrical source socket and its control circuit.The power socket control circuit includes at least one socket position, and each socket position includes at least one socket, it is characterised in that the power socket control circuit includes:Each socket is corresponding with two infrared sensing switch, for sensing in respective socket whether insert plug;Relay corresponding with each socket respectively, for controlling the connecting and disconnecting between respective socket and power supply;Controlling switch corresponding with each relay respectively, for controlling corresponding relay connecting and disconnecting;One microcontroller, determine whether that plug inserts for the conducting according to the infrared sensing switch and cut-off state, if it is determined that have, the controlling switch of relay corresponding to connection, otherwise disconnect.Because the reaction speed of microcontroller is faster more accurate, the security performance of product is thus lifted.

Description

A kind of electrical source socket and its electric operation control circuit figure
【Technical field】
It the utility model is related to electroporation field, more particularly to a kind of electrical source socket and its control circuit.
【Background technology】
Electric power is the indispensable energy in modern's daily life.But because it can cause greatly to damage to human body Wound, or even life is deprived, therefore, we generally set some safety prevention measures on electricity getting device.
It is inevitable also to can't do without this kind of protector as the electrical source socket of one of most commonly seen electricity getting device.
For example, in order to prevent from getting an electric shock in the finger of finger, particularly child, or metal object insertion socket, meeting Plastic retainer sheet is installed in the opening of the jack of electrical source socket, releasing catch using spring seals jack.In this way, security Although increasing, but cause normal plug insertion difficult, or even can be easily caused all the better because of undue force tactile Electricity.
And for example:In order to prevent the body leakage caused by the reasons such as apparatus failure, earth leakage protective device is installed additional.When leaking electricity During accident, earth leakage protective device is cut off the electricity supply immediately.But this, which belongs to, protects afterwards, still there can be certain danger to user Or injury.
In addition, also a kind of electrical source socket, metal objects are inserted without plug insertion or only one of which jack When, its internal copper sheet is disconnected with power supply, not charged.But when two jacks are all inserted into metal objects respectively, the power supply is inserted Base device can switch on power;It is when attaching plug inserts socket in other words, when being inserted into half, the electrical source socket It can switch on power.Therefore, still there can be the risk that electric shock accidents occurs.
【Utility model content】
The technical problems to be solved in the utility model is to provide a kind of power outlet for possessing more reliable electroshock-proof function Device and its control circuit.
In order to solve the above technical problems, the utility model provides following technical scheme:
On the one hand, the utility model provides a kind of electrical source socket, and the electrical source socket includes at least one socket Position, each socket position comprise at least a socket, and each socket position includes:Base;Circuit board, it is installed on the base;The electricity Road plate is provided with least one socket;Each socket includes multiple sleeves and sleeve fixed mount;The sleeve is used for and insertion Plug realizes electrical connection;The sleeve fixed mount, which is fixed on the circuit board and is sheathed on outside the sleeve, to be used to fix the sleeve; Socket lid, it is covered on the base, the circuit board is placed in the accommodation space formed between the base and the socket lid;Its In, the circuit board also includes:Each socket is corresponding with two infrared sensing switch, and the infrared sensing switch is arranged on circuit board Position corresponding with the sleeve of the socket;Respectively relay corresponding with each socket and for control each relay connect with The controlling switch of disconnection;And a microcontroller, for according to the conducting of infrared sensing switch and cut-off state in the socket Determine whether the controlling switch of relay corresponding to connecting;The relay, for controlling the connection between respective socket and power supply With disconnection.
On the other hand, the utility model provides a kind of power socket control circuit, and the power outlet includes at least one insert Seat, each socket position include at least one socket, it is characterised in that the power socket control circuit includes:Each socket pair There should be two infrared sensing switch, for sensing in respective socket whether insert plug;Relay corresponding with each socket respectively Device, for controlling the connecting and disconnecting between respective socket and power supply;Controlling switch corresponding with each relay respectively, is used for The corresponding relay connecting and disconnecting of control;One microcontroller, for the conducting according to the infrared sensing switch and cut-off state Determine whether that plug inserts, if it is determined that have, the controlling switch of relay corresponding to connection, otherwise disconnect.
The beneficial effects of the utility model are:Sensed in specific embodiment party of the present utility model using infrared sensing switch Whether have plug insertion socket, when the information that microcontroller detects according to infrared sensing switch determines connect respective socket after Electrical equipment, make the socket power taking, because the reaction speed of microcontroller is faster more accurate, thus lift the security performance of product.
【Brief description of the drawings】
A kind of exploded perspective view of the embodiment one of electrical source socket of Fig. 1 the utility model;
A kind of assembling stereogram of the embodiment one of electrical source socket of Fig. 2 the utility model;
The schematic diagram of plug is inserted in a kind of embodiment one of electrical source socket of Fig. 3 the utility model;
Microprocessor control infrared induction is opened in a kind of embodiment one of electrical source socket of Fig. 4 the utility model The circuit theory diagrams of the controlling switch of pass and relay;
The circuit of one group of infrared sensing switch in a kind of embodiment one of electrical source socket of Fig. 5 the utility model Schematic diagram;
The control circuit of a relay is former in a kind of embodiment one of electrical source socket of Fig. 6 the utility model Reason figure;
A kind of arteries and veins of the microprocessor control output end of the embodiment one of electrical source socket of Fig. 7 the utility model Rush schematic diagram;
A kind of three-dimensional assembly diagram of the embodiment two of electrical source socket of Fig. 8 the utility model;
Microprocessor control infrared induction is opened in a kind of embodiment two of electrical source socket of Fig. 9 the utility model The circuit theory diagrams of the controlling switch of pass and relay;
A kind of microprocessor control output end of the embodiment two of electrical source socket of Figure 10 the utility model Pulse schematic diagram;
A kind of schematic block circuit diagram of the embodiment three of electrical source socket of Figure 11 the utility model.
Reference:
【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 this Utility model, it is not used to limit the utility model.
As long as in addition, technical characteristic involved in each embodiment of the utility model disclosed below each other it Between do not form conflict can be mutually combined.
It refer to Fig. 1 and Fig. 2, a kind of stereogram of the embodiment one of electrical source socket of the utility model.Should Electrical source socket embodiment one includes:
Base 10;
Circuit board 20, it is installed on the base 10;
Socket lid 40, be covered on the base 10, the circuit board 20 be placed in the base 10 and the socket lid 40 it Between the accommodation space that is formed.Present embodiment one includes a socket position, and the socket position is 5 mouthfuls of sockets, as example The technical solution of the utility model is described, but specifically embodiment one of the present utility model is not limited to use and existed On 5 mouthfuls of socket position.
Wherein, the circuit board 20 includes:Infrared sensing switch 21, sleeve fixed mount 22, sleeve 23, relay 26 and micro- The (not shown in figure 1) of controller 27.The sleeve fixed mount 22 is fixed on the circuit board 20, and is sheathed on the outside of sleeve 23 and is used In fixing the sleeve 23, the sleeve fixed mount 22 is made up of insulating materials.Wherein, infrared sensing switch 21 is for detecting whether have Object is inserted into sleeve 23, actually in addition to infrared sensing switch, can also use other detection devices, such as fine motion Switch, Hall switch etc..
Wrapped in specific embodiment of the present utility model using being illustrated exemplified by 5 mouthfuls of sockets on a socket position Include two mouthfuls of sockets and three mouthfuls of sockets.Therefore, there are 5 sleeves 23 on each socket, correspond to 5 sockets respectively.Wherein, Bipod socket needs all to detect two of which pin, three-pin socket only need to one of live wire (L) pin and One zero line (N) pin is detected.Therefore, 4 pairs of infrared sensing switch are at least set in one 5 mouthfuls of socket position 21.The relay 26 includes a three pin jack relays 261 and a bipod jack relay 262;Three pin jack relays 261 connecting and disconnecting between power supply for controlling three-pin socket;Bipod socket 262 is used to control bipod socket and power supply Between connecting and disconnecting.
Optimization, it can also be set on the circuit board 20:Whether safety monitoring switch 24, socket is inserted into for test plug Bottom.Safety detection switch 24 includes a head 241, afterbody 242 and an elastic component 243.The head 241 is arranged in Outside socket lid 40, the afterbody 242 is placed in inside the socket lid 40, and the elastic component 243 is sheathed on outside the afterbody, the set If the afterbody 242 of elastic component 243 is inserted in the safety switch fixing hole 221 in sleeve fixed mount 22, when being exposed to socket cover When head 24 outside son 40 is pressed downwardly by external force, the elastic component 243 provides screen resilience.Meanwhile with being somebody's turn to do on circuit board Position corresponding to the afterbody 242 of safety detection switch 24, is provided with an infrared sensing switch 21;21 are being switched when safety detection When being pressed, afterbody 242 can be inserted between the infrared transmitting tube 211 and infrared receiving tube 212 of infrared detection switch 21.Then, this When one 5 mouthfuls of socket position in should include 5 pairs of infrared sensing switch 21.
Optimization, it can also be set on the circuit board 20:Indicator lamp 25, including a three-pin socket indicator lamp 251 and One bipod socket indicator lamp 252, three-pin socket indicator lamp 251 are used to show whether three-pin socket switches on power, bipod socket Indicator lamp 252 is used to show whether bipod socket switches on power, and the indicator lamp 25 is connected in parallel with corresponding relay 26 (schemes not Show).
Continuing with reference to Fig. 3, plug insertion is slotting in a kind of embodiment one of electrical source socket of the utility model During seat, the position relationship schematic diagram between the position of plug base pin and infrared sensing switch 21.Wherein, every a pair of infrared inductions are opened Closing 21 all includes an infrared transmitting tube 211 and an infrared receiving tube 212.Infrared transmitting tube 211 and infrared receiving tube 212 The inner side of a sleeve 23 is arranged at, and it is staggered relatively.When plug 90 inserts the socket, the insertion of pin 91 of the plug 90 should Between infrared transmitting tube 211 and an infrared receiving tube 212, now, then infrared receiving tube 212 does not receive infrared transmitting tube 211 infrared rays sent.
Also referring to Fig. 4 and Fig. 5, microcontroller in a kind of embodiment one of electrical source socket of the utility model Device controls the circuit theory diagrams of infrared sensing switch.
Due to multiple infrared transmitting tubes 211, infrared receiving tube 212 occurring in the circuit diagram, for the ease of statement pair It should be related to, infrared transmitting tube 211 is numbered for we, and its numbering is D1 and D2.Wherein, D1 include be connected in parallel two it is red Outer transmitting tube D1-1, D1-2;D2 includes two infrared transmitting tubes D2-1 and D2-2 being connected in parallel.Infrared receiving tube 212 enters Line number is that its numbering is Q1-1, Q1-2, Q2-1 and Q2-2.Wherein, D1-1 and D1-2 is distributed across same socket (three Pin socket or bipod socket) in infrared transmitting tube;Likewise, D2-1 and D2-2 are distributed across another socket, (bipod is inserted Seat or three-pin socket) in infrared transmitting tube.
Wherein, two infrared transmitting tubes in same socket are connected in parallel between two output ends of microcontroller 27, But two infrared transmitting tubes for being connected in parallel respectively corresponding to infrared receiving tube, then be connected to different defeated of the microcontroller Enter between end and ground.
Specifically, as shown in figure 5, infrared transmitting tube D1-1 and D1-2 are connected in parallel in the output end P1.0 of microcontroller 27 The input P1.6 and ground of microcontroller 27 are then arranged at P1.1, infrared receiving tube Q1-1 corresponding with infrared transmitting tube D1-1 Between;Infrared receiving tube Q1-2 corresponding with infrared transmitting tube D1-2 be then arranged at another input P1.5 of microcontroller 27 with Between ground.
Likewise, infrared transmitting tube D2-1 and D2-2 are connected in parallel in the output end P1.0 and P1.2 of microcontroller 27.With Infrared receiving tube Q2-1 is then arranged between the input P1.6 of microcontroller 27 and ground corresponding to infrared transmitting tube D2-1;With it is red Infrared receiving tube Q2-2 corresponding to outer transmitting tube D2-2 is then arranged between another input P1.5 of microcontroller 27 and ground.D3 Connected mode as shown in figure, principle is identical similarly, then repeats no more.
Please continue to refer to Fig. 6, its for one in a kind of embodiment one of electrical source socket of the utility model after The control principle drawing of electrical equipment.
Likewise, due to more than one relay 26, therefore we are also also carried out to controlling switch E corresponding to relay 26 Numbering.It is a socket position in present embodiment one, then has two sockets, therefore controlling switch corresponding to relay 26 E numbering is followed successively by E1 and E2.
It is visible in Fig. 4, the controlling switch E1 and E2 of the control output end control relay 26 of microcontroller 27 cut-off And conducting.That is, when microcontroller 27 determines to have plug insertion socket according to the infrared sensing switch of conducting, then controller 27 Control output end controls controlling switch corresponding to the infrared sensing switch to turn on;Conversely, then control its disconnection.Optimization, micro-control Device 27 processed determines whether turn on the infrared sensing switch according to the infrared sensing switch and default security mechanism of conducting Corresponding controlling switch E1 or E2.Specifically, the security mechanism includes:The ON time of the infrared sensing switch is in preset range Within just turn on controlling switch corresponding to the infrared sensing switch, such as 0.1 second;Or plug leaves more than socket certain distance, Also it can disconnect or be not turned on controlling switch corresponding to the infrared sensing switch;Or if conducting infrared sensing switch not In same socket, then corresponding relay will not be connected.On the particular content and implementation of security mechanism, under Text, which has, to be elaborated.
Specifically, as shown in fig. 6, controlling switch E1 is connected between the P1.1 and P1.2 of microcontroller 27.In figure 6 may be used To see, relay K1 and switch E11 are connected in series between power supply and ground, and controlling switch E1 then controls switch E11's Unlatching is led to road.That is, between controlling switch E1 is connected to 27 two output ends of microcontroller when exceeding certain threshold value, i.e., When P1.2 is high level, P1.1 is low level, controlling switch E1 conductings, so that switch E11 also reaches the threshold value of conducting, So that relay K1 is powered, finally socket corresponding with relay K1 is powered.Wherein, controlling switch E1 and switch E1 may each be the electron transistor with switching function such as triode or metal-oxide-semiconductor and form.
Optimization, a LED1 can also be connected in parallel with relay K1, be powered successful indicator lamp as the socket 25。
It refer to Fig. 7, the pulse pattern schematic diagram of the output end of microcontroller 27 in present embodiment one.
P1.1, P1.2, P1.0 export high level in succession.When P1.1 exports high level, P1.2 is arranged to high-impedance state, then Infrared transmitting tube D1-1 and D1-2 are lit transmitting infrared ray, now, if respectively corresponding infrared receiving tube Q1-1 with Q1-2 have received infrared ray, then infrared receiving tube Q1-1 turns on ground connection with Q1-2, then the input P1.5 of microcontroller 27 with P1.6 turns into low level, and then control output end controls relay corresponding to the infrared sensing switch to connect to microcontroller 27;If this When the socket on insert plug, then infrared receiving tube Q1-1 and Q1-2 do not receive infrared ray, then are still in cut-off state, That is, the input P1.5 and P1.6 of microcontroller 27 is still high level, then then control output end controls this infrared to microcontroller 27 Relay is off corresponding to inductive switch.That is, microcontroller 27 connects according to the infrared of the infrared inductive switch Closed tube Q1-1 and Q1-2 state, relay corresponding to control are open or closed.As it was previously stated, microcontroller 27 can also increase The judgement of security mechanism, come the state for determining the disconnection of control relay with connecting.Wherein, high-impedance state is the defeated of microprocessor 27 Go out a kind of different output state at end, neither high level, nor low level, it equivalent to the output for disconnecting P1.2, so as to The operation of whole sequential is not interfered with.It is that can support this output state of high-impedance state in current existing microprocessor 's.
Optimization, as it was previously stated, a safety detection switch 24 can also be set on the circuit board 20, likewise, its is right The infrared transmitting tube D3-1 answered, infrared receiving tube Q3-1.As aforementioned principles, infrared transmitting tube D3-1 is connected to microcontroller Between two output ends of device 27.Microcontroller 27 drives infrared transmitting tube D3-1 transmitting infrared rays, as infrared receiving tube Q3-1 In the conduction state when can receive infrared ray, its corresponding output of microcontroller 27 is in low level state;When infrared When reception pipe Q3-1 can not receive infrared ray, in cut-off state, its corresponding output of microcontroller 27 is in high level State.Infrared detection in sleeve of the microcontroller 27 by detecting the socket simultaneously switchs and switchs 24 with the safety detection The on or off situation of corresponding infrared detection switch, to determine whether to open the relay of respective socket.Thus, even if socket Jack in insert metal objects simultaneously, but because it is not normal plug, centre will not switch safety detection 24 pressures Go down, then the relay of the socket does not turn on yet, in fact, if it is desired to inserting metal object respectively in two pins of socket Part, the same time, and the probability that safety detection switch 24 is also subdued is minimum, and difficulty is also very big.Simultaneously as this is examined safely The head 241 of slowdown monitoring switch 24 is very short and small, as we can be set to 2 millimeters of length, that is to say, that when the bottom surface of plug After 92 leave 2 millimeters of socket (as shown in Figure 3), safety detection switch 24 just pops up, the afterbody of safety detection switch 24 242 just eject from corresponding sleeve, and the infrared receiver switch in the sleeve then turns on, and microcontroller 27 disconnects the safety detection Relay 26 corresponding to switch 24, so, as long as more than 2 millimeters from socket of plug 90, socket with regard to no power, 2 millimeters away from From human hand is inserted not enter, so as to ensure the Electrical Safety of user.Thus, the safety of the socket is further improved Property.By safety detection switch 24 come controller plug when apart from socket certain distance, disconnecting the relay of socket, be allowed to can not Power supply, this is one of security mechanism.
Optimization, microcontroller 27 can also judge whether two infrared detection switches simultaneously turn in socket and bush, or Person conducting time difference whether within a default threshold value, such as 0.1 second, if it is, microcontroller 27 determine insertion It is normal plug, controls relay conducting corresponding with the socket;If it is not, then be defined as improper insertion, it is not turned on pair The relay answered.Trigger electric shock accidents in this way, a metal device can be reduced and be inserted respectively into the jack of socket.Certainly, such as The fruit socket position also includes a safety detection and switchs 24, then microcontroller 27 need to judge that two infrared detections are opened in socket and bush Close and the safety detection switchs whether infrared detection switch corresponding to 24 simultaneously turns on, or whether the time difference turned on is one Within individual default threshold value.By microcontroller 27 judge infrared sensing switch ON time whether the default time difference it Interior, just connecting within the default time difference, this is the two of security mechanism.
Optimization, whether the infrared sensing switch that microcontroller 27 can also judge to simultaneously turn on is peace in a socket Full inductive switch, if it is, relay corresponding to connecting;If it is not, then disconnect corresponding relay.And turn on red Whether outer inductive switch is in same socket, and the mapping relations between infrared sensing switch and relay, and being all can be with It is default in the programming process of circuit design process and microcontroller 27, as those skilled in the art according to this practicality What the scheme that new embodiment provides can be achieved on, specific embodiment of the present utility model does not repeat.This is, The three of security mechanism.
In specific embodiment of the present utility model one, microcontroller has been used critically detect and control, every Inside individual supply hub, infrared sensing switch, and each socket position are assembled with, is assembled with independent electromagnetic relay As switching on and off for control power supply.In the state of plug is not inserted into, all relays are all the states disconnected, are owned Supply hub in copper sheet all disconnected with power supply, be uncharged;It is internal infrared when inserting regular plug Inductive switch senses the insertion of plug, to microcontroller send signal, microcontroller according to receive signal and safety rule Then judged, it is determined that being after inserting regular plug, then relay corresponding to control is to turn on, there is provided power supply.Thus, pole The big security performance for improving the electrical source socket.
It refer to Fig. 8, a kind of three-dimensional assembly diagram of the embodiment two of electrical source socket of the utility model.Specifically In embodiment two, the electrical source socket includes multiple socket positions, as illustrated, in embodiment two, we will With 4 socket positions, each socket position is illustrated exemplified by 5 mouthfuls of sockets.It is the same as those described above, wherein each 5 mouthfuls of sockets include one Individual Three-hole socket and two spring hole scokets.Present embodiment two by with include the power outlet of Safe control switch 24 fill Example is set to illustrate.As it was previously stated, then each socket position needs 5 pairs of infrared sensing switch, one shares 4 socket positions, then micro- Controller 27 needs to control 20 pairs of infrared sensing switch altogether.
The socket of other digits, it can be deduced according to the principle of the design of the concrete mode two.
Continuing with reference to Fig. 9, a kind of microcontroller control of the embodiment two of electrical source socket of the utility model The circuit theory diagrams of infrared sensing switch and relay processed.
The mode that embodiment two employs matrix arrangement and scanned one by one is entered to some infrared sensing switch 21 Row control.Because quantity is various, description for convenience illustrates, in the specific embodiment two, still needs to each infrared transmitting tube 211st, infrared receiving tube 212, relay 26 are numbered.
Specifically, the numbering of infrared transmitting tube 211 is followed successively by:D1-1, D1-2, D2-1, D2-2, D3-1, D3-2 ... D10-1, D10-2, wherein, D1-1 and D1-2 are in a socket, and D2-1 and D2-2 are in a socket, by that analogy, Until D10-1 and D10-2 is in a socket.Wherein, two infrared transmitting tube compositions being connected in parallel in the same direction are one group infrared Transmitting tube, such as D1-1, D1-2 are connected in parallel composition D1 group infrared transmitting tubes in the same direction, the like, D10-1 and D10-2 are in the same direction simultaneously Connection connection composition D10 group infrared transmitting tubes.Some infrared transmitting tubes form infrared transmitting tube matrix.
The numbering of infrared receiving tube 212 is followed successively by:Q1-1, Q1-2, Q2-1, Q2-2, Q3-1, Q3-2 ... Q10-1, Q10- 2, wherein, Q1-1 and D1-1 is a pair of infrared sensing switch 21, is provided in a sleeve 23;Q1-2 and D1-2 is one Right, Q2-1 and D2-1 is a pair, by that analogy, until Q10-2 and D10-2 is a pair.Some infrared receiving tube compositions are infrared Reception pipe matrix.
Each socket corresponds to a relay 26 respectively, then 8 relays, relay 26 are needed in present embodiment two Numbering be followed successively by K1, K2, K3 ... K8.Each relay K1, K2, K3 ... K8 correspond to controlling switch E1, an E2 respectively, E3……E8.Some controlling switches constitute controlling switch matrix.Controlling switch E1, E2, E3 ... the E8 of relay 26 with Mapping relations between infrared receiving tube Q1-1, Q1-2, Q2-1, Q2-2, Q3-1, Q3-2 ... Q10-1, Q10-2, can basis The actual state of circuit is preset in microcontroller 27.
Microcontroller 27 then controls above-mentioned infrared induction to open using N number of (N is greater than the natural number equal to 2) control output end Close.Each control output end is connected in parallel two groups of infrared sensing switch between other N-1 control output end respectively, and It is reverse between this two groups of infrared transmitting tubes consequently, it is possible to which N number of control output end can essentially control N* (N-1) groups infrared Inductive switch, i.e. 2N* (N-1) individual infrared sensing switch.
Such as:N is equal to 4, then at most can control 24 infrared sensing switch.And in present embodiment two, then use 4 control output end P1.0, P1.1, P1.2, P1.3 control 10 groups of infrared sensing switch.
On the basis of the above, if being further added by a control output end, N* (N+1) group switches can be controlled, you can more controls 2N groups switch processed.And one group of the controlling switch of a relay i.e. only electronic switch.Therefore, in present embodiment two Due to there are 8 relays, on the premise of above-mentioned infrared sensing switch matrix, increase an output control terminal P1.4 more. The N+1 defeated ends control two relay switches, the two relay switches with the 1st to n-th control output end respectively It is Opposite direction connection in parallel, and both positive and negative polarity is in opposite direction.As connected two controlling switches E1 and E5 between P1.4 and P1.0, when P1.4 high level, during P1.0 low levels, E1 conductings;On the contrary then E5 is turned on;Similarly, in parallel between P1.4 and P1.1 and Opposite direction connection E2 and E6;In parallel and Opposite direction connection E3 and E7 between P1.4 and P1.2;In parallel and Opposite direction connection E4 between P1.4 and P1.3 And E8.It is specific as shown in Figure 9.
It follows that each control output end can be connected in parallel two groups between other N-1 control output end respectively Reverse infrared transmitting tube, either two reverse controlling switches or mutually opposing infrared sensing switch and one Controlling switch.
It is understood that in above-mentioned matrix, infrared transmitting tube Q1-1 to Q10-2 distributing order and relay Controlling switch K1 to K8 distributing order, above-mentioned embodiment two have been merely given as one of which, and in fact, its order It is that can arbitrarily be arranged in the matrix according to the demand of circuit designers.Only need to ensure, set in microcontroller 27 Mapping relations and actual circuit between infrared sensing switch Q and controlling switch E are consistent.
During work, microcontroller 27 drives the infrared transmitting tube in infrared emission matrix D successively by way of scanning 211, only driving one of which infrared transmitting tube sends infrared ray every time.And the controlling switch E1 to E8 of relay, then be The control output end corresponding to control after judging of microcontroller 27 is connected.
It refer to the pulse schematic diagram of the control output end of the microcontroller 27 shown in Figure 10.Specifically, as first driven D1 Group infrared transmitting tube D1-1 and D1-2 light, send infrared light, now the infrared transmitting tube of other D2~D10 groups all in OFF state.When infrared transmitting tube D1-1 and D1-2 is lighted, if in sleeve corresponding with D1-2 with infrared transmitting tube D1-1 There is no object insertion, then infrared receiving tube Q1-1 and Q1-2 is both turned on, and two inputs P1.5 and P1.6 of microcontroller 27 are It is low level;If object, such as plug are inserted simultaneously in infrared transmitting tube D1-1 sleeves corresponding with D1-2, then microcontroller 27 two inputs P1.5 and P1.6 are high level, now, if microcontroller 27 is according to infrared receiving tube Q1-1 and Q1- 2 state and/or corresponding security mechanism, it is determined that determining there is plug insertion in socket corresponding to D1 group infrared transmitting tubes, then drive Relay K1 conductings corresponding to dynamic D1 group infrared transmitting tubes, i.e., as described in Figure 10, P1.4 output high level, P.10 export low electricity Flat, P1.1, P1.2 and P1.3 are arranged to high-impedance state output, and dotted portion is expressed as high-impedance state output in Figure 10, then controls E1 conductings are switched, so as to which relay K1 switches on power, socket can be with power taking corresponding to relay K1.
As described above, microcontroller 27 is lighted in next Timing driver D2 group infrared transmitting tube D2-1 and D2-2, equally , only when being inserted with object simultaneously in sleeve corresponding to this group of infrared transmitting tube, microcontroller 27 can just drive the infrared hairs of D2 Penetrate relay 26 corresponding to pipe to turn on, carry out power taking.
So order driving D3 group infrared transmitting tubes, D4 group infrared transmitting tubes, directly by every group of infrared transmitting tube in circuit And controlling switch all drives unlatching once.Then, that goes round and begins again drives since D1 group infrared transmitting tubes again.
In specific embodiment of the present utility model two, the electrical source socket possesses multiple socket positions, and required is red Outer inductive switch is more, to save the output end of microcontroller and reducing the wiring of circuit board, is arranged using matrix form infrared Emission switch, and with the mode scanned one by one, successively and monitor full time whether have plug insertion in each socket, only Having when it is determined that there is plug insertion, can just connect the power supply of corresponding jack.It is possible thereby to less microprocessor control output Can is held to control more infrared sensing switch, and the microcontroller that control output end is less, price are also relatively cheap, simultaneously Also the wiring of circuit board can be greatly reduced, reduce the area of circuit board, so as on the premise of product safety performance is ensured, Product cost is saved, reduces small product size.
In the utility model embodiment two, when there are multiple socket positions, the connected mode of matrix form is employed, by One microcontroller 27 controls the conducting and shut-off of the infrared sensing switch and relay in socket all on socket device, 4 infrared sensing switch or 2 relay switches, each control of microcontroller 27 can be controlled between each two control output end The regular high or low level of output of output end so that the infrared induction that the microcontroller can be lighted in each socket one by one is opened Close, i.e. the infrared sensing switch in each socket is lighted in a manner of scanning.And according to the state of infrared sensing switch and/or Other security mechanisms, it is determined whether relay switch corresponding to conducting.Wherein, the safe machine mentioned in present embodiment two System is identical with embodiment one, just no longer repeats one by one herein.
It refer to Figure 11, a kind of schematic block circuit diagram of the embodiment three of electrical source socket of the utility model. Embodiment three is that the electrical source socket not only includes with the foregoing difference of embodiment one or two: Beyond microcontroller 27, infrared emission matrix D, infrared receiver matrix Q and relay matrix K, in addition to:
Power detection chip 50, detected for the continual electric current in whole electrical source socket, and will inspection Survey obtained information and be sent to the microcontroller;The information that then microcontroller is sent according to the power detection chip determines to work as Preceding power is the controlling switch for disconnecting all relays more than preset value.Because being detected using chip, the degree of accuracy It is high more all than being powered off using common fuse with speed.
Optimization, electrical source socket can also include:Detection of electrical leakage chip 60, for detecting what is inserted in each socket Electrical equipment whether there is leaky, when detecting that leakage current reaches preset value, such as 30ma, then feed back to microcontroller 27, Microcontroller 27 cuts off all relays, i.e. cuts off the power supply of respective socket.Thus, the safety of user is protected.
Optimization, electrical source socket can also include:Zero live wire detection means 70, for detecting the position of live wire access It is whether correct, when incorrect, alarm can be sent, and microcontroller 27 can be fed back to, microcontroller microcontroller 27 cuts off relay All relays in device matrix K.It is possible thereby to ensure, when the zero line do not pressed in canonical layout's power circuit in some scenes being present And live wire, such as:, such as take zero line and live wire reversal connection, the electrical source socket from the system during household electrical source wiring When electric, its socket position will be unable to switch on power, and thereby guarantee that Electrical Safety.
Optimization, electrical source socket can also include:Multifunctional digital display 80, for showing from microcontroller 27 The information of middle acquisition, such as:Current power, voltage, with various parameters such as power consumption, slots.Wherein, the parameter such as power, voltage It can be the result obtained after microcontroller 27 obtains information from the power detection chip 50 by calculating.
Preferred embodiment of the present utility model is the foregoing is only, it is all at this not to limit the utility model All any modification, equivalent and improvement made within the spirit and principle of utility model etc., should be included in the utility model Protection domain within.

Claims (12)

1. a kind of electrical source socket, the electrical source socket includes at least one socket position, and each socket position comprises at least one Individual socket, each socket position include:
Base;
Circuit board, it is installed on the base;The circuit board is provided with least one socket;Each socket include multiple sleeves and Sleeve fixed mount;The sleeve, which is used to realize with the plug of insertion, to be electrically connected;The sleeve fixed mount is fixed on the circuit board and covered It is used to fix the sleeve outside the sleeve;
Socket lid, it is covered on the base, the circuit board is placed in the accommodating sky formed between the base and the socket lid Between;
Characterized in that, the circuit board also includes:
Each socket is corresponding with two infrared sensing switch, and the infrared sensing switch is arranged at the sleeve with the socket on circuit board Corresponding position;
Relay corresponding with each socket and the controlling switch for controlling each relay connecting and disconnecting respectively;And
One microcontroller, for determining whether that connection is corresponding with cut-off state according to the conducting of infrared sensing switch in the socket Relay controlling switch;
The relay, for controlling the connecting and disconnecting between respective socket and power supply.
2. electrical source socket as claimed in claim 1, it is characterised in that each socket position also includes:One safety monitoring Whether switch, the bottom of the socket position is inserted into for test plug, is inserted into bottom, then relay corresponding to microcontroller unlatching Controlling switch, then it is no, be not turned on the controlling switch of corresponding relay.
3. electrical source socket as claimed in claim 2, it is characterised in that safety detection switch includes:One head, one Individual afterbody, an elastic component and a corresponding infrared sensing switch;
The head is arranged in outside the socket lid, and the afterbody is placed in the socket cover inside, and the elastic component is sheathed on the tail Outside portion, the afterbody for being arranged elastic component is inserted in the safety switch fixing hole on the sleeve fixed mount;
Position corresponding with the afterbody on the circuit board is arranged at the corresponding infrared sensing switch of safety detection switch; When safety detection switch is pressed, the afterbody can be inserted between the infrared transmitting tube and infrared receiving tube of infrared detection switch.
4. electrical source socket as claimed in claim 1, it is characterised in that the microcontroller is infrared in each socket The state of the on or off of inductive switch and default security mechanism determine whether turn on the infrared sensing switch pair The relay answered.
5. electrical source socket as claimed in claim 4, it is characterised in that the security mechanism includes following at least one:
The microcontroller determines that the ON time of two infrared sensing switch in the socket is to lead whether within preset range It is logical, otherwise it is not turned on;Or
The microcontroller determines whether the infrared sensing switch of conducting is infrared sensing switch in same socket, is to lead It is logical, otherwise it is not turned on.
6. electrical source socket as claimed in claim 1, it is characterised in that the microcontroller is controlled using N number of control output end Make the infrared transmitting tube and controlling switch of all infrared sensing switch in the electrical source socket;
Wherein, two infrared transmitting tubes being connected in parallel in the same direction form one group of infrared transmitting tube;
Each control output end is connected in parallel two groups of reverse infrared emissions between other N-1 control output end respectively Manage, either two reverse controlling switches or mutually opposing infrared sensing switch and a controlling switch;
Two infrared receiving tubes corresponding to every group of infrared transmitting tube are connected to two inputs and ground of the microcontroller Between;And
The regular output pulse in each control output end of the microcontroller so that the microcontroller lights every group of infrared emission successively Pipe;And the conducting according to the infrared sensing switch and cut-off state, it is determined whether open the controlling switch of corresponding relay.
7. electrical source socket as claimed in claim 1, it is characterised in that the electrical source socket also includes:
Power detection chip, detected for the continual electric current in whole electrical source socket, and detection is obtained The information obtained is sent to the microcontroller;The information that then microcontroller is sent according to the power detection chip determines current power During more than preset value, the controlling switch of all relays is disconnected.
8. electrical source socket as claimed in claim 1, it is characterised in that the electrical source socket also includes:Detection of electrical leakage Chip, it is anti-when detecting that the leakage current reaches preset value for detecting the leakage current of the electrical equipment inserted in each socket Feed the microcontroller;The control that the microcontroller disconnects all relays according to the feedback information of the detection of electrical leakage chip is opened Close.
9. electrical source socket as claimed in claim 1, it is characterised in that the electrical source socket also includes:Zero live wire is examined Device is surveyed, whether the position for detecting live wire access is correct, alarm can be sent when incorrect, and can feed back to the microcontroller Device;The microcontroller disconnects the controlling switch of all relays according to the feedback information of the zero live wire detection means.
10. electrical source socket as claimed in claim 1, it is characterised in that the electrical source socket also includes:Multi-functional number Word display, for showing the parameter information obtained from microcontroller.
11. a kind of power socket control circuit, the power outlet includes at least one socket position, and each socket position includes at least one Individual socket, it is characterised in that the power socket control circuit includes:
Each socket is corresponding with two infrared sensing switch, for sensing in respective socket whether insert plug;
Relay corresponding with each socket respectively, for controlling the connecting and disconnecting between respective socket and power supply;
Controlling switch corresponding with each relay respectively, for controlling corresponding relay connecting and disconnecting;
One microcontroller, determine whether that plug inserts for the conducting according to the infrared sensing switch and cut-off state, such as Fruit determines have, and the controlling switch of relay corresponding to connection, otherwise disconnects.
12. power socket control circuit as claimed in claim 11, it is characterised in that the microcontroller is defeated using N number of control Go out infrared transmitting tube and controlling switch that end controls all infrared sensing switch in the electrical source socket;
Wherein, two infrared transmitting tubes being connected in parallel in the same direction form one group of infrared transmitting tube;
Each control output end is connected in parallel two groups of reverse infrared emissions between other N-1 control output end respectively Pipe, either two reverse controlling switches or mutually an infrared sensing switch and a controlling switch in direction;
Two infrared receiving tubes corresponding to every group of infrared transmitting tube are connected to two inputs and ground of the microcontroller Between;And
The regular output pulse in each control output end of the microcontroller so that the microcontroller lights every group of infrared emission successively Pipe;And the conducting according to the infrared sensing switch and cut-off state, it is determined whether open the controlling switch of corresponding relay.
CN201720383031.9U 2017-04-12 2017-04-12 A kind of electrical source socket and its electric operation control circuit figure Active CN206922114U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720383031.9U CN206922114U (en) 2017-04-12 2017-04-12 A kind of electrical source socket and its electric operation control circuit figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720383031.9U CN206922114U (en) 2017-04-12 2017-04-12 A kind of electrical source socket and its electric operation control circuit figure

Publications (1)

Publication Number Publication Date
CN206922114U true CN206922114U (en) 2018-01-23

Family

ID=61305570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720383031.9U Active CN206922114U (en) 2017-04-12 2017-04-12 A kind of electrical source socket and its electric operation control circuit figure

Country Status (1)

Country Link
CN (1) CN206922114U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936029A (en) * 2017-04-12 2017-07-07 汪智伟 A kind of electrical source socket and its electric operation control circuit figure
CN109713521A (en) * 2019-02-20 2019-05-03 魏峥 A kind of socket with from unloading pin function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936029A (en) * 2017-04-12 2017-07-07 汪智伟 A kind of electrical source socket and its electric operation control circuit figure
CN109713521A (en) * 2019-02-20 2019-05-03 魏峥 A kind of socket with from unloading pin function

Similar Documents

Publication Publication Date Title
CN204497495U (en) Smart jack
CN204793459U (en) Safety socket
CN206922114U (en) A kind of electrical source socket and its electric operation control circuit figure
CN105870687B (en) A kind of power outlet with plug detection function
CN106936029A (en) A kind of electrical source socket and its electric operation control circuit figure
CN203617494U (en) Electric shock prevention socket
CN205595557U (en) Electromagnetic lock control circuit
CN204103090U (en) The socket of protection against electric shock and supporting plug thereof and comprise its anti-electric shock apparatus
CN110707482A (en) Charging socket of electric vehicle
CN102969627A (en) Safety socket with luminous device
CN204361335U (en) A kind of supply socket with plug detection function
CN207265348U (en) Control box on a kind of electric automobile line of band automatic switchover function of current
CN103236613A (en) Power socket
CN111976511A (en) Electric automobile charging system connection state detection device and electric automobile
CN201518411U (en) Novel overvoltage protector
CN210792830U (en) Charging device
CN211859074U (en) Charging switching device and electric automobile
CN106329647A (en) Contact type sparking-prevention charging device and control method
CN206422326U (en) Smart jack
CN112564075A (en) Bidirectional charging wire structure
CN208315933U (en) A kind of Safty electronic socket
RU185776U1 (en) DEVICE FOR CONTROL OF OPERATION OF SOCKETS 220 V
CN205536569U (en) Fragmentary live wire of water heater detects auto -change over device
CN206313169U (en) Socket and plug
CN2906996Y (en) Wall-mounted power supply socket

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant