This Application claims priority of Taiwan Patent Application No. 100134296, filed on Sep. 23, 2011, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The present invention relates to electronic devices, and in particular relates to electronic devices having fool-proof features.
2. Description of the Related Art
Recently, computers and networks make many innovative functions which are more effective. New peripheral devices, such as internet units and external storage unites, can easily be connected to computers or notebooks. However, there are various kinds of peripheral devices, and the plug of the electronic device is often connected to the plug seat in an incorrect manner, such that the electronic device is burnt out after providing power thereto. Therefore, there is a need for an electronic device and a fool-proof method to prevent burnout of the electronic device.
In light of the previously described problems, the invention provides an embodiment of an electronic device having a fool-proof feature, comprising: a first magnet, an output terminal, a hall sensor and a power supply unit. The first magnet generates a magnetic field. The output terminal is disposed in the range of the magnetic field and is mated with an input terminal of a second electronic device. The hall sensor generates a hall voltage according to the magnetic field. The power supply unit is coupled to the output terminal in order to provide power to the output terminal according to a control signal outputted from the hall sensor, in which the hall sensor outputs the control signal when the output terminal is coupled to the input terminal and the hall voltage exceeds a specific voltage, such that the power supply unit provides power to the output terminal according to the control signal, and the second electronic device receives power from the output terminal.
The invention also provides a fool-proof method suitable for a first electronic device and a second electronic device. The fool-proof method comprises the steps of: generating a hall voltage in a hall sensor according to a magnetic field of a first magnet of the first electronic device; determining whether the hall voltage exceeds a specific voltage when an output terminal of the first electronic device is coupled to an input terminal of the second electronic device; and providing power to the output terminal according to a control signal outputted from the hall sensor when the output terminal is coupled to the input terminal and the hall voltage exceeds the specific voltage, such that the second device receives power from the output terminal.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The output terminal 112 is disposed in the range of the magnetic field of the magnet 111, and mated with an input terminal 122 of another electronic device 120. For example, the output terminal 112 can be a female connector and the input terminal 122 can be a male connector. The female connector is mated with the male connector. The hall sensor 113 can be disposed on the magnet 111 in order to generate a hall voltage according to the magnetic field of the magnet 111. In some embodiments, the hall sensor 113 can be disposed on the magnet 115, or the electronic device 110 includes another hall sensor 116 disposed on the magnet 115. The power supply unit 114 is coupled to the output terminal 112. When the output terminal 112 is coupled to the input terminal 122, the power supply unit 114 provides power to the output terminal 112 selectively, such that the input terminal 122 receives power from the output terminal 112. Therefore, the power supply unit 114 can have a switching unit to provide power to the output terminal 112 selectively.
In this embodiment, the magnets 121 and 125 attract the magnets 111 and 115 respectively when the output terminal 112 is coupled to the input terminal 122 normally, such that the magnets 121, 125, 111 and 115 generate the maximum magnetic fields on the hall sensor 113. On the contrary, the magnets 121, 125, 111 and 115 do not generate the maximum magnetic fields on the hall sensor 113 when the output terminal 112 is coupled to the input terminal 122 abnormally.
In detail, the switching unit of the power supply unit 114 is operating an open circuit state when the output terminal 112 is coupled to the input terminal 122 and the hall voltage exceeds the specific voltage, such that the power supply unit 114 can provide power to the output terminal 112. Therefore, the electronic device 120 can receive power from the output terminal 112. In the embodiment, the power supply unit 114 provides power to the output terminal 112 only when the output terminal 112 is coupled to the input terminal 122 and the hall voltage has exceeded the specific voltage for a predetermined period. In other words, only when the output terminal 112 is coupled to the input terminal 122 stably, the power supply unit 114 provides power to the output terminal 112.
When the hall voltage is below the specific voltage, the power supply unit 114 provides no power to the output terminal 112 or stops providing power to the output terminal 112, thereby preventing the electronic devices 110 or 120 from being damaged when the output terminal 112 is coupled to the input terminal 122 abnormally and the power supply unit 114 provides power to the input terminal 122 (the output terminal 112) at the same time.
The electronic device and the fool-proof method of the disclosure can determine whether the electronic device 110 is electrically connected to the electronic device 120 in a correct way, in order to prevent partial components of the electronic device 120 from being damaged or being burnt out when the electronic device 110 is electrically connected to the electronic device 120 with an incorrect way. Therefore, the electronic device and the fool-proof method of the disclosure can protect the electronic device 120 effectively.
The foregoing has outlined features of several embodiments so that those skilled in the art may better understand the detailed description that follows. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions and alterations herein without departing from the spirit and scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100134296 | Sep 2011 | TW | national |