Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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 inductance of the harness, measured at the input of the ESC with an LCR meter, is 1uH.

The measured resistance of the harness is 60mOhms.

(The two measurements above seem oddly low).

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:

image-20240119-002328.png

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:

image-20240119-002345.png

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.

image-20240119-002418.png

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/4lhx2j7pic

Note: 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

image-20240119-004129.png

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 (PDN Analysis):

A more accurate approximation of the ESC’s PDN is the following:

image-20240225-035132.png

or

image-20240225-035207.png

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:

image-20240225-035313.png

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).

image-20240225-035419.png

This maximum allowable equivalent impedance Z is called the target impedance.

image-20240225-035443.png

(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:

image-20240225-035722.pnghttps://www.desmos.com/calculator/ubzekcocu5

The black line is the ESC’s input impedance; the red line is the target impedance.

The 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<Ztarget)

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 have yet to be identified.

The current, inconclusive, conclusion:

To actually optimize the bulk capacitance value using the PDN analysis approach, ESC and motor behavior/performance need to be characterized for the needed variables mentioned above. That is, the maximum allowable voltage ripple at the ESC power input (Vripple) and the frequency/rate at which the worst-case load transient can be drawn (x).

Otherwise, by repeatedly observing the effect of different bulk caps on actual ESC/motor load transients or with a beefy enough E-load, the capacitance can be optimized via trial and error.

  • No labels