Status: Active

Current Owner: Jerry Tian

Previous Owner: Stanley Hao

Needs Assessment

The 12S Servo Module is a PDB designed to supply power from the battery directly to the servo motors on the fixed wing plane. The board should step down the voltage from the battery to 5-6V to supply the servo motors and be able to cut one out if it fails, to prevent the dead servo from drawing too much power and depowering other components of the drone.

Market Research

Requirements

Block Diagram

Possible Implementation Methods

Single Buck Converter Option

4 Buck Converters Option

Methods Pros and Cons

Attribute

Single Buck

4 Bucks

Component Selection

  • Requires a relatively expensive buck controller IC

  • IC usually has more features than what is required for this application

  • more complex circuit layout due to using external FETs

  • Can use buck ICs with internal FETS

  • ICs easier to find since lower current requirements

Cost

  • Probably going to be more expensive due to more high performance components

Board Layout / form factor

  • Likely going to need to take up more space due to having 3 discrete bucks instead of one

Decision: We selected single buck option to save board space.

Component Selection

Buck ICs

Internal FETs

External FETs (Buck Controllers for single buck option)

MP9928 Buck Controller Specs

Typical Application Circuit Diagram

IC Pinout

Important Equations

Buck Controller Passive Components Selection

Output Feedback Voltage Divider

Vout Current Limit

Since we have overcurrent protection downstream already, we don’t want to implement a limit on the buck controller itself. Unfortunately, the current sensing is used in the compensation control for the buck, so it needs to be included for the IC to function normally.

Vcc Circuit

The MP9926 has VCC1 and VCC2 to power internal components and the MOSFETS. VCC1 can take input from Vin into an internal LDO. To improve efficiency, can connect VCC2 to output and leave VCC1 pin floating.

Power Good Pull-up Resistor

Enable/Sync Pin Pull-up Resistor

AAM/CCM Resistor

Soft-Start Capacitor

Switching Frequency

There is a trade-off when selecting the switching frequency of the buck controller.

High Fsw → Small input and output ripples, smaller inductor and less capacitors but will increase switching losses

Low Fsw → Big inductor but small switching losses

Inductor

Input Capacitor

When the switching FETs turn on and off, current suddenly start and stop flowing and this causes ripple on the input side. Due to the parasitic inductance, we see the ripple voltage on Vin and we need to filter that out.

Added one 0603 0.1uF cap at the buck controller input to match the datasheet guide.

Conclusion: We can go with ceramic capacitors only for our design. Vpp_max is 1.1V, which can cause problems at the SW node if the noise frequency matches the converter’s resonance frequency. However, we also have boot resistor, snubber circuit and gate resistor to suppress the SW node ringing.

Comparing Different Capacitor Options

Ceramic 250V

Ceramic 250V

(Stacked)

Al Polymer 125V

Al Polymer 160V

Al Polymer 250V

Electrolytic 400V

Film 450V

Description

CAP CER 2.2UF 250V X7T 2220

CAP CER 3.3UF 250V X7T SMD

CAP ALUM POLY 12UF 20% 125V SMD

CAP ALUM POLY 10UF 20% 160V T/H

CAP ALUM POLY 8.2UF 20% 250V T/H

CAP ALUM 10UF 20% 400V RADIAL

CAP FILM 10UF 10% 450VDC RADIAL

Effective Capacitance @ 18V to 60V (Estimate)

2uF → 1.9uF

3.3uF rated

12uF (no DC bias)

10uF (no DC bias)

8.2uF (no DC bias)

10uF (no DC bias)

10uF (no DC bias)

ESR (mOhms)

--

--

69 @100kHz

110 @100kHz

458 @100kHz

Not in Datasheet

10.9 @10kHz

Price per piece

$4.35

$5.33

$6.57

$2.32

$3.77

$1.17

$8.30

Package

2220

SMD

WxHxL (mm):

5x5x6

SMD (10mm diameter, 10mm height)

Thru-hole cylindrical (8mm diameter, 12mm height)

Thru-hole cylindrical (10mm diameter, 12mm height)

Thru-hole cylindrical (10mm diameter, 20mm height)

Thru-hole rectangular

WxHxL (mm):

15x24.5x31.5

Availability (Digikey)

14k+ in stock

128k+ in stock

5.9k+ in stock

9.4k+ in stock

10k+ in stock

21k+ in stock

18k+ in stock

Quantity Required

4

3

1

1

1

1

1

Total Cost (Per Board)

$17.4

$15.99

$6.57

$2.32

$3.77

$1.17

$8.30

Other Notes

Expensive

Janky

Relatively low stock, rated voltage may be low

Relatively low stock

Relatively high ESR, relatively low stock

Tall, also no ESR rating in DS

Big

Selection: Al Polymer 160V CAP ALUM POLY 10UF 20% 160V T/H

Justification:

Small input ceramic capacitor to handle input spikes and phase-node ringing

Output Capacitor Selection

Compensation Components

RC Snubber

Purpose: reduces the voltage ringing spike at SW node

How it works:

The PCB trace parasitic inductance and LS FET output capacitance (Coss) forms an LC circuit. The SW node is right in the middle of L and C so it will see a lot of voltage ringing. The snubber circuit serves as a low impedance path for the high frequency voltage oscillations similar to a 1st order RC low pass filter. Half of the energy will be dissipated through Rsnb while HS FET is conducting and the other half will be stored in Csnb. While LS FET is conducting, current will flow out of Csnb and dissipates energy through Rsnb again.

Do we need it?

Research Links:

Power FET Selection

MOSFET basics: an-1084p1.p65 (infineon.com)

Requirements

Decision Matrix

Total Switching Loss =  Gate Charge switching loss + Output Capacitance switching loss = 1/2 * Qg * Vgs * fsw + 1/2 * Coss* Vds^2 * fsw

Onsemi NTMFS5C670NL

Diodes Incorporated DMN10H170SK3-13

Infineon IRFR540ZTRPBF

Diodes Incorporated DMTH6016LK3-13

Texas Instrument CSD18534Q5A

Texas Instrument CSD18543Q3A

Cost

$2.83

$0.83

$1.66

$0.70

$1.48

$1.32

Vds

60 V

100 V

100 V

60 V

60 V

60 V

Ids

71 A

12 A

35 A

10.8 A

13 A

12 A

Gate Charge

9.0 nC

4.9 nC

59 nC

8.4 nC

11.1 nC @ 4.5 V

7.3 nC @ 4.5 V

Rdson

8.8 mohm

150 mohm

28.5 mohm

24 mohm

12.4 mohm

15.6 mohm

Switching Loss

0.5 * 9.0 [nC] * 5 [V] * 100 [kHz] + 0.5 * 640 [pF] * 55 [V] ^2 * 100 [kHz] = 0.09905 [W]

0.5 * 4.9 [nC] * 5 [V] * 100 [kHz] + 0.5 * 36 [pF] * 55 [V] ^2 * 100 [kHz] = 0.00667 [W]

0.5 * 59 [nC] * 5 [V] * 100 [kHz] + 0.5 * 180 [pF] * 55 [V] ^2 * 100 [kHz] = 0.041975 [W}

0.5 * 8.4 [nC] * 5 [V] * 100 [kHz] + 0.5 * 282 [pF] * 55 [V] ^ 2 * 100 [kHz] = 0.0447525 [W]

0.5 * 11.1 [nC] * 4.5 [V] * 100 [kHz] + 0.5 * 19 [nC] * 55 [V] * 100 [kHz] = 0.05475 [W]

0.5 * 7.3 [nC] * 4.5 [V] * 100 [kHz] + 0.5 * 24 [nC] * 55 [V] * 100 [kHz] = 0.06764 [W]

Conducting Loss

