48V->12V,8V,5V @ 3A BEC (Buck Converter)

48V->12V,8V,5V @ 3A BEC (Buck Converter)

Project whitepaper:

https://warg.365.altium.com/designs/BA1886A1-87A3-459C-B25E-4C3D181A3101

 

ToDo:

Requirements/Needs Assessment

  • Meets or exceeds spec of https://rotorgeeks.com/matek-bec-12s-pro

  • Externally visible current sense (optional),

    • needs ADC to interpret op amp value if doing digital comms

    • Ask FW team for digital (or analog) requirement. (eg. prontocol? CAN? etc…)

  • Questions:

    • How many BECs max on the drone?

      • Depends on the number of peripherals and current requirements

    • How many peripherals should one BEC connect to (one or multiple)? Would they be same or mixed voltage?

      • High current devices use one BEC

      • Some peripherals will share one BEC

      • Any BEC will only be configured for one voltage, not multiple voltages at once

    • Which peripherals being applied to, is there a list? Need to see if the spec of Matek BEC is even sufficient for them.

    • What is the characteristic of the input coming from the PDB to the BEC?

    • Maybe there can be some level of digital control, instead of jumpers? I think this would make it more universal.

      • Better to have jumpers/switches

      • Maybe instead of discrete options, there could be something more continuous involving a potentiometer.

        • This would be more complex, and is only worthwhile if the target peripherals each have unique input voltage requirements, which is not really the case

    • Linear or Switching BEC?

      • Definitely switching since more efficient and less heat (although more noisy).

    • Could optocoupler serve any purpose?

      • Not sure, will research more

    • Should current sense be accessible as an analog or digital value?

      • Digital will probably end up using some CAN protocol, in which case the ADC output needs to be passed through a microcontroller and then to the CAN driver and connector.

      • Analog will be less reliable and need some digital conversion on the part of other components on the drone.

    • Should external current sense go before or after the buck converter (or both)?

      • 1) Output side in series with load

        • Pros

          • Get to see what the peripheral is drawing from the BEC.

        • Cons:

          • Sense resistor on output side may introduce a small voltage drop that varies depending on the current. This may decrease and maybe somewhat destabilize output voltage (adds error).

            • However, I think a 2 mOhm max current sense resistor w/ amplifier will hardly have any voltage drop.

      • 1.1) Another option: output side in series with the Buck converter inductor

        • Pros

        • Cons:

          • This just gives the current passing through the MOSFET (& other elements) within the buck converter IC, not particularly the output or input. The usefulness of this sensing this is questionable.

          • Also, the inductor current will have a much wider ripple range than the load current.

      • 2) Input side in series with supply:

        • Pros:

          • Get to see what the BEC as a whole is drawing from the battery. This might be more valuable in the context of the system.

            • Also, if the efficiency of the BEC is tested and proven to be in some range (e.g. 85-95%), then peripheral current draw can be estimated from BEC current draw.

        • Cons:

          • Higher current on input side, so more power consumed by current sense resistor.

            • Then again, the highest current drawing is probably the 3A of the RPI. Even if the input current is something extreme like 20A, (20A^2)*2mOhms = 0.8W, which compared to what the peripheral itself would be drawing, is negligible.

          • Current sense would be on a signal that is switching on and off. One would have to obtain an average current using a microcontroller, which introduces some complexity.

      • 3) Both sides:

        • Pros:

          • Accurate BEC efficiency tracking. But this is not really necessary

        • Cons

          • All the cons from the input side + output side.

  • Deciding how to create multiple voltage output options

    • https://electronics.stackexchange.com/questions/24256/principles-of-dc-dc-converter-w-jumper-selectable-outputs

      • 1) one adjustable buck using jumpers

        • Cheapest option, but has the technical challenge of figuring out the jumper/resistor configuration.

        • Makes the most sense since each BEC will only power devices of the same voltage.

      • 1.1) one adjustable buck using a potentiometer

        • Cheap, involves less jumpers, and offers more flexibility in output voltage

        • But, it’s technically complex. Also, is the flexibility even needed?

      • 2) multiple bucks

        • Expensive, but effective and technically simpler.

      • 3) one buck with multiple LDOs connected to it

        • Medium price and simple/effective, but high power consumption.

  • Overcurrent protection and thermal shutdown

    • Simplest option is to just pick a buck IC that has these features built in, just as the Matek BEC does with the LM5116

  • Spike protection?

    • Depends on the characteristics of the input LIPO battery, PDB, and loads…

    • e.g. TVS diode (unidirectional), flyback diode, snubber circuit…

  • External current limiting on output

  • Load flyback diode (separate to the one used in the buck converter)

    • For inductive loads like servo

    • It may be the case that the diode used for the buck converter is enough of a flyback for inductive load, so a 2nd diode is not needed. To be determined during part selection.

    • Actually, considering some analysis the load side diode would act as a clamp, not a flyback. That means choose a TVS or Zener diode (TVS has faster response to transients). Nonetheless it will help with voltage spikes.

  • Snubber on Buck converter and other output side diodes

    • The need for this depends on the buck converter IC chosen during part selection.

  • Polyfuse vs normal fuse

    • Polyfuse is resettable and there are ones that don’t instantly trigger on overcurrent, so switching current transients won’t trigger them.

  • Other bonus features?

  • Need to consider how output to USB C for rpi will work

    • Consider adding useful common output terminals as an a feature.

    • Or, have a simple generic output terminal to minimize board weight and size. The simple terminal can be connected to the needed adapter cable.

  • Something useful should be done with the current sense

    • Option A) Current sense terminal will be useful if there is also a terminal to the enable pin of the buck converter for another board to turn it off

    • Option B) If a buck controller/converter with adjustable current limiting is present, current sense resistor will be useful to limiting current of the buck/

      • e.g. https://www.ti.com/product/LM5148

      • In this case, there may not be a need to provide terminals for another board to read the current sense and control the enable, it would just be a bonus item at that point

