This application claims the benefit of Taiwan application Serial No. 92131602, filed Nov. 11, 2003, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general to a method of resetting a shut down integrated circuit (IC) and the monitor thereof, and more particularly to a method of using a control unit to detect and reset a shut down IC and the monitor thereof.
2. Description of the Related Art
Referring to
Conventionally, an additional detecting device is used to detect the above mentioned sudden voltage change and reset the MCU 110 so as to maintain a normal operation of the entire system. Referring to
It is therefore an object of the invention to provide a method of resetting a shut down integrated circuit spontaneously and the monitor thereof. The control unit of the monitor automatically detects the shutting down of the integrated circuit and resets to restore a normal operation of the integrated circuit.
The invention achieves the above-identified object by providing a monitor including an IC and a control unit. The IC has an operating voltage, and the control unit is provided for controlling the IC. The control unit includes a driving unit, a counter and a resetting unit. The driving unit is used for sending out the command to drive the IC and receive an acknowledge signal corresponding to the command responded by the IC. The counter and the driving unit are coupled together, wherein the counter value of the counter has an initial value. The resetting unit is coupled to the counter for resetting the control unit, wherein the control unit uses an I2C bus to control the IC, and the driving unit sends out the command to program the IC through the I2C bus. When the operating voltage is dropped to below the threshold voltage causing the IC to be shut down, the driving unit will repeatedly send out the command to drive IC. When the driving unit drives the IC but the IC does not respond the acknowledge signal, the counter value is increased by one. If the counter value is larger than the first value, the resetting unit will reset the control unit to restore a normal operation of the IC. By means of a simple circuit design, the control unit can detect and reset a shut down IC to restore a normal operation instantly.
According to the object of the invention, a method of resetting a shut down IC spontaneously is provided. The method is applied in a monitor, including a control unit for controlling the IC. The method is briefly disclosed below. Set the value of the parameter k as an initial value. The control unit sends out the command to drive the IC. If the IC does not respond an acknowledge signal to the control unit, proceed to the next step to determine whether the parameter k is larger than the first value. If the parameter k is not larger than the first value, increase the value of the parameter k and return to the step of driving the IC. Reset the control unit and return to the step of driving the IC. By means of a simple circuit design, the shutting down of the IC can be detected instantly and the IC can restore a normal operation by the control unit reset.
Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
The feature of the invention lies in by using the feature that the IC inside the monitor will respond to the control command of the control unit, when an operating power supply is cut off suddenly and restored spontaneously, the control unit will detect and reset a shutting down IC and restore a normal operation of the IC. In the following, a CRT monitor is taken as an example to describe the method how to reset the shut down IC spontaneously by the control unit (MCU) in the invention.
The transmission line SCL is used in the one-way clock signal transmission from the MCU 220 to the bias IC 210, while the transmission line SDA is used to transmit the control command from the MCU 220 to the bias IC 210 and the acknowledge signal A responded by the bias IC 210. The MCU 220 includes a driving unit 222, a counter 224 and a resetting unit 226. The driving unit 222 uses the I2C bus 230 to send out the command to program the registers 212 of the bias IC 210 and receive the acknowledge signal A responded by the bias IC 210. The counter 224 and the driving unit 222 are coupled together, and the initial value of the counter value Counter of the counter 224 is 0. When the driving unit 222 sends out the command to program the bias IC 210, and the bias IC 210 does not respond the acknowledge signal A, the counter value Counter is increased by one. Besides, the resetting unit 226 is coupled to the counter 224 for resetting the MCU 220.
Referring to
Although the invention is exemplified by using the bias IC 210 of the CRT monitor 200 as an example, however, the method of resetting a shut down IC spontaneously can also be applied to other ICs using an I2C bus, such as an audio IC and a vide IC, in the CRT monitor 200. The method can even be applied to an analog-to-digital converter (ADC) circuit of a liquid crystal displayer (LCD).
According to the preferred embodiment disclosed above, the advantage of the invention lies in the shut down IC can restore a normal operation spontaneously by using the feature that the IC inside the monitor will respond to the control signal of the MCU. When the IC is shut down due to sudden power cut off, the MCU repeatedly sends out the command to program the IC to execute the same functional operation and receive the acknowledge signal responded by the IC. If the MCU sends out the command to program the IC but does not receive any responded acknowledge signal from the IC more than a predetermined number of times, the MCU will be automatically reset so that the shut down IC can restore its normal operation. Therefore, a shut down IC can restore a normal operation spontaneously by means of a simple circuit design without using any additional analog/digital circuit like the prior art does.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
92131602 | Nov 2003 | TW | national |