1. Field of the Invention
The present invention relates to a power-on reset circuit and, more particularly, to a power-on reset circuit capable of accurately setting a reset finishing voltage.
2. Description of the Prior Art
Most integrated circuit chips usually include a plenty of transistors and basic logic units. After the power is turned on, the power voltage is rising from zero to a predetermined stable value at which the integrated circuit chip is operated normally. In order to avoid any uncertainty with initial states of the transistors and logic units in the integrated circuit chip, it is necessary before the power voltage reaches the stable value to have performed a reset operation phase with respect to the transistors and logic units. For this reason, a power-on reset circuit is designed for providing a power-on reset signal to control the starting as well as finishing of the reset operation phase before the power voltage reaches the stable value, ensuring that the integrated circuit chip has a certain initial state.
Typically, one integrated circuit chip is designed to operate in response to several different stable values of the power voltage. No matter what stable value the power voltage will reaches, the reset operation phase for the integrated circuit chip is required to be finished at a specified value (hereinafter referred to as a reset finishing voltage). That is, the initial state of the integrated circuit chip must be reset at least before the power voltage reaches the specification-required reset finishing voltage so as to ensure a normal operation. Unfortunately, conventional power-on reset circuits fail to satisfy this requirement.
An object of the present invention is to provide a power-on reset circuit capable of accurately setting and adjusting a reset finishing voltage.
A power-on reset circuit according to the present invention includes a reset starting circuit, a reset finishing circuit, and a latch circuit. The reset starting circuit generates a reset starting signal in response to a power voltage. When the power voltage reaches a predetermined reset finishing voltage, the reset finishing circuit generates a reset finishing signal. The latch circuit generates a power-on reset signal having a first state and a second state. In response to the reset starting signal, the latch circuit causes the power-on reset signal to transition to the first state. In response to the reset finishing signal, the latch circuit causes the power-on reset signal to transition to the second state.
The reset finishing circuit includes a voltage detection unit, a reference voltage generation unit, and a voltage comparison unit. The voltage detection unit generates a detection voltage representative of the power voltage. The reference voltage generation unit generates a reference voltage in association with the predetermined reset finishing voltage. The voltage comparison unit compares the detection voltage and the reference voltage such that the voltage comparison unit is triggered to generate the reset finishing signal when the detection voltage reaches the reference voltage.
In one embodiment, the latch circuit enables the reset finishing circuit in response to the reset starting signal. In another embodiment, a delay circuit is coupled between the latch circuit and the reset finishing circuit for enabling the reset finishing circuit by a delay time after the latch circuit causes the power-on reset signal to transition to the first state.
The above-mentioned and other objects, features, and advantages of the present invention will become apparent with reference to the following descriptions and accompanying drawings, wherein:
The preferred embodiments according to the present invention will be described in detail with reference to the drawings.
The reset starting circuit 11 primarily has a voltage detection unit and a trigger unit. The voltage detection unit generates a detection voltage Vsen representative of the power voltage Vpw. The voltage detection unit may be implemented by a resistor R1 and a capacitor C1 coupled in series to form a capacitive voltage divider. When the power voltage Vpw starts rising from zero, a voltage division of the power voltage Vpw is provided at the connecting node A between the resistor R1 and the capacitor C1, which is serving as the detection voltage Vsen. The trigger unit may be implemented by a Schmidt trigger ST connected in series with an inverter. The Schmidt trigger ST may be considered as an inverter with a hysteresis function for preventing the noise on the detection voltage Vsen from causing an erroneous trigger event. Once the power voltage Vpw reaches an appropriate voltage to trigger the Schmidt trigger ST, the reset starting signal RST from the reset starting circuit 11 applies a rising edge to a first input terminal S of the latch circuit 12. In response to the rising edge of the reset starting signal RST, the latch circuit 12 causes the power-on reset signal POR to transition to a low level state for starting the reset operation phase. In the embodiment shown in
The reset finishing circuit 13 primarily has a switch unit, a voltage detection unit, a reference voltage generation unit, and a voltage comparison unit. The switch unit consists of three transistor switches n1 to n3 for respectively controlling current paths of the voltage comparison unit, the reference voltage unit, and the voltage detection unit. When the enable signal EN is at a low level state, all of the three transistor switches n1 to n3 are turned off, resulting in no current paths formed between the power voltage Vpw and the ground potential. In other words, through the use of the switch unit, the reset finishing circuit 13 is activated under the control of the enable signal EN at a high level state. The reference voltage generation unit may be implemented by a resistor R2 and a diode-coupled transistor n4, connected in series between the power voltage Vpw and the ground potential, for generating a reference voltage Vref, which is therefore approximately equal to a diode drop. The transistor switch n2 controls the current path of the reference voltage generation unit. The voltage detection unit may be implemented by a resistive voltage divider of two resistors Ra and Rb, connected in series between the power voltage Vpw and the ground potential, for generating a voltage division [Rb/(Ra+Rb)]*Vpw. The transistor switch n3 controls the current path of the voltage detection unit.
The voltage comparison unit primarily has a differential amplifying pair of transistors p1 and p2, which are driven by a current mirror made up of transistors p3 and p4. The voltage division [Rb/(Ra+Rb)]*Vpw from the voltage detection unit is applied to a gate electrode of the transistor p1 while the reference voltage Vref from the reference voltage generation unit is applied to a gate electrode of the transistor p2. As a result, the voltage comparison unit determines the states of the reset finishing signal FNS based on the comparison between the voltage division [Rb/(Ra+Rb)]*Vpw and the reference voltage Vref. When the voltage division [Rb/(Ra+Rb)]*Vpw is lower than the reference voltage Vref, the reset finishing signal FNS is generated at the high level state. Once the voltage division [Rb/(Ra+Rb)]*Vpw reaches the reference voltage Vref, the voltage comparison unit is triggered to make the reset finishing signal FNS fall down to a low level state. The reset finishing signal FNS is applied to a second input terminal R of the latch circuit 12. In response to the falling edge of the reset finishing signal FNS, the power-on reset signal POR transitions to a high level state for terminating the reset operation phase.
Therefore, the reset operation phase can be finished in such an accurately controllable manner as setting the value of the reference voltage Vref since the reset finishing voltage is calculated in accordance with the expression [(Ra+Rb)/Rb]*Vref. In other words, when the power voltage Vpw reaches the thus-designed reset finishing voltage, the power-on reset signal POR is triggered to terminate the reset operation phase and make the integrated circuit chip be ready for normal operations.
From the time T1 to T2, the enable signal EN goes higher as following the rising in the power voltage Vpw while the power-on reset signal POR is fixed at the ground potential. During this period the power current Ipw starts being remarkably consumed because the current paths of the reset finishing circuit 13 are all turned on by the enable signal EN. At the time T2, the power-on reset signal POR jumps up to the high level state for terminating the reset operation phase because the power voltage Vpw reaches the second voltage V2, i.e. the reset finishing voltage, to trigger the voltage comparison unit of the reset finishing circuit 13. Additionally, the enable signal EN falls down to the low level state at the same time for blocking all of the current paths in the reset finishing circuit 13. Therefore, the consumption of the power current Ipw is ceased after the time T2, and the power-on reset signal POR goes higher to a stable value as flowing the power voltage Vpw.
While the invention has been described by way of examples and in terms of preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications.