This application claims priority to Chinese Patent Application No. 201310729795.5 filed on Dec. 26, 2013, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to power supplies.
Electronic devices, such as computers, include a power supply for providing power for electronic devices.
Implementations of the present technology will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features of the present disclosure.
Several definitions that apply throughout this disclosure will now be presented.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection can be such that the objects are permanently connected or releasably connected. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series and the like.
The motherboard 30 can include a power management unit 31. The power management unit 31 can output a power-on signal or a power-off signal to the power supply 10.
The authorized card 20 can include an electronic tag 21. The electronic tag 21 can store an unique authorized code for the power supply 10 and can send the unique authorized code.
The power supply 10 can include a power supply module 11, a receiving module 12, a controlling module 13, and a switch module 14. The power supply module 11 can be coupled to the power management unit 31 and can output a power signal upon receiving the power-on signal and can stop outputting the power signal upon receiving the power-off signal. The power supply module 11 can be coupled to the controlling module 13 and can transmit the power-on signal and the power-off signal to the controlling module 13.
The receiving module 12 can be coupled to the controlling module 13 and can receive the unique authorized code from the authorized card 20. The receiving module 12 can further determine if the unique authorized code match a preset code. When the unique authorized code matches the preset code, the receiving module 12 can send a switch-on signal to the controlling module 13, and the controlling module 13 can send a high-logic level (e.g., 5V) to switch on the switch module 14. Thus, the power supply module 11 can be coupled to the motherboard 30 via the switch module 14 and can supply power for the motherboard 30 when receiving the power-on signal. When the authorized code does not match the preset code, the receiving module 12 can send a switch-off signal to the controlling module 13, and the controlling module 13 can send a low-logic level to switch off the switch module 14. Thus, the power supply module 11 can be disconnected from the motherboard 30 and cannot supply power for the motherboard 30.
The controlling module 13 can include a timing unit 131 and a controlling unit 132. The controlling unit 132 can send the high-logic level to switch on the switch module 14 when receiving the switch-on signal and can send the low-logic level to switch off the switch module 14 when receiving the switch-off signal. The controlling unit 132 can notice the timing unit 131 to start timing when receiving the switch-on signal. After the switch module 14 being switched on, the controlling unit 132 can send the low-logic level to switch off the switch module if the controlling unit 132 does not receive the power-on signal in a first preset period.
After the power supply module 11 stops supplying power for the motherboard 30 and the controlling unit 132 receives the power-off signal, the controlling unit 132 can notice the timing unit 131 to start timing time and can send the low-logic level to switch off the switch module if the controlling unit 132 does not receive the power-on signal in a second preset timing time. In contrast, the controlling unit 132 does not send the low-logic level to switch off the switch module when the controlling unit 132 receives the power-on signal in the second preset timing time after receiving the power-off signal. In at least one embodiment, the first preset timing time is 10 minutes, and the second preset timing time is 5 minutes.
Referring to
At block 201, an authorized card sends an unique authorized code to a power supply, and the power supply can supply power for a motherboard of an electronic device. In at least one embodiment, the electronic device can be a computer.
At block 202, a receiving unit of a receiving module receives the unique authorized code and a determining unit determines if the unique authorized code match a preset code.
When the unique authorized code matches the preset code, the method goes to block 203. When the unique authorized code does not match the preset code, the method goes to block 209.
At block 203, the determining unit of the receiving module sends a switch-on signal to a controlling unit of a controlling module. In at least one embodiment, the controlling module is an embedded controller.
At block 204, a timing unit of the controlling module starts timing time, and the controlling unit sends a high-logic level to a switch module to switch on the switch module, therefore a power supply module of the power supply is coupled to the motherboard upon receiving a power-on signal sent by the motherboard.
At block 205, the timing unit determines if the timing time is greater than a first preset time and the controlling unit determines if the controlling unit receives the power-on signal. When the timing time is greater than the first preset time, the method goes block 210. When the timing time is not greater than the first preset time and the controlling unit receives the power-on signal, the method goes to block 206.
At block 206, a power supply module of the power supply outputs a power signal for the motherboard.
At block 207, the controlling unit receives a power-off signal sent by the motherboard, the power supply module stops to output the power signal, and the timing unit starts timing time.
At block 208, the timing unit determines if the timing time is greater than a second preset time and the controlling unit determines if the controlling unit receives the power-on signal. When the timing time is greater than the second preset time, the method goes to block 210. When the timing time is not greater than the second preset time and the controlling unit receives the power-on signal, the method goes to block 206.
At block 209, the determining unit sends a switch-off signal to the controlling unit.
At block 210, the controlling unit output a low-logic level to the switch module to switch off the switch module.
The embodiments shown and described above are only examples. Many details are often found in the art such as the other features of a power supply. Therefore, many such details are neither shown nor described. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in matters of shape, size and arrangement of the parts within the principles of the present disclosure up to, and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201310729795.5 | Dec 2013 | CN | national |