4.5745 [A] ^2 * 0.0088 [ohm] = 0.1841 [W]

4.5745 [A] ^2 * 0.150 [ohm] = 3.1389 [W]

4.5745 [A] ^2 * 0.0285 [ohm] = 0.5964 [W]

4.5745 [A] ^2 * 0.024 [ohm] = 0.5022 [W]

4.5745 [A] ^ 2 * 0.0124 [ohm] = 0.2595 [W]

4.5745 [A] ^ 2 * 0.0156 [ohm] = 0.3265 [W]

Maximum Operating Temperature

175 C

150 C

175 C

175 C

150 C

150 C

Calculated Operating Temperature

(Assume Id = 4.5745 A, T_ambient = 25C)

25 [C] + (0.1841 + 0.09905) [W] * 41[C/W] = 36.61 [C]

25 [C] + (3.1389 + 0.00667) [W] * 44 [C/W] = 163.41 [C]

25 [C] + (0.5964 + 0.041975) [W] * 40 [C/W] = 50.535 [C]

25 [C] + (0.0447525 + 0.5022) * 47 [C/W] = 50.71 [C]

25 [C] + (0.05475 + 0.2595) * 50 [C/W] = 40.71 [C]

25 [C] + (0.06764 + 0.3265) * 55 [C/W] = 46.67 [C]

Comments

Losses are low and it doesn’t get hot but slightly expensive

Not selected, it will burn. Rdson too high

Moderate losses and reasonable operating temperature, reasonable price.

low gate loss and switch losses, cheapest price. Large package. Previously selected.

Low losses and small package. selected

Low losses and small package. Not selected because the package is too small. 0.9mm trace width may not be enough to handle 5A

Decision: we choose Diodes Incorporated DMTH6016LK3-13 as our buck converter’s switching FETs.

Decision: Selected Texas Instrument CSD18534Q5A as the switching FET for low cost, small package and small losses.

Bootstrap Circuit

Purpose: generate bias to drive the gate of the High Side FET

How it works:

  1. When SW node is GND, internal 5V VCC charges up Cboot through forward biased diode

  2. When SW node is Vin, Cboot still maintains that 5-Vf voltage since the charges on the capacitor has nowhere to go and V = Q/C. The schottky diode blocks current from flowing back to the voltage source.

High side switching FET gate capacitance: Cg = Qg / (VCC1 - V_bootDiode)

Cg = 11.1 nC / (5 V - 0.45 V) = 2.440 nF

Cboot > 10 * Cg

0.1 uF >> 0.0244 uF

Conclusion: Using a 0.1 uF capacitor for Cboot will work. DC derating must not lower the capacitance at 5V.

Two resistors can be placed in the bootstrap circuit for tuning.

  1. Rboot: Placed in series between Cboot and the diode to limit the charging inrush current to the bootstrap capacitor.

Iboot = Cboot * Vboot / charging time = Cboot * (VCC - Vf) / (1/fsw*(1-DutyCycleMax)) = 0.1 * (5-0.45) / 1/100k*(1-0.362) = 71.32mA

Conclusion: we don’t need a inrush limiting resistor.

  1. Rbst: Placed in series between Cboot and the BST pin to slow down the rise time of the HS FET. Note that a large value on this resistor will trigger the UVLO on the HS gate driver.

This resistor is also helpful to reduce the ringing effect on the SW node by slowing the rise time. It is the most efficient method as the gate resistor and snubber circuit dissipate energy when the HS FET is turning off while Rbst does not do that!!

Diode selection:

This diode needs to recover fast to block charges on the SW node when HS FET is conducting. And also need to have low Vf to charge Cboot.

Vr > Vin - VCC1 = 50V

Io = Iboot = 71.32mA

selected https://www.digikey.ca/en/products/detail/diodes-incorporated/DFLS160-7/765614

Common Mode Choke

Needs Assessment

Why do we need this filter?

