Apparatus and Method for Programmable Power Management in a Programmable Analog Circuit Block
An apparatus and method for programmable power management in a programmable analog circuit block. Specifically, the present invention describes an operational amplifier circuit that includes current sources that are coupled in parallel. Configuration bits are asserted to selectively enable or selectively disable one or more of the current sources in order to modulate the performance of the operational amplifier circuit block. Selective addition or removal of current sources increases or decreases the amount of current within the operational amplifier and, correspondingly, the speed and power consumption of the operational amplifier. Combinations of asserted configuration bits pass a bias voltage in order enable selected current sources. In one embodiment, the bias voltage can be increased in order to increase the current output of one of the current sources which, correspondingly, increases the speed of the operational amplifier circuit block.
Latest CYPRESS SEMICONDUCTOR CORPORATION Patents:
This application is a continuation of U.S. patent application Ser. No. 09/943,062, filed Aug. 29, 2001, which claims the benefit of U.S. Provisional Application No. 60/243,708, filed Oct. 26, 2000, all of which are incorporated herein by reference in their entirety.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to the field of power management. More specifically, the present invention relates to the field of programmable power management in a programmable analog circuit containing an operational amplifier.
2. Related Art
A microcontroller is a highly integrated chip having all or most of the necessary components to control some process or aspect in a circuit. For example, the microcontroller typically includes a central processing unit (CPU), random access memory (RAM), read only memory (ROM), input/output (I/O) interfaces, timers, and interrupt controller. The typical microcontroller has bit manipulation instructions, easy and direct access to I/O interfaces, and quick and efficient interrupt processing. By including only features specific to the task of the microcontroller and integrating the functionality onto a single chip, the cost to produce the microcontroller can be drastically reduced.
Programmable analog circuit designs for microcontrollers allow a user limited programmability to vary circuit parameters or the underlying topology of the programmable analog circuit. For example, a programmable analog circuit may be comprised of interconnected analog blocks set in a fixed topology that has programmable parameters, such as filter bandwidth or roll-off, that can be set and changed according to application needs. While the signal processing path and basic functionality of the analog circuit remains unchanged, some programmable functionality is introduced by letting parameters vary in the programmable analog circuit.
A particular functionality important to programmable analog circuit designs is power management. Power management is particularly important in light of the movement towards higher levels of integration, and higher circuit densities. Programmable analog circuit blocks include basic programmable operational amplifier circuits used for many functionalities including gain amplifiers, switch capacitor integrators, analog to digital (A/D) converters, digital to analog (D/A) converters, filters, etc. In addition, a switched capacitor integrator forms the basis for an analog processing unit that can support A/D and D/A digital converters, comparators, programmable gain amplifiers, and filters.
As end products become more lightweight, smaller, and more portable, the microcontrollers operating at three volts and lower allow for less power consumption and longer battery life. However, in the past, designing the proper analog circuitry for lower power consumption was difficult to achieve without sacrificing operating performance. As a result, microcontrollers previously offered nonexistent or limited power management functionality.
The current sources 110 are non-adjustable or not programmable. In the design illustrated in
One method implemented in the past for controlling power management throughout a programmable analog circuit included increasing or decreasing the bias voltage (not shown in
Increasing the bias voltage increases the current through the operational amplifier in the programmable analog circuit. More current increases the slew rate of the programmable analog block and increases the operational amplifiers ability to drive the capacitor representative of the load. This allows the operational amplifier to run faster resulting in better performance.
However, there is a tradeoff. By increasing the bias voltage, the dynamic range of the operational amplifier is reduced. Basically, the dynamic range of output voltage at node 120 is clipped or reduced for the programmable analog block containing the operational amplifier. As a result, increasing the bias voltage negatively decreases the dynamic range of the block containing the operational amplifier.
Conversely, to maintain the dynamic range of the programmable analog block, the bias voltage (not shown) must be reduced. However, at the lower bias levels (and hence lower bias voltages, such as, three volts), the circuit containing the operational amplifier operates at much slower speeds. Thus, a need exists to provide a degree of programmability to power management in a programmable analog circuit. Another need exists to provide increased speeds in a programmable analog circuit without sacrificing performance.
SUMMARY OF THE INVENTIONThe present invention discloses a method and system for power management in a programmable analog circuit. The present invention provides for a degree of programmability in the management of power in a programmable analog circuit. Also, the present invention meets the above need and provides for increased speeds in a programmable analog circuit without sacrificing performance.
These and other objects and advantages of the present invention will no doubt become obvious to those of ordinary skill in the art after having read the following detailed description of the preferred embodiments which are illustrated in the various drawing figures.
Specifically, one embodiment of the present invention describes a programmable analog block containing an operational amplifier circuit that includes a plurality of current mirrors or sources that are coupled in parallel. Configuration bits are asserted to selectively enable or selectively disable one or more of the current sources in order to modulate the performance of the operational amplifier circuit block. Selective addition or removal of current mirrors increases or decreases the amount of current within the operational amplifier and, correspondingly, the amount of power consumed for the operational amplifier and the speed of the operational amplifier.
Various combinations of asserted configuration bits pass a bias voltage in order to enable different groups of selected current mirrors. The selected current mirrors come from the plurality of available current sources in the operational amplifier.
Selectively enabling and disabling various current mirrors in the plurality of current sources allow for power adjustment of the programmable analog block containing an operational amplifier. Enabling a current source increases the current through the operational amplifier in order to increase the operating speed of the operational amplifier. As a result, this increases the power consumed by the operational amplifier. Correspondingly, disabling a current source decreases the current through the operational amplifier, decreases the operating speed of the operational amplifier, and decreases the power consumed by the operational amplifier. Enabling or disabling the current mirrors within the programmable analog block does not deleteriously affect the dynamic swing of the operational amplifier contained within the programmable analog block as the external bias voltage is not changed.
In one embodiment, the bias voltage can be further increased in order to further increase the current output of one of the current sources in a selected group of current sources. This increased current increases the operating speed of the operational amplifier circuit block. In another embodiment, the bias voltage is successively increased to successive current sources in a scalable ratio in order to provide scalable increases in the operating speed of the operational amplifier.
In another embodiment of the present invention, a microcontroller controls the programmable management of power through the programmable analog circuit.
PRIOR ART
Reference will now be made in detail to the preferred embodiments of the present invention, a method and system for programmable power management in a programmable analog circuit block, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the preferred embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.
Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
Notation and NomenclatureSome portions of the detailed descriptions which follow are presented in terms of procedures, steps, logic blocks, processing, and other symbolic representations of operations on data bits that can be performed on computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. A procedure, computer executed step, logic block, process, etc., is here, and generally, conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present invention, discussions utilizing terms such as “accessing,” or “processing,” or “computing,” or “translating,” or “calculating ,” or “determining,” or “scrolling,” or “displaying,” or “recognizing,” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
Referring now to
With reference still to
The input/output device 208 could be a I/O interface such as a serial or USB port that is associated with the bus 220. Data from the microcontroller 210 travels through the port and onto an external bus 230 that provides for data transfer between components of the electronic system 200, including microcontroller 210. In one embodiment of the present invention, external bus 230 can be a serial communication bus, such as the serial peripheral interface (hereinafter referred to as “SPI”) communication bus.
For example, components of electronic device 200 could include a display device 205 coupled to the bus 230 for displaying digital images to the user. The display device 205 utilized with electronic device 200 may be a liquid crystal display (LCD) device, a cathode ray tube (CRT), a field emission display device (also called a flat panel CRT), or other display device suitable for generating graphic images and alphanumeric characters recognizable to the user. Also included in electronic device 200 is an optional alphanumeric input device 206, in another embodiment of the present invention. Alphanumeric input device 206 can communicate information and command selections to processor 201 via bus 230 and bus 220. In one implementation, alphanumeric input device 206 is a touch screen device. Alphanumeric input device 206 is capable of registering a position where contact is made.
In still another embodiment of the present invention, electronic device 200 also includes an optional cursor control or directing device (on-screen cursor control 207) coupled to bus 230 for communicating user input information and command selections to processor 201. In one implementation, on-screen cursor control device 207 is a touch screen device incorporated with display device 205.
Programmable Power Management of a Programmable Analog CircuitThis disclosure describes an apparatus and method for programmable power management in a programmable analog circuit block. Referring now to
The plurality of current sources provide a scalable and incremental source of current for the operational amplifier contained within the circuit block 300. Each additional current source provides additional current to the operational amplifier in circuit block 300. The increase in current to the operational amplifier correspondingly increases the speed of the operational amplifier, the output voltage and output power exhibited at node 340, and the power consumed by the operational amplifier in circuit block 300.
Furthermore, selective enablement of different combinations of current sources allows for the adjustment of power consumption and performance capability of the operational amplifier contained within the analog circuit block 300. This, in turn, allows for programmable power management of the analog circuit block 300 by a microcontroller, such as microcontroller 200.
Additionally, the increase in performance of the operational amplifier is not accomplished by increasing the bias voltage (not shown). Instead, the addition of parallel current sources (e.g., sources 310, 315, 320, 325, 330, and 335) provides increased current through the operational amplifier and increases the speed and power output of the operational amplifier at the node 340. As a result, the increased performance comes without any of the deleterious effects on the dynamic range of the operational amplifier contained within the analog circuit block 300. This allows for increased performance, namely speed of the operational amplifier, of the programmable analog block 300 at lower bias voltages and lower bias voltages.
The parallel current sources allow the programmable analog block 300 to operate at faster speeds at low bias voltages, and at lower power levels. Since the programmable analog block 300 is driven by a lower bias voltage, the dynamic range of the block 300 is higher. Also, the addition of parallel current sources increases the speed through the operational amplifier contained in block 300 thereby increasing the slew rate for overcoming the load capacitance, and increasing the operating speed of the operational amplifier.
Although embodiments of the present invention are described using current mirrors or current sources, the present invention is well suited to other embodiments where other types of power sources or mirrors are utilized.
In one embodiment of the present invention, the current sources are paired together, as paired current mirrors. One of each pair of current mirrors is coupled to the transistors coupled to the input voltages at node 350 (−Vin) and node 355 (+Vout), and the other of each pair is coupled to the output voltage at node 340. The current mirrors coupled to the transistors at the input voltages at nodes 350 and 355 are coupled in parallel. In addition, the current mirrors coupled to the output voltage at node 340 are coupled in parallel fashion.
For example,
In one embodiment of the present invention, for each pair of current mirrors, the current source coupled to the output voltage at node 340 outputs an integer multiple (e.g., two times) of the amount of current for its corresponding current source in the pair that is coupled to the transistors at the input voltages at nodes 350 and 355. For example, in the first pair of current sources, current source PB1A 315 outputs twice the amount of current as current source PB1 310.
In addition, a source voltage (Vcc) is coupled to node 360 for the operational amplifier in circuit block 300. Another source voltage (Vss) is coupled to node 370 for the operational amplifier in circuit block 300.
The operational amplifier circuit 300 as shown in
In another embodiment of the present invention, the paired current mirrors provide further incremental increases in the current through the operational amplifier contained within the circuit block 300. This is accomplished by turning on selected current mirrors.
Each of the current mirrors supply varying amounts of current depending on the number of devices contained within the current mirror. For example, a scalable current ratio of one to four to twelve (1:4:12) is envisioned in one embodiment of the present invention. The same bias voltage is presented to each of the current mirrors; however, each of the current mirrors contain a certain number of identical devices that are in ratio to the other current mirrors. For example, the third pair of current mirrors (e.g., sources PB3 330 and PB3A 335) has 12 identical devices and supplies twelve times the current supplied by the first pair of current mirrors. The second pair of current mirrors (e.g., sources PB2 320 and PB2A 325) has four identical devices and supplies four times the current supplied by the first pair of current mirrors. Correspondingly, the first pair of current mirrors (e.g., sources PB1 310 and PB1A 315) has one device.
For example, a scalable ratio or multiple of one to four to twelve (1:4:12) is envisioned in one embodiment. In this case, the third pair of current mirrors (e.g., sources PB3 330 and PB3A 335) would see twelve times the bias voltage (VPB as illustrated in
Implementation of the programmable power management in the analog circuit block 300 that acts as an operational amplifier is achieved by selectively removing or including each of the paired current mirrors. At full power, or the maximum speed of the operational amplifier in block 300, all the paired current mirrors (e.g., sources 310, 315, 320, 325, 330, and 335) are coupled to the operational amplifier in the circuit block 300. At minimum power, or the minimum speed of the operational amplifier 310, only the first pair of current mirrors (e.g., sources 310 and 315) are provided without boosting the bias voltage (VPB as shown in
As such, incremental increases in speed and power consumption through the analog circuit block 300 is achieved by selecting one or more of pairs of current mirrors in
Although a ratio of one to four to twelve (1:4:12) is recited in the present embodiment, the present invention is also well suited to an embodiment in which other ratios or integer multiples are used, and/or a varying number of current mirrors are used to give incremental local power management of the operational amplifier in circuit block 300.
The programmable analog circuit block as illustrated in
Returning to
Depending on the various configuration bits asserted, the various output voltage signals (e.g., S0b, S1b, S2, and S2b) from the logic decoder 400 are inputted into the multiplexor 402 of the programmable analog circuit block. In accordance with the present embodiment, the four to one (4 to 1) multiplexor 400 is implemented to select between the various output signals. The function of the multiplexor 402 is either to pass the bias voltage (VPB) 460 on to the pairs of current sources, or to isolate the bias voltage (VPB) 460 and shut down the pairs of current sources.
As shown in
For example, the bias voltage VPB-1 at node 470 drives the pair of current sources 472 and 474. The bias voltage VPB-2 at node 480 drives the pair of current sources 482 and 484. Finally, the bias voltage VPB-3 at node 490 drives the pair of current sources 492 and 494. As discussed previously, each of the pairs of current sources contain varying numbers of identical devices that affect the current output for that pair of current sources.
As illustrated in
The operational amplifier circuit 404 as shown in
As discussed previously, the bias voltages (e. g., VPB-1, VPB-2, and VPB-3) can be incremented to provide a scalable increase of speed or power consumption in the operational amplifier 404. For example, the input bias line VPB 460 can be set to another voltage. Combined with the programming bits (e.g., S0 and S1), six levels of bias can be achieved, in contrast to only three levels of bias when the bias voltage VPB 460 stays constant.
In addition, selection of the pairs of current mirrors can provide a scalable increase of speed or power consumption in the operational amplifier 404. For example, a ratio of supplied currents from each of the current mirrors is dependent on the number of devices contained within the current mirrors that are controlled by the bias voltages (e.g., VPB-1, VPB-2, and VPB-3). Bias voltage VPB-1 controls the pair of current mirrors 472 and 474. Bias voltage VPB-2 controls the pair of current mirrors 482 and 484. Bias voltage VPB-3 controls the pair of current mirrors 492 and 494. In one embodiment, the ratio of currents can be one to four to twelve (1:4:12).
The truth table 500 of
For example, as exhibited in line 510, if both configuration bits S0 and S1 were not asserted, then all the pairs of current mirrors would be disabled. This would effectively shut off the operational amplifier 404 controlled by truth table 500. Additionally, as exhibited in line 520, if only the S1 bit were asserted at node 420, then the bias voltage VPB-1 would be presented at node 470 for the pair of current mirrors 472 and 474.
Further, as exhibited in line 530 of Table 500, if only configuration bit SO were asserted at node 410, then two pairs of current sources would be enabled. The bias voltage VPB-1 at node 470 would be presented, thus turning on the pair of current mirrors 472 and 474. Also, the bias voltage VPB-2 at node 480 would be presented, thus turning on the pair of current mirrors 482 and 484.
Lastly, as exhibited in line 540 of Table 500, if both configuration bits S0 and S1 were asserted at nodes 410 and 420, respectively, then all pairs of current mirrors would be enabled. For instance, the bias voltage VPB-1 at node 470 would be presented, thus turning on the pair of current mirrors 472 and 474. Also, the bias voltage VPB-2 at node 480 would be presented, thus turning on the pair of current mirrors 482 and 484. Additionally, the bias voltage VPB-3 at node 490 would be presented, thus turning on the pair of current mirrors 492 and 494.
It is appreciated that Table 500 is exemplary only. The present invention is well suited to embodiments in which varying numbers of configuration bits are available driving a varying number of current sources to provide additional power adjustment of the operational amplifier 404 of the analog circuit block as illustrated in
A microcontroller, such as microcontroller 200 of
The present embodiment begins with step 610 where a first combination of configuration bits is asserted. The first combination is selected from a plurality of configuration bits. For example, two configuration bits, as shown in
In step 620, the present embodiment sends a bias signal in response to the first combination of configuration bits. The bias signal is a bias voltage supplied to the operational amplifier in the programmable analog circuit. The bias signal is sent to a selected group of current sources in the operational amplifier, as dictated by the first combination of configuration bits. The current sources are coupled in parallel.
In step 630, the present embodiment enables the selected group of current sources in order to adjust the power consumption and performance of the operational amplifier in the programmable analog circuit block. Selectively enabling or disabling the various current sources driving the operational amplifier provides selection between various speeds and power consumption in relation to the performance of the operational amplifier. The various combinations of asserting configuration bits select between the various speeds and power consumption that relate to the performance of the operational amplifier in the programmable analog circuit block.
While the methods of embodiments illustrated in process 600 show specific sequences and quantity of steps, the present invention is suitable to alternative embodiments. For example, not all the steps provided for in the method are required for the present invention. Furthermore, additional steps can be added to the steps presented in the present embodiment. Likewise, the sequences of steps can be modified depending upon the application.
The preferred embodiment of the present invention, programmable power management in a programmable analog circuit, is thus described. While the present invention has been described in particular embodiments, it should be appreciated that the present invention should not be construed as limited by such embodiments, but rather construed according to the below claims.
Claims
1. A programmable analog circuit block, comprising:
- at least one register configured to store a plurality of configuration bits; and
- a plurality of current sources coupled with the at least one register, wherein each of the plurality of current sources is configured to output a current based on a value of at least one of the plurality of configuration bits.
2. The programmable analog circuit block of claim 1, further comprising:
- a logic decoder for generating a plurality of select signals based on values of the plurality of configuration bits; and
- a multiplexor configured to selectively apply a bias voltage to the plurality of current sources based on the plurality of select signals.
3. The programmable analog circuit block of claim 1, wherein each of the current sources is a current mirror, and wherein each of the current sources supplies current for an operational amplifier.
4. The programmable analog circuit block of claim 1, wherein each of the current sources is enabled by one of the plurality of configuration bits.
5. The programmable analog circuit block of claim 1, wherein the plurality of current sources are connected in parallel.
6. The programmable analog circuit block of claim 1, wherein the plurality of current sources comprises a pair of current mirrors, wherein a second current mirror of the at least one pair of current mirrors is configured to provide twice an amount of current provided by a first current mirror of the pair of current mirrors.
7. The programmable analog circuit block of claim 1, wherein a second pair of current mirrors is configured to supply four times an amount of current provided by a first pair of current mirrors, and wherein a third pair of current mirrors is configured to supply twelve times the amount of current provided by the first pair of current mirrors.
8. A method, comprising:
- in a programmable analog block, asserting a first group of configuration bits from a plurality of configuration bits;
- generating a plurality of select signals based on values of the first group of configuration bits; and
- in response to the plurality of select signals, enabling one or more current sources of the programmable analog block.
9. The method of claim 8, wherein the one or more current sources comprises a plurality of associated pairs of current sources.
10. The method of claim 9, wherein each configuration bit is configured to enable one of the plurality of associated pairs of current sources.
11. The method of claim 9, further comprising supplying twice the amount of current from a second current source than from a first current source of each associated pair of current sources.
12. The method of claim 8, further comprising using the enabled current sources to supply current for an operational amplifier.
13. The method of claim 12, wherein a first current source in each associated pair is coupled to a first node that is coupled to transistors receiving input voltages to the operational amplifier, and a second current source in each pair is coupled with an output voltage to the operational amplifier, wherein each first current source coupled to the input voltage is coupled in parallel, and wherein each second current source coupled to said output voltage is coupled in parallel.
14. A programmable device, comprising:
- a microcontroller; and
- a programmable analog block coupled with the microcontroller, wherein the programmable analog block comprises: at least one register configured to store a plurality of configuration bits; and a plurality of current sources each configured to output a current based on a value of at least one of the plurality of configuration bits.
15. The programmable device of claim 14, further comprising:
- a logic decoder for generating a plurality of select signals based on values of the plurality of configuration bits; and
- a multiplexor configured to selectively apply a bias voltage to the plurality of current sources based on the plurality of select signals.
16. The programmable device of claim 14, wherein each of the current sources is a current mirror, and wherein each of the current sources supplies current for an operational amplifier.
17. The programmable device of claim 14, wherein each of the current sources is enabled by one of the plurality of configuration bits.
18. The programmable device of claim 14, wherein the plurality of current sources are connected in parallel.
19. The programmable device of claim 14, wherein the plurality of current sources comprises a pair of current mirrors, wherein a second current mirror of the at least one pair of current mirrors is configured to provide twice an amount of current provided by a first current mirror of the pair of current mirrors.
20. The programmable device of claim 14, wherein a second pair of current mirrors is configured to supply four times an amount of current provided by a first pair of current mirrors, and wherein a third pair of current mirrors is configured to supply twelve times the amount of current provided by the first pair of current mirrors.
Type: Application
Filed: Dec 16, 2011
Publication Date: Jul 19, 2012
Applicant: CYPRESS SEMICONDUCTOR CORPORATION (San Jose, CA)
Inventor: Monte Mar (Issaquah, WA)
Application Number: 13/328,962
International Classification: H03F 3/04 (20060101);