GOAL: Reduce the Bulk Cap to the lowest capacitance allowing for proper functionality of the ESC (120F3[X]v2) used in the pegasus drone.
Due to the inductance of the conductor path from the battery to the ESC, load transients presented by the ESC will cause voltage to fluctuate at the ESC terminals. If this voltage drops below a certain value (need to find the optimal nominal voltage range, and characteristics of the motor’s load transients), also known as rail droop/collapse, for a long enough time, the motor/ESC functionality will be negatively affected. A Bulk capacitor can be used to compensate for this, and provide the demanded transient current.
Specifications:
The length of the conductor path (8 gauge wire) from the positive battery terminal to the ESC is ~117cm. This might be useful for finding the inductance of the PDN (NOTE: Inductance strongly depends on the loop area. Since this loop area is not well defined, its best to determine it through measurement).
The measured inductance of the harness (+ PDB, current measurement board) is ______(need to find).
The measured resistance of the harness is ______(need to find).
From the Pegasus Overview, the maximum required current from all 4 motors “is anticipated to be 90Amps… Any individual motor will not draw more than 23 amps at a time, not including the path”. Another section of the doc says the max is 25 amps. I will use that, and neglect the, much smaller, ESC control circuitry current (gate driver quiescent current, LEDs, etc.).
Upper Bound Calculations:
Our ESC’s PDN can be abstracted to:
Because of the inductive impedance of this PDN, when the ESC’s equivalent load changes (gates switch, motor is introduced to source of friction, motor accelerates, etc.), rail droop will occur.
First, let’s approximate the circuit during a transient current change as such:
This is an over-approximation, which neglects the current supplied through the inductor during the load transient.
In this scenario, the only source of current for the ESC is the capacitor, and given some general ESC ratings/requirements for good performance, an upper limit for the necessary capacitance can be found.
We can plot this relationship…
The following graph assumes a 10% droop and a complete open circuit from the battery to the ESC for the duration of the droop.
The x-axis is how long it takes for the 10% droop to be reached given the bulk capacitance on the y-axis.
https://www.desmos.com/calculator/4lhx2j7picNote: In desmos,
d is the fraction by which the supply voltage decreases (the droop),
I is the constant current drawn by the ESC
V is the battery voltage (initial Bulk cap voltage)
C is the calculated capacitance (Farads)
y is C*1000 (Milli-Farads)
t (x-axis) is the duration of the droop
The formula
can give an upper bound on the bulk capacitance that should be used on the ESC.
Exact-value Calculations:
If we now consider the effects of the path inductance on the voltage droop, it gets a lot harder……
Modelling in terms of load transient current as the input and capacitor voltage as the output results in a non-linear system. Can try to use Numerical methods to come up with a formula for finding capacitance.
It is an LC circuit, so current transients cause it to resonate. The higher the cap’s ESR, the more these oscillations are damped. Low ESR is better for efficiency and reducing voltage droop magnitude but worse for dampening oscillations!
Closer Upper-Bound Calculations
A more accurate approximation of the ESC’s PDN is the following:
or
During a load transient, when the ESC suddenly sinks some current, we can employ AC analysis to see what happens at the input of the ESC (what will the voltage difference/ripple at the ESC, caused by the transient look like?) and from there, we can add proper decoupling to compensate:
This, from my understanding, is a part of PDN analysis, where the input impedance profile (of the D.U.T/ESC) is designed to be below a particular threshold: the target impedance.
To elaborate, we want to design our PDN such that, for the worst case load transient (at a rate/frequency of our concern; i.e. the fastest rate at which current can change through the BLDC motor coils), the rail collapse / voltage ripple doesn’t go beyond the ESC’s rated tolerance (need to find).
This means, for the maximum current IMAX (which gets drawn during the transient), the voltage difference across the PDN’s equivalent impedance must be below Vripple (maximum voltage ripple tolerable by the ESC).
This maximum allowable equivalent impedance Z is called the target impedance.
(Though, some PDN analysis guidelines use 50% of the transient current, as the other result may be too conservative - meaning that its unlikely that the worst case transient, at the worst case frequency, draws the ESC’s rated amount of current; the end of this article briefly discusses this).
Now, to find the capacitance necessary to compensate for this (you will see in the impedance formula that, the higher the capacitance, the lower the impedance), I’ve modelled the equivalent impedance of our PDN:
https://www.desmos.com/calculator/ubzekcocu5The results of this expression have been found to match those of this PDN analysis tool.
If we know Desmos graph parameters:
Parameter | Description |
---|---|
Vripple | maximum allowable ripple at ESC power input |
IMAX | maximum ESC current draw |
Rh | harness equivalent resistance |
Lh | harness equivalent inductance |
maximum x (frequency) | largest frequency component/harmonic of the load transient (for which we want ZPDN<Ztarger) |
we can find an appropriate bulk capacitor, with parameters
Rc | Bulk cap ESR |
C | Bulk cap capacitance |
Lc | Bulk cap ESL |
Vripple and the frequency range of our concern has yet to be identified.