Architecture

Some notes:

  • Input will be 2S (around 6V lowest) min not 5V.

  • Using 3 output LEDs is wasteful. 0 is enough.

  • There might need to be different TVS diodes for the different output voltages. → Nah

Sense Option A)

image-20240225-221339.png

Sense Option B)

image-20240225-221723.png

Buck IC options

 

Component Selection

Buck Converter Components

Latest TI Design Calculation Tool plug and chug excel file (ignore the file name):

  • ^This is the tool I used to verify/finalize all values

Buck controller

image-20240317-162448.png

 

Frequency setting resistor

  • image-20240406-231917.png
  • RRT = 45.3kR, 1/16W

  • Yields ~220KHz switching frequency. Lower frequency means less switching loss. Can’t go too low or too large inductor and output capacitors will be needed to account for the higher ripple.

Inductor

image-20240326-025056.png
  • LF = 27uH, (saturation at > 5.375A, > 4.3A max DC current. See ILIM section)

    • Selected: https://www.mouser.ca/ProductDetail/Wurth-Elektronik/7447709270?qs=XJfXErqHgA5ctcmxsImNAA%3D%3D

      • image-20240326-032431.png
      • image-20240408-194427.png

  • Alternative: https://www.digikey.ca/en/products/detail/sumida-america-inc/125CDMCCDS-470MC/9490421

    • Has a pretty bad DCR of 97.2mOhm. Need to find/consider an inductor with <= 40mOhm DCR to save about 3% efficiency at nominal I/O conditions.

  • https://www.desmos.com/calculator/cmd60zlxtp

    • At 220KHz, 3A peak load, 27uH gets ripple between 25%-50% over the entire output range.

Output Capacitors

image-20240326-025130.png
image-20240326-025153.png
  • COUT = 3 x 22uF, 25V, ceramic, X7R, 1206 or 1210 size

  • https://www.desmos.com/calculator/iwoiula6yw

    • Lower capacitance value (30.838uF) is needed to achieve an optimal s <= 1% ripple. But, for 12s nominal input to 5.1V output, TI design calculation tool recommends de-rating to 47uF. Using 3 x 22uF for low ESR.

    • Here input voltage is X axis and capacitance is Y axis:

      image-20240326-030633.png

  • Ceramic cap.s have low ESR. Higer ESR increases capacitance needed.

 

image-20240324-000525.png
GRM21BR61E226ME44K ESR Characteristic

Input Capacitors

image-20240326-025332.png
image-20240326-025350.png
  • CIN = 6 x 4.7uF, 100V, ceramic, X7R, >2.52 RMS current

    • Option: GRJ31CZ72A475KE01L

      • image-20240407-181512.png
      • 10mR ESR per capacitor. Approximate ESR for 6 in parallel is 10mR/6 = 1.67mR

  • https://www.desmos.com/calculator/uovqhzl57b

    • To achieve an optimal 2% ripple:

      • At 5.1V out, 21.98uF minimum capacitance is needed (at 7.5V in).

        • image-20240326-030331.png

      • At 8V out, 13.471uF minimum capacitance is needed (at 11.8V in).

      • At 12V out, 8.772uF minimum capacitance is needed (at 17.5V in).

  • TI design calculation tool recommends de-rating to 6 x 4.7uF

  • https://www.desmos.com/calculator/x1iysyhtb4

    • 2.52 RMS rating computed from a de-rated 5A output (1.8 RMS rating if de-rating to 3.5A)

    • Here D = 0.5 gives the maximum value:

      image-20240326-030435.png

  • Per the TI design tool recommendation:

    • Max ESR for 2% ripple at 5V is 15mR

    • Max ESR for 2% ripple at 8V is 25mR

    • Max ESR for 2% ripple at 12V is 39mR (7mR for 1%, which parallel capacitors can achieve)