The common mode choke serves as a protective measure against potential ESC and environmental EMI common mode noises. Typically, it functions as a short, connecting the battery and the buck converter input. The power FETs of the ESC constantly alternate between the battery's power and ground, causing ringing at both VBAT and ground, known as common mode noise. Since the servo module draws power from the same battery, the noise has the potential to be transferred to the buck converter's input. Ideally, the ESC addresses its FET ringing issue on the PCB. We added common mode choke for an extra layer of noise mitigation.

How does the common mode choke work?

This noise, known as the common mode noise, will affect both power and ground rails. To maintain the voltage at our buck converter’s input, we use a common mode choke chip to attenuate the common mode noise.

When differential currents are coming through, the magnetic field substracts so currents pass through without any impedance. When common mode noise are coming through, the magnetic field adds so the noise current will experience a lot more impedance and most of the noise will be blocked at the choke.

Research Notes:

https://electronics.stackexchange.com/questions/630389/why-does-the-signal-and-power-supply-in-my-custom-esc-breadboard-become-so-noisy

A Survey of Common-Mode Noise

https://electronics.stackexchange.com/questions/79752/what-is-common-mode-noise

https://electronics.stackexchange.com/questions/320733/what-exactly-happens-to-the-signals-hitting-a-common-mode-choke

Requirements

Options

Efuse Component Selection

Efuse IC Selection

The table below shows some overcurrent IC options I have found:

MAX17613A/MAX17613B/MAX17613C - 4.5V to 60V, 3A Current-Limiter with OV, UV and Reverse Protection (analog.com)

TPS1H000-Q1 40-V, 1-Ω, Single-Channel Smart High-Side Switch datasheet (Rev. C) (ti.com)

TCKE8xx Series (mouser.ca)

Choice Summary

Might be overkill, has OV and UV protection features which aren’t required

Jank current-limit resistor equation, needs ratio between nominal output current and current limit (blue star)

Looks okay?

Name

MAX17813C

TPS1H000-Q1

(Other options possible in family)

TCKE800NA

(because Auto-retry)

Input Voltage Range

4.5-60V

3.4-40V

4.4-18V

Current Limit Range

0.15-3A

0.05-1A

0-5A

Available Modes

  • latch-off

  • continuous

  • auto-retry

  • latch-off

  • holding

  • auto-retry

  • latch-off

  • auto-retry

Cost

~$9/chip (Mouser)

~$1/chip (Mouser)

~$2.40/chip (Digikey)

Selected Efuse IC: TCKE8xx Series

The auto-retry version was chosen so that each servo will continue to attempt working while we are in the air and so that we don’t lock out a servo mid-flight.

Input and Output Capacitor

https://www.digikey.ca/en/products/detail/samsung-electro-mechanics/CL10B104KA8NNNC/3886664

Also, assuming a 2.6ms rise time, and a very low resistance on the line, two 1uF for the input capacitor should be enough to allow the voltage output to rise in 2.6ms from 0V to 6V.

Current Limit Resistor

RILIM = 117kΩ if IILIM is set to 1A

https://www.digikey.ca/en/products/detail/yageo/RT0603DRE07117KL/7708397

Slew Rate Control Capacitor

Use 1nF capacitor from altium library.

This results in a t = 2.6ms rise time for 6V output.

Input Zener Diode

The zener diode protects the chip from inductive voltage spikes from sudden current increases. Think of V = L * di/dt but di/dt is infinity.

Calculation of input voltage spike from the datasheet:

Assuming perfect conductors on the input rail, this formula is a simple ohm’s law where the R becomes the characteristic impedance of the input rail, which is sqrt(L/C)

Lin = 47 uH (buck inductor)

Cin = buck input caps + buck output caps + 4 current limit ic input caps = 10uF*2 + 22uF*3 + 1uF*8 = 94uF

Vin = 6V (worst case)

Iout = 1A

Vspike = 6.707V which is less than the 18V absolute maximum input voltage.

