Not applicable.
1. Field of the Invention
The present invention relates to a reference generating apparatus and a sampling apparatus thereof. More particularly, the present invention relates to a reference generating apparatus sampling a first reference signal to retrieve a second reference signal and thus, save power.
2. Descriptions of the Related Art
Many battery-powered portable electronic devices, such as laptop computers, portable digital assistants, digital cameras, cell phones and the like, require ICs devices that provide large storage capacity and low power consumption. To reduce the power consumption and thereby extend the battery life in portable electronic devices, the ICs typically operate under low-power or standby mode when the ICs are not in operation.
Generally, a Bandgap reference circuit is applied for providing a stable reference voltage to the whole circuit. However, the conventional Bandgap reference circuits consume many micro amperes of current due to its configuration, which always conducts current between a high power supply rail and a low power supply rail. However, when the ICs are in a standby mode, the Bandgap reference circuit still draws a relatively large current, which increases the power consumption of the ICs and reduces the battery life of the portable device.
To save power in standby mode, conventional technologies provide several configurations. In one reference of the prior art, a capacitor is applied to store energy and provide voltage when the ICs are in standby mode. However, the capacitor occupies a large area of the die to maintain the electrical charge over a period of time. Besides, the electrical charge of the capacitor may be released to reduce the voltage provided by the capacitor. As a result, using a capacitor for providing voltage is costly and not practical.
In another reference of the prior art, an auxiliary low-accuracy Bandgap reference circuit is applied for providing a voltage in standby mode. The low-accuracy Bandgap reference circuit takes a long time to sample the voltage level that is derived by a high-accuracy Bandgap reference circuit for providing voltage in the active mode. Due to the lengthy sampling of the voltage level, the configuration can only save less power and still consume essential power.
Thus, it is important to provide a reference generating apparatus and a sampling apparatus thereof that can consistently provide a reference signal and save power.
The primary objective of this invention is to provide a sampling apparatus. The sampling apparatus is configured to code and decode a first reference signal to retrieve a second reference signal that is identical to the first reference signal in amplitude. The second reference signal is adapted to replace the first reference signal. The sampling apparatus only consumes less power to generate the second reference signal and thus, save power.
To achieve the aforementioned objective, the sampling apparatus comprises a coding module, a memory, and a decoding module. The coding module is configured to sample the first reference signal and generate a coded signal in response to the first reference signal. The memory is configured to store the coded signal. The decoding module is configured to retrieve the coded signal from the memory and decode the coded signal to generate a second reference signal.
Another objective of this invention is to provide a reference generating apparatus. The reference generating apparatus is configured to code and decode a first reference signal to retrieve a second reference signal that is identical to the first reference signal in amplitude, and to output either the first reference signal or the second reference signal in response to the reference selection signal. When the reference generating apparatus outputs the second reference signal, the first reference signal is not generated anymore to save power.
To achieve the aforementioned objective, the reference generating apparatus comprises an initial reference generating circuit, a sampling apparatus, and a multiplexer. The initial reference generating circuit is configured to generate a first reference signal. The sampling apparatus is configured to generate a second reference signal in response to the first reference signal. The multiplexer is configured to receive and output either the first reference signal or the second reference signal in response to the reference selection signal.
The detailed technology and preferred embodiments implemented for the subject invention are described in the following paragraphs accompanying the appended drawings for people skilled in this field to well appreciate the features of the claimed invention.
In the descriptions that follow, the present invention will be described in reference to the embodiments that describe a reference generating apparatus for coding and decoding a first reference signal to generate a second reference signal with less power consumption to save power. However, embodiments of the invention are not limited to any particular environment, application or implementation. Therefore, the descriptions of the embodiments that follow are for purposes of illustration and not limitation. It is understood that elements indirectly related to the present invention are omitted and are not shown in the following embodiments and drawings.
Unlike the conventional technology, the present invention discloses a reference generating apparatus configured to sample a first reference signal and then generate a second reference signal substantially identical to the first reference signal by coding and decoding. The second reference signal is adapted to replace the first reference signal. Unlike the conventional reference generating circuits that operate in full-time mode, the reference generating apparatus of the present invention is configured to operate in part-time mode to save power.
The sampling apparatus 1 comprises a coding module 131, a memory 132, and a decoding module 133. The coding module 131 is configured to sample the first reference signal 101 and generate a coded signal 102 in response to the first reference signal 101. The memory 132 is configured to store the coded signal 102. The decoding module 133 is configured to retrieve the coded signal 102 from the memory 132 and decode the coded signal 102 to generate the second reference signal 103. By storing and decoding the coded signal 102, the sampling apparatus 1 can operate under the part-time mode; that is, the sampling apparatus 1 only consumes power when it operates, and does not continuously consume power for generating a reference signal.
The comparator 231 is configured to compare the first reference signal 101 and the second reference signal 103. With the circuitry configuration as shown in
As shown in
The decoding module 133 adjusts the variable resistor 333 according to the amplitude of the coded signal 102. Following the aforementioned conditions, when the first reference signal 101 is larger than the second reference signal 103, the decoding module 133 adjusts the variable resistor 333 so that it has a larger resistance. By applying the voltage divider principle, the second reference signal 103 with larger amplitude is presented at the first node 301. The comparator 231 then compares the first reference signal 101 with the second reference signal 103 with larger amplitude, and outputs the coded signal 102 with amplitude that is not as large as the one in the very beginning when the comparator 231 first receives the first reference signal 101. The N-bit counter 232 then counts the coded signal 102 according to the amplitude thereof, and outputs the coded signal 102 to the decoding module 133. In other words, once the number N of the N-bit counter increases, the N-bit counter 232 can count the coded signal 102 more precisely.
The embodiment of the decoding module 133 shown in
In another embodiment, the decoding module 133 is realized with a current source as shown in
A switch 442 and a resistor 444 are connected together in parallel to form a first node 401 and a second node 402, while the second node 402 is connected to a low power supply rail, such as the ground shown in
The decoding module 133 adjusts the variable current source 441 according to the amplitude of the coded signal 102. When the first reference signal 101 is larger than the second reference signal 103, the decoding module 133 adjusts the variable current source 441 to generate a larger current. As the larger current flowing through the resistor 444, the second reference signal 103 with larger amplitude is presented at the first node 401. The second reference signal 103 is then applied in the sampling apparatus 1 as aforementioned, and redundant description is omitted hereinafter.
In the embodiment shown in
Before the power-on signal 501 turns to the high level at time T1, the first reference signal 101 is generated and stays in a stable level, as shown in
The operation of re-coding the first reference signal is illustrated in the period of time from time T5 to T8. At time T5, the initial reference generating circuit 11 generates the first reference signal 101. After a period of time from time T5 to T6, the first reference signal 101 stays at a stable level, then the reset signal 105 is excited to be high in response to the rising edge of the sampling enable signal 503 at time T6. The reset signal 105 is adapted to turn on the switch 332 and to generate the re-coding signal at the first node in place of the second reference signal 103, i.e. the second reference signal 103 turns to the low level. Then, the sampling apparatus 13 re-codes the first reference signal 101 to derive a new second reference signal 103 at time T7. The multiplexer 15 then outputs the second reference signal after time T7. At time T8, the reference selection signal 104 turns to the low level to cease the generation of the first reference signal 101.
The present invention samples the first reference signal then generates the second reference signal by coding and decoding operations. Therefore, the present invention can cease to generate the first reference signal and replace the first reference signal with a decoded signal, for example a digital signal, to save power.
The above disclosure is related to the detailed technical contents and inventive features thereof. People skilled in this field may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended.