CN104600514B - A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor - Google Patents

A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor Download PDF

Info

Publication number
CN104600514B
CN104600514B CN201510065132.7A CN201510065132A CN104600514B CN 104600514 B CN104600514 B CN 104600514B CN 201510065132 A CN201510065132 A CN 201510065132A CN 104600514 B CN104600514 B CN 104600514B
Authority
CN
China
Prior art keywords
module
infrared
socket
microprocessor
signal
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
CN201510065132.7A
Other languages
Chinese (zh)
Other versions
CN104600514A (en
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.)
Xuzhou Kangxiang Precision Manufacturing Co ltd
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 CN201510065132.7A priority Critical patent/CN104600514B/en
Publication of CN104600514A publication Critical patent/CN104600514A/en
Application granted granted Critical
Publication of CN104600514B publication Critical patent/CN104600514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6658Structural association with built-in electrical component with built-in electronic circuit on printed circuit board
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6675Structural association with built-in electrical component with built-in electronic circuit with built-in power supply
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • H01R13/713Structural association with built-in electrical component with built-in switch the switch being a safety switch

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor, including external power interface, mainboard and output socket, mainboard include microprocessor, infrared receiving module, D.C. regulated power supply module, two-way relay driving module, current detection module;Flush plug receptacle provided by the invention when load current is excessive, automatically powers off by gathering the current signal of output socket, protects load elements;When load current is standby current, automatically powers off, realize electricity-saving function;Infrared remote control signal decoding process provided by the present invention needs not move through infrared signal coupling learning, you can realization is decoded for any button of any IR remote controller, realizes that flush plug receptacle of the present invention restores electricity;The present invention can realize protection against electric shock, automatic circuit break function, and the very convenient operation when restoring electricity, and can realize master control and function controlled in addition.

Description

