1. Technical Field
The present disclosure relates to power management devices, and particularly to a mechanical power management device.
2. Description of Related Art
Many electronic devices, such as set-up boxes (STBs), use microcontrollers (MCUs) for power management. However, using MCUs to switch electronic devices on and off requires the installation of special control programs in the MCUs, which occupies system resources of the electronic devices. Therefore, mechanical switch devices are also widely used to switch the electronic devices on and off for conserving system resources of the electronic devices.
Mechanical switch devices generally include XOR gates. When an XOR gate is used in such a mechanical power management device, an output end of the XOR gate is connected to a control end of a power supply, one input end of the XOR gate is connected to a working voltage source through a switch, and the other input end of the XOR gate is connected to an output end of the power supply that is used to supply electric power to an electronic device.
When the electronic device is off, the switch is disconnected, and the two input ends and the output end of the XOR gate are all logic 0. To turn the electronic device on, the switch is operated to electrically connect the working voltage source to the input end of the XOR gate connected to the switch for a short time and then disconnect. Thus, the input end of the XOR gate connected to the switch is temporarily changed to be logic 1 by a working voltage. When the two input ends of the XOR gate are respectively logic 1 and logic 0, the output end of the XOR gate becomes logic 1. The logic 1 generated on the output end of the XOR gate controls the power supply to supply power to the electronic device, such that the electronic device is switched on, and the input end of the XOR gate connected to the output end of the power supply is also changed to logic 1. Because the switch only connects the working voltage source to the input end of the XOR gate for a short time and quickly disconnects, the input end of the XOR gate connected to the switch quickly returns to logic 0. Thus, the two input ends of the XOR gate are respectively logic 1 and logic 0, and the output end of the XOR gate stays at logic 1, such that the power supply is controlled to continuously supply power to the electronic device.
When the electronic device has already been switched on, and the switch is operated to electrically connect the working voltage source to the input end of the XOR gate connected to the switch for a short time and then quickly disconnect again, both the two input ends of the XOR gate become logic 1, and thus the output end of the XOR gate becomes logic 0. The logic 0 generated on the output end of the XOR gate prohibits the power supply supplying power to the electronic device, such that the electronic device is switched off and the input end of the XOR gate connected to the output end of the power supply returns to logic 0. When the switch disconnects and the input end of the XOR gate connected to the switch returns to logic 0, all of the two input ends and the output end of the XOR gate return to logic 0, and the electronic device remains off. In this way, operations applied to the switch can alternately switch the electronic device on and off, without using any software.
However, if the switch has already electrically connected the working voltage source to the input end of the XOR gate and does not quickly disconnect (e.g., due to being worn out, or errors in operations), the input end of the XOR gate connected to the switch will stay at logic 1 even when the input end of the XOR gate connected to the output end of the power supply has already become logic 1. In this situation, if the electronic device has been switched on by the electric connection between the working voltage source and the input end of the XOR gate, both the two input ends of the XOR gate being logic 1 makes the output end of the XOR gate to be logic 0, and the electronic device will be mistakenly switched off. If the electronic device has been switched off by the electric connection between the working voltage source and the input end of the XOR gate, the two input ends of the XOR gate being respectively logic 1 and logic 0 makes the output end of the XOR gate to be logic 1, and the electronic device will be mistakenly switched on.
Therefore, there is room for improvement within the art.
Many aspects of the present disclosure can be better understood with reference to the following drawings. The components in the various drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the figures.
The power supply device 200 includes a power supply 201 and a voltage regulator 202. The power supply 201 is connected to the voltage regulator 202, and can output power to the voltage regulator 202. The power management device 100 is connected to the voltage regulator 202, and can control the voltage regulator 202 to regulate the voltage of the power supplied by the power supply 201 to predetermined values and provide the regulated voltage to electronic devices. In this embodiment, the voltage regulator 202 includes an input pin In, an output pin Out, and an enabling pin EN. The Input pin In is connected to the power supply 201 to receive power from the power supply 201. The enabling pin EN is connected to the power management device 100, such that the power management device 100 can control the voltage regulator 202 through the enabling pin EN. The output pin Out is used to output regulated voltage to electronic devices (not shown). Furthermore, the output pin Out is also connected to the power management device 100 to provide an output voltage of the voltage regulator 202 to the power management device 100 as a feedback signal.
The power management device 100 includes a switch 10, a pulse generator 20, a delay unit 30, a first logic gate 40, a second logic gate 50, and a third logic gate 60. Two ends of the switch 10 are respectively connected to the power supply 201 and the pulse generator 20, such that the power supply 201 can provide a working voltage to the pulse generator 20 through the switch 10. Additionally, the pulse generator 20 can also be connected to other typical power supplies (not shown) through the switch 10 to receive working voltages. In this embodiment, when the switch 10 connects the pulse generator 20 to the power supply 201, the pulse generator 20 receives a working voltage from the power supply 201 and correspondingly outputs a pulse signal X1(T0), wherein T0 is the value of a pulse width of the pulse signal X1(T0).
The first logic gate 40 is an XOR gate. The output end Out of the voltage regulator 202 is connected to one input end of the first logic gate 40, and is also connected to the delay unit 30. The delay unit 30 is connected to the other input end of the first logic gate 40. When the voltage regulator 202 is enabled, it receives the voltage from the power supply 201 and transforms the received voltage into an output voltage Vout at the output end Out. The output voltage Vout can be used to supply power to electronic devices. Furthermore, both the input end of the first logic gate 40, which is directly connected to the output end Out, and the delay unit 30 receive the output voltage Vout. The delay unit 30 delays the output voltage Vout and correspondingly generates a delay voltage Vout(t−td). The input end of the first logic gate 40 connected to the delay unit 30 receives the delay voltage Vout(t−td). Thus, the output voltage Vout and the delay voltage Vout(t−td) cooperatively generate a first control signal X2 at an output end of the first logic gate 40. The logic relationship between the output voltage Vout, the delay voltage Vout(t−td), and the first control signal X2 is: X2=Vout⊕Vout(t−td).
The delay unit 30 includes a switch-on delay module 31, a switch-off delay module 33, a first diode 311, and a second diode 331. The output end Out of the voltage regulator 202 is connected to an anode of the first diode 311 through the switch-on delay module 31, and a cathode of the first diode 311 is connected to the input end of the first logic gate 40 that is connected to the delay unit 30. The output end Out of the voltage regulator 202 is also connected to a cathode of the second diode 331, and an anode of the second diode 331 is connected to the input end of the first logic gate 40 that is connected to the delay unit 30 through the switch-off delay module 33. When the voltage regulator 202 is enabled, the output voltage Vout is first delayed by the switch-on delay module 31, and then drives the first diode 311 to be switched on and generates the delay voltage Vout(t−td) on the input end of the first logic gate 40. Thus, the value of the delay voltage Vout(t−td) increases more slowly than the value of the output voltage Vout. When the voltage regulator 202 is disabled, the out voltage Vout becomes logic 0. The delay voltage Vout(t−td) on the input end of the first logic gate 40 that is connected to the delay unit 30 is first delayed by the switch-off delay module 33, and then drives the second diode 331 to be switched on and is transmitted to the output end Out (i.e., logic 0) to be canceled. Thus, the value of the delay voltage Vout(t−td) decreases more slowly than the value of the output voltage Vout.
The second logic gate 50 is an OR gate. Two input ends of the second logic gate 50 are respectively connected to the pulse generator 20 and the output end of the first logic gate 40 to receive the pulse signal X1(T0) and the first control signal X2. Upon receiving the pulse signal X1(T0) and the first control signal X2, the second logic gate 50 correspondingly generates a second control signal X1′ at an output end thereof. The logic relationship between the second control signal X1′, the pulse signal X1(T0), and the first control signal X2 is: X1′=X1(T0)+X2.
The third logic gate 60 is an XOR gate. An output end of the third logic gate 60 is connected to the enabling pin EN of the voltage regulator 202. Two input ends of the third logic gate 60 are respectively connected to the output end of the second logic gate 50 and the delay unit 30 to receive the second control signal X1′ and the delay voltage Vout(t−td). Upon receiving the second control signal X1′ and the delay voltage Vout(t−td), the third logic gate 60 correspondingly generates an enabling signal Y at the output end thereof. The logic relationship between the enabling signal Y, the second control signal X1′, and the delay voltage Vout(t−td) is: Y=X1′⊕Vout(t−td). The enabling signal Y is transmitted to the voltage regulator 202 to control the voltage regulator 202. In this embodiment, when the voltage of the enabling signal Y is logic 1, the voltage regulator 202 is enabled. When the voltage of the enabling signal Y is logic 0, the voltage regulator 202 is disabled.
Furthermore, in this embodiment, when the output voltage Vout and the delay voltage Vout(t−td) are used as logic input voltages of the power management device 100 (i.e., when the output voltage Vout is input to the first logic gate 40, and the delay voltage Vout(t−td) is input to the first logic gate 40 and the third logic gate 60), the logic values of the output voltage Vout and the delay voltage Vout(t−td) are determined according to this method: when the values of the output voltage Vout and the delay voltage Vout(t−td) are greater than a predetermined switch-on value VIH, the output voltage Vout and the delay voltage Vout(t−td) are identified as logic 1; when the values of the output voltage Vout and the delay voltage Vout(t−td) are less than a predetermined switch-off value VIL, the output voltage Vout and the delay voltage Vout(t−td) are identified as logic 0. The switch-off value VIL is less than the switch-on value VIH.
After the voltage regulator 202 is enabled, the voltage regulator 202 receives the voltage of the power supply 201 and transforms the received voltage of the power supply 201 into the output voltage Vout generated on the output end Out. The output voltage Vout can be used to supply power of the power supply 201 to the electronic device, and is also received by the both the input end of the first logic gate 40 directly connected to the output end Out and the delay unit 30. The first diode 311 is switched on by the output voltage Vout, and the switch-on delay module 31 delays the output voltage Vout and correspondingly generates the delay voltage Vout(t−td). The input end of the first logic gate 40 connected to the delay unit 30 receives the delay voltage Vout(t−td).
As a working voltage of common electronic devices, the value of the output voltage Vout is generally greater than logic input voltages of most logic gates, such as the first logic gate 40. Therefore, in this embodiment, the value of the output voltage Vout can exceed the switch-on value VIH, and thus the input end of the first logic gate 40 directly connected to the output end Out becomes logic 1. Due to the delay process of the switch-on delay module 31, the value of the delay voltage Vout(t−td) increases more slowly than the value of the output voltage Vout. During a predetermined first delay time tdr of the switch-on delay module 31, the value of the output voltage Vout will exceed the switch-on value VIH (i.e., becomes logic 1), while the value of the delay voltage Vout(t−td) is still less than the switch-on value VIH (i.e., stays at logic 0). Thus, the two input ends of the first logic gate 40 are respectively logic 1 and logic 0, and the voltage of the first control signal X2 generated at the output end of the first logic gate 40 is logic 1. Correspondingly, the second control signal X1′ generated at the output end of the second logic gate 50 is logic 1. The two input ends of the third logic gate 60, which respectively receives the second control signal X1′ and the delay voltage Vout(t−td), being respectively logic 1 and logic 0 makes the voltage of the enabling signal Y to be logic 1. In this way, the voltage regulator 202 stays enabled during the first delay time tdr.
After the first delay time tdr, the value of the delay voltage Vout(t−td) also exceeds the switch-on value VIH (i.e., becomes logic 1). Both the two input ends of the first logic gate 40 are logic 1, and the voltage of the first control signal X2 becomes logic 0. Furthermore, the input end of the third logic gate 60 that receives the delay voltage Vout(t−td) is logic 1. Accordingly, to keep the voltage regulator 202 enabled, the enabling signal Y should be kept at logic 1, and thus the second control signal X1′ should become logic 0 after the first delay time tdr. Since the first control signal X2 becomes logic 0 after the first delay time tdr, it can be inferred that if the pulse signal X1(T0) can end during the first delay time tdr, the second control signal X1′ can become logic 0 after the first delay time tdr, and thus the enabling signal Y remains logic 1 after the first delay time tdr. Therefore, in this embodiment, the pulse signal X1(T0) is set to end during the first delay time tdr by means of regulating the values of T0 and the first delay time tdr, such that the above functions are achieved.
In the aforementioned operations, when the pulse generator 20 has generated the pulse signal X1(T0), the switch 10 disconnects the power supply 201 from the pulse signal 20 by any usual means known to someone of ordinary skill in the art (e.g., rebounding structure), and prepares to connect the power supply 201 to the pulse signal 20 again and generate a next pulse signal X1(T0) for disabling the voltage regulator 202. Even if the switch 10 does not quickly disconnect the power supply 201 from the pulse signal 20 (e.g., due to being worn out, or errors in operations), since the pulse signal X1(T0) has ended during the first delay time tdr to keep the voltage regulator 202 enabled, as detailed above, the electrical connection between the power supply 201 and the pulse generator 20 does not affect the enabled status of the voltage regulator 202.
When the voltage regulator 202 has been enabled and the switch 10 has disconnected the power supply 201 from the pulse signal 20, the switch 10 can be operated to electrically connect the power supply 201 to the pulse signal 20 again to disable the voltage regulator 202 and turn off the electronic device receiving electric power from the output end Out. Also referring to
When the voltage regulator 202 is disabled, the output voltage Vout quickly decreases. The delay voltage Vout(t−td) switches the second diode 331 on and is transmitted to the output end Out (i.e., logic 0) to be canceled through the switch-off delay module 33. Due to the delay process of the switch-off delay module 33, the value of the delay voltage Vout(t−td) decreases more slowly than the value of the output voltage Vout. During a predetermined second delay time tdf of the switch-off delay module 33, the value of the output voltage Vout will become less than the switch-off value VIL (i.e., becomes logic 0), while the value of the delay voltage Vout(t−td) is still greater than the switch-off value VIL (i.e., stays at logic 1). Thus, the two input ends of the first logic gate 40 are respectively logic 1 and logic 0, and the voltage of the first control signal X2 is logic 1. Correspondingly, the second control signal X1′ is logic 1. Both the two input ends of the third logic gate 60, which receiving the voltages of the second control signal X1′ and the delay voltage Vout(t−td), being logic 1 makes the voltage of the enabling signal Y to be logic 0. In this way, the voltage regulator 202 stays disabled during the second delay time tdf.
After the second delay time tdf, the value of the delay voltage Vout(t−td) is also less than the switch-off value VIL (i.e., becomes logic 0). Thus, both the two input ends of the first logic gate 40 are logic 0, and the voltage of the first control signal X2 becomes logic 0. Furthermore, the input end of the third logic gate 60 that receives the delay voltage Vout(t−td) is logic 0. Accordingly, for keeping the voltage regulator 202 disabled, the enabling signal Y should stay at logic 0, and therefore the second control signal X1′ should become logic 0 after the second delay time tdf. Since the first control signal X2 becomes logic 0 after the second delay time tdf, it can be inferred that if the pulse signal X1(T0) can end during the second delay time tdf, the second control signal X1′ can become logic 0 after the second delay time tdf, and thus the enabling signal Y can stay at logic 0 after the second delay time tdf. Therefore, in this embodiment, the pulse signal X1(T0) is set to end during the second delay time tdf by means of regulating the values of T0 and the second delay time tdf, such that the above functions are achieved.
In the aforementioned operations, when the pulse generator 20 has generated the pulse signal X1(T0), the switch 10 disconnects the power supply 201 from the pulse signal 20 by any usual means known to someone of ordinary skill in the art (e.g., rebounding structure), and prepares to connect the power supply 201 to the pulse signal 20 again and generate a next pulse signal X1(T0) for enabling the voltage regulator 202 (i.e., according to above detailed enabling operations). Even if the switch 10 does not quickly disconnect the power supply 201 from the pulse signal 20 (e.g., due to being worn out, or errors in operations), since the pulse signal X1(T0) has ended during the second delay time tdf to keep the voltage regulator 202 enabled, as detailed above, the electrical connection between the power supply 201 and the pulse generator 20 does not affect the disabled status of the voltage regulator 202.
In the present disclosure, the pulse generator 20 and the delay unit 30 are used to enable and disable the voltage regulator 202 according to predetermined sequences. As detailed above, the pulse width (e.g., T0) of the pulse signals generated by the pulse generator 20 and the delay times (e.g., tdr, tdf) of the delay unit 30 are regulated to ensure that each pulse signal generated by the pulse generator 20 ends during a corresponding delay time (e.g., tdr, tdf). Even if the switch 10 does not disconnect the pulse generator 20 from the working power supplies thereof (e.g., the power supply 201) in time, the enabled and disabled statuses of the voltage regulator 202 are not affected by the electric connections between the pulse generator 20 and the working power supplies. The power management device 100 does not need expensive microcontrollers (MCUs), and can overcome common shortcomings of mechanical switch devices (e.g., as detailed in the Description of Related Art).
It is to be further understood that even though numerous characteristics and advantages of the present embodiments have been set forth in the foregoing description, together with details of structures and functions of various embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
201110080362.2 | Mar 2011 | CN | national |