Additional Input Capacitor

  • From LM5146 datasheet Section 10:

    • image-20240405-022308.png
    • I think the CD chosen in the EMI Filter section should be enough to deal with this.

Power MOSFETs

image-20240326-025432.png
  • https://www.desmos.com/calculator/o9jukbktfa

    • Power loss calculations assume nominal conditions: 3A, 45V in, 5V out. (Note: Nominal is updated to 5.1V output, but the power analysis results in the below table/graphs should be effectively the same.)

    • Assuming 14ns tdt1 and tdt2, which is the LM5146 default.

Option

Cost

$2.52

$1.47

$2.05

$2.51

$2.62

VDSS

80V

60V

60V

60V

60V

Max IDS

74A

69A

100A

100A

100A

Max temp

150C

150C

150C

150C

150C

Rth

50C/W

50C/W

50C/W

50C/W

50C/W

RDS

6.2mR

7.8mR

5.7mR

3.3mR

2.8mR

tR

7ns

5.5ns

6.3ns

12ns

5ns

tF

5ns

2ns

1.7ns

7ns

5ns

QG

24nC

17nC

15nC

27nC

33nC

QRR

37nC

54nC

63nC

28nC

65nC

VF

0.9V

0.8V

0.8V

0.9V

0.9V

Pcond1 calculated

0.0063041W

0.0079310W

0.0057957W

0.0033554W

0.0028470W

Pcond2 calculated

0.050433W

0.063448W

0.046366W

0.026843W

0.022776W

Psw calculated

0.17153W

0.099708W

0.10347W

0.26548W

0.1485W

Pgate calculated

0.0396W

0.02805W

0.02475W

0.04455W

0.05445W

PRR calculated

0.3663W

0.5346W

0.6237W

0.2772W

0.6435W

PcondBD calculated

0.016632W

0.014784W

0.014784W

0.016632W

0.016632W

PQ1 = Pcond1 + Psw + Pgate

0.21744W

0.13569W

0.13401W

0.31339W

0.20580W

TQ1 = PQ1*Rth + Tambient=25C

35.872C

31.78C

31.701C

40.669C

35.290C

PQ2 = Pcond2 + Pgate + PcondBD + PRR

0.47297W

0.64088W

0.70960W

0.36523W

0.73736W

TQ2 = PQ2*Rth + Tambient=25C

48.648C

57.044C

60.480C

43.261C

61.868C

Comments

Good for Q2

Good for Q2

Good for Q1

Good for Q2

Good for Q1

Some example combos:

1) CSD18563Q5A and CSD18534Q5A

image-20240321-225817.png

2) BSC034N06NSATMA1 and BSC039N06NSATMA1

image-20240323-210735.png

3) CSD18563Q5A and BSC039N06NSATMA1

image-20240323-211400.png

Although Combo 3 has appx. 1% better efficiency, Combo 1 has some benefits. Both MOSFETS would be of the same brand and have similar rise/fall time. Also, Combo 1 is $1.04 cheaper overall.

Soft-Start Capacitor

 

image-20240323-220013.png
  • Css = 16V, 680nF X7R

    • Option: https://www.digikey.ca/en/products/detail/murata-electronics/GCM188C71C684KA64D/2591904

    • image-20240407-150507.png

  • Yields 54.4ms startup time. Longer time will help lower inrush currents.

  • Theory: https://www.analog.com/en/resources/analog-dialogue/articles/preventing-start-up-issues-due-to-output-inrush-in-switching-converters.html

    • It seems 54.4ms is more than good enough, even overkill, to ensure that ICAP is small

      image-20240508-014550.png

Feedback Resistors

Control Loop Compensation

image-20240326-025607.png
  • Desired crossover frequency is typically chosen to be 10% to 20% of of the switching frequency, so 33kHz is a good pick.

  • Zeros and poles are placed per TI design tool recommendation.

    • 2 compensator zeros are placed just before the LC double pole.

    • The 1st compensator pole is placed near the zero created by COUT and it’s ESR. Since the ESR of the COUT currently chosen is so low (1mR but assuming 2mR worst case) the first pole is at a very high frequency (not even visible on the Bode Plot).

    • The 2nd compensator pole is half the switching frequency.

    • Phase shift is between 50% to 70% at crossover frequency, for all 3 output voltages, which is what is recommended.

image-20240324-002140.png
image-20240326-032603.png
Latest Bode Plot for 45V Nominal Input, 5.1V Output