Information
-
Patent Application
-
20010022583
-
Publication Number
20010022583
-
Date Filed
September 30, 199826 years ago
-
Date Published
September 20, 200123 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A method and apparatus for monitoring and/or shutting down a power line in, for example, a display device is described. In one embodiment, a method comprises converting a voltage on a power line to a digital value, comparing the digital value with a predetermined value, and shutting down a power supply if the digital value is below the predetermined value for a predetermined amount of time.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The present invention relates generally to the field of display devices, and more specifically, to a method and apparatus for monitoring and/or shutting down a power line contained therein.
[0003] 2. Background Information
[0004] A monitor typically includes a power supply that delivers a plurality of direct current (“DC”) voltages to various circuits within the monitor. These DC voltages range from a high voltage (e.g., 180 volts) to a lower voltage (e.g., 5 volts). One of the lower DC voltages is referred to as the B+ power line, which typically provides power to various low voltage circuits contained within the monitor. To ensure safety within a monitor, a fuse is placed in series with the low B+ power line for providing overcurrent protection due to line shortages and the like. The monitor may also include other hardware circuitry for monitoring the low B+ power line for line shortages. However, this type of circuitry is expensive, unreliable, difficult to change during the design process, and difficult to recover from.
[0005] Accordingly, there is a need in the technology for a method and apparatus for overcoming the aforementioned drawbacks.
SUMMARY OF THE INVENTION
[0006] The present invention is a method and apparatus for monitoring and/or shutting down a power line in, for example, a display device. In one embodiment, a method comprises converting a voltage on a power line to a digital value, comparing the digital value with a predetermined value, and shutting down a power supply if the digital value is below the predetermined value for a predetermined amount of time.
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
FIG. 1 illustrates a block diagram of exemplary functional blocks within a display device, according to one embodiment of the present invention.
[0008]
FIG. 2 is a flow diagram illustrating a process for monitoring and/or shutting down a power line, according to one embodiment of the present invention.
DETAILED DESCRIPTION
[0009]
FIG. 1 illustrates a block diagram of exemplary functional blocks within a display device 100, according to one embodiment of the present invention. In the embodiment shown, the display device is a computer monitor. The present invention may be practiced with any other type of display device, such as, for example, a television set. Referring to FIG. 1, the display device 100 includes a power supply 110 that receives an alternative current (“AC”) input voltage 105, typically 110V or 220V, and provides several direct current (“DC”) voltages for powering different functional blocks within the display device. More specifically, the power supply 110 provides a first high voltage DC line 115 (e.g., 180V), for powering a high-voltage, deflection circuit 120. The high-voltage deflection circuit 120 generates a high-voltage (e.g., on the order of 15-30 kilovolts, “KVs”) and applies the high-voltage to a cathode ray tube (“CRT”) 125. Although a CRT display is shown in FIG. 2, the present invention may be used with different types of displays such as, but not limited or restricted to, liquid-crystal displays (“LCDs”), plasma displays, and any other devices that convert an electrical signal into a viewable image. That is, the type of display used is irrelevant to the teachings of the present invention.
[0010] The power supply 110 provides a second high voltage DC line 130 (e.g., 80V), for powering a video driver circuit 135. The video driver circuit 135 converts a small video signal into a larger signal for driving the CRT 125, and regulates the strength of the electron beam by adjusting the signal strength. In addition, the power supply 110 provides low voltage DC lines 140 (hereinafter referred to as the “B+ power lines”), generated by a first rectifier circuit (not shown) within the power supply 110. Typically, the B+ power lines 140 include positive and negative DC voltage lines (e.g., +16V and −16V). The B+ power lines 140 are applied to a voltage regulator circuit 145. The voltage regulator circuit 145 provides regulated DC voltage lines 150 (e.g., 12V) and 160 (e.g., 5V). The regulated DC voltage line 150 is used to power, for example, a video preamplifier circuit 155. The regulated DC voltage line 160 is used to power lower voltage circuits such as, for example, a microcontroller 180.
[0011] The power supply 110 further provides a second low voltage DC lines 165, generated by a second rectifier circuit (not shown) within the power supply 110. The second B+ power lines 165 also include positive and negative DC voltage lines (e.g., +16V and −16V). These positive and negative DC voltage lines are applied to other circuits, as shown by numeral 170. These circuits include, for example, a rotation circuit which controls the picture tilt, a vertical deflection circuit which controls the vertical scanning of the CRT, a digital convergence circuit which converges the red, green, and blue channels on one spot on the CRT, and a focus circuit. The circuits listed in block 170 are merely exemplary and not exhaustive.
[0012] In the embodiment of FIG. 2, one of the B+ power lines 165 (e.g., positive or negative) is applied to an analog-to-digital converter (“ADC”) 175, which is in turn coupled to the microcontroller 180. The ADC 175 is external to the microcontroller 180, although it is contemplated that the ADC 175 may be contained within the microcontroller 180. A microcontroller is broadly defined as a device (or two or more devices), in a single package or on a board, that processes data including the capability to perform arithmetic functions such as additions, multiplications, etc. The ADC 175 converts the analog DC voltage value on the B+ power line into a digital value and provides the same to the microcontroller 180.
[0013] In one embodiment, a translation circuit (not shown) may be placed between a power line that is monitored (e.g., one of the B+ power lines 165) and the ADC 175 in order to translate the voltage on the power line (which may be at any voltage, 16V, 80V, −16V, etc.), to a predetermined voltage range (e.g., 0 to 5 volts). If an 80V-power line has a voltage range between 0-100 volts, the translation circuit will translate the voltage range between, for example, 0-5 volts. Thus, eighty volts on the power line (input of the translation circuit) would correspond to four volts (output of the translation circuit). The resolution of the ADC 175 may be any number of bits such as four, eight, sixteen, etc. However, for sake of illustration of the present invention, it is assumed that the ADC 175 has a resolution of eight-bits.
[0014] The microcontroller 180 includes a register file for temporarily storing data. Random access memory (“RAM”) and/or read only memory (“ROM”) may be contained within the microcontroller 180 and/or external to the microcontroller 180. Continuing to refer to FIG. 1, the microcontroller 180 periodically monitors the output of the ADC 175, and hence the status of one of the B+ power lines 165. Thus, if the B+ power line 165 falls below a lower threshold voltage, indicating a line shortage condition, the microcontroller will detect such a condition and shut down the power supply 110. On the other hand, if the B+ power line 165 rises above a ceiling threshold voltage, indicating an over-voltage condition, the microcontroller will detect such a condition and take appropriate action. When the monitor 100 is first powered up, the microcontroller 180 waits for a predetermined time period (e.g., two seconds) before reading the digital values outputted by the ADC 175, allowing the B+ voltage line 165 to settle to its steady state. In addition, the microcontroller 180 may monitor more than one power line. In such a case, two or more ADC converter channels (or separate ADCs) may be used to provide the digital values of the corresponding power lines to the microcontroller 180. The microcontroller 180 periodically (e.g., every 32 milliseconds, “ms”) reads the digital values outputted by the ADC 175, which is referred to as the “sampling time”. During each sampling time, the microcontroller 180 also compares the digital value read from the ADC 175 with a first predetermined threshold value and a second predetermined threshold value. The first predetermined threshold value is a value for determining whether a line shortage condition is deemed to exit. If the digital value read from the ADC 175 is lower than the first predetermined threshold value (in the case of a positive voltage line or when the digital value is the absolute value of the voltage line), a counter is incremented by one, otherwise the counter is reset to zero. To prevent a false detection of a shutdown condition (e.g., an instantaneous voltage spike), the B+ power line 165 must be below the first predetermined threshold value for a predetermined number of consecutive sample times before a shutdown condition is deemed to exit. Thus, if the counter reaches a predetermined count (hereinafter referred to as “SHUTDOWN COUNT”), indicating that the B+ power line 165 has fallen below the first predetermined threshold value for a predetermined amount of time, a shutdown condition exits. In such a condition, the microcontroller 180 asserts a SHUTDOWN signal on signal line 185, causing the power supply 110 to shut down. When the power supply 110 is shut down, all the power lines (115, 130, 140, and 165) are at approximately zero volts.
[0015] The second predetermined threshold value is a value for determining whether an over-voltage condition is deemed to exit. If the digital value read from the ADC 175 is higher than the second predetermined threshold value, a second counter is incremented by one, otherwise the second counter is reset to zero. To prevent a false detection of a shutdown condition (e.g., an instantaneous voltage spike), the B+ power line 165 must be above the second predetermined threshold value for a predetermined number of consecutive sample times before a shutdown condition is deemed to exit. Thus, if the second counter reaches a second predetermined count, indicating that the B+ power line 165 has risen above the second predetermined threshold value for a predetermined amount of time, a shutdown condition exits. In such a condition, the microcontroller 180 asserts a SHUTDOWN signal on signal line 185, causing the power supply 110 to shut down. When the power supply 110 is shut down, all the power lines (115, 130, 140, and 165) are at approximately zero volts.
[0016] The first and second predetermined threshold values may be stored in the ROM and loaded into registers after a reset or power up of the display device 100. Alternatively, the first and second predetermined threshold values may be set by a dip switch during factory installation of the monitor. The microcontroller 180 obtains the digital values by polling the ADC 175 every sampling time. In another embodiment, another device, such as a clocking circuit, may generate an interrupt to the microcontroller 180 every sampling time, during which time the microcontroller 180 may call an interrupt service routine to obtain the digital values. In either case, an exemplary process is illustrated in FIG. 2.
[0017] An example is provided to illustrate the present invention. Assuming the B+ power line 165 that is monitored is a positive 16V line, the range of voltages for the power line may be set between, for example, 0 and 20 volts. (This range is merely exemplary and may be altered to any desired voltage range.) With an eight-bit ADC 175, zero volts refers to digital value 0 and twenty volts refers to digital value 255, such that the resolution of the ADC 175 is 0.078 volts, i.e., the difference between two adjacent digital values corresponds to about 0.078 volts. Thus, the 16V power line corresponds to a digital value of approximately 204, indicating the normal condition of the power line.
[0018] A lower predetermined threshold voltage is set at, for example, 5V, corresponding to a digital value of approximately 63, and an upper predetermined threshold voltage is set at, for example, 18V, corresponding to a digital value of approximately 229. If the digital value read is 63 or less for a predetermined time period, a line shortage condition is deemed to exit. On the other hand, if the digital value read is 229 or higher for a predetermined time period, an over-voltage condition is deemed to exist. In either case, the microcontroller 180 shuts down the power supply 110 by way of the SHUTDOWN signal line 185. As can be seen from the aforementioned example, the present invention is extremely flexible in that the power line that is monitored can be at any voltage (e.g., 180V, −20V), and the voltage range, threshold value, and resolution can be selected to any desired set of values.
[0019]
FIG. 2 is a flow diagram illustrating a process 200 for monitoring and/or shutting down a power line, according to one embodiment of the present invention. Referring to FIG. 2, the process 200 commences at block 210. At block 220, the digital value output by the ADC 175 is read. The process then moves to block 230, where the digital value is compared with a predetermined threshold value, where the threshold value may be user selectable or selected during factory setting of the display device 100. If the digital value is less than (or equal to) the threshold value, the process continues to block 240, otherwise the process moves to block 250 where a counter is set to zero, indicating that the power line has not triggered a possible shutdown condition. The process then ends at block 280.
[0020] At block 240, if the counter value is greater than (or equal to) a predetermined shutdown count, indicating that the power line has been below the threshold value for a predetermined amount of time, the process continues to block 260. At block 260, the microcontroller 180 asserts the SHUTDOWN signal on signal line 185, causing the power supply 110 to shut down. The process then ends at block 280. On the other hand, at block 240, if the counter value is less than the shutdown count, indicating that the power line has been below the threshold value for less than the predetermined amount of time, the process moves to block 270. At block 270, the counter is incremented by one and the process ends at block 280. The exemplary process 200 involves monitoring a positive power line for a line shortage condition. A similar process may be implemented for an over-voltage condition or a for a negative voltage power line.
[0021] By converting a voltage of a power line to a digital value and monitoring the digital value utilizing a controller, the present invention provides greater flexibility while reducing the cost. The power line that is monitored can be at any voltage, and the voltage range, threshold value, and resolution can be set to any desired value.
[0022] While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art.
Claims
- 1. A method for monitoring a power line contained within a display device, comprising:
converting, by an analog-to-digital converter, a voltage of the power line to a digital value; comparing, by a microcontroller, the digital value with a predetermined value; and shutting down a power supply of the display device if the digital value is below the predetermined value.
- 2. The method of claim 1 wherein shutting down the power supply comprises shutting down the power supply of the display device if the digital value is below the predetermined value for a predetermined time period.
- 3. The method of claim 1 further comprising:
comparing, by a microcontroller, the digital value with a second predetermined value; and shutting down the power supply of the display device if the digital value is above the second predetermined value.
- 4. The method of claim 3 wherein shutting down the power supply comprises shutting down the power supply of the display device if the digital value is above the second predetermined value for a second predetermined time period.
- 5. An apparatus in a display device including a power supply that provides a voltage on a power supply line to one or more circuits in the display device, the apparatus, comprising:
an analog-to-digital converter coupled to the power supply line to convert the voltage thereon to a digital value; and a controller coupled to the analog-to-digital converter and the power supply, the controller including a memory device having contained therein one or more instructions, said controller responsive to the one or more instructions to,
read the digital value from the analog-to-digital converter, compare the digital value with a predetermined value, and shut down the power supply if the digital value is below the predetermined value.
- 6. The apparatus of claim 5 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is below the predetermined value for a predetermined amount of time.
- 7. The apparatus of claim 5 wherein the controller responsive to the one or more instructions to further,
compare the digital value with a second predetermined value, and shut down the power supply if the digital value is above the second predetermined value.
- 8. The apparatus of claim 7 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is above the second predetermined value for a second predetermined amount of time.
- 9. The apparatus of claim 5 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is below the predetermined value for a predetermined amount of time, indicative of a line shortage condition on the power supply line.
- 10. The apparatus of claim 5 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is above the predetermined value for a predetermined amount of time, indicative of a over-voltage condition on the power supply line.
- 11. A display device, comprising:
a power supply to receive an alternative current signal and provide one or more voltages, including a first voltage on a power supply line; one or more functional circuits coupled to the power supply line; an analog-to-digital converter coupled to the power supply line to convert the voltage thereon to a digital value; and a controller coupled to the analog-to-digital converter and the power supply, the controller including a memory device having contained therein one or more instructions, said controller responsive to the one or more instructions to,
read the digital value from the analog-to-digital converter, compare the digital value with a predetermined value, and shut down the power supply if the digital value is below the predetermined value.
- 12. The display device of claim 11 wherein the power supply line is a B+ power supply line.
- 13. The display device of claim 11 wherein the power supply line having a positive voltage thereon.
- 14. The display device of claim 11 wherein the power supply line having a native voltage thereon.
- 15. The display device of claim 11 wherein the controller responsive to the one or more instructions to compare an absolute value of the digital value with the predetermined value.
- 16. The display device of claim 11 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is below the predetermined value for a predetermined amount of time.
- 17. The display device of claim 11 wherein the controller responsive to the one or more instructions to further,
compare the digital value with a second predetermined value, and shut down the power supply if the digital value is above the second predetermined value.
- 18. The display device of claim 17 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is above the second predetermined value for a second predetermined amount of time.
- 19. The display device of claim 11 wherein the controller responsive to the one or more instructions to shut down the power supply if the digital value is below the predetermined value for a predetermined amount of time, indicative of a line shortage condition on the power supply line.