Summary of the invention
The object of this invention is to provide a kind of multimedia remote control, infrared remote control switch of the prior art can be solved and there is the problem such as poor compatibility, needs coupling appointment telepilot, but also the infrared signal of different Infrared remote controller can be learnt, and the signal of specifying is used to control computer, televisor, Set Top Box, infrared HiFi etc.
For achieving the above object, embodiments provide multimedia remote control, it is characterized in that, comprise the intelligent remote controller and computer controller that can intercom mutually, described intelligent remote controller comprises gyroscope and gravity sensor, infrared transmission module, controller, 2.4G transmitter module, input key, charging circuit, battery and infrared receiving module, described controller obtains the key commands of user's input by described input key, and according to described key commands to computer or other multimedia equipments control or character input, described computer controller comprises 2.4G receiver module, and described controller is sent to information by described 2.4G transmitter module the 2.4G receiver module of computer controller, thus controls the open/close state of computer, described controller obtains the amplitude of intelligent remote controller movement and angle by gyroscope and gravity sensor and is converted into mouse mobile displacement and angle value, described controller is received by described infrared receiving module and remembers multiple infrared remote-controlled signal, and described controller controls infrared transmission module and sends infrared information control infrared equipment, described charging circuit is connected with controller, battery respectively, and described charging circuit charges to battery, management of discharging, described computer controller also comprises feed circuit (A1), infrared signal receiver (U2) and on-off circuit (A3), described computer controller also comprise respectively with described feed circuit (A1), the governor circuit (U1) that infrared signal receiver (U2) and on-off circuit (A3) connect and the study key circuit (A2) be connected with described governor circuit (U1), the data layout of the switch order that described governor circuit (U1) is inputted by described infrared signal receiver (U2) during being triggered by described study key circuit (A2) trigger recording, and under switching on and shutting down control model according to described infrared signal receiver (U2) input and with the identical corresponding open/close state controlling described on-off circuit (A3) of switch order of described data layout of record, the output terminal (C-out) of described on-off circuit (A3) connects the power supply supply side of computer.
As the improvement of such scheme, described computer controller also comprises the condition indication circuit (A4) be connected with described governor circuit (U1), during the data layout of the switch order inputted by described infrared signal receiver (U2) during described governor circuit (U1) is triggered by described study key circuit (A2) trigger recording, and when receiving that described infrared signal receiver (U2) inputs and identical with the described data layout of record switch order under switching on and shutting down control model, all shown by described condition indication circuit (A4).
As the improvement of such scheme, described governor circuit (U1) comprising:
Instruction reception unit, for receiving the switch order that described infrared signal receiver (U2) inputs;
Storage unit, for the data layout of storage switch instruction;
Study button trigger element, during for receiving the trigger pip of described study key circuit (A2), the data layout of the switch order be currently received by described instruction reception unit is recorded in described storage unit;
Comparing unit, the data layout for the switch order in the data layout of switch order that received by described instruction reception unit under switching on and shutting down control model and described storage unit contrasts; And
Instruction output unit, when described comparing unit comparison go out data layout identical when, export different steering orders according to described switch order correspondence; When described comparing unit comparison go out data layout not identical when, then not output order.
As the improvement of such scheme, described governor circuit (U1) comprising:
Instruction reception unit, for receiving the switch order that described infrared signal receiver (U2) inputs;
Storage unit, for the data layout of storage switch instruction;
Study button trigger element, during for receiving the trigger pip of described study key circuit (A2), the data layout of the switch order be currently received by described instruction reception unit is recorded in described storage unit;
Comparing unit, the data layout for the switch order in the data layout of switch order that received by described instruction reception unit under switching on and shutting down control model and described storage unit contrasts;
State instruction control module, when learning button trigger element and receiving the trigger pip of described study key circuit (A2), and described comparing unit comparison go out the data layout of the switch order that described instruction reception unit receives identical with the data layout of the switch order in described storage unit time, send corresponding indicator signal to described condition indication circuit (A4); And
Instruction output unit, when described comparing unit comparison go out data layout identical when, export different steering orders according to described switch order correspondence; When described comparing unit comparison go out data layout not identical when, then not output order.
As the improvement of such scheme, described governor circuit passes through chip microcontroller;
Described infrared signal receiver comprises infrared probe (U2), electric capacity (C1), resistance (R13) and resistance (R14), the input end of described infrared probe (U2) connects direct supply, output terminal is connected to the P3.3 pin of single-chip microcomputer by resistance (R14), the P3.3 pin of described single-chip microcomputer is by described resistance (R13) ground connection, and described electric capacity (C1) is connected between direct supply and ground; Described feed circuit (A1) comprise temperature sense fuse (R15), the 7th resistance (R7), the 5th electric capacity (C5) and the 3rd electric capacity (C3); Described temperature sense fuse (R15) one end connects the power supply of described computer, be connected with one end of described 7th resistance (R7) and direct supply while of the other end, the other end of described 7th resistance (R7) connects the VCC pin of single-chip microcomputer (U1); Described 5th electric capacity (C5) and the 3rd electric capacity (C3) are in parallel and between the VCC pin being connected to single-chip microcomputer (U1) and GND pin, the GND pin of single-chip microcomputer (U1) is held with being connected to;
Described study key circuit (A2) comprises infrared ray study button (S1) and the second electric capacity (C2); Described infrared ray study button (S1) and the second electric capacity (C2) be connected in parallel on single-chip microcomputer (U1) P3.2 pin and hold between.
As the improvement of such scheme, described on-off circuit (A3) comprises the 4th electric capacity (C4), the 5th resistance (R5), the 6th resistance (R6) and the first triode (Q1); Described 4th electric capacity (C4) and the 6th resistance (R6) are in parallel and be connected between the P3.3 pin of single-chip microcomputer (U1) and ground holds, the P3.1 pin of single-chip microcomputer (U1) is connected to the base stage of the first triode (Q1) by the 5th resistance (R5), the emitter of the first triode (Q1) is held with being connected to, the output terminal (C-out) of the very described on-off circuit (A3) of current collection;
When described first triode (Q1) is for NPN triode, described single-chip microcomputer (U1) by exporting low/high level to P3.1 pin, makes described first triode (Q1) by/conducting according to ON/OFF instruction correspondence, thus makes computer power start/close;
When described first triode (Q1) is for PNP triode, described single-chip microcomputer (U1) is corresponding to exporting high/low level to P3.1 pin according to ON/OFF instruction, makes described first triode (Q1) by/conducting, thus makes computer power start/closedown.
As the improvement of such scheme, described computer controller also comprises condition indication circuit (A4), described condition indication circuit (A4) comprises LED light (LED0), described LED light (LED0) is connected to the collector of the 3rd triode (Q3) by the second resistance (R2), the grounded emitter of described 3rd triode (Q3), the base stage of described 3rd triode (Q3) is connected to the base stage of described first triode (Q1).
As the improvement of such scheme, described computer controller also comprises microUSB interface (CON1), and this microUSB interface (CON1) connects+5Vsb accessory power supply input end (+5Vsb) of described feed circuit (A1) and the output terminal (C-out) of described on-off circuit (A3) respectively; One end by data line is plugged on microUSB interface (CON1), and the other end is plugged in the respective pins of computer: computer power is powered to the circuit in described computer controller by microUSB interface (CON1); And described computer controller controls computer power switching startup/closed condition by microUSB interface (CON1).
As the improvement of such scheme, described computer controller is also provided with charging current limiter circuit and USB charging inlet (CON2), the feed circuit (A1) of described computer controller by charging current limiter circuit and USB charging inlet (CON2) for external unit provides charging voltage and charging current, described charging current limiter circuit comprises TPS2511 control chip (U4), resistance (R15), resistance (R17) and electric capacity (C6), the ILIM_SET pin of described TPS2511 control chip (U4) is by described resistance (R15) ground connection, GND pin ground connection, IN pin connects direct supply, EN pin connects direct supply by described resistance (R17), OUT pin connects 4 pin of described USB charging inlet (CON2), DM pin connects 3 pin of described USB charging inlet (CON2), DP pin connects 2 pin of described USB charging inlet (CON2), 1 pin ground connection of described USB charging inlet (CON2), the OUT pin of described TPS2511 control chip (U4) is also by described electric capacity (C6) ground connection.
Compared with prior art, multimedia remote control of the present invention comprises intelligent remote controller and computer controller, wherein, described intelligent remote controller and computer controller not only can intercom mutually (radio communication system by 2.4GHz), and described intelligent remote controller and computer controller are all with learning and remembering the ability of multiple infrared remote-controlled signal, thus make this intelligent remote controller based on learning and remembering outside multiple infrared signal, correspondingly can control different infrared equipments; And described computer controller can learn the infrared signal of different Infrared remote controller, thus the steering order that the Infrared remote controller that can receive different infrared type sends, the corresponding machine open/close controlling computer, very easy to use.In addition, multimedia remote control of the present invention is by charging current limiter circuit and USB charging inlet, the charging voltage that feed circuit are provided for external unit by charging current limiter circuit and USB charging inlet and charging current, therefore, the invention provides can be the USB charging inlet of mobile device rapid charge.In addition, described intelligent remote controller can also control to have installed computer controller computer, there is Android system and the device with USB interface carries out starting shooting, shuts down, the input such as mouse moves, keypad character.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
See Fig. 1, it is the structured flowchart of the multimedia remote control of the embodiment of the present invention 1.This multimedia remote control comprises the intelligent remote controller 200 and computer controller 100 that can intercom mutually.This intelligent remote controller 200 can be sent the order of user's input and is input in opertaing device (such as, computer) by computer controller 100.Described intelligent remote controller 200 can control to have installed computer controller 100 computer, there is Android system and the device with USB interface carries out starting shooting, shuts down, mouse moves, keypad character inputs.
With reference to figure 2, this intelligent remote controller 200 comprises input key 201,2.4G transmitter module 202, gyroscope and gravity sensor 203, controller 204, infrared transmission module 205, charging circuit 206, battery 207 and infrared receiving module 208.Described controller 204 is connected with input key 201, controller 204 by described input key 201 obtain user input key commands, and according to described key commands to computer other multimedia equipments control or character input.Described controller 204 is connected with 2.4G transmitter module 202, and described 2.4G transmitter module 202 is converted into the control signal of controller 204 radiocommunication signals of 2.4GHz.Controller 204 is sent to the 2.4G receiver module 101(of computer controller 100 with reference to figure 3 or Fig. 6 by described 2.4G transmitter module 202 control information), to be input in opertaing device by this computer controller 100.Described controller 204 is connected with gravity sensor 203 with gyroscope, controller 204 obtains amplitude and the angle information of intelligent remote controller 200 movement by gyroscope and gravity sensor 203, and the amplitude of intelligent remote controller 200 movement and angle information are converted into moving direction and the displacement of mouse in computer or other multi-media display device.Described controller 204 is also connected with infrared transmission module 205, infrared receiving module 208 respectively, controller 204 is received by described infrared receiving module 208 and remembers (realizing especially by recording each high and low level order, number and corresponding level duration in infrared signal in the erasable register of inside) multiple infrared remote-controlled signal, and controller 204 controls infrared transmission module 205 and sends infrared information control infrared equipment; Described charging circuit 206 is connected with controller 204, battery 207 respectively, and described charging circuit 206 pairs of batteries 207 charge, management of discharging.
With reference to figure 3, described computer controller 100 comprises feed circuit A1, infrared signal receiver U2 and on-off circuit A3, the learning-oriented control circuit of described computer power supply also comprise respectively with described feed circuit A1, the governor circuit U1 that infrared signal receiver U2 and on-off circuit A3 connects and the study key circuit A2 be connected with described governor circuit U1, the data layout of the switch order inputted by described infrared signal receiver U2 during described governor circuit U1 is triggered by described study key circuit A2 trigger recording, and under switching on and shutting down control model according to described infrared signal receiver U2 input and the switch order corresponding open/close state that control described on-off circuit A3 identical with the described data layout of record, the output terminal C-out of described on-off circuit A3 connects the power supply supply side (with reference to figure 5) of computer.
Preferably, as shown in Figure 5, the input end (Vcc-in) of described feed circuit A1 connects direct supply Vcc(such as, 5v respectively) and described computer power supply (by resistance connect).Like this, while the power supply of computer (such as, computer) can be made to power to computer, can also power to the multimedia remote control of the present embodiment.
With reference to figure 4, described governor circuit U1 comprises:
Instruction reception unit 11, for receiving the switch order that described infrared signal receiver U2 inputs;
Storage unit 12, for the data layout of storage switch instruction;
Study button trigger element 13, during for receiving the trigger pip of described study key circuit A2, the data layout of the switch order be currently received by described instruction reception unit is recorded in described storage unit;
Comparing unit 14, the data layout for the switch order in the data layout of switch order that received by described instruction reception unit 11 under switching on and shutting down control model and described storage unit 12 contrasts; And
Instruction output unit 15, when the comparison of described comparing unit 14 go out data layout identical when, export different steering orders according to described switch order correspondence; When the comparison of described comparing unit 14 go out data layout not identical when, then not output order.
The infrared signal that the computer controller of the present embodiment is sent by infrared signal receiver reception external remote directly sends to governor circuit, and governor circuit obtains the switch order loaded in this infrared signal by software decode.Governor circuit by study key circuit trigger can record triggered during the data layout of infrared signal that inputted by infrared signal receiver, governor circuit is when switching on and shutting down control model (i.e. normal work period) receives the infrared signal identical with recording data layout, the open/close state of described on-off circuit is controlled according to switch order correspondence, thus the electrical source exchange that can control computer starts, closed condition, therefore, multimedia remote control of the present invention can learn the infrared signal of different Infrared remote controller, and use the signal of specifying to control the machine open/close of computer, compatible high.
Visible, multimedia remote control provided by the invention comprises intelligent remote controller and computer controller, wherein, described intelligent remote controller and computer controller not only can intercom (radio communication system by 2.4GHz) mutually to realize opertaing device execution respective operations.Meanwhile, described intelligent remote controller and computer controller all with learning and remembering the ability of multiple infrared remote-controlled signal, thus make this intelligent remote controller based on learning and remembering outside multiple infrared signal, correspondingly can control other different infrared equipments; And described computer controller can learn the infrared signal of different Infrared remote controller, thus the steering order that the Infrared remote controller that can receive different infrared type sends, the corresponding machine open/close controlling computer, very easy to use.In addition, multimedia remote control of the present invention is by charging current limiter circuit and USB charging inlet, the charging voltage that feed circuit are provided for external unit by charging current limiter circuit and USB charging inlet and charging current, therefore, the invention provides can be the USB charging inlet of mobile device rapid charge.In addition, described intelligent remote controller can also control to have installed computer controller computer, there is Android system and the device with USB interface carries out starting shooting, shuts down, the input such as mouse moves, keypad character.
Embodiment 2
With reference to figure 6, it is the structured flowchart of the computer controller of the embodiment of the present invention 2.Similar to the computer controller 100 shown in Fig. 3, the computer controller of the present embodiment comprises feed circuit A1, infrared signal receiver U2 and on-off circuit A3, also comprise respectively with described feed circuit A1, the governor circuit U1 that infrared signal receiver U2 and on-off circuit A3 connects and the study key circuit A2 be connected with described governor circuit U1, the data layout of the switch order inputted by described infrared signal receiver U2 during described governor circuit U1 is triggered by described study key circuit A2 trigger recording, and under switching on and shutting down control model according to described infrared signal receiver U2 input and the switch order corresponding open/close state that control described on-off circuit A3 identical with the described data layout of record, the output terminal C-out of described on-off circuit A3 connects the power supply supply side (with reference to figure 5) of computer.
With the computer controller 100 shown in Fig. 3 unlike, the computer controller 100 of the present embodiment also comprises the condition indication circuit A4 be connected with described governor circuit U1, during the data layout of the switch order inputted by described infrared signal receiver U2 during described governor circuit U1 is triggered by described study key circuit A2 trigger recording, and when receiving that described infrared signal receiver U2 inputs and identical with the described data layout of record switch order under switching on and shutting down control model, all shown by described condition indication circuit A4.
Concrete, this condition indication circuit A4 can realize state instruction by the mode such as LED or loudspeaker.
With reference to figure 7, the governor circuit U1 of the present embodiment comprises:
Instruction reception unit 11, for receiving the switch order that described infrared signal receiver U2 inputs;
Storage unit 12, for the data layout of storage switch instruction;
Study button trigger element 13, during for receiving the trigger pip of described study key circuit A2, the data layout of the switch order be currently received by described instruction reception unit is recorded in described storage unit;
Comparing unit 14, the data layout for the switch order in the data layout of switch order that received by described instruction reception unit under switching on and shutting down control model and described storage unit contrasts;
State instruction control module 15, when learning button trigger element and receiving the trigger pip of described study key circuit A2, and described comparing unit comparison go out the data layout of the switch order that described instruction reception unit receives identical with the data layout of the switch order in described storage unit time, send corresponding indicator signal to described condition indication circuit (A4); And
Instruction output unit 16, when described comparing unit comparison go out data layout identical when, export different steering orders according to described switch order correspondence; When described comparing unit comparison go out data layout not identical when, then not output order.
The computer controller 100 of the present embodiment can reach the effect of the computer controller 100 of embodiment 1 equally, and the computer controller 100 of the present embodiment can also indicate the current state of circuit (learning records pattern or normal mode of operation) and indicate whether the switch order that circuit receives is that the Infrared remote controller of specifying sends.
Embodiment 3
With reference to figure 8, it is the structured flowchart of the learning type infrared remote control switch of the embodiment of the present invention 3.This learning type infrared remote control switch comprises housing 81 and is placed in the circuit board 8 in described housing.Wherein, be integrated with the circuit of computer controller in described circuit board 8, this computer controller can be the computer controller 100 shown in Fig. 3 or the computer controller shown in Fig. 6 100.
With reference to figure 9, the microUSB interface CON1 that described circuit board 8 is provided with, this microUSB interface CON1 connect the+5V accessory power supply input end+5Vsb(of described feed circuit A1 respectively with reference to figure 5) and the output terminal C-out of described on-off circuit A3; One end by data line is plugged on microUSB interface CON1, and the other end is plugged in the respective pins of computer: computer power is powered to the circuit in circuit board 8 by microUSB interface CON1; And the computer controller in circuit board 8 controls computer power switching startup/closed condition by microUSB interface CON1.
In addition, the circuit board 8 of the learning type infrared remote control switch of the present embodiment is also provided with charging current limiter circuit 300 and USB charging inlet CON2, the feed circuit A1 (with reference to figure 3 or Fig. 6) of described computer controller by charging current limiter circuit and USB charging inlet CON2 for external unit provides charging voltage and charging current.
Therefore, the learning type infrared remote control switch of the present embodiment can learn the infrared signal of different Infrared remote controller, and uses the signal of specifying to control the machine open/close of computer, compatible strong.In addition, learning type infrared remote control switch of the present invention is also provided with charging current limiter circuit and USB charging inlet, the charging voltage that feed circuit are provided for external unit by charging current limiter circuit and USB charging inlet and charging current, therefore, the invention provides can be the USB charging inlet of mobile device rapid charge.
In above embodiment, described computer can be the electronic product that computing machine, mobile phone, TV, fan and lamp etc. need Power supply, by multimedia remote control disclosed in the invention process and switch, the infrared signal learning different Infrared remote controller can be realized, and use the signal of specifying to control the machine open/close of this computer, compatible strong.
Below, by a specific embodiment, the physical circuit describing the learning type infrared remote control switch of the embodiment of the present invention in detail is formed and principle of work.
With reference to Figure 10, control by the structural representation of the learning type infrared remote control switch of remote control computer power initiation/closedown for being applied to.The learning-oriented gauge tap of this computer power supply comprises housing and circuit board 8, this housing is made up of upper cover 10 and lower cover 6, circuit board 8 is fixed in lower cover 6 by screw 9, this lower cover 6 has USB charging inlet perforate 1 for exposing corresponding component on circuit board 8, infrared ray contact aperture 2, LED light perforate 3, microUSB interface perforate 4 and infrared ray study button perforate 5, and the magnet 7 be fixed with inside it for gauge tap being fixed on managed computer cabinet or iron-clad object, upper cover 10 is connected with lower cover 6 buckle.
Foregoing circuit plate 8 is provided with multimedia remote control, charging current limiter circuit and USB charging inlet CON2.
As shown in figure 11, the computer controller of the embodiment of the present invention can receive the appointment infrared signal control computer power on/off of telepilot, it comprises infrared receiving terminal U2, single-chip microcomputer U1(the present embodiment by the function of chip microcontroller governor circuit), feed circuit A1, study key circuit A2, on-off circuit A3, condition indication circuit A4 and microUSB interface CON1, this microUSB interface CON1 connect the+5Vsb accessory power supply input end+5Vsb of described feed circuit A1 and the output terminal C-out of described on-off circuit A3 respectively.Infrared receiving terminal U2 is connected the respective pins of single-chip microcomputer U1 respectively with study key circuit A2, one end by data line is plugged on microUSB interface CON1, the other end is divided into two-way and is plugged in the respective pins of managed computer :+5V the accessory power supply that the first via is plugged into managed computer Switching Power Supply exports on contact pin (see Figure 10), + 5Vsb the accessory power supply of managed computer is powered to infrared receiving terminal U2 and single-chip microcomputer U1 by microUSB interface CON1 and feed circuit A1, second tunnel is plugged on the switching on and shutting down signal positive pole pin Power+ of managed computer mainboard, it is communicated to connect by microUSB interface CON1 and on-off circuit A3 and single-chip microcomputer U1, the data layout of the infrared signal that single-chip microcomputer U1 is inputted by infrared receiving terminal U2 during being triggered by study key circuit A2 trigger recording, thus this single-chip microcomputer U1 is when normal work period receives the infrared signal identical with recording data layout, according to the ON/OFF of the pass in switch order/open information and corresponding gauge tap circuit A3, thus drag down/draw high the current potential of switching on and shutting down signal positive pole pin Power+, thus control the startup of managed computer electrical source exchange, closed condition.
Wherein, microUSB interface CON1 is connected with computing machine by data line, and 1 pin in CON1 connects the+5Vsb accessory power supply input end+5Vsb of the feed circuit A1 and+5Vsb of computer power; Computer power on/off signal "+" pole pin on the output terminal C-out of 2 pin connecting valve circuit A3 in CON1 and computer main board; Negative pole in the power cathode of 4 pin in CON1 and 5 pin connectionist learning type infrared remote control switchs and computer power.
Continue with reference to Figure 11, described infrared signal receiver comprises infrared probe (U2), electric capacity (C1), resistance (R13) and resistance (R14), the input end of described infrared probe (U2) connects direct supply, output terminal is connected to the P3.3 pin of single-chip microcomputer by resistance (R14), the P3.3 pin of described single-chip microcomputer is by described resistance (R13) ground connection, and described electric capacity (C1) is connected between direct supply and ground.Infrared probe U2 receives the infrared carrier signal of 38kHz sended over from Infrared remote controller and directly sends to described single-chip microcomputer U1, and described single-chip microcomputer U1 exports actual binary data after utilizing software to carry out detection to infrared receiving terminal to infrared carrier signal.This electric capacity C1 is the decoupling capacitor of infrared receiving terminal U2, removes the high-frequency interferencing signal in infrared receiving terminal U2 power supply, prevents infrared receiving terminal U2 to be subject to the interference of power supply disturbance signal, ensure the correctness of infrared receiving terminal U2 output signal.
Described feed circuit A1 temperature sense fuse (R15), the 7th resistance (R7), the 5th electric capacity (C5) and the 3rd electric capacity (C3); Described temperature sense fuse (R15) one end connects the+5Vsb of computer power, be connected with one end of described 7th resistance (R7) and direct supply while of the other end, the other end of described 7th resistance (R7) connects the VCC pin of single-chip microcomputer (U1); Described 5th electric capacity (C5) and the 3rd electric capacity (C3) are in parallel and between the VCC pin being connected to single-chip microcomputer (U1) and GND pin, the GND pin of single-chip microcomputer (U1) is held with being connected to.Wherein, adopt temperature sense fuse R15, when making its temperature sensor too high, this circuit is not communicated with, thus reaches protection circuit object.Single-chip microcomputer can select 6 pins, and the area of PCB is effectively reduced.
。Thus see Figure 12, the power supply of managed computer can provide electric energy needed for work, on the other hand for learning type infrared remote control switch of the present invention provides work energy for computer on the one hand.In these feed circuit A1, described temperature sense fuse R15 and the 7th resistance R7 plays action of fuse in circuit, and during owing to normally working, circuit power consumption is very little, thus this temperature sense fuse R15 and resistance R7 loss very little; When short circuit, power supply voltage is all added in above temperature sense fuse R15 and resistance R7, thus makes power supply short circuit when avoiding short circuit, thus ensures the normal work of computer, and the normal work of protection computer power.Described 5th electric capacity C5 is the storage capacitor of feed circuit A1, makes the supply voltage smooth steady of circuit, and this electric capacity can ensure the stable of circuit power supply, avoids the instability of power supply that circuit working is made mistakes.Described 3rd electric capacity C3 is the decoupling capacitor of single-chip microcomputer U1, and for removing the high-frequency interferencing signal in single-chip microcomputer U1 power supply, the interference preventing single-chip microcomputer U1 to be subject to power supply disturbance signal ensures the correctness of the reliable and stable and process data that single-chip microcomputer U1 runs.
Described on-off circuit A3 comprises the 4th electric capacity C4, the 5th resistance R5, the 6th resistance R6 and the first triode Q1; 4th electric capacity C4 and the 6th resistance R6 be in parallel and be connected to single-chip microcomputer U1 P3.1 pin and ground hold between, the P3.1 pin of single-chip microcomputer U1 is connected to the base stage first triode Q1 of the first triode Q1 emitter by the 5th resistance R5 is held with being connected to, the output terminal C-out of the very described on-off circuit A3 of current collection, namely connects the switching on and shutting down signal positive pole pin Power+ of managed computer mainboard by microUSB interface CON1.
Understandable, when described first triode Q1 is NPN triode, described single-chip microcomputer U1 passes through to export low/high level to P3.3 pin according to ON/OFF instruction correspondence, make described first triode Q1 by/conducting, thus draw high/drag down the switching on and shutting down signal positive pole pin Power+ of described managed computer mainboard, make managed computer power initiation/closedown;
When described first triode Q1 is PNP triode, described single-chip microcomputer U1 is corresponding to exporting high/low level to P3.3 pin according to ON/OFF instruction, make described first triode Q1 by/conducting, thus draw high/drag down the switching on and shutting down signal positive pole pin Power+ of described managed computer mainboard, make computer power start/close.
Concrete, in the on-off circuit A3 of the present embodiment, described 4th electric capacity C4 is the filter capacitor that single-chip microcomputer U1 controls pin, prevents external interference signals and single-chip microcomputer U1 erroneous trigger triode Q1.Resistance R6 is the pull down resistor of switch triode Q1, this resistance is that the 4th electric capacity C4 discharges on the one hand, guaranteeing that single-chip microcomputer U1 ensures that when not exporting control signal the first triode Q1 controls the low level state of pin on the other hand, namely ensureing that the first triode Q1 is in buttoned-up status when not having Single-chip Controlling signal.5th resistance R5 is the current-limiting resistance of triode, ensures, when single-chip microcomputer U1 exports 5V high level, to be no more than the base of the first triode Q1, the rated current of collector by the electric current of the first triode Q1, thus the trouble free service of protection the first triode Q1.
The described study key circuit A2 of the present embodiment comprises infrared ray study button S1 and the second electric capacity C2; Infrared ray study button S1 and the second electric capacity C2 phase are side by side and be connected between the P3.2 pin of single-chip microcomputer U1 and ground holds.Button S1 can make single-chip microcomputer have the function learning infrared carrier signal agreement, such as, can set, when long by more than button S16S (pilot lamp LED0 lights), after now sending infrared signal with arbitrary remote control facing to receiving end, remembered the data layout of this infrared signal by single-chip microcomputer U1, and single-chip microcomputer U1 can only accept the control of this infrared signal.Shown second electric capacity C2 is the filter capacitor of button, the impact of shake on single-chip microcomputer U1 input pin level P3.2 when can prevent people from pushing button, the maloperation of shake to single-chip microcomputer U1 when preventing from pushing button.
The condition indication circuit A4 of the present embodiment comprises LED light LED0, described LED light LED0 is connected to the collector of the 3rd triode (Q3) by the second resistance R2, the grounded emitter of described 3rd triode (Q3), the base stage of described 3rd triode (Q3) is connected to the base stage of described first triode (Q1), thus controlled single-chip microcomputer U1 and flashing, the state that prompting user infrared remote control switch is current.
The single-chip microcomputer U1 of the present embodiment processes the real data in infrared carrier signal: 1, judge data whether valid data; 2, judge that whether data are from the Infrared remote controller of specifying; 3, judge that whether data are correct.Understandable, although the present embodiment is open only disclose the processing capacity that single-chip microcomputer has 2, it also can realize the function of 1 and 3.If it is all no problem more than to judge, single-chip microcomputer P3.3 mouth then exports the machine open/close signal of computer, and namely single-chip microcomputer exports high-level control signal and triggers first triode Q1 cut-off/conducting.Such as, in the present embodiment, after the first triode Q1 is subject to low level/high level triggering of single-chip microcomputer, the first triode Q1 emitter and collector cut-off/conducting, thus the machine open/close signal of computer is drawn high/dragged down, thus control the machine open/close action of computer.
With reference to Figure 13, be the circuit theory diagrams of the charging current limiter circuit in the learning type infrared remote control switch of the present embodiment.The feed circuit A1 of the present embodiment by charging current limiter circuit and USB charging inlet CON2 for external unit provides the charging voltage of 5V and the charging current of 2A, to make USB charging inlet CON2 can for mobile device rapid charge.Wherein, described charging current limiter circuit comprises TPS2511 control chip (U4), resistance (R15), resistance (R17) and electric capacity (C6), the ILIM_SET pin of described TPS2511 control chip (U4) is by described resistance (R15) ground connection, GND pin ground connection, IN pin connects direct supply, EN pin connects direct supply by described resistance (R17), OUT pin connects 4 pin of described USB charging inlet (CON2), DM pin connects 3 pin of described USB charging inlet (CON2), DP pin connects 2 pin of described USB charging inlet (CON2), 1 pin ground connection of described USB charging inlet (CON2), the OUT pin of described TPS2511 control chip (U4) is also by described electric capacity (C6) ground connection.This TPS2511 control chip (U4) is flow through the current value of USB charging inlet by resistance (R15) induction of carrying out sampling thus was judged whether to stay or short circuit, and this TPS2511 control chip (U4) can to set a suitable and overcurrent protection person accurately based on circuit structure by adjusting resistance (R15).Therefore, the charging current limiter circuit of the present embodiment is adopted as a special chip U4, can make output current can not be too high by induction current, avoid short circuit to catch fire, can realizing circuit defencive function better, and makes charging current limiter more accurate.
Understandable, the computer controller of the present embodiment is not limited to the power initiation/closedown of automatic computer for controlling, and it can also control the electronic products such as mobile phone, TV, fan and lamp automatically.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.