A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor
Technical field
The present invention relates to a kind of flush plug receptacle, particularly a kind of infrared remote control signal decoding side based on microprocessor The flush plug receptacle of formula.
Background technology
At present, with the development of science and technology, increasing household electrical appliance enter into common people house, and household electrical appliance give people While offer convenience, there is also certain potential safety hazard, so needing to cut off the electricity supply to ensure that electrical equipment is safe to use in time. All it is to realize being switched on or switched off for power supply by plugging plug now, but often when electrical equipment has been switched off or during holding state User seldom pulls out appliance plug, and electrical equipment is also in electricity consumption.But use that plug is all plugged during electrical equipment is very cumbersome every time , and the electric mounting position having also is inconvenient to plug.Existing socket has done different aspect to solve the above problems Improve, or but be that function is single, or it is inconvenient for operation.By research we have found that following several phenomenons:
1. many socket applications can touch place in child, particularly in the family, many children are for good It very can go to scratch with hand or be gone to stab the hole of socket with other conducting metals, so easily lead to electric shock accidents.In order to prevent socket Electric shock accidents, people, which have invented, has anti-electric shock socket, as patent 201320100981.8 using mechanical structure prevents from touching Electricity, only when inserting plug, socket is just powered, and the electrode contact of socket automatically powers off when pulling the plug out of the socket, after pulling the plug out of the socket, i.e., Finger is touched electrode contact will not also get an electric shock.But such protection against electric shock mode still has a problem, is exactly to work as child Son goes stamp socket still to get an electric shock with two conducting metals simultaneously, and the function of this socket is single.
2. in order to realize electrical equipment close or it is standby when cut off socket power, realize the function of power saving, have some automatic at present Power off socket, automatically powered off by being realized to the automatic detection of electrical equipment, problem be when socket needs to restore electricity, or It is inconvenient operation, otherwise it is to be only suitable for part population.
As patent 201410217521.2 connect with Bluetooth of mobile phone using wireless blue tooth, realized by cell phone application operation slotting The energization and power down function, operation of seat can not calculate complexity, but be highly difficult for the people, child, old man of no mobile phone , need to be matched the bluetooth of socket and Bluetooth of mobile phone when particularly using first;If multiple sockets, it is necessary to by indigo plant The different name of tooth is distinguished;
And for example patent CN200910039613, the connection of socket power is controlled using remote control, but needs first to use Infrared learning function, the infrared realization pairing of some button and socket on remote control is first realized, then could use remote control This button realize the function of the connection of socket power controlled using remote control, this function implement it is extremely complex, And after being provided with, others does not still know how you are set, operation is extremely complex and inconvenient;
For another example when the socket power of patent 201410217775.4 disconnects, socket power can be connected by pressing button, this behaviour Make also not including complexity, but many sockets are arranged on not easy-operating place, (such as some wall-hangings are empty in higher position for some The socket position of tune is higher), some is in relatively low position (socket position such as below some computer desks is relatively low);
Also by setting time come time for controlling socket to switch on and off, such as patent 201420357528.X, so Control mode it is only practical with some specific electric equipments or occasion, for a lot of other electric equipments, be powered and during power-off Between there is randomness very much.
3. under many circumstances, the use of an electrical equipment needs the cooperation of other match appliances, and after user has used It generally only can turn off main electrical equipment, but ignore other match appliances.As in the family, electricity is generally only closed after people finish watching TV Depending on and ignore sound equipment, DVD, power amplifier, TV box etc.;And for example in family or office space, master is only closed after people are finished computer Machine and ignore display, printer, sound equipment, scanner etc..These are ignored will produce very without closing the electrical equipment of power supply Big waste of energy.
More than several phenomenons be all very common in life, people, which get used to have used, not to pull out electrical equipment after electrical equipment and inserts Head;Or turn off main electrical equipment, but ignore other match appliances.Also occur being done to existing function of socket for some sockets on the market The improvement of different reverse side, or but be function is single, or it is inconvenient for operation.
The content of the invention
The present invention provides one kind for the technical issues that need to address and is based on microprocessor infrared remote control signal decoding process The flush plug receptacle with controlled source interface.
To solve above-mentioned technical problem, the present invention provides a kind of infrared remote control signal decoding side based on microprocessor The flush plug receptacle with controlled source interface of formula, including output socket 104, mainboard 105 and external power interface 107-1, Controlled source interface 107-2;Wherein external power interface 107-1 and controlled source interface 107-2 are arranged on socket bonnet 107 On, output socket 104, mainboard 105 are fixed on socket second face plate 102 by fastening screw 106, and socket bonnet 107 is buckled Close on socket second face plate 102, socket second face plate 102 is fixedly mounted on external electricity by receptacle mounting screws 103 In the line box of source, socket first front panel 101 is fastened on socket second face plate 102;Described mainboard 105 includes microprocessor 1051st, infrared receiving module 1055, D.C. regulated power supply module 1052, two-way relay driving module 1053, current detecting mould Block 1054;
The two-way relay driving module includes driving signal input, relay coil circuit and output loop;Institute State external power interface 107-1 and the output loop of D.C. regulated power supply module 1502 and two-way relay driving module 1053 It is connected;The output loop of the two-way relay driving module 1053 is connected with output socket 104 by two phase lines, its In be provided with current detection module 1054 on a live wire;The DC voltage-stabilizing module 1052 to microprocessor 1051, infrared connect Receive the relay coil circuit power supply of module 1055, two-way relay driving module 1053;The DC voltage-stabilizing module 1052 carries For two kinds of DC voltage-stabilizing outputs of 5V and 12V or 24V, wherein 5V powers to microprocessor 1051 and infrared receiving module 1055,12V Or 24V powers to the relay coil circuit of two-way relay driving module 1053;
The microprocessor 1051 and current detection module 1054, infrared receiving module 1055, two-way relay driving mould The driving signal input of block 1053 is connected, and the infrared signal of remote control transmission is received by infrared receiving module 1055, with And the current signal that current detection module 1054 sends over, the then infrared remote-controlled signal solution by being set in microprocessor 1051 Code mode and current signal processing routine judge and control the drive signal of two-way relay driving module 1053, realize that output is inserted The break-make of mouth 104 and controlled source interface 107-2 power supplys, controlled source socket 107-2 power supply states and output socket 104 are same Step.
Described output socket 104 and controlled source interface 107-2 restores electricity can be by using any infrared remote control Device presses any key, one-key operation.Infrared receiving module 1055 receives the infrared signal of remote control transmission, then passes through microprocessor The infrared remote-controlled signal decoding process set in device 1051 judges and controls the drive signal of two-way relay driving module 1053, real Existing output socket 104 and controlled source interface 107-2 restore electricity.
The infrared signal that the remote control is sent refers to that operator is any by IR remote controller using any IR remote controller The infrared signal that key is sent;
Described infrared receiving module refers to use integrated infrared receiver, the infrared remote control signal that will be received Be amplified, detection, shaping, and export can allow microprocessor identify TTL signal.As shown in Figure 4;
A kind of the burying with controlled source interface of described infrared remote control signal decoding process based on microprocessor Swan socket, it is that timing processing, the 38KHZ infrared signals to receiving are carried out to the 38KHZ infrared signals received The 38KHZ infrared signal cumulative times that progress timing processing specifically refers to once receive reach certain time length, specific instruction method For one kind in interval monitoring method or continuous monitoring method;
Described interval monitoring method, as shown in figure 3, comprising the following steps:
(1) first, infrared remote controller sends infrared remote control signal;
(2) second step, infrared remote receiver by being amplified of the infrared remote control signal received, detection, shaping, and It is output to microprocessor;
Signal is carried out following handle by microprocessor;
(3) the 3rd steps, signal is received to microprocessor disappear and tremble processing;
(4) the 4th steps, time interval calculating is carried out to the signal after three step process;
(5) the 5th steps, microprocessor carry out judging the infrared signal that microprocessor receives to time interval result of calculation Whether terminate;If so, the cumulative time resets;If it is not, perform the time delay interval time;
(6) the 6th steps, time cumulation calculating is carried out after performing the time delay interval time;
(7) the 7th steps, judge time cumulation calculated value, if reach effective time aggregate-value;If so, this time connect The infrared signal received is an effective order;If it is not, re-start time interval calculating;
(8) the 8th steps, carry out time interval calculating;
(9) the 9th steps, time interval calculated value is carried out to judge whether the infrared signal that microprocessor receives terminates;If It is to add up to reset;Calculated if it is not, performing accumulated time;
(10) the tenth steps, accumulated time calculating is carried out after performing the time delay interval time;
(11) the 11st steps, judge time cumulation calculated value, if reach time tired limit evaluation;It is if so, tired Reset between timing;If it is not, re-start time interval calculating;
Described continuous monitoring method, as shown in Fig. 2 comprising the following steps:
(1) first, infrared remote controller sends infrared remote control signal;
(2) second step, infrared remote receiver by being amplified of the infrared remote control signal received, detection, shaping, and It is output to microprocessor;
Signal is carried out following handle by microprocessor;
(3) the 3rd steps, signal is received to microprocessor disappear and tremble processing;
(4) the 4th steps, time interval calculating is carried out to the signal after three step process;
(5) the 5th steps, microprocessor carry out judging the infrared signal that microprocessor receives to time interval result of calculation Whether terminate;If so, the cumulative time resets;Calculated if it is not, performing time cumulation;
(6) the 6th steps, hold and carry out time cumulation calculating;
(7) the 7th steps, judge time cumulation calculated value, if reach effective time aggregate-value;If so, this time connect The infrared signal received is an effective order;If it is not, re-start time interval calculating;
(8) the 8th steps, carry out time interval calculating;
(9) the 9th steps, time interval calculated value is carried out to judge whether the infrared signal that microprocessor receives terminates;If It is to add up to reset;Calculated if it is not, performing accumulated time;
(10) the tenth steps, carry out accumulated time calculating;
(11) the 11st steps, judge time cumulation calculated value, if reach time cumulation limit value;It is if so, tired Reset between timing;If it is not, re-start time interval calculating;
Described infrared transmission refers to operator using any IR remote controller by IR remote controller any key;
Described infrared receiver refers to use integrated infrared receiver, by entering for the infrared remote control signal received Row amplification, detection, shaping, and export the TTL signal that microprocessor can be allowed to identify;
The described cumulative time, i.e., timing the pulse for the infrared signal that 38KHZ is received since infrared remote receiver, remove 10ms, which disappears, trembles the time, ignores the time interval of the signal interruption less than 0.01~0.1S;
Described effective time aggregate-value is 3s;
Described accumulated time limit value is 10min;
Described time interval, its method calculated are:Calculate the time interval between continuous two high level;Or meter Calculate the time interval between continuous two rising edges;Or the time interval between the continuous trailing edge of calculating;Or calculate Continuous a rising edge and a trailing edge, or the time interval between a continuous trailing edge and a rising edge;
Described time cumulation be calculated as cumulative time and time delay interval time and;
Described time delay interval time behaviour 10ms;
Described time cumulation be calculated as cumulative time and time interval and.
After said structure, the flush plug receptacle of infrared remote control signal decoding process of the present invention can be realized:When negative When load electric current is excessive, microprocessor control relay is realized and automatically powered off, and protects load elements;When load current is standby current When, by microprocessor processes and judgement, automatically power off, realize the function of power saving;Infra-red remote control letter provided by the present invention Number decoding process needs not move through infrared signal coupling learning, you can realization is solved for any button of any IR remote controller Code, realizes that flush plug receptacle of the present invention restores electricity;The present invention can realize protection against electric shock, automatic circuit break function, and recover Very convenient operation during power supply, can realize master control and function controlled in addition.
Brief description of the drawings
Below in conjunction with the drawings and specific embodiments to being originally described in further detail.
Fig. 1 a are the structured flowchart of embodiment of the present invention;
Fig. 1 b are the circuit theory diagrams that the D.C. regulated power supply module of embodiment of the present invention is powered by transformer pressure-reducing;
Fig. 1 c are the circuit theory diagrams by current transformer sample rate current of embodiment of the present invention;
Fig. 1 d are the circuit theory diagrams of the two-way relay driving module of embodiment of the present invention;
Fig. 1 e are the assembling assumption diagram of embodiment of the present invention;
Fig. 2 is continuous monitoring method flow chart provided by the invention;
Fig. 3 is interval monitoring method flow chart provided by the invention;
Fig. 4 is infrared receiver of the present invention and decoding circuit diagram;
In figure:101 it is socket first front panel, 102 be socket second face plate, 103 be receptacle mounting screws, 104 is Output socket, 105 be mainboard, 106 be fastening screw, 107 be socket bonnet, 107-1 is external power interface, 107-2 be by Control power interface, 1051 be microprocessor, 1052 be D.C. regulated power supply module, 1053 be two-way relay driving module, 1054 it is current detection module, 1055 is infrared receiving module.
Embodiment
As shown in Fig. 1 a and Fig. 1 e, a kind of infrared remote control signal decoding process based on microprocessor of the invention carries The flush plug receptacle of controlled source interface, including output socket 104, mainboard 105 and external power interface 107-1, controlled source Interface 107-2.Wherein external power interface 107-1 and controlled source interface 107-2 are arranged on socket bonnet 107.Output is inserted Mouthfuls 104, mainboard 105 is fixed on socket second face plate 102 by fastening screw 106, and socket bonnet 107 is fastened on socket the On two front panels 102, socket second face plate 102 is fixedly mounted in external power supply line box by receptacle mounting screws 103, is inserted Seat first front panel 101 is fastened on socket second face plate 102.
Mainboard 105 include microprocessor 1051, infrared receiving module 1055, D.C. regulated power supply module 1052, two-way after Electrical equipment drive module 1053, current detection module 1054.The two-way relay driving module include driving signal input, after Electric apparatus coil circuit and output loop;The external power interface 107-1 and D.C. regulated power supply module 1502 and two-way after The output loop of electrical equipment drive module 1053 is connected;The output loop of the two-way relay driving module 1053 is inserted with output Mouth 104 is connected by two phase lines, wherein being provided with current detection module 1054 on a phase line (being typically live wire);It is described DC voltage-stabilizing module 1052 is to microprocessor 1051, infrared receiving module 1055, the relay of two-way relay driving module 1053 Device coil circuit is powered;The DC voltage-stabilizing module 1052 provides 5V and 12V or 24V two kinds of DC voltage-stabilizing outputs, and wherein 5V gives Microprocessor 1051 and infrared receiving module 1055 are powered, the relay line of 12V or 24V to two-way relay driving module 1053 Enclose circuit power supply.The microprocessor 1051 and current detection module 1054, infrared receiving module 1055, two-way relay driving The driving signal input of module 1053 is connected.The infrared signal of remote control transmission is received by infrared receiving module 1055, And the current signal that current detection module 1054 sends over, the then infrared remote-controlled signal by being set in microprocessor 1051 Decoding process and current signal processing routine judge and control the drive signal of two-way relay driving module 1053, realize output The break-make of socket 104 and controlled source interface 107-2 power supplys.
Output socket 104 and controlled source interface 107-2 restore electricity can by using any IR remote controller by appoint Meaning key, one-key operation.Infrared receiving module 1055 receives the infrared signal of remote control transmission, then passes through microprocessor 1051 The infrared remote-controlled signal decoding process inside set judges and controls the drive signal of two-way relay driving module 1053, realizes output Socket 104 and controlled source interface 107-2 restore electricity.
The infrared receiving module 1055 refers to use integrated infrared receiver, the infra-red remote control received is believed Number be amplified, detection, shaping, and export can allow microprocessor identify TTL signal.
The infrared signal that the remote control is sent refers to that operator is any by IR remote controller using any IR remote controller The infrared signal that key is sent.
The infrared remote-controlled signal decoding process is to carry out timing processing to the 38KHZ infrared signals received, described The 38KHZ infrared signal cumulative times for specifically referring to once receive to the 38KHZ infrared signals progress timing processing received reach To certain time length, specific instruction method is one kind in interval monitoring method or continuous monitoring method.
As shown in Figure 1 b, DC voltage-stabilizing current module 1052 of the invention includes pressure unit, the rectification list being sequentially connected in series Member and voltage regulation filtering unit.Wherein pressure unit can use transformer T as shown in Figure 1 b, external power interface 107-1 to connect Enter AC power AC220V, AC power passes through the full-bridge rectification unit through diode D1, D2, D3 and D4 composition after pressure unit Rectification.As shown in Figure 1 b, the voltage regulation filtering unit of present embodiment includes voltage-stablizer VT1 and VT2, and the voltage-stablizer VT1's is defeated Enter end with full-bridge rectification unit output end to be connected.Filter capacitor C1 is connected between the input and ground of the voltage-stablizer VT1, Filter capacitor C2, the output end output voltage of the voltage-stablizer VT1 are connected between the output end and ground of the voltage-stablizer VT1 V1, V1 are that 12V or 24V powers to relay coil.Filter capacitor is connected between the output end and ground of the voltage-stablizer VT2 C3, the voltage-stablizer VT2 output end output voltage V2, V2 are 5V to microprocessor 1051, infrared receiving module 1055.
The current detection module 1054 can be including current transformer L1 as illustrated in figure 1 c, and the rectification of cascade Circuit, filter circuit, bleeder circuit and amplifying circuit.The rectification circuit is that the full-bridge that diode D5, D6, D7 and D8 are formed is whole Current circuit, the filter circuit are C4, and the bleeder circuit is resistance R2 and R3 series connection bleeder circuit.The amplifying circuit is Amplifier U1, the resistance R2 and R3 intermediate connection point are connected by resistance R4 with amplifier U1 electrode input ends, described Amplifier U1 negative inputs are grounded by resistance R5, and the amplifier U1 output ends are connected with microprocessor 1051.It is described Current detection module 1054 detect load current, be defeated by microprocessor 1051.When load current is excessive, microprocessor control Relay is realized and automatically powered off, and protects load elements;When load current is standby current, by microprocessor processes and sentence It is disconnected, automatically power off, realize the function of power saving.
As shown in Figure 1 d, two-way relay driving module 1053 includes relay K1 and K2, the relay K1's and K2 Coil is in parallel, and then forms series via with D.C. regulated power supply module 1052, voltage-stablizer J1.The control of the voltage-stablizer J1 End is connected by resistance R1 with the output end of microprocessor 1051, relay K1 and K2 reversal connection the diode D1.When infrared After receiving module 1055 receives signal, the output signal of microprocessor 1051 control voltage-stablizer J1 is turned on, then control relay K1 and K2 work so that external power interface 107-1 AC power is exported by relay K1 and K2 and gives controlled source interface 107-2 and output socket 104.Whether controlled source interface 107-2 has power supply output, and power supply state is in output socket 104 It is synchronous, depending on whether two-way relay driving module 1053 is closed by control loop.
In the above-mentioned embodiment of the present invention, load current is detected by current detection module and is transferred to microprocessor, when negative When load electric current is excessive, microprocessor control relay is realized and automatically powered off, and protects load elements;When load current is standby current When, by microprocessor processes and judgement, automatically power off, realize the function of power saving;Infra-red remote control letter provided by the present invention Number decoding process needs not move through infrared signal coupling learning, you can realization is solved for any button of any IR remote controller Code, realizes that flush plug receptacle of the present invention restores electricity;The present invention can realize protection against electric shock, automatic circuit break function, and recover Very convenient operation during power supply, can realize master control and function controlled in addition.Although the foregoing describe the specific implementation of the present invention Mode, but those skilled in the art should be appreciated that these are merely illustrative of, and present embodiment can be made a variety of Change or modification, without departing from the principle and essence of invention, protection scope of the present invention is only limited by the claims that follow.

