This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:courses:electronics:switched-cap-power-supplies [07 Apr 2018 00:53] – Mark Thoren | university:courses:electronics:switched-cap-power-supplies [25 Jun 2020 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 29: | Line 29: | ||
5V USB power supply\\ | 5V USB power supply\\ | ||
Voltmeter (optional, can use M2K in Voltmeter mode.)\\ | Voltmeter (optional, can use M2K in Voltmeter mode.)\\ | ||
+ | LTspice files for this activity: {{ : | ||
- | ====== | + | ====== |
The introduction alluded to being able to hold a capacitor with stored energy in your hands. Let's do a quick experiment and make a human-switched-capacitor voltage inverter. | The introduction alluded to being able to hold a capacitor with stored energy in your hands. Let's do a quick experiment and make a human-switched-capacitor voltage inverter. | ||
- | Say you have a 9V battery, and you want to make a split +/-9V supply. | + | Say you have a 9V battery, and you want to make a split +/-9V supply. |
+ | {{ : | ||
+ | {{ : | ||
- | =re-take photos= | ||
<WRAP centeralign> | <WRAP centeralign> | ||
Line 43: | Line 45: | ||
Similarly, if you have a 9V battery need a higher voltage, say 18V, you can charge the capacitor again, then connect capacitor (-) to battery (+). This " | Similarly, if you have a 9V battery need a higher voltage, say 18V, you can charge the capacitor again, then connect capacitor (-) to battery (+). This " | ||
- | =re-take photos= | + | {{ : |
+ | {{ : | ||
<WRAP centeralign> | <WRAP centeralign> | ||
If you do this fast enough, your circuit won't notice the switching and will see a continuous, steady voltage, but it would quickly get tiring for the human switcher. | If you do this fast enough, your circuit won't notice the switching and will see a continuous, steady voltage, but it would quickly get tiring for the human switcher. | ||
- | |||
- | |||
With a basic idea of switched capacitors, let's proceed to something more practical. | With a basic idea of switched capacitors, let's proceed to something more practical. | ||
- | ====== Switched Capacitor Voltage Inverter ====== | + | ====== |
+ | ===== Theory and Simulation ===== | ||
Some op-amp circuits can operate on a single supply, with the op-amp negative supply pin connected to ground. However there are applications that benefit from the use of a " | Some op-amp circuits can operate on a single supply, with the op-amp negative supply pin connected to ground. However there are applications that benefit from the use of a " | ||
This is where a switched-capacitor inverter can come in handy - A single battery can now provide both a positive supply (direct connection to the positive terminal), and a negative supply (through an inversion circuit.) Before testing real circuits, let's get a feel for how the circuit works by runnign an idealized simulation. This simulation essentially automates the procedure from Experiment 0. | This is where a switched-capacitor inverter can come in handy - A single battery can now provide both a positive supply (direct connection to the positive terminal), and a negative supply (through an inversion circuit.) Before testing real circuits, let's get a feel for how the circuit works by runnign an idealized simulation. This simulation essentially automates the procedure from Experiment 0. | ||
- | The LTspice | + | Open the // |
The key element in this simulation is a switch: | The key element in this simulation is a switch: | ||
Line 81: | Line 82: | ||
The switches are controlled by two pulse generators, with outputs labeled **clk** and **clk_bar**. | The switches are controlled by two pulse generators, with outputs labeled **clk** and **clk_bar**. | ||
- | {{ : | + | {{ : |
<WRAP centeralign> | <WRAP centeralign> | ||
Line 91: | Line 92: | ||
<WRAP centeralign> | <WRAP centeralign> | ||
- | Each source outputs 3 microsecond pulses with a 10 microsecond period. The only difference is that V3 is delayed by 5us - this produces a " | + | Each source outputs 3 microsecond pulses with a 10 microsecond period. The only difference is that V3 is delayed by 5us - this produces a " |
{{ : | {{ : | ||
Line 119: | Line 120: | ||
When S3 and S4 close, C1 and C2 are placed in parallel, so the 5uc is then divided among two 1uF capacitors, resulting in a voltage of -2.5V. Subsequent charge / discharge cycles drive the output voltage closer to its final value of nearly -5V. The 1k load resistor prevents the output from ever reaching exactly -5V, but if the switching is fast enough, it can come close. | When S3 and S4 close, C1 and C2 are placed in parallel, so the 5uc is then divided among two 1uF capacitors, resulting in a voltage of -2.5V. Subsequent charge / discharge cycles drive the output voltage closer to its final value of nearly -5V. The 1k load resistor prevents the output from ever reaching exactly -5V, but if the switching is fast enough, it can come close. | ||
+ | ===== Circuit Construction and Testing ===== | ||
+ | With the simulation understood, let's move on to actual components. Open the // | ||
- | With the simulation understood, let's move on to actual components. Construct the LT1054 inverter circuit on a breadboard, following the LTspice schematic: | + | {{ : |
- | + | <WRAP centeralign> | |
- | {{ : | + | |
Build the following breadboard circuit for the voltage inverter. | Build the following breadboard circuit for the voltage inverter. | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
The circuit can also be soldered on a "Perma Proto" solderable breadboard from Adafruit, which matches the layout of typical solderless breadboards. | The circuit can also be soldered on a "Perma Proto" solderable breadboard from Adafruit, which matches the layout of typical solderless breadboards. | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
Connect a voltmeter (or M2K in voltmeter mode) between circuit ground and the OUT pin of the LT1054, and Apply 5V to the IN pin. The voltmeter should read close to -5V. | Connect a voltmeter (or M2K in voltmeter mode) between circuit ground and the OUT pin of the LT1054, and Apply 5V to the IN pin. The voltmeter should read close to -5V. | ||
Line 144: | Line 146: | ||
Set Scopy to Oscilloscope mode, with the following settings: | Set Scopy to Oscilloscope mode, with the following settings: | ||
- | * Timebase: | + | * Timebase: |
* CH1, CH2: 1V/div | * CH1, CH2: 1V/div | ||
* Triggering: Ch1, -1V, Falling Edge, Single Shot mode. | * Triggering: Ch1, -1V, Falling Edge, Single Shot mode. | ||
Line 150: | Line 152: | ||
Momentarily short LT1054 pin 1 (FB) to ground. This disables the LT1054. Release FB; this allows the LT1054 to operate again, and produces a " | Momentarily short LT1054 pin 1 (FB) to ground. This disables the LT1054. Release FB; this allows the LT1054 to operate again, and produces a " | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
Run the LTspice simulation, and probe the corresponding nodes. You should see results similar to the figure below: | Run the LTspice simulation, and probe the corresponding nodes. You should see results similar to the figure below: | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
This shows reasonable correlation between the simulation and actual measurements. This is a good thing, but it's always important to keep in mind that: | This shows reasonable correlation between the simulation and actual measurements. This is a good thing, but it's always important to keep in mind that: | ||
Line 168: | Line 170: | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
If you built this circuit up on a PermaProto board, you can put it in a box and use it with your next project that requires a split (positive and negative) power supply. | If you built this circuit up on a PermaProto board, you can put it in a box and use it with your next project that requires a split (positive and negative) power supply. | ||
//Be sure to read the pin description for Vout in the LT1054 datasheet!// | //Be sure to read the pin description for Vout in the LT1054 datasheet!// | ||
+ | ===== Questions: ===== | ||
+ | It was mentioned above that "if the switching is fast enough, the output can come close (to -5V)." How close? Activity 19 derives an expression for the equivalent resistance of a switched-capacitor circuit, and the same analysis can be applied to the switched-capacitor inverter. The LTspice simulation of the (close to) ideal inverter switches a 1uF capacitor at 100kHz. What is the equivalent resistance at the output? This resistance represents a theoretical limit to the power supply' | ||
+ | The LT1054 has additional losses due to voltage drops across the switching transistors; | ||
- | ====== Charge Pump Voltage Doubler ====== | + | ====== |
- | Another useful power conversion function is producing a high voltage from a lower voltage, which was demonstrated in the second half of Experiment 0. The LT1054 switches are not configured in a way that will perform this function directly, but we can use the LT1054 to drive a " | + | ===== Theory and Simulation |
+ | Another useful power conversion function is producing a high voltage from a lower voltage, which was demonstrated in the second half of Experiment 0. The LT1054 switches are not configured in a way that will perform this function directly, but we can use the LT1054 to drive a " | ||
This circuit borrows the nonoverlapping clocks from the inverter simulation. The two states are easy to visualize: | This circuit borrows the nonoverlapping clocks from the inverter simulation. The two states are easy to visualize: | ||
Line 181: | Line 187: | ||
**clk** asserts, turning S4 on, pulling the lower terminal of C1 to ground. D2 conducts, charging C1 to Vusb (minus a diode drop.) | **clk** asserts, turning S4 on, pulling the lower terminal of C1 to ground. D2 conducts, charging C1 to Vusb (minus a diode drop.) | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
**clk_bar** asserts, turning on S1. The lower terminal of C1 is driven to Vusb, and the Pump node is driven to Vusb plus another Vusb (minus a diode drop.) | **clk_bar** asserts, turning on S1. The lower terminal of C1 is driven to Vusb, and the Pump node is driven to Vusb plus another Vusb (minus a diode drop.) | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
The result is that Vout is " | The result is that Vout is " | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | + | ||
- | As with the inverter circuit, the output takes several clock cycles to reach its final value due to charge sharing. With the simulation understood, let's move on to actual components. Construct the LT1054 doubler circuit, following the LTspice schematic: | + | |
- | + | ||
- | The LTspice file is included here: (insert file) | + | |
- | + | ||
+ | As with the inverter circuit, the output takes several clock cycles to reach its final value due to charge sharing. | ||
+ | ===== Circuit Construction and Testing ===== | ||
+ | With the simulation understood, let's move on to actual components. Construct the LT1054 doubler circuit, following the LTspice schematic // | ||
+ | {{ : | ||
+ | <WRAP centeralign> | ||
Build the following breadboard circuit for the voltage inverter. | Build the following breadboard circuit for the voltage inverter. | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
The circuit can also be soldered on a "Perma Proto" solderable breadboard from Adafruit, which matches the layout of typical solderless breadboards. | The circuit can also be soldered on a "Perma Proto" solderable breadboard from Adafruit, which matches the layout of typical solderless breadboards. | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | Connect a voltmeter (or M2K in voltmeter mode) between circuit ground and the OUT pin of the LT1054, and Apply 5V to the IN pin. The voltmeter should read close to -5V. | + | Connect a voltmeter (or M2K in voltmeter mode) between circuit ground and the OUT pin of the LT1054, and Apply 5V to the IN pin. The voltmeter should read close to +8.6V. |
Next, let's take a look at what the circuit is actually doing. Make the following connections from the ADALM2000 (M2K) to the circuit: | Next, let's take a look at what the circuit is actually doing. Make the following connections from the ADALM2000 (M2K) to the circuit: | ||
Line 223: | Line 228: | ||
Set Scopy to Oscilloscope mode, with the following settings: | Set Scopy to Oscilloscope mode, with the following settings: | ||
- | * Timebase: | + | * Timebase: |
* CH1, CH2: 1V/div | * CH1, CH2: 1V/div | ||
* Triggering: Ch1, +5V, Rising Edge, Single Shot mode. | * Triggering: Ch1, +5V, Rising Edge, Single Shot mode. | ||
Line 229: | Line 234: | ||
Momentarily short LT1054 pin 1 (FB) to ground. This disables the LT1054. Release FB; this allows the LT1054 to operate again, and produces a " | Momentarily short LT1054 pin 1 (FB) to ground. This disables the LT1054. Release FB; this allows the LT1054 to operate again, and produces a " | ||
- | {{ : | + | {{ : |
- | <WRAP centeralign> | + | <WRAP centeralign> |
Line 236: | Line 241: | ||
{{ : | {{ : | ||
- | <WRAP centeralign> | + | <WRAP centeralign> |
- | Note that there is a noticeable qualitative difference between the Scopy measurement and the LTspice simulation; the measured rampup appears more linear, while the LTspice rampup appears more exponential. | + | //Note that there is a noticeable qualitative difference between the Scopy measurement and the LTspice simulation; the measured rampup appears more linear, while the LTspice rampup appears more exponential.// |
- | Experiment | + | ====== TBD: Activity |
- | TBD: Experiment based on: | + | Experiment based on: |
http:// | http:// | ||
- | |||
- | Construction: | ||
- | |||
- | |||
- | |||
- | << | ||
- | |||
- | |||
====== Going Further: High-power switched capacitor circuits====== | ====== Going Further: High-power switched capacitor circuits====== | ||
Why are switched capacitor power circuits uncommon? High transient currents, EMI, etc. present challenges, but there are a number of practical, high-power switched-capacitor power converters. The LTC7820 is a fixed ratio high power charge pump controller - the evaluation board application circuit will halve the voltage of a 36V to 60V, at up to 10A (300W), at 99% efficiency. | Why are switched capacitor power circuits uncommon? High transient currents, EMI, etc. present challenges, but there are a number of practical, high-power switched-capacitor power converters. The LTC7820 is a fixed ratio high power charge pump controller - the evaluation board application circuit will halve the voltage of a 36V to 60V, at up to 10A (300W), at 99% efficiency. | ||
- | |||
- | |||
===== Questions: ===== | ===== Questions: ===== | ||
- | Add questions here: | + | <WRAP round download> |
+ | **Lab Resources:** | ||
+ | * Fritzing files: [[downgit> | ||
+ | * LTSpice files: [[downgit> | ||
+ | </ | ||
**Return to Lab Activity [[university: | **Return to Lab Activity [[university: | ||