F1Tenth Powerboard
Context
Roboracer formerly known as F1Tenth is a popular open-source challenge in which participants program an autonomous 1/10th scale car. A list of official hardware components is provided but participants are free to design and use their own custom parts. Throughout the years, signle board computers (SBC) were updated to more powerful models, and additional sensors were added to the car. But the power distribution board remained mostly unchanged, and the developpement seemed to be abandoned (last release in 2020).
During my 2024 internship in CIIRC at Czech Technical University, I had the opportunity to design a new power distribution board. The goal was to implement features based on the feedback from the researchers using the F1Tenth platform.
Very old powerboard
Old powerboard
Objectives
Researchers reported several issues, one of the most inconvenient if the necessity to power down the whole car when switching batteries. It annoying during testing sessions, as it requires to restart the SBC and all components and sometimes causes calibration loss. Another issue is the high power consumption of peripherals connected to the SBC USB ports, which can lead to instability and crashes.
Thus, new powerboard must meet the following requirements:
- Distribute the power from two batteries to all components.
- Integrate an USB power port to power the USB Hub and reduce the load on the SBC.
- Integrate more power connectors for future components.
Design
Following the specifications, I designed the schematic and PCB using KiCad. Features are:
- ORing circuitry
- Buck converter for 5V USB supply
- Connector for Jetson dev board
- Connector for VESC 6 mk5
- Connectors for batteries
Schematic diagram
ORing
Principle
Basic ORing circuitry can be implemented with two diodes (see Figure: Basic ORing with Diodes). This solution is simple and inexpensive, but it has a major drawback: forward voltage drop.
Even Schottky diodes cannot go below approximately 0.3 V (see Figure: Schottky Diode Forward Voltages).
A better solution is to use MOSFETs in their ohmic region (also called the triode region), where they behave like low-value resistors. Using a MOSFET with very low Rds(on) allows reducing the voltage drop to just a few millivolts. For example, the Infineon IAUCN04S7L005 has an Rds(on) of about 0.5 mΩ according to the datasheet.
Voltage drop across the MOSFET:
Power Loss in the MOSFET:
As VESC 6 mk5 can draw up to 60A continuously, let consider a 60A load. MOSFET datasheet provide a maximum Rds(on) of 0.52mΩ for 10V Vgs. Therefore:
For comparison, APT100S20LCT Schottky have a forward voltage around 0.7V for 60A:
APT100S20LCT 120A Schottky diode.
TSUP12H100H 12A Schottky diode.
Ideal diode driver
To ensure the MOSFET is in its ohmic region, a driver is needed. The driver should provide enough voltage to turn on the MOSFET and enough current to charge the gate capacitance quickly. The IC must drive the transistor to behave like an ideal diode. Off when Anode voltage is lower than Cathode voltage and on when Anode voltage is higher than Cathode voltage. The LM74700 [1] from Texas Instruments is a good candidate. It is rated for 3.2V to 65V input and thank to its internal charge pump it can provide up to 15V to the MOSFET. It can also be enable or disable with a logic signal. This feature can be used to add shutdown functionality to the power board. This give the following schematic: \cref{fig:oring_lm74700}.
Thermal considerations
As MOSFET IAUCN04S7L005 is an SMD compoenent in a PG-TDSON-8-43 package its thermal resistance is closely related to the PCB design. However datasheet [2] provide a junction to ambient thermal resistance of . Therefore, if the MOSFET is dissipating 1.872W the temperature rise will be:
For a 25°C ambient temperature, the junction temperature will be around 75°C. This will not be a problem for the MOSFET as its maximum operating junction temperature is 175°C. And in real life the PCB will cool the MOSFET even more.
Basic ORing with diodes.
Ideal diode with LM74700.
5V USB Supply
Sensors used in the car are powered by USB and draw a lot of current. This can lead to instability in the whole system. A separate 5V supply can help to mitigate this issue. Batteries uses in the car are 3S LiPo batteries. They provide a nominal voltage of 11.1V, up to 12.6V when fully charged and down to 9.6V when depleted. As standard USB voltage is 5V, a buck converter can be used. Keeping in mind that F1tenth car is an experimental platform, this supply must handle future peripherals that may require more current.
A buck converter can achieve high efficiency, often above 90%. Classic implementation [3] are similare to the one in \cref{fig:basic_buck_converter}.
Classic buck converter.
It is often more convenient to use a dedicated IC for the buck converter. The TPS51386 [4] from Texas Instruments handle up to 8A and can be used in a 4.5V to 24V input range and output from 0.5V to 5.5V. It embeds also some protection features like over current protection (OCP), over voltage protection (OVP) for example. It is a synchronous buck converter, which means it use a MOSFET for both high and low side. This increase efficiency and reduce power loss. By embedding the power MOSFETs, it also reduce the number of external components and simplify PCB design.
Schematic
Texas Instruments provide a reference design for the TPS51386 [4] in the datasheet. This reference design is available in \cref{fig:TPS51386_typ_app}. It is designed for 6 to 24V input, 5.1V output and 8A output current. The design can be easily adapted to the F1tenth power board.
TPS51386 typical application schematic. 6ā24V input, 5.1V output, 8A output current.
Manufacturer also provide recommended values for 5V output.
| 147kΩ | 20kΩ | 1.5µH or 2.2µH | 44µF to 500µF | 22µF to 100µF | 0pF to 100pF |
With little adjustments this give the following schematic: \cref{fig:5V_USB_supply}.
TPS51386 schematic. 6ā24V input, 5.1V output, 8A output current.
Simulation
To ensure the design is correct, a simulation can be done. Texas Instruments provide an online tool Webench [5] to simulate the TPS51386. Results give an efficiency of 97% for a 11.1V input, 5V output and a 2A load. This is the typical scenario for the F1tenth car. The total power loss for whole components is 277mW. For IC only it is 250mW, that will give a temperature rise of 7.5K.
Even with a 6A load, the efficiency is still 95% and the total power loss is 1.33W. For IC only is 1.11W and temperature rise is 33.3K. This is still acceptable for the IC. In the worst case inductor current remain below 8A.
Steady state. Vout=5V, Vin=11.1V, Iout=2A.
Transient response 6A to 1A load.
Converter efficiency.
Converter efficiency log scale.
Jetson and 12V supply
Jetson Xavier NX and Jetson TX2 are powered by 12V. This voltage is provided by the batteries without any regulation. However because Li-Po batteries can allow very high current, it is important to add a fuse to protect the Jetson board or peripherals. A passive fuse can be used, but it take time to blow and use a lot of space. Plus it is not reusable. A PTC fuse can be used instead but they are relatively slow to blow. A better solution is to use resettable fuses, also known as “e-fuses”. The fuse current can be set, as well as the time to blow to allow some peak current. The TPS25980 [6] from Texas Instruments is a good candidate. It support 2.7-V to 24-V, 8-A and has 3-mĪ© on conductance.
TPS25980 schematic, set to 5A current limit.
Layout
The layout was done with KiCad. It is important to keep the high current path as short and as wide as possible. High current path are the path from the batteries to the VESC. The VESC current limit was set to 40A in its software.
Special care was taken to follow the datasheet recommendations for the TPS51386. Because it is an high frequency switching converter, it is important to keep the high current path as short as possible. and to place feedback loop away from the inductor. This is to avoid noise and instability in the feedback loop.
ORing circuitry
The high current path is clearly visible in \cref{fig:oring_layout}. MOSFETs are placed close to the batteries and VESC pad between the output of ideals diodes. The use of a large copper plane help to reduce the voltage drop and the power loss and improve the thermal dissipation.
Oring circuitry layout. The two batteries are connected to the left and VESC to the right.
TPS51386 buck converter
The layout of the TPS51386 is shown in \cref{sub@fig:layout_TPS51386}. It follow the Texas Instruments guidelines \cref{sub@fig:recommanded_layout} for the layout. The inductor is relatively big compared to the IC. This is to reduce ohmic losses and ensure the inductor have high saturation current.\ The TPS51386 is in VQFN-HR package, that measure 2mm x 3mm.
Buck converter layout.
Texas Instruments recommended layout.
E-fuse
The layout for the TPS25980 are shown in \cref{fig:layout_efuses}. It follow the Texas Instruments guidelines. The two 12V connectors for peripherals share the same fuse.
Jetson e-fuse layout.
12V peripherals e-fuse layout.
Design Rules Check
All PCB were checked with the Design Rules Check (DRC) according to JLCPCB capabilities.
Design Rules Check.
Schematics
Bill of Materials
| Designator | Footprint | Quantity | Value |
|---|---|---|---|
| C1, C14, C15, C18, C2, C5, C6, C7, C8 | 0805 | 9 | 22u |
| C10 | 0805 | 1 | 22p |
| C11 | 0805 | 1 | NC |
| C12, C13, C16, C21, C3, C4 | 0805 | 6 | 100n |
| C17, C19, C20, C22, C23, C24 | 0805 | 6 | 10n |
| C9 | 0805 | 1 | 1u |
| D2, D3, D4, D5 | 0805 | 4 | LED |
| D6 | SOT-23-3 | 1 | 3v9 |
| J1 | USB_A_Molex_67643_Horizontal | 1 | USB_A |
| J2 | Battery_pad | 1 | Batt_A |
| J3 | PinHeader_1x02_P2.54mm_Vertical | 1 | BATT_A |
| J4 | Battery_pad | 1 | VESC |
| J5 | Battery_pad | 1 | Batt_B |
| J6 | PinHeader_1x02_P2.54mm_Vertical | 1 | BATT_B |
| J7 | TerminalBlock_terminal block-2_P5.08mm | 1 | P0 |
| J8 | TerminalBlock_terminal block-2_P5.08mm | 1 | P1 |
| J9 | TerminalBlock_terminal block-2_P5.08mm | 1 | JETSON |
| L1 | SRP12701R5M | 1 | 1u5 |
| Q1, Q2 | IAUCN04S7L005 | 2 | IAUCN04S7L005 |
| R1, R13, R2, R4, R8 | 0805 | 5 | 150k |
| R10, R11, R5 | 0805 | 3 | 1k |
| R12, R7 | 0805 | 2 | 620k |
| R14, R6, R9 | 0805 | 3 | 300 |
| R3 | 0805 | 1 | 20k |
| TP1 | TestPoint_Pad_D1.0mm | 1 | Batt_sys |
| TP2 | TestPoint_Pad_D1.0mm | 1 | Vbus |
| TP3 | TestPoint_Pad_D1.0mm | 1 | Periph_sys |
| TP4 | TestPoint_Pad_D1.0mm | 1 | Jetson_sys |
| U1 | RJN_Package_12-Pin_VQFN-HR | 1 | TPS51386 |
| U2, U3 | SOT65P280X110-8N | 2 | LM74700QDDF |
| U4, U5 | TPS259803ONRGER | 2 | TPS259803ONRGER |
Assembly
Ordering
The PCB were ordered from JLCPCB. They provide a very good service and the price is very competitive. The cost for 5 PCB was CZK 46. (1.8⬠on 2024).\
The components were ordered from Mouser. The total cost was CZK 769 (30⬠on 2024) for one board. The superviser decided to order enough components to build 2 boards because they plan to build a second car. The price for two boards was CZK 1100 (43⬠on 2024).\
Compare to the original F1tenth power board, the cost is half the price.
Results
Connectors for the Jetson and 12V peripherals are pluggables terminals. This allow to easily replace sensors or SBC. The USB port is a high current USB port with enforced contact plating.
The batteries pad are soldered to XT90 connectors. This is a standard connector for LiPo batteries. The use of deported connectors reduce stress on the board and it is pretty common on drones or RC cars.
Front of the power board.
Back of the power board with printed BOM.
Testing
The power board was tested with a bench power supply. The voltage was set from 9 to 14V to test the normal operation of the board. And after the voltage was set from 0 to 20V to test the behavior when the voltage is out of the normal range. The board was also tested with a 40A load. Some debug LED were added at the bottom left to help diagnose the board \cref{sub@fig:pcb_front}.
References
[LM74700]
Texas Instruments. LM74700-Q1 Low IQ Reverse Battery Protection Ideal Diode Controller datasheet (Rev. G).
Link: https://www.ti.com/lit/gpn/lm74700-q1[IAUCN04S7L005]
Infineon Technologies AG. IAUCN04S7L005-Data-Sheet-10-Infineon Rev. 1.0.
Link: https://www.infineon.com/dgdl/Infineon-IAUCN04S7L005-DataSheet-v01_00-EN.pdf?fileId=8ac78c8c8d2fe47b018d35ed07d31a6c[theartofelectronics]
P. Horowitz and W. Hill. The Art of Electronics, 3rd ed., ch. 9.6.
Cambridge University Press, 2015.[TPS51386]
Texas Instruments. TPS51386 4.5-V to 24-V Input, 8-A Synchronous Buck Converter.
Link: https://www.ti.com/lit/ds/slusf01/slusf01.pdf[Webench]
Texas Instruments. WEBENCH Power Designer.
Link: https://www.ti.com/tool/WEBENCH-CIRCUIT-DESIGNER[TPS25980]
Texas Instruments. TPS25980: 2.7ā24 V, 8 A Smart eFuse.
Link: https://www.ti.com/lit/ds/symlink/tps25980.pdf[APT100S20LCT]
Microsemi. Schottky diode APT100S20LCT Datasheet.
Link: https://ww1.microchip.com/downloads/en/DeviceDoc/APT100S20LCT(G)_D.pdf