SUMMERY OF THE UTILITY MODEL
The utility model discloses to the problem that above-mentioned prior art exists, provide an energy-conserving circuit system and remote controller based on singlechip, under the standby state, guarantee not have standby current when the circuit is in dormant state, prolonged the life of battery.
The utility model discloses a standby energy-saving circuit system based on singlechip, include: the device comprises a singlechip module, a voltage conversion module for supplying power to the singlechip, and a power supply module;
the input end of the voltage conversion module is connected with the power supply module through a first power supply circuit, and the first power supply circuit is provided with a key switch module, so that the first power supply circuit is conducted and the single chip microcomputer module is electrified under the condition that the key switch module is closed;
the input end of the voltage conversion module is connected with the power supply module through a second power supply circuit, the second power supply circuit is provided with an on-off control module connected with the single chip microcomputer module, the single chip microcomputer module controls the on-off control module to conduct the second power supply circuit, and the single chip microcomputer module is electrified.
Further, the on-off control module comprises:
the triode is connected with the POWER-HOLD pin of the single chip microcomputer module and is used for realizing conduction under the condition that the POWER-HOLD pin is set to be at a high level by the single chip microcomputer module;
and the MOS tube is connected with the triode and used for realizing conduction under the conduction condition of the triode, so that the second power supply circuit where the MOS tube is positioned is conducted.
Furthermore, the triode is an NPN type triode, the base electrode of the triode is connected with the POWER-HOLD pin of the single chip microcomputer module, and the emitting electrode of the triode is grounded;
the grid electrode of the MOS tube is connected with the collector electrode of the triode, the source electrode of the MOS tube is connected with the power supply module, and the drain electrode of the MOS tube is connected with the input end of the voltage conversion module.
Furthermore, a first diode is further arranged on the first power supply circuit, and the first diode is respectively connected with the input ends of the key switch module and the voltage conversion module.
Further, first power supply circuit still is equipped with button detection circuitry, button detection circuitry includes: the resistor and the second diode are connected between the key switch module and the input end of the voltage conversion module; and a KEY pin is connected between the resistor and the second diode component, is connected with the single chip microcomputer module and is used for changing the low level into the high level and reading the high level by the single chip microcomputer module under the condition that the KEY switch module is closed.
Furthermore, the input end of the voltage conversion module is also connected with a first capacitor which is grounded; and the output end of the voltage conversion module is also respectively connected with a second capacitor and a third capacitor which are grounded.
Further, the input direct-current voltage of the power supply module is 12V.
Further, the voltage conversion module is an AMS1117 series voltage stabilizer, and the output voltage of the voltage conversion module is 3.3V.
Further, the key switch module is an automatic rebound switch.
The utility model also discloses a remote controller, include as above-mentioned standby energy-saving circuit system based on the singlechip.
The utility model discloses following beneficial effect has at least:
on one hand, the utility model discloses under standby state, button switch module and on-off control module place circuit are not switched on, do not have standby current when guaranteeing that the circuit is in the dormancy state; on the other hand, when the circuit system normally works, the first power supply circuit is conducted to supply power to the single chip microcomputer module by manually triggering the key switch module, the single chip microcomputer module controls the on-off control module to be conducted, the second power supply circuit continues to supply power to the single chip microcomputer module, the single chip microcomputer module can control the on-off control module to be disconnected and lose power after corresponding work is completed, the single chip microcomputer module enters a dormant state again, stable operation of the single chip microcomputer module in the circuit system is guaranteed, and the single chip microcomputer module can automatically recover to the dormant state without standby current.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be described in detail below. It is to be understood that the embodiments described are only some embodiments of the invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
As shown in fig. 1, a standby energy-saving circuit system based on a single chip microcomputer includes: the device comprises a singlechip module, a voltage conversion module for supplying power to the singlechip and a power supply module. The single chip microcomputer module can adopt a single chip microcomputer of an existing model, such as a 51-series single chip microcomputer, according to electronic equipment or electric appliances of specific application, and can realize functions of data processing, instruction receiving and sending and the like, as shown in fig. 3, VCC3V3 in the single chip microcomputer module indicates a direct current voltage of 3.3V. The power module is used for supplying power to the singlechip module and can adopt dry batteries and storage batteries which output direct current. The voltage conversion module is used for converting the voltage of the power supply module and outputting the voltage to the single chip microcomputer module, for example, 12V voltage output by the power supply module is converted into 3.3V voltage suitable for the single chip microcomputer module.
Even there are two kinds of power supply lines between voltage conversion module's the input and the power module, and one of them is a supply circuit, be equipped with the key switch module on the first supply circuit, it can adopt the normally open contact structure, is in the disconnection under the normality, and consequently a supply circuit also is the disconnection, has guaranteed the utility model discloses a circuit system's energy-conserving effect. The key switch module can be closed in a manual pressing mode, the circuit where the key switch module is located is the first power supply circuit, and the single chip microcomputer module is powered on.
And the second power supply circuit is used for continuously transmitting power to the singlechip module after the first power supply circuit is disconnected. In practical application, equipment or device including the remote controller in order to have more succinct and comfortable user experience sense, is the structural design who loosens promptly after adopting to click usually to the button, the utility model discloses can be applicable to this kind of outstanding structural design. After a user loosens the key switch module, the key switch module is restored to the normally open state, the first power supply circuit is disconnected, and at this time, in order to ensure that the single chip microcomputer module continues to work, power needs to be supplied to the single chip microcomputer module through the second power supply circuit. Preferably, the on-off control module can select a suitable structure according to actual conditions, such as a relay and the like. The utility model also discloses an on-off control module's preferred embodiment, see the following in detail.
Therefore, the first power supply circuit and the second power supply circuit are not conducted in a normal state, the single chip microcomputer module has no input current, standby state 0 current is achieved, and the service life of the battery is prolonged.
In some embodiments of the present invention, as shown in fig. 2, the on-off control module includes: triode and MOS pipe. The triode is connected with a POWER-HOLD pin of the single chip microcomputer module, and the conduction is realized under the condition that the POWER-HOLD pin is set to be at a high level by the single chip microcomputer module, namely the POWER-HOLD pin is set to be at the high level by the single chip microcomputer module after the single chip microcomputer module is powered on through the first POWER supply circuit, and the triode Q1And conducting.
Preferably, the triode is an NPN type triode, a base of the triode is connected with a POWER-HOLD pin of the single chip microcomputer module, the base is further connected in series with a resistor R1 with a resistance value of 1K, and a grounded resistor R2 with a resistance value of 10K is further connected between the resistor R1 and the base; the emitting electrode of the triode is grounded; the collector of the triode is connected with the power line of the power module, and is also connected in series with a resistor R3 with the resistance value of 10K.
The MOS tube is the most direct part for determining whether the second power supply circuit is conducted, and the MOS tube is connected with the triode and used for realizing conduction under the conduction condition of the triode so as to conduct the second power supply circuit where the MOS tube is located. Specifically, the MOS transistor is AO3415, a gate of the MOS transistor is connected to a collector of the triode, a source of the MOS transistor is connected to the power module, and a drain of the MOS transistor is connected to an input terminal of the voltage conversion module.
In some embodiments of the present invention, a first diode D1 (normal diode) is further disposed on the first power supply circuit, and D1 is respectively connected to the key switch module and the input terminal of the voltage conversion module.
The utility model is suitable for a plurality of control circuits containing single-chip microcomputer, under some circumstances, the key switch module is the master switch or the starting switch of the whole control circuit, and the single-chip microcomputer module automatically executes corresponding operation according to the preset rule after being electrified; under some circumstances in addition, for example remote controller etc. the key switch module not only can make single chip microcomputer module get electric, and self also plays the function of control single chip microcomputer operation moreover, like trading a platform button, volume button etc. this is to this condition, the utility model discloses still disclose following embodiment, under the circumstances of guaranteeing that the standby dormancy does not have current, realized that the user presses the function of key switch module in order to accomplish corresponding operation.
According to the functional requirements, one or more first power supply circuits can be arranged between the power supply module and the voltage conversion module, the first power supply circuits have a parallel structural relationship, and each first power supply circuit is also provided with a key detection circuit, so that when any one of the upper single-key switch modules is closed, the single-chip microcomputer module is powered on and detects which key switch module is triggered, and meanwhile, corresponding operation can be executed according to the preset rule corresponding to the key switch. Specifically, as shown in fig. 2, the first power supply circuit is further provided with a key detection circuit, and the key detection circuit includes: a resistor R4 (with the resistance value of 10K) and a second diode D2 (a voltage stabilizing diode) which are connected between the key switch module and the input end of the voltage conversion module. And a KEY pin is connected between the resistor R4 and the voltage-stabilizing diode component, the KEY pin is connected with the single-chip microcomputer module, and the KEY pin is at a low level when the KEY switch module S1 is not pressed down.
Under the condition that the KEY switch module is closed, the current generated by the 12V power supply flows to the current-limiting resistor R4 through S1 in fig. 2 and then flows through the zener diode D2(3.3V), at this time, the KEY pin is 3.3V, the KEY pin is changed from the low level to the high level and is read by the single chip module, and under the condition that a plurality of KEY pins are arranged in the standby energy-saving circuit system, the single chip module can read which KEY pin is the high level, that is, it can be determined that the KEY switch module corresponding to the KEY is pressed, and then the single chip module executes corresponding operation.
After the POWER-HOLD pin is set to be at a low level, the first POWER supply circuit and the second POWER supply circuit are both disconnected, and the current is 0 in a dormant state.
In some embodiments of the present invention, as shown in fig. 2, the input terminal of the voltage conversion module is further connected to a first capacitor C1, which is grounded and has a parameter value of 10 uf. The output end of the voltage conversion module is also respectively connected with a second capacitor C2 and a third capacitor C3 which are grounded, wherein the parameter value of C2 is 10uf, and the parameter value of C3 is 100 uf.
In some embodiments of the present invention, the input dc voltage of the power module BT1 is 12V.
In some embodiments of the present invention, the voltage conversion module is an AMS1117 series voltage stabilizer, and the output voltage of the voltage conversion module is 3.3V.
In some embodiments of the present invention, the key switch module is an automatic rebound switch, and the commercially available product in the current market can be specifically adopted to realize the present invention, for example, a patch key switch, etc.
The utility model also discloses a remote controller, including above-mentioned arbitrary embodiment standby energy-saving circuit system based on the singlechip. Preferably, the infrared light emitting diode is controlled by the single chip microcomputer to realize wireless remote control.
The above description is only for the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and all should be covered within the protection scope of the present invention.