Remote control socket
Technical field
The utility model relates to remote control socket, relates in particular to contain microcontroller, and by software programming, the remote control socket of external two control buttons.
Background technology
Remote control socket is usually used in remote controls such as the wireless remote control of family and commercial controlled in wireless, crane, Ku Men, speed governing.At present the remote control socket circuit structure more complicated of using, cost is higher, use is inconvenient.Application on October 23rd, 1992, the patent No. is that 92238490.8 " household electrical appliance power supply remote control sockets " just belong to this kind, it comprises DC power supply, it is characterized in that DC power supply is connected with o controller with infrared controlled device, infrared controlled device is made of infrared receiving circuit, demodulation, shaping and circuits for triggering, o controller constitutes by detecting control, driving and state control circuit, it has overcome the single defective of conventional socket effect, has the control of the infrared remote control of acceptance, be switched on or switched off the characteristics of electrical equipment general supply, make household electrical appliance can both realize straighforward operation.Its circuit structure more complicated, cost is higher, use is inconvenient.
The patent No. is that its combined socket and switch main body one side of 02216624 " separate type remote control socket " utilizes the electric wire of suitable length to link a remote control socket, this remote control socket has a switch key, utilize the voltage-controlled power supply that gets line control switch socket main body of this switch key to open and close, according to this can be with of the electric power connecting supply of this combined socket and switch main body as various electrical equipment, and remote control socket utilized the extension of its electric wire and be arranged in conveniently can and the appropriate position, the power supply of the person's of being easy to use line remote control switch socket main body opens and closes, to promote its practicality, can can avoid mixed and disorderly electric wire and plug to influence the attractive in appearance of space environment in the latent place that places sight line to be difficult for seeing of the combined socket and switch main body of sticking with various appliance plugs simultaneously.Though this technology has had improvement, the problems referred to above fail to solve.
Summary of the invention
Technical problem to be solved in the utility model is at the prior art present situation, and the remote control socket that a kind of circuit structure is simple, reliability is high, flexibility is good, cost is low, easy to operate is provided.
The utility model solves the problems of the technologies described above the technical scheme that is adopted: remote control socket, the remote controller that comprises socket and the described socket work of cooperation, be provided with the countdown circuit and the radiating circuit of electrical connection in the remote controller box body, be provided with controlled device in the jack body; Controlled device comprises receiving circuit, amplification and rectification circuit, comparison circuit, driving executive circuit and power circuit; The technical measures of taking comprise:
Controlled device also comprises microcontroller circuit, and this microcontroller circuit connects comparison circuit respectively, drives executive circuit and power circuit;
Remote controller comprises address code information and control data information emission code signal, and this remote controller is power supply separately;
Controlled device has the transmit coded signals from remote controller, output to the input of amplification and rectification circuit through its receiving circuit, amplification and shaping through amplification and rectification circuit, output to comparison circuit and carry out voltage ratio, the output signal of comparison circuit is input to microcontroller, through the microcontroller software decoding, the relay or the controllable silicon work of output drive control signal controlling and driving executive circuit.
For optimizing technique scheme, concrete technical measures also comprise:
The above-mentioned output of microcontroller circuit software decode " 0 " or " 1 " control relay or controllable silicon work.
Above-mentioned driving executive circuit is transistor switching circuit and relay circuit or is transistor switching circuit and ghyristor circuit that microcontroller drives triode control relay circuit or ghyristor circuit.
Above-mentioned power circuit comprises reduction voltage circuit, rectification circuit, voltage stabilizing circuit and three-terminal voltage-stabilizing circuit, rectification circuit is full-wave rectification or is halfwave rectifier, voltage stabilizing circuit provides the operating voltage that drives executive circuit, and the three-terminal voltage-stabilizing circuit provides the operating voltage of receiving circuit, amplification and rectification circuit, comparison circuit, microcontroller.
Finish software decode by above-mentioned microcontroller, coded message that can memory remote controller drives triode work.
Above-mentioned countdown circuit comprises control circuit chip and data accumulating chip, button and indicator light, the control circuit chip has the end pin that is used to detect key information, and be connected to address code information and the key information that the end pin of data accumulating chip is used in the reading of data memory chip through the end pin that it has and combine sending and receiving radio road, and connect output " 0 " and light indicator light.
Above-mentioned microcontroller circuit comprises microcontroller chip, data accumulating chip, first button, second button, reset circuit and indicating circuit; First button is connected to the end pin of microcontroller chip, be used to control the code signal that microcontroller is remembered the remote controller that receives, when touching first button once, end pin output " 0 " or " 1 " signal controlling indicator light flicker of microcontroller chip, appoint get a same model remote controller by any button once, the indicator light corresponding actions, microcontroller has been finished the memory to the remote controller coded message, and the end pin that the information of memory is received the data accumulating chip by the end pin of microcontroller chip is sent into the data accumulating chip and forever preserved; Second button is connected to the end pin of microcontroller chip, be used to control microcontroller and carry out switch work, press once, the microcontroller chip state changes once, input signal is sent into microcontroller chip inside through the end pin of microcontroller chip, signal is discerned, compared by software programming in microcontroller chip inside, finish decoding; Decoded results software generates " 0 " or " 1 " or continuous " 0 " " 1 " control signal outputs to the driving executive circuit by microcontroller chip end pin.
Compared with prior art, the utility model is discerned, is compared with the signal that software is sent here comparator owing to adopted microcontroller as core component, finishes decoding; And by software programming, external two buttons, one is used to control the code signal that microcontroller is remembered the remote controller that receives, and the remote controller of any like this same model can be finished the function of remote controller by shirtsleeve operation and don't can interfere with the work of other unit; Another button is used to control microcontroller and carries out switch work, makes this remote control socket not rely on remote controller and also can work; In addition, select the little drive circuit of triode controllable silicon,, obtain continually varying voltage, reach the purpose of light modulation or speed governing at the silicon controlled control end by microcontroller output duty cycle continually varying high-low level.Thus, this remote control socket has been simplified circuit greatly, has reduced cost, has reduced the circuit volume, has improved the reliability of circuit, has strengthened the flexibility of control, has made things convenient for user's operation greatly, so practicality is very strong.
Description of drawings
Fig. 1 is the circuit block diagram of a kind of embodiment of the utility model.
Fig. 2 is the electrical schematic diagram of remote controller part among Fig. 1.
Fig. 3 be among Fig. 1 controlled device part by triode and relay electrical schematic diagram as drive circuit.
Fig. 4 be among Fig. 1 controlled device part by triode and controllable silicon electrical schematic diagram as drive circuit.
Fig. 5 is the electrical schematic diagram of microcontroller circuit part among Fig. 1.
Specific embodiment
Below in conjunction with drawings and Examples the utility model is described in further detail.
Fig. 1 is to shown in Figure 5, and remote control socket comprises socket and the remote controller that cooperates described socket work, is provided with the countdown circuit and the radiating circuit of electrical connection in the remote controller box body, is provided with controlled device in the jack body; Controlled device comprises receiving circuit, amplification and rectification circuit, comparison circuit, driving executive circuit and power circuit; Controlled device also comprises microcontroller circuit, and this microcontroller circuit connects comparison circuit respectively, drives executive circuit and power circuit; Remote controller comprises address code information and control data information emission code signal, and this remote controller is power supply separately; Controlled device has the transmit coded signals from remote controller, output to the input of amplification and rectification circuit through its receiving circuit, amplification and shaping through amplification and rectification circuit, output to comparison circuit and carry out voltage ratio, the output signal of comparison circuit is input to microcontroller, through the microcontroller software decoding, the relay or the controllable silicon work of output drive control signal controlling and driving executive circuit.
As shown in Figure 2, present embodiment remote controller part is made of countdown circuit and radiating circuit, and this remote controller be to power separately, and power supply circuit is made up of voltage-stabiliser tube HI7150A, power supply BT1 and capacitor C 21.Emission control comprises EM78P153S, 24LC01B, button S1 to S11 and indicator light LED1, P60 to the P66 end pin of EM78P153S detects key information, take place when detecting button, SCL, VDD, the SDA end that EM78P153 is sequentially connected to 24LC01B by P50, P51, P67 correspondence reads address code information in the 24LC01B and key information and combines by P52 and launch to radiating circuit, and P53 exports " 0 " and lights indicator light LED1 simultaneously.Radiating circuit comprises that model is triode Q3, crystal oscillator pipe Y1, resistance, the electric capacity of KSP10.
As shown in Figure 3, comprise power circuit, receiving circuit, amplification and rectification circuit, comparison circuit and driving executive circuit.The receiving circuit of being made up of triode Q1 (KSP10) and auxiliary element receives wireless signal and sends into the amplification and rectification circuit of being made up of amplifier U1A, send into the comparison circuit of forming by amplifier U1B and resistance R 10, capacitor C 7 from the signal that U1A comes out, relatively the back send controller to handle from " input " end that " input " end outputs to Fig. 5, and processing back signal holds Fig. 3 " control " end control triode Q3 (8050) to drive the relay execution from " control " of Fig. 5.Power circuit comprises reduction voltage circuit, 4 bridge rectifier, voltage stabilizing circuit and three-terminal voltage-stabilizing circuit (78L05) output 5v power supplys that diode IN4007 forms.
As shown in Figure 4, comprise power circuit, receiving circuit, amplification and rectification circuit, comparison circuit and driving executive circuit.Receiving circuit receive signal through amplify shaping, relatively the controller processing is sent from " input " end that " input " end outputs to Fig. 5 in the back, signal is held Fig. 4 " control " end from Fig. 5 " control " after handling, the base stage of " 0 " " 1 " signal controlling triode Q4 (9013) of " control " end, signal passes through the gate pole of resistance R 19 to controllable silicon Q2 (BT136) by the collector electrode of triode Q4 (9013).Power circuit comprises reduction voltage circuit, 1 half-wave rectifying circuit, voltage stabilizing circuit and three-terminal voltage-stabilizing circuit (78L05) output 5v power supply that IN4007 forms.
As shown in Figure 5, the microcontroller circuit of present embodiment comprises microcontroller chip (EM78P153S), data accumulating chip (24LC01B), two buttons (K1, K2), reset circuit and indicating circuit.Button K1 is connected to the P50 pin of EM78P153S, be used to control the code signal that microcontroller is remembered the remote controller that receives, when touching button K1 once, P50 output " 0 " " 1 " signal lamp LED flicker of EM78P153S, appoint get a same model remote controller by any button once, the indicator light corresponding actions, microcontroller has been finished the memory to the remote controller coded message, and the information of memory is sent into 24LC01B and forever preserved by the P61 of EM78P153S, SCL, the SDA that the P62 correspondence is sequentially connected to 24LC01B.Button K2 is connected to the P52 of EM78P153S, is used to control microcontroller and carries out switch work, presses once, and the P53 state of EM78P153S changes once.Input signal holds the P67 of microcontroller chip (EM78P153S) to send into EM78P153S inside from " input ", signal is discerned, is compared by software programming in EM78P153S inside, finishes the purpose of decoding.Decoded results software generates " 0 " " 1 " or continuous " 0 " " 1 " control signal and outputs to " control " end by the P50 pin of EM78P153S.
Owing to adopted microcontroller as core component, discern, compare with the signal that software is sent here comparator, finish decoding; And by software programming, external two buttons, one is used to control the code signal that microcontroller is remembered the remote controller that receives, and the remote controller of any like this same model can be finished the function of remote controller by shirtsleeve operation and don't can interfere with the work of other unit; Another button is used to control microcontroller and carries out switch work, makes this remote control socket not rely on remote controller and also can work; In addition, select the little drive circuit of triode controllable silicon,, obtain continually varying voltage, reach the purpose of light modulation or speed governing at the silicon controlled control end by microcontroller output duty cycle continually varying high-low level.Thus, this remote control socket has been simplified circuit greatly, has reduced cost, has reduced the circuit volume, has improved the reliability of circuit, has strengthened the flexibility of control, has made things convenient for user's operation greatly, so practicality is very strong.
Though the utility model illustrates and describes by the reference preferred embodiment,, those skilled in the art should understand, and in the scope of claims, can do the various variation on form and the details.