Summary of the invention
The technical problem to be solved in the present invention is the defective that exists at prior art, use provides a kind of supply socket that is used for electric blanket at electric blanket, this supply socket has the control of air bag input pressure, the attaching plug of electric blanket inserts the jack of socket in the supply socket during use, open mains switch on the electric blanket, air bag places under the pillow, air bag is connected with the pressure sensor that the supply socket internal pressure detects control unit by tracheae, by opening electric power starting button in the supply socket, the socket energized, electric blanket energising heating, when action of gravity in pillow, the pillow lower gasbag transmits air pressure to pressure sensor by tracheae, pressure sensor transmits the controller of pressure signal pressure detecting control unit to the supply socket, controller is by gate-controlled switch circuitry cuts socket power in the supply socket, and electric blanket cuts off the power supply.
To achieve the above object, technical scheme of the present invention is: a kind of supply socket, to form by attaching plug 1, socket main body 2, air bag 3, and an end of socket main body 2 is connected with attaching plug 1 by external connection line, and the other end is connected with the tracheae of air bag 3; Socket main body 2 comprises pressure detecting control unit 101, gate-controlled switch circuit 201; Described pressure detecting control unit 101 comprises first indicator light 4, closes button 8, controller 12, pressure sensor 13, buzzer 14; Described gate-controlled switch circuit 201 comprises second indicator light 5, socket 6, opens button 7, AC-DC power-switching circuit 9, the latching circuit 202 that powers on, relay J, first resistance R 1, first capacitor C 1; The described latching circuit 202 that powers on comprises d type flip flop 10, photoelectrical coupler 11, triode T, second resistance R, 2 to the 5th resistance R 5, second capacitor C 2; Fixing point c end, a end of two groups of normally opened contact switches of described relay J are connected with power firestreak L, the zero line N that introduce the outside respectively, moving some d end of two groups of normally opened contact switches of relay J, b end are connected with two inputs of AC-DC power-switching circuit 9 respectively, and d end, b end are connected with live wire, the zero line of socket 6 respectively simultaneously; The live wire and the zero line of socket 6 received at two ends, described first resistance R, 1 serial connection second indicator light, 5 back respectively; The dc power output end of described AC-DC power-switching circuit 9 also connects first capacitor C 1, its power supply output cathode V
+Cause clear terminal R, the set end S of d type flip flop 10 respectively by the 3rd resistance R 3, the 4th resistance R 4; The set end S of described d type flip flop 10 is connected with the positive pole of second capacitor C 2; The emitter e of the input D of the negative pole of described second capacitor C 2, d type flip flop 10 and negative pole VSS, triode T is connected with the power supply output negative pole V of AC-DC power-switching circuit 9 simultaneously; The power supply output cathode V of described AC-DC power-switching circuit 9
+Be connected with the power end VCC of d type flip flop 10 and an end of second resistance R 2; The other end of described second resistance R 2 is connected with the input a end of photoelectrical coupler 11; The output Q of described d type flip flop 10 is connected in series the 5th resistance R 5 and is connected with the base stage b of triode T; The collector electrode c of described triode T is connected with the input b of photoelectrical coupler 11 end; The input end of clock CP of described d type flip flop 10 is connected with the output of controller 12; The input of described controller 12 is connected with respectively closes button 8, pressure sensor 13; The output of described controller 12 is connected with first indicator light 4, buzzer 14 respectively; One end of described relay J coil is connected with the outside power firestreak L that introduces, and the other end of relay J coil is connected with an end of photoelectrical coupler 11 outputs, and the other end of photoelectrical coupler 11 outputs is connected with the outside zero-power line N that introduces; Described unlatching button 7 is in parallel with the output of photoelectrical coupler 11; The working power of described pressure detecting control unit 101 is provided by the power supply output of AC-DC power-switching circuit 9; Described first indicator light 4, second indicator light 5, socket 6, open button 7, close the surface that button 8 is located at socket main body 2; Described pressure sensor 13 is connected with exterior airbag 3 in the tracheae mode.
Above-mentioned described controller 12 is used for the input state of whole supply socket is detected, judges, regularly, finish corresponding executing the task, promote circuit by single-chip microcomputer, program storage, data storage, timer, input interface, output interface, output and constitute.
Above-mentioned described air bag 3 is for having the air bag of tracheae, and it is shaped as pancake airbag, and surface size slightly equals the pillow surface, is placed in below the pillow, is used for transmitting the pressure of human body head to pressure detecting control unit 101 pressure sensors 13.
Supply socket of the present invention is exclusively used in electric blanket, one, adopts air bag to place to transmit human body pillow under the pressure sensor of the pressure of head when going to bed, solved pressure sensor and embedded and arrange trouble, electric blanket internal pressure chip or sensitive switch in the electric blanket because the problem that the pressure of quilt produces misoperation, has foreign matter to feel on the bed in bed to supply socket pressure detecting control unit; Two, adopted the supply socket of pressure detecting control unit, separate with electric blanket itself control, solved when existing electric blanket is insurmountable to go to bed in real time the problem of outage automatically, three, adopt the pressure of air bag transmission human body head, safe and reliable, use with easy to maintenance.
Insert the jack of socket on the supply socket main body when the attaching plug of electric blanket, open mains switch on the electric blanket, air bag places pillow following time, by opening electric power starting button in the supply socket, the socket energized, electric blanket energising heating, the pressure that the pillow lower gasbag transmits head when going to bed is to the automatic power supply that leads to electric blanket that cuts off of supply socket, and the person provides great convenience for cardiac, stroke patient, old person, particularly man at an advanced age use the electric blanket winter.
Embodiment
As shown in Figure 1: a kind of supply socket is made up of attaching plug 1, socket main body 2, air bag 3, and an end of socket main body 2 is connected with attaching plug 1 by external connection line, and the other end is connected with the tracheae of air bag 3; The surface of described socket main body 2 is provided with first indicator light 4, second indicator light 5, socket 6, opens button 7, closes button 8.
As shown in Figure 2: the circuit of the socket main body 2 of supply socket is made up of pressure detecting control unit 101, gate-controlled switch circuit 201; Described pressure detecting control unit 101 by first indicator light 4, close button 8, controller 12, pressure sensor 13, buzzer 14 and form; Described gate-controlled switch circuit 201 is made up of second indicator light 5, socket 6, unlatching button 7, AC-DC power-switching circuit 9, the latching circuit 202 that powers on, relay J, first resistance R 1, first capacitor C 1; The described latching circuit 202 that powers on is made up of d type flip flop 10, photoelectrical coupler 11, triode T, second resistance R, 2 to the 5th resistance R 5, second capacitor C 2; Fixing point c end, a end of two groups of normally opened contact switches of described relay J are connected with power firestreak L, the zero line N that introduce the outside respectively, moving some d end of two groups of normally opened contact switches of relay J, b end are connected with two inputs of AC-DC power-switching circuit 9 respectively, and d end, b end are connected with live wire, the zero line of socket 6 respectively simultaneously; The live wire and the zero line of socket 6 received at two ends, described first resistance R, 1 serial connection second indicator light, 5 back respectively; The dc power output end of described AC-DC power-switching circuit 9 also connects first capacitor C 1, its power supply output cathode V
+Cause clear terminal R, the set end S of d type flip flop 10 respectively by the 3rd resistance R 3, the 4th resistance R 4; The set end S of described d type flip flop 10 is connected with the positive pole of second capacitor C 2; The emitter e of the input D of the negative pole of described second capacitor C 2, d type flip flop 10 and negative pole VSS, triode T is connected with the power supply output negative pole V of AC-DC power-switching circuit 9 simultaneously; The power supply output cathode V of described AC-DC power-switching circuit 9
+Be connected with the power end VCC of d type flip flop 10 and an end of second resistance R 2; The other end of described second resistance R 2 is connected with the input a end of photoelectrical coupler 11; The output Q of described d type flip flop 10 is connected in series the 5th resistance R 5 and is connected with the base stage b of triode T; The collector electrode c of described triode T is connected with the input b of photoelectrical coupler 11 end; The input end of clock CP of described d type flip flop 10 is connected with the output of controller 12; The input of described controller 12 is connected with respectively closes button 8, pressure sensor 13; The output of described controller 12 is connected with first indicator light 4, buzzer 14 respectively; One end of described relay J coil is connected with the outside power firestreak L that introduces, and the other end of relay J coil is connected with an end of photoelectrical coupler 11 outputs, and the other end of photoelectrical coupler 11 outputs is connected with the outside zero-power line N that introduces; Described unlatching button 7 is in parallel with the output of photoelectrical coupler 11; The working power of described pressure detecting control unit 101 is provided by the power supply output of AC-DC power-switching circuit 9; Described pressure sensor 13 is connected with exterior airbag 3 in the tracheae mode.
Gate-controlled switch circuit 201 is used to finish the power connection and the cut-out of socket 6.
The function of pressure detecting control unit 101 is mainly used in the pressure of finishing automatic detection air bag 3, and output pulse control gate-controlled switch circuit 201 cuts off the power supply of socket 6.
The latching circuit 202 that powers on is controlled relay J adhesive and locking when opening button 7 by breakdown, when the input end of clock CP of the latching circuit 202 that powers on has the pulse input, promptly power on when the input end of clock CP of d type flip flop 10 has the pulse input in the latching circuit 202, control relay J discharges.
Attaching plug 1 is used to insert and is connected with the attaching plug that exchanges 220 volts of power supplys, draws live wire L, the zero line N of AC power gate-controlled switch circuit 201 to the socket main body 2 by external connection line.
Air bag 3 is connected with the pressure sensor 13 of pressure detecting control unit 101 in the socket main body 2 by tracheae; Air bag 3 is for having the airbag of tracheae, and it is pancake that airbag is shaped as, and surface size slightly equals the pillow surface, and air bag is placed in below the pillow, is used to transmit the pressure of human body head to pressure sensor 13.
Controller 12 is used for the input state of whole supply socket is detected, judges, regularly, finishes corresponding executing the task, and promotes circuit by single-chip microcomputer, program storage, data storage, timer, input interface, output interface, output and constitutes.
The output Q end of d type flip flop 10 is controlled the output conducting of photoelectrical coupler 11 by triode T and is ended, when d type flip flop 10 output Q ends are " 1 ", the output conducting of photoelectrical coupler 11, when the defeated Q of d type flip flop 10 brought out to " 0 ", the output of photoelectrical coupler 11 ended.
When d type flip flop 10 powers on, its output Q end is set, be that the Q end is output as " 1 ", the output conducting of control photoelectrical coupler 11 also keeps, when the clock CP end of controller 12 output pulses to d type flip flop 10, because of the data input pin D of d type flip flop 10 is connected with earth terminal VSS, the Q end is output as " 0 ", and the output of control photoelectrical coupler 11 ends.
Photoelectrical coupler 11 is the photoelectrical coupler of zero cross fired, and its output is in parallel with unlatching button 7, is used for adhesive and the release of control relay J; When the output conducting of photoelectrical coupler 11 or open button 7 when closed, the coil of relay J gets electric, its normally opened contact closure, and normally-closed contact disconnects; When the output of photoelectrical coupler 11 by and open button 7 and disconnect when existing simultaneously, the coil of relay J must not electricity, its normally opened contact disconnects, the normally-closed contact closure.
The clear terminal R of d type flip flop 10, set end S are connected in series the power supply output cathode V of the 3rd resistance R 3, the 4th resistance R 4 and AC-DC power-switching circuit 9 respectively
+Be connected, the set end S of d type flip flop 10 is connected in series the power supply output negative pole V of second capacitor C, 2 to AC-DC power-switching circuits 9 simultaneously
-Output Q end set when second capacitor C 2 is used for d type flip flop 10 and powers on; The clear terminal R of d type flip flop 10, set end S are that " 0 " is effective, and when d type flip flop 10 powered on, under the 2 charging effects of second capacitor C, set end S was " 0 ", and the output Q end set of d type flip flop 10 is " 1 ".
The power supply output cathode V of AC-DC power-switching circuit 9
+, negative pole V
-Be connected with d type flip flop 10 power end VCC, earth terminal VSS respectively, for d type flip flop 10 provides working power.
The power supply output cathode V of AC-DC power-switching circuit 9
+, negative pole V
-Introduce circuit 101, working power in the power supply road 101.
The power supply output cathode V of AC-DC power-switching circuit 9
+Give second capacitor C 2 chargings through the 4th resistance R 4, charging finishes, and the set end S of d type flip flop 10 reverts to " 1 ".
Set end S at d type flip flop 10 is under the one state, and controller 12 output pulses are just effective to the clock of the clock CP end of d type flip flop 10, and the Q end is output as " 0 ".
Second resistance R 2 is used for the input input current limliting of photoelectrical coupler 11.
The output Q that the 5th resistance R 5 is used for d type flip flop 10 holds to the current limliting of the base stage b of triode T; Triode T is used to drive photoelectrical coupler 11, and its polarity is NPN.
The normally opened contact of relay J is used to control the input power connection and the cut-out of socket 6 and AC-DC power-switching circuit 9, when the coil electricity of relay J, the normally opened contact closure, the input power connection of socket 6 and AC-DC power-switching circuit 9, when the coil no power of relay J, normally opened contact disconnects, the input dump of socket 6 and AC-DC power-switching circuit 9.
The live wire and the zero line of socket 6 received at two ends, first resistance R, 1 serial connection second indicator light, 5 back respectively, luminous indication when second indicator light 5 is used for socket 6 energisings, and when just referring to the normally opened contact closure of relay J, the 5 luminous indications of second indicator light; First resistance R 1 is used for second indicator light, 5 current limlitings.
Socket 6 is used to insert the socket of electric blanket attaching plug.
The D.C. regulated power supply that AC-DC power-switching circuit 9 is made up of rectification, filtering, voltage stabilizing is used to socket main body 2 interior all circuit that required DC power supply is provided.
First capacitor C 1 is used for the power supply output energy storage of AC-DC power-switching circuit 9, and when the input power supply of AC-DC power-switching circuit 9 was cut off, controller 12 quit work and lags behind the dump of socket 6.
First indicator light 4 is used for the indication of supply socket operate as normal.
When controller 12 energized were worked, first indicator light 4 was lighted in initialization, and beginning timing, and buzzer 14 does not send the sound, the pressure of detected pressures transducer 13, and deduction air bag 3 upward pressure initial values are promptly deducted pillow pressure on the air bag 3; Controller 12 is started working time of lighting first indicator light 4 greater than time of photoelectrical coupler 11 conductings that power on, and promptly lights first indicator light 4 after photoelectrical coupler 11 conductings.
Open button 7 and be used for the socket 6 of initial power-on socket and the input power connection of AC-DC power-switching circuit 9, it touches switch for normal the battle, open button 7 by breakdown, the coil of relay J gets, its normally opened contact closure, the input power connection of socket 6 and AC-DC power-switching circuit 9, the output Q end of d type flip flop 10 is set, and the output conducting of control photoelectrical coupler 11 also keeps, controller 12 is started working, initialization, and beginning is regularly lighted first indicator light 4, buzzer 14 does not send the sound, the pressure of detected pressures transducer 13, deduction air bag 3 upward pressure initial values are promptly deducted pillow pressure on the air bag 3; When first indicator light 4 is lighted, unclamp and open button 7.
Buzzer 14 is used for controller 12 and sends the sound when clock CP of pulse to d type flip flop 10 holds when exporting, when controller 12 output sounds to buzzer 14 sends the sound, delay time output pulse in 2 seconds during to the clock CP of d type flip flop 10 end, buzzer 14 sends sound up to controller 12 power supply of losing the job, promptly till the energy storage of the output of AC-DC power-switching circuit 9 or first capacitor C 1 can not provide normal working voltage for controller 12; When power supply really is cut off, promptly AC-DC power-switching circuit 9 does not have voltage output, has only first capacitor C 1 to provide operating voltage for controller 12, and because of the energy memory limited of first capacitor C 1, so controller 12 quits work after several seconds, buzzer 14 sounds stop; When power supply can not normally be cut off, promptly AC-DC power-switching circuit 9 has voltage output always, and controller 12 is in running order forever, and buzzer 14 sounds never stop.
When the timing of socket main body 2 middle controllers 12 less than 1 hour, if there is pressure to act on air bag 3 or close button 8 in the supply socket by opening greater than 1 kilogram on pillow, controller 12 receive that pressure sensor 13 transmits greater than the pressure signal of 1 kilogram on pillow or close the signal of button 8, controller 12 stops regularly, output sound signal to buzzer 14 sends the sound, time-delay output in 2 seconds pulse is to the clock CP end of d type flip flop 10; The clock CP end of d type flip flop 10 is under impulse action, Q brings out and is " 0 ", and the output of controlling photoelectrical coupler 11 by triode T ends, and the coil of relay J must not, normally opened contact discharges and disconnects, and cuts off the power supply of socket 6 and the input power supply of AC-DC power-switching circuit 9.
When the timing of socket main body 2 middle controllers 12 reaches 1 hour, controller 12 automatic output sound signal to buzzers 14 send the sound, time-delay output in the 2 seconds pulse clock CP end to d type flip flop 10; The clock CP end of d type flip flop 10 is under impulse action, Q brings out and is " 0 ", and the output of controlling photoelectrical coupler 11 by triode T ends, and the coil of relay J must not, normally opened contact discharges and disconnects, and cuts off the power supply of socket 6 and the input power supply of AC-DC power-switching circuit 9.
Close button 8 and be the some touch of key-press,, do not want again in 1 hour to go to bed, close the power supply that button 8 cuts off socket 6 by opening when having connected the power supply of socket 6 with opening button 7.
Close button 8 on the socket main body 2 by opening, controller 12 receives the signal of cutting out button 8, and output sound signal to buzzer 14 sends the sound, the clock CP end of output pulse in 2 seconds to d type flip flop 10 of delaying time; The clock CP end of d type flip flop 10 is under impulse action, Q brings out and is " 0 ", and the output of controlling photoelectrical coupler 11 by triode T ends, and the coil of relay J must not, normally opened contact discharges and disconnects, and cuts off the power supply of socket 6 and the input power supply of AC-DC power-switching circuit 9.
Whether air bag 3 is placed in below the pillow, is used for the sleep pressure of head of following time of human body, differentiate the people and go to bed, and when the people went to bed, the pressure of head acted on pillow lower gasbag 3, and air bag 3 transmits pressure to pressure sensor 13 by tracheae.
Pressure sensor 13 is used for detecting the pressure of air bag 3 gases for gathering the pressure by air pressure transducer, will be delivered to controller 12 after the force samples.
The pressure signal that controller 12 receives the air bag 3 that pressure sensor 13 transmits illustrate that the people goes to bed during greater than 1 kilogram on pillow, and output sound signal to buzzer 14 sends the sound, delay time to export pulse in 2 seconds and hold to the clock CP of d type flip flop 10; The clock CP end of d type flip flop 10 is under impulse action, Q brings out and is " 0 ", and the output of controlling photoelectrical coupler 11 by triode T ends, and the coil of relay J must not, normally opened contact discharges and disconnects, and cuts off the power supply of socket 6 and the input power supply of AC-DC power-switching circuit 9.
The control method of supply socket comprises the steps:
A.) attaching plug 1 is inserted the power supply that is connected with 220 volts of interchanges, air bag 3 places under the pillow, and the attaching plug of electric blanket is inserted into the jack of socket 6, opens mains switch on the electric blanket;
B.) open button 7 by breakdown, the coil of relay J gets electric, the normally opened contact adhesive, and the input power connection of socket 6 and AC-DC power-switching circuit 9, d type flip flop 10 powers on, and its output Q end is set, and the output conducting of photoelectrical coupler 11 also keeps;
C.) controller 12 initialization, timer begin regularly to light first indicator light 4, controller 12 detected pressures transducers 13 initial values, pillow pressure on the deduction air bag 3;
D.) when first indicator light 4 is lighted, unclamp and open button 7;
E.) in 1 hour, when the pressure greater than 1 kilogram on pillow acts on air bag 3 or by opening when closing button 8, controller 12 receive that pressure sensor 13 transmits greater than the pressure signal of 1 kilogram on pillow or close the signal of button 8, controller 12 timeing closing devices, output sound signal to buzzer 14 send the sound, time-delay output in the 2 seconds pulse clock CP end to d type flip flop 10;
F.) timer when controller 12 is timed to 1 hour, and output sound signal to buzzer 14 sends the sound, the clock CP end of output pulse in 2 seconds to d type flip flop 10 of delaying time;
G.) the clock CP of d type flip flop 10 end is under impulse action, Q brings out and is " 0 ", and the output of controlling photoelectrical coupler 11 by triode T ends, and the coil of relay J must not, normally opened contact discharges and disconnects, and cuts off the power supply of socket 6 and the input power supply of AC-DC power-switching circuit 9;
H.) send the of short duration sound when buzzer 14, the power supply of socket 6 really is cut off;
I.) send the sound when buzzer 14, the power supply of socket 6 is not cut off always;
The attaching plug of supply socket inserts to be connected with and exchanges 220 volts power supply, air bag places under the pillow, air bag is connected with pressure sensor by tracheae, the attaching plug of electric blanket is inserted into the jack of socket in the supply socket, open mains switch on the electric blanket, by the unlatching button that opens in the supply socket, electric blanket gets, work of supply socket middle controller and timing 1 hour, in 1 hour, there is pressure to act on air bag or close button in the supply socket by opening greater than 1 kilogram on pillow, cut off the electricity supply socket power on the socket, otherwise cut off the electricity supply automatically socket power on the socket of controller after 1 hour; When controlling the socket power on the socket of cutting off the electricity supply,, illustrate that socket power really is cut off when buzzer sends the sound in the of short duration time; When buzzer sends the sound always, illustrate that socket power is not cut off, illustrate that supply socket has fault this moment, looks into and repair supply socket, and the attaching plug of supply socket is transferred to from being connected with the power supply that exchanges 220 volts.
Using method
A.) attaching plug 1 is inserted the power supply that is connected with 220 volts of interchanges, air bag 3 places under the pillow, and the attaching plug of electric blanket is inserted into the jack of socket 6, opens mains switch on the electric blanket;
B.) go to bed before, open button 7 by breakdown, the power supply of socket 6 is switched on, and unclamps after first indicator light 4 is lighted and opens button 7;
C.) go to bed in 1 hour, when head acts on air bag 3 by pillow, buzzer 14 sends the of short duration sound, and the power supply of socket 6 really is cut off;
D.) do not go to bed in 1 hour, but will cut off the power supply of socket 6, close button 8 by opening, buzzer 14 sends the of short duration sound, and the power supply of socket 6 really is cut off;
E.) arrived when 1 hour, buzzer 14 sends the of short duration sound, and the power supply of socket 6 really is cut off;
F.) send the sound when buzzer 14 always, illustrate that the power supply of socket 6 is not cut off, supply socket is broken down, and the attaching plug 1 of supply socket is transferred to from being connected with the power supply that exchanges 220 volts;
G.) closed button 8 or acted on pillow lower gasbag 3 greater than the pressure of 1 kilogram on pillow by opening in 1 hour, buzzer 14 does not send the sound, and supply socket is broken down must maintenance; Arrived when 1 hour, buzzer 14 does not send the sound, and supply socket is broken down and must be keeped in repair;
H.) second indicator light 5 is lighted in the supply socket, illustrates that socket 6 is connected with power supply;
I.) do not rest the head on pillow, open button 7 by breakdown; After can not opening button 7 by breakdown, the airbag of air bag 3 is placed under the pillow again.