Direct current-to-direct current (DC-to-DC) converters find many applications in electronic devices. For example, DC-to-DC converters are used in mobile electronic devices to convert battery power to different voltage levels specified by different chips in the device-display drivers, camera peripherals, digital processors, field programmable gate arrays (FPGA), application specific integrated circuits (ASICs), interface devices, vibrator devices, and others. Some DC converters receive an input DC voltage and step it down to a lower DC voltage. Some DC converters receive an input DC voltage and step it up to a higher DC voltage. Some DC converters are configurable or controllable to both step up and step down DC voltage. In some cases, the operation of these DC-to-DC converters is based on switching circuit operation modes and hence these DC-to-DC converters rely on a timebase generator to control the switching frequency.
In accordance with at least one example of the disclosure, an integrated circuit comprises a timebase generator that comprises a linear feedback shift register (LFSR) and a switch mode direct current-to-direct current (DC-to-DC) voltage converter coupled to the timebase generator.
In accordance with at least one example, an integrated circuit comprises a timebase generator and a switch mode direct current-to-direct current (DC-to-DC) voltage converter. The timebase generator comprises a Fibonacci linear feedback shift register (LFSR) and a comparator, a first input of the comparator coupled to the Fibonacci LFSR, a second input of the comparator coupled to a voltage reference, and an output of the comparator coupled to a clock input of the Fibonacci LFSR. The switch mode DC-to-DC voltage converter is coupled to the output of the comparator of the timebase generator.
In accordance with at least one example, an integrated circuit comprises a timebase generator and a switch mode direct current-to-direct current (DC-to-DC) voltage converter. The timebase generator comprises a Fibonacci linear feedback shift register (LFSR), an output of an exclusive OR (XOR) gate of the Fibonacci LFSR coupled to an input of a register of the Fibonacci LFSR and two inputs of the XOR gate coupled to two outputs of registers of the Fibonacci LFSR; a comparator, a first input of the comparator coupled to the Fibonacci LFSR, a second input of the comparator coupled to a voltage reference; and a digital divider, an input of the digital divider coupled to an output of the comparator and an output of the digital divider coupled to a clock input of the Fibonacci LFSR. The DC-to-DC voltage converter is coupled to the output of the comparator of the timebase generator.
For a detailed description of various examples, reference will now be made to the accompanying drawings in which:
Switch mode DC-to-DC converters rely on switching a circuit mode of operation, where the switching is inherent to producing an output DC voltage that is independent from the voltage level of the input DC voltage. In examples, the output DC voltage is higher than the voltage level of the input DC voltage. In examples, the output DC voltage is lower than the input DC voltage. In examples, the output DC voltage is about the same as the input DC voltage but is coupled indirectly to the input DC voltage. This is the sense in which switch DC-to-DC converters are said above to produce an output DC voltage that is independent from the voltage level of the input DC voltage. This switching causes an undesirable noise spur at the switching frequency that can be detected at various points in the switch mode DC-to-DC converters—in the input voltage, in internal points, and at the output voltage. In examples, this noise spur interferes with electronic device and system performance, both performance within the switch mode DC-to-DC converter and performance of electronic devices receiving the DC voltage output by the switch mode DC-to-DC converter.
To solve the foregoing problem, the present disclosure teaches dithering or shifting the frequency of the switching in a pseudo-random pattern that spreads the switching noise across a range of frequencies, thereby lowering the amplitude of switching noise at any one frequency. In examples, a linear feedback shift register (LFSR) is used to generate a sequence of N-bit values that repeats continuously. In examples, a LFSR is used to generate a sequence of 2(N)−1 different N-bit values. Because in some examples the values produced by the LFSR are pseudo-randomly distributed and none of the values are repeated in a cycle of the LFSR, a modulation controlled by the above mentioned sequence of values generated by the LFSR does not introduce an additional low frequency noise source into the switch mode DC-to-DC converter. In examples, the output values of the LFSR drive a control that varies the switching frequency of the switch mode DC-to-DC converter in a narrow range of frequencies around a target switching frequency. To achieve design objectives of switch mode DC-to-DC converters, an optimal or target switching frequency is defined, and switching at a frequency too far different (e.g., beyond a threshold) from that target switching frequency degrades performance of the switch mode DC-to-DC converter unacceptably. The framework for reducing switching noise described herein has application to reducing switching noise in clock generator chips as well, for example in environments where cycle-to-cycle jitter can be tolerated better than switching noise.
By switching a mode of circuit operation of a power stage within the DC voltage converter 104 in response to the switching signal generated by the timebase generator 102, the DC voltage converter 104 establishes the DC voltage of the output of the switch mode DC-to-DC converter chip 100. In examples, the DC voltage converter comprises a boost converter, a buck converter, or a buck-boost converter switch mode DC-to-DC voltage converter circuit topology.
The timebase generator 102 comprises a linear feedback shift register (LFSR) 110 and a signal generator 112. The LFSR 110 and the signal generator 112 are communicatively coupled to each other. The signal generator 112 provides a clock signal to the LFSR 110 that causes it to shift bits serially through its registers. In examples, the signal generator 112 also provides a switching signal from the timebase generator 102 to the DC voltage converter 104. The digital value stored by the LFSR 110 is output to the signal generator 112 and causes the switching signal output by the signal generator 112 to vary in switching frequency. Said in other words, the LFSR 110 is configured to vary the frequency of the switching signal generated by the timebase generator 102. In examples, the timebase signal output by the signal generator 112 is further conditioned to generate the switching signal used by the DC voltage converter 104.
In examples, the LFSR 110 is a Fibonacci type of LFSR. In examples, the LFSR 110 is a Galois type of LFSR. In examples, the LFSR 110 is replaced with another component that generates a multi-bit sequence of pseudo-random numbers. Some of the output values of registers of the LFSR 110 are fed back to the inputs of one or more logic gates (not shown in
In examples, the signal generator 204 comprises a comparator 206 that outputs a high logic level as a clock signal 208 and/or timebase when a voltage on a first input 209 exceeds the voltage of a voltage reference coupled to a second input 210. The timebase is used by the DC voltage converter 104 to switch.
In examples, the signal generator 204 further comprises a constant current source 212 and a varying current source 214, a capacitor 216, and a switch 218 (e.g., a transistor). A current output of the constant current source 212 and a current output of the varying current source 214 are coupled to a first lead of the capacitor 216. A second lead of the capacitor is coupled to ground. The first lead of the capacitor 216 is also coupled to the first input 209 of the comparator 206. The output of the comparator 206 (e.g., clock signal 208) is coupled to a control lead of the switch 218. A first lead of the switch 218 is coupled to the first lead of the capacitor 216 and a second lead of the switch 218 is coupled to ground. When the switch 218 is closed, the first lead of the switch is connected to the second lead of the switch, and the first lead of the capacitor 216 is hence coupled to ground. When the switch 218 is open, the first lead of the switch is disconnected from the second lead of the switch 218. In examples, the output of the signal generator 204 is a pulse of clock pulse. The LFSR 202 is coupled to the comparator 206, for example coupled via the constant current source 212 and the varying current source 212.
In examples, this clock signal 208 output by the signal generator 204 is fed back to a clock input of the LFSR 202 which controls when the LFSR 202 shifts and outputs a different pseudo-random number. In examples, the output 208 of the signal generator 204 is coupled to the input of a digital divider 211, and the output of the digital divider 211 is coupled to the clock input of the LFSR 202. The digital divider 211 divides the output 208 of the signal generator 204 by an integer. In examples, the digital divider 211 divides the output 208 of the signal generator 204 by an integer multiple of 2. Thus, the digital divider 211 divides the output 208 by one of 2, 4, 8, 16, 32, . . . , 2k where k is a positive integer value. In examples, the digital divider 211 divides the output 208 by one of 3, 5, 6, 7, 9, 10, or another integer value. The digital divider 211, in examples, further contributes to decreasing switching noise in the switch mode DC-to-DC converter 100. The optional digital divider 211 has the effect of causing the signal generator 204 to maintain the same switching frequency for a plurality of cycles rather than changing on each cycle of the timebase.
The voltage at the first lead of the capacitor 216 and hence the voltage of the first input 209 ramps up as current produced by the constant current source 212 and varying current from the varying current source 214 is collected by the capacitor 216 (e.g., charging the capacitor 216). Said in other words, the capacitor 216 in effect sums the current output by the constant current source 212 and the varying current source 214 to produce a voltage value. When the voltage at the first input 209 exceeds the voltage of the voltage reference present at the second input 210 of the comparator 206, the comparator 206 outputs a logic high value on the clock signal 208. When the clock signal 208 is high, this causes the switch 218 to close and rapidly discharge the capacitor 216 to ground. As a result of discharging, the voltage at the first lead of the capacitor drops and hence the voltage at the first input 209 drops below the voltage reference coupled to the second input 210, and the output of the comparator 206 outputs a low logic level. The low logic level causes the switch 218 to open again, and allows the capacitor 216 to resume charging from constant current source 212 and varying current source 214.
If the varying current source 214 were not in the signal generator 204 or if it were turned off, the current charging the capacitor 216 would be constant, and the frequency of the clock signal 208 (and switching signal) would be a constant frequency. The output 220 of the registers of the LFSR 202 comprise an N-bit number that controls the varying current source 214 to produce more or less current as the N-bit number is larger or smaller. In some contexts, the output 220 of the registers of the LFSR 202 is referred to as an N-bit control word. In examples, the output 220 of the registers of the LFSR 202 modifies a timebase signal generated by the signal generator 204 in a binary weighted manner. In examples, the LFSR 202 comprises 7 registers and hence outputs a 7-bit number to the varying current source 214 from b0000001 to b1111111 (b0000000 may be an excluded value). In examples, the sequence of pseudo-random numbers produced by the LFSR 202 are represented in graph 222 as shown in
It is the nature of the configuration of the illustrative LFSR 202 that the 7-bit numbers output by its registers occur in a pseudo-random sequence, and that this sequence does not repeat any values until all 127 permitted values have been produced (although in some examples, it is possible for the sequence to include some repeated values). In examples this is referred to as a maximum length sequence of output values for the LFSR 202. Different LFSRs have different maximum length sequences associated with the number of registers the LFSR contains. For example, a maximum length sequence of a 9-bit Fibonacci LFSR is 511, and a maximum length sequence of an 11-bit Fibonacci LFSR is 2047. It is noted that not all LFSRs are maximum length LFSRs. In examples, the sequence length of an LFSR depends on a feedback path of the LFSR.
In examples, the implementation of the timebase generator 102, 200, 228 described herein provides one or more benefits. In examples, the implementation of the timebase generator 102, 200, 228 is manufactured using a small amount of area on an integrated circuit. In examples, the implementation of the timebase generator 102, 200, 228 is applicable to a wide variety of circuit designs. In examples, the implementation of the timebase generator 102, 200, 228 promotes starting and stopping without disrupting a system relying on the switching signal it outputs. In examples, the implementation of the timebase generator 102, 200, 228 consumes little power.
The signal generator 204 can take many forms that are different from the examples described above with reference to
The LFSR 300 is configured to be loaded with an initial seed value on power up of the device. The seed value may be any 7 bit value, excluding b0000000. While not illustrated as coupled to the registers 304-316 in
The clock 404 controls a random pattern generator at block 406 to set a control value 408 to a newly calculated control value, in response to the clock 404. In examples, the random pattern generator is a LFSR. In examples, the random pattern generator is a Fibonacci LFSR. In examples, the random pattern generator is one of a 7-bit Fibonacci LFSR, a 9-bit Fibonacci LFSR, an 11-bit Fibonacci LFSR, a 15-bit Fibonacci LFSR, or a 17-bit Fibonacci LFSR. In examples, the random pattern generator is a Galois LFSR. The LFSR may be configured to generate a maximum length sequence of pseudo-random values, none of which repeats during the maximum length cycle. At the end of the sequence of values, the sequence starts a new cycle, starting from the initial value of the sequence. Any initial seed value can be established for the LFSR, excepting a 0 value (b00 . . . 0).
The control value 408 controls the variable current 412, where, in at least some examples, the amplitude of the variable current is a linear function of the control value 408. As the clock 404 pulses high and back low, the LFSR shifts values through its registers and sets a different value, and the different value establishes a different variable current, and the different variable current changes the clock period in the next cycle through the loop of the process 400.
While only a few traces of the varying frequency switching noise are illustrated in
In examples, the distance between the traces 509 and hence the total variation of the frequency of the switching signal is determined, at least in part, by the range of varying current output by the varying current source 214 in response to the output of the LFSR 202. The greater the maximum output of the varying current source 214, the wider the variation of frequency of the switching signal. In examples, the frequency varies less than 10% of a switching frequency target frequency. For example, if the target frequency is 3 MHz, the switching signal ranges over a frequency bandwidth of less than 10% of 3 MHz or less than 300 kHz. For example, the switching frequency may vary from 2.7 MHz to 3 MHz, from 2.85 MHz to 3.15 MHz, from 3 MHz to 3.3 MHz, or over smaller bandwidths. In examples, if the switching signal is varied over a greater range than 15%, the performance of the switch mode DC-to-DC converter 100 is degraded. In examples, if the switching signal is varied over a greater range than 10%, the performance of the switch mode DC-to-DC converter 100 is degraded. In examples, if the switching signal is varied over a greater range than 8%, the performance of the switch mode DC-to-DC converter 100 is degraded. In examples, if the switching signal is varied over a greater range than 6%, the performance of the switch mode DC-to-DC converter 100 is degraded.
The different plurality of traces 602, 604, 606 can be established by varying the fixed current output of the constant current source 212 in
Referring to
In an example, the constant current source 212 is configured to output 10 μA (microamps), a first component of the varying current source is configured to output 6.3 nA (nanoamps), a second component of the varying current source 214 is configured to output 12.6 nA, a third component of the varying current source 214 is configured to output 25.2 nA, a fourth component of the varying current source is configured to output 50.4 nA, a fifth component of the varying current source 214 is configured to output 100.8 mA, a sixth component of the varying current source 214 is configured to output 201.6 nA, and a seventh component of the varying current source 214 is configured to output 403.2 nA. Each of the components of the varying current source 214 turns on and off based on a corresponding bit in the output of the LFSR 202. When none of the component current sources of the varying current source 214 is turned on, the output of the varying current source 214 is zero, the capacitor 216 is charged only by the constant current source 212, the period of the clock 208 is longer, and the frequency of the switching signal is lower. When all of the component current sources of the varying current source 214 are switched on (e.g., the LFSR 202 outputs the value b1111111=127), the capacitor 216 is charged by about 10 μA current from the constant current source 212 and by about 800 nA current from the varying current source 214, the period of the clock 208 is shorter, and the frequency of the switching signal is higher. In different examples, different amounts of current may be sourced by the constant current source 212 and by the component current sources of the varying current source 214.
The switch mode DC-to-DC converter chip 702 comprises a timebase generator 708, an analog control loop 710, a DC output driver 712, an error amplifier 714, and a reference system 716. In embodiments, the switch mode DC-to-DC converter chip 702 has more or fewer components. The voltage output by the filter network 704 to the load 706 is fed back into the switch mode DC-to-DC converter chip 702 to the error amplifier 714 as feedback 718 to promote the switch mode DC-to-DC converter chip 702 meeting its DC output voltage specifications. The error amplifier 714 is configured to amplify the difference between the feedback 718 and a voltage reference 720. An error signal 722 is output by the error amplifier 714 to the analog control loop 710 which uses this error signal 722 to adapt its drive signal 726 to the DC output driver 712.
The timebase generator 708 outputs a switching signal 724 to the analog control loop 710, and this switching signal 724 and the output of the error amplifier 714 is used to generate the desired DC voltage of the DC-to-DC converter chip 702. In examples, the timebase generator 708 is implemented as described above.
In the foregoing discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . .” Also, the term “couple” or “couples” is intended to mean either an indirect or direct connection. Thus, if a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections. Similarly, a device that is coupled between a first component or location and a second component or location may be through a direct connection or through an indirect connection via other devices and connections. An element or feature that is “configured to” perform a task or function may be configured (e.g., programmed or structurally designed) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or re-configurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof. In examples, the configuring may be performed by built-in software, firmware, or hardware logic providing auto adjusting and/or optimization of the operation based on the actual mode of operation of either the switch mode DC-to-DC converter chip 100 or on the load. Additionally, uses of the phrases “ground” or similar in the foregoing discussion are intended to include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of the present disclosure. Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means +/−10 percent of the stated value.
The above discussion is meant to be illustrative of the principles and various embodiments of the present disclosure. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.
The present application claims priority to U.S. Provisional Patent Application No. 62/574,000, which was filed Oct. 18, 2017, is titled “Switch Mode Converter With Reduced Noise And Electromagnetic Interference,” and is hereby incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62574000 | Oct 2017 | US |