Claims (1)

  1. A kind of 1. flush plug receptacle with controlled source interface, using the infrared remote-controlled signal decoding side based on microprocessor Formula, it is characterised in that:Including output socket (104), mainboard (105) and external power interface (107-1), controlled source interface (107-2);Wherein external power interface (107-1) and controlled source interface (107-2) is arranged on socket bonnet (107), defeated Go out socket (104), mainboard (105) is fixed on socket second face plate (102) by fastening screw (106), socket bonnet (107) it is fastened on socket second face plate (102), socket second face plate (102) is fixed by receptacle mounting screws (103) In external power supply line box, socket first front panel (101) is fastened on socket second face plate (102);Described master Plate (105) includes microprocessor (1051), infrared receiving module (1055), D.C. regulated power supply module (1052), two-way relay Device drive module (1053), current detection module (1054);
    The two-way relay driving module includes driving signal input, relay coil circuit and output loop;It is described outer Connect power interface (107-1) and the input of D.C. regulated power supply module (1052) and two-way relay driving module (1053) is returned Road is connected;The output loop of the two-way relay driving module (1053) passes through two phase line phases with output socket (104) Connection, wherein being provided with current detection module (1054) on a live wire;The D.C. regulated power supply module (1052) gives micro- place Manage the relay coil circuit power supply of device (1051), infrared receiving module (1055), two-way relay driving module (1053);Institute Stating D.C. regulated power supply module (1052) provides 5V and 12V or 24V two kinds of DC voltage-stabilizing outputs, and wherein 5V is to microprocessor (1051) powered with infrared receiving module (1055), the relay coil of 12V or 24V to two-way relay driving module (1053) Circuit is powered;
    The microprocessor (1051) and current detection module (1054), infrared receiving module (1055), two-way relay driving The driving signal input of module (1053) is connected, and the microprocessor (1051) is received by infrared receiving module (1055) The infrared signal that remote control is sent, and the current signal that current detection module (1054) sends over is received, then pass through micro- place The infrared remote-controlled signal decoding process and current signal processing routine set in reason device (1051) judges and controls two-way relay to drive The drive signal of dynamic model block (1053), the break-make of output socket (104) and controlled source interface (107-2) power supply is realized, it is described Output socket (104) and controlled source interface (107-2) restore electricity can be by using any IR remote controller by any Key, one-key operation, infrared receiving module (1055) receive the infrared signal of remote control transmission, then pass through microprocessor (1051) the interior infrared remote-controlled signal decoding process set judges and controls the drive signal of two-way relay driving module (1053), Realize that output socket (104) and controlled source interface (107-2) restore electricity;The infrared receiving module (1055) is using one Change infrared receiver, the infrared signal received is amplified, detection, shaping, and export microprocessor can be allowed to know Other TTL signal;The infrared signal that the remote control is sent refers to operator using any IR remote controller by IR remote controller The infrared signal that any key is sent.
