1. Field of the Invention
The present invention relates to portable computers, and particularly to a portable computer which has a magnetic switch configured to turn off a power supply of a back light module of a display thereof.
2. Description of Related Art
However, over time, the button switch 140 can wear out and not consistently turn off the power supply.
What is desired, therefore, is to provide a portable computer which overcomes the above problem.
An embodiment of a portable computer having a display part and a main part includes a magnetic piece installed in the display part, a Hall sensor installed in the main part, a switch circuit, and a control terminal connected to a power supply of a back light module of the display part. The Hall sensor includes a power pin connected to a first DC power supply, an output pin, and a ground pin connected to ground. The output pin of the Hall sensor is connected to the control terminal and a second DC power supply via the switch circuit, when the display part is in a closed position, the Hall sensor senses the magnetic field of the magnetic piece and outputs a control signal to the switch circuit, the switch circuit receives the control signal and turns off the power supply of the back light module via the control terminal.
Other advantages and novel features of the present invention will become more apparent from the following detailed description of an embodiment when taken in conjunction with the accompanying drawings, in which:
Referring to
The control circuit 26 further includes a Zener diode D, a first diode D1, a second diode D2, a switch circuit 260, and a control terminal A. The Hall sensor 240 includes an output pin O, a power pin VCC, and a ground pin GND. The switch circuit 260 includes a first transistor Q1, a second transistor Q2, a third transistor Q3, and five resistors R1-R5.
The power pin VCC of the Hall sensor 240 is connected to the anode of the Zener diode D. The cathode of the Zener diode D is grounded. The power pin VCC of the Hall sensor 240 is also connected to the cathode of the first diode D1 via the resistor R1. The anode of the first diode D1 is connected to a direct current (DC) power supply VBAT such as a storage battery of the portable computer 20. The ground pin GND of the Hall sensor 240 is grounded. The output pin O is connected to the gate of the first transistor Q1 and connected to the cathode of the first diode D1 via the resistor R2. The drain of the first transistor Q1 is grounded. The source of the first transistor Q1 is connected to the gate of the second transistor Q2 and connected to the cathode of the first diode D1 via the resistor R3. The drain of the second transistor Q2 is grounded. The source of the second transistor Q2 is connected to the gate of the third transistor Q3 and connected to the cathode of the second diode D2 via the resistor R4. The anode of the second diode D2 is connected to the DC power supply VBAT. The drain of the third transistor Q3 is grounded. The source of the third transistor Q3 is connected to another DC power supply Vcc, such as a 3.3V power supply of a motherboard of the portable computer 20, via the resistor R5 and connected to the control terminal A.
The control terminal A is configured to connect to a power supply of a back light module of the display part 22. When the display part 22 is in a closed position, that is, the display part 22 is near the main part 24, the Hall sensor 240 enters and senses the magnetic field of the magnetic piece 220 and outputs a high voltage signal. The high voltage signal turns on the first transistor Q1 so the second transistor Q2 is turned off and then the third transistor Q3 is turned on, thereby the control terminal A outputs a low voltage signal to the power supply cutting power to the back light module of the display part 22.
When the display part 22 is in an opened position, that is the display part 22 is pivoted away from the main part 24, the Hall sensor 240 leaves the magnetic field of the magnetic piece and can no longer sense the magnetic field of the magnetic piece 220. The Hall sensor 240 then outputs a low voltage signal. The low voltage signal turns off the first transistor Q1 so that the second transistor Q2 is turned on and then the third transistor Q3 is turned off, thereby the control terminal A outputs a high voltage signal to the power supply of the back light module of the display part 22 which provides power to the back light module of the display part 22.
Because the portable computer 20 uses the magnetic switch without moving parts, wear and tear is avoided thereby increasing lifespan of the portable computer 20.
It is to be understood, however, that even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, 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 invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2007 1 0200982 | Jul 2007 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
4339638 | Lascelles et al. | Jul 1982 | A |
20040042173 | Tomioka | Mar 2004 | A1 |
20050140280 | Yamazaki et al. | Jun 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20090009952 A1 | Jan 2009 | US |