Conclusion: we don’t need a zener diode at input.

Output Schottky Barrier Diode

This optional SBD on the output of the Overcurrent IC may be needed such that no instant changes of the voltage to the motor/servo or when the current suddenly shuts off to 0A creates a negative voltage spike (although ideally servo has flyback internally to deal with this)

The SBD will clamp the output voltage at -0.28V for chip protection since the datasheet specified the absolute minimum Vout is -0.3V. It will be placed for the 1st revision just in case if things go wrong.

PWM Buffer Component Selection

Servo Motor Market Research

Most servos can handle 3.3V & 5V logic levels but some high torque servos only take 5V logic level and doesn’t respond to 3.3V PWM signals. Therefore we want to buff the 3.3V PWM signal coming from the flight controller (Pixhawk 6) to 5V.

Google search “step down servo motor PWM signal from 5V to 3.3V” gives guides on the opposite… so we don’t need to worry about 5V PWM not compatible. Plus we have jumpers to get around the buffer if we really want a 3.3V PWM signal.

Requirement

Selected SN74AHCT126PWR for cheap price and small package.

3.3V buffer backup: SN74HC125PWR

5V LDO

Current consumption of the buffer is 25mA max, Vdrop = 6V- 5V = 1V, Ploss = 25mW worst case. No need for a big package to dissipate heat. Selected TLV76050DBZR for cheap price and small package.

3.3V LDO backup: TLV76033DBZR

Input Pulldown/Pullup Resistors

I couldn’t find Pixhawk PWM rail leakage current. Assuming 100uA leakage current from Pixhawk and open drain configuration, 4.7k pulldown will create a 0.47V input, which is below the 0.8V logic low threshold. 4.7k pullup will create a 0.47V drop, which would still above the 0.7 * Vcc threshold at 3.3V Vcc.

Selected 4.7k as pulldown/pullup resistor value.

PCB Layout Notes

Layout Topology

Layout Justifications

Trace Width Calculations

I assumed the board can handle 20C temperature rise just from air cooling. Source: Saturn PCB

For 1A traces in and out of the efuse IC, I’m using trace width >10mil

For 4.57A traces in and out of the buck, I’m using trace width >50mil

Via Current Calculation

Via Size

Via hole: 0.15mm

Minimum Annular ring: 0.13mm

Via diameter: 0.15 + 0.13*2 = 0.41mm

This setting is chosen so that the board uses the smallest via size possible while not paying JLCPCB extra. 0.15/0.41 size vias also makes it easier to terminate ground copper dead ends. Though some cases we can use a larger via (e.g. 0.3/0.6), it increases drill sizes and increase manufacturing cost.

Layer Stackup

Copied JLCPCB 4-layer stackup since I want internal ground layers to be as close to the top and bottom layers as possible. Reason being I want the ground plane to absorb as much noise as possible on the top and bottom layers, especially the magnetic field from the inductor.

Efuse IC Pad

Removed vias on the ground pad of efuse IC, so everything can fit on a 30x30 mounting hole pattern. Justification:
Maximum power dissipation would be 1A*1A*38mohm = 38mW.

Assuming a 50 C/W thermal resistance, temperature rise is only 1.9 C.

Input & Output Connectors

Input connector and output connector both follow the pixhawk flight controller PWM connector 3x4 pattern. Top row is ground, mid row is power and bottom row is signal.

Online 3D body for the input & output header in the PCB file is wrong so it is removed from the layout. The correct mating length is 5.84 mm which matches PWM cables.

As of 2023-11-19, 12-position-3-row female sockets are out of stock, link to its datasheet: https://suddendocs.samtec.com/catalog_english/ssq_th.pdf

Alternative is to use two 6-position-3-row sockets together if the above remains out of stock

BOM notes

  1. Add 2.2 ohm resistor for bootstrap tuning

  2. Order 4.7k resistor for buffer input pullup/pulldown