CN201510065132.7A 2015-02-09 2015-02-09 A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor Active CN104600514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510065132.7A CN104600514B (en) 2015-02-09 2015-02-09 A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510065132.7A CN104600514B (en) 2015-02-09 2015-02-09 A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor

Publications (2)

Publication Number Publication Date
CN104600514A CN104600514A (en) 2015-05-06
CN104600514B true CN104600514B (en) 2017-11-21

Family

ID=53126128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510065132.7A Active CN104600514B (en) 2015-02-09 2015-02-09 A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor

Country Status (1)

Country Link
CN (1) CN104600514B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201247866Y (en) * 2008-06-25 2009-05-27 蒋华旦 Intelligent energy-saving socket
CN201556790U (en) * 2009-11-11 2010-08-18 胡佰能 Infrared remote control energy-saving socket
CN201781141U (en) * 2009-11-23 2011-03-30 天津莱克斯特电气有限责任公司 Novel TV remote socket
CN201766247U (en) * 2010-08-19 2011-03-16 魏永宁 Multifunctional energy-saving socket
CN204615082U (en) * 2015-02-09 2015-09-02 张春雨 A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor

Also Published As

Publication number Publication date
CN104600514A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104600511B (en) A kind of power supply connecting device of the infrared remote control signal decoding process based on microprocessor
CN105305526A (en) current detection and management device
CN202550225U (en) Infrared remote control energy-saving power wiring board
CN104617450B (en) A kind of outside plug type intelligent power socket of the infrared remote control signal decoding process based on microprocessor
CN203967410U (en) TV set intelligent protection socket based on infrared remote control
CN104600512B (en) A kind of flush plug receptacle with controlled source interface and USB interface of infrared remote control signal decoding process based on microprocessor
CN104600514B (en) A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor
CN204668632U (en) A kind of power supply connecting device of the infrared remote control signal decoding process based on microprocessor
CN204793440U (en) Flush plug receptacle with controlled power source and USB interface
CN201319448Y (en) Energy-saving socket for AC/DC output electric power source
CN204615082U (en) A kind of flush plug receptacle of the infrared remote control signal decoding process based on microprocessor
CN104600513B (en) A kind of outside plug type socket of the infrared remote control signal decoding process based on microprocessor
CN204668633U (en) A kind of outside plug type socket of the infrared remote control signal decoding process based on microprocessor
CN204615083U (en) A kind of insert row of the infrared remote control signal decoding process based on microprocessor
CN202353741U (en) Energy-saving motor set-top box
CN104765287B (en) A kind of insert row of the infrared remote control signal decoding process based on microprocessor
CN206640695U (en) A kind of energy saver automatically powered off after remote closing television set
CN201584600U (en) Novel remote control socket for air conditioner
CN201781141U (en) Novel TV remote socket
CN202076818U (en) Standby-loss-free universal serial bus (USB) charger
CN201584598U (en) Air conditioner remote controlled socket with complete power-off function
CN206237177U (en) A kind of power supply adaptor of charging control circuit and safety
CN207976763U (en) A kind of intelligent household control terminal device
CN204287833U (en) A kind of remote-control intelligent energy-saving wiring board
CN201191364Y (en) Electric appliance control system having power supply controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201224

Address after: 221300 Hardware Machinery Industrial Park, nianzhuang Town, Pizhou City, Xuzhou City, Jiangsu Province

Patentee after: Xuzhou Kangxiang Precision Manufacturing Co.,Ltd.

Address before: Sixteen Beautiful Landscape Gardens, Qiandang Town, Kunshan City, Suzhou City, Jiangsu Province

Patentee before: Zhang Chunyu

TR01 Transfer of patent right