Battery Card Assembly Guide

Table of contents
  1. Battery Card Assembly Guide
    1. Introduction
      1. What It Is
      2. When to Use It
      3. Key Features
      4. Applications in LCC Fusion Project
    2. Assembly and Component Placement
    3. Tools Required
    4. Safety Precautions
    5. Assembly Instructions
    6. Testing and Verification
      1. Visual Inspection
      2. Connectivity Testing
      3. Power-Up Tests
      4. Functional Testing
    7. Troubleshooting
    8. Appendences
      1. Specifications
      2. How It Works
      3. Protection
      4. References

Introduction

See the How to Use Assembly Guides for detailed instructions.

Battery Card

In conjunction with the LCC Fusion LCC Fusion Node Card and a Node Bus Hub, the Battery Card is a critical component for the LCC Fusion Project, designed to keep your LCC nodes powered and portable. This card ensures reliable operation of your layout control system by providing a stable, rechargeable power source.

What It Is

The Battery Card utilizes a 3S Li-Po battery configuration, delivering a maximum output voltage of 12.6 V and a capacity of 1000mAh. It features integrated protection circuits, including overcurrent, short circuit, and low voltage safeguards, ensuring both the battery and your devices remain safe during operation.

When to Use It

Use the Battery Card to maintain continuous and portable power for your LCC nodes in the LCC Fusion Project. This is particularly beneficial when you need to:

  • Ensure Uninterrupted Power: Keep LCC nodes running smoothly without relying on fixed power supplies.
  • Enhance Portability: Make your LCC setup portable for demonstrations, testing, or temporary installations.
  • Utilize Rechargeable Convenience: Easily recharge the battery via USB for repeated use.

Key Features

  • Stable Voltage Supply: Provides consistent power for LCC nodes and components.
  • Rechargeable: USB charging capability for convenience and ease of use.
  • Comprehensive Protection: Integrated overcurrent, short circuit, and low voltage protections.

Applications in LCC Fusion Project

  • LCC Node Power Supply: Reliable power for LCC nodes to ensure smooth operation.
  • Portable Layout Control: Allows for the mobility of LCC nodes, ideal for demonstrations and temporary setups.
  • Rechargeable Solution: Simplifies power management with easy recharging, enhancing the flexibility of your LCC system.

The Battery Card is an essential component for anyone looking to keep their LCC nodes powered and portable, ensuring the LCC Fusion Project operates efficiently and reliably in any setting.

## Terminology

For other terms, please refer to the full Terminology Guide.

Assembly and Component Placement

This section combines both the component specifications and the assembly instructions to ensure a smooth assembly process. Below is a comprehensive list of components, their placement on the PCB, and orientation details to assist you during assembly.

High-Level Steps for Assembly:

Below is a list of the PCB components used for this card (see diagram before reference):

Print PCB Battery Card PCB
Print
Component Identifier Count Type Value Package Purpose Orientation
Batteries            
BATT1, BATT2, BATT3 3 Li-Po Battery 500mAh, 1000mAh 502535, 802540 Batteries for powering Node Bus Hub None (insure battery wire polarity matches socket silkscreen markings)
Capacitors            
C1, C2 2 Capacitor-Ceramic 1uF, 50 V 1206 X7R Filtering for the charging IC None
Diodes            
D1, D3, D4 3 Diode-Schottky SS310 SMA, SMD Prevents reverse voltage Cathode end has a white line and positioned towards PCB top edge
D2 1 TVS Diode SMAJ5A SMA Protects from high-voltage transients (>5 V) Cathode end has a white line and positioned towards PCB top edge
ZD1 1 Zener Diode 9.1 V 1206 SMD Creates a reference voltage determining low battery Cathode end has a white line and positioned towards PCB top edge
Fuses & Protection            
F1 1 Fuse-PTC Polymer JK30 3A, 12 V (or more) PTH Protects from sustained overcurrent conditions None
Connectors            
J1, J2, J3, J4 4 JST XH Socket 2P, 2.54mm PTH or Spring Terminal Battery Connections Position socket for battery wiring matches silk screen + and - markings
J5 1 USB-C Socket 4-Pin SMD Power input connector used for 5V charging of batteries. Fits only one way
Indicators            
LED1 1 LED Red 1206 SMD Low battery indicator (<9.1 V) Reference back of LED, cathode positions downward on the PCB.
LED2 1 LED Green 1206 SMD Charging Indicator Reference back of LED, cathode positions downward on the PCB.
LED3 1 LED Green 1206 SMD USB-C Power Indicator Reference back of LED, cathode positions downward on the PCB.
Resistors            
R1, R2 2 Resistor 47kΩ 1206 SMD Voltage Divider for charging circuit input None
R3, R4 2 Resistor 10kΩ 1206 SMD Voltage Divider for charging circuit input None
R5 1 Resistor 1kΩ 1206 SMD Current-Limiting for diode None
R6, R11, R12 3 Resistor 1kΩ 1206 SMD Current-Limiting for LEDs None
R7 1 Resistor 10kΩ 1206 SMD Voltage Divider for transistor input None
R8 1 Resistor 47kΩ 1206 SMD Voltage Divider for transistor input None
R9 1 Resistor 2kΩ 1206 SMD Current-Limiting for charging rate None
R10 1 Resistor 10kΩ 1206 SMD Current-Limiting for transistor input None
Voltage Regulators            
U1 1 IC LM393 SO-8, SMD Used for detecting low voltage (<9.1 V) Small dot (pin 1) positioned to upper right corner
U2 1 IC MCP73831 SOT23-5, SMD Controls charging current to batteries Fits only one way
Transistors            
Q1 1 NPN Transistor BSS138 SOT233, SMD Switches output off while charging Fits only one way
Q2 1 PNP Transistor IRLML6402 SOT233, SMD Switches output off while charging Fits only one way

Tools Required

List of recommended tools.

Safety Precautions

Assembly Instructions

Below are the high level steps for assembly of the Audio Card:

See also: Soldering Tips

  1. Position the card with the edge connector tabs facing down (see image on right).
  2. When using a PCB stencil to apply the paste, align the stencil over the PCB using the 2 Tooling Holes located at the top and bottom of the card. There are very small holes with no labels or markings. Use a thick straight pin or wire for the alignment, pushing down into a soft foam surface to hold the pin/wire in place.
  3. Install (3) Li-Po batteries
    1. use tie strap thru holes to hold in place
  4. Connect Battery Card output to Power-CAN Card
    1. Install a wired JST XH plug to the battery out connector (J4)
    2. plug into the Power-CAN Card battery JST XH connector (J13)
Designator (value) Component Required? Orientation
C1, C2 1uF Required None
D1 9.1 V Zener Required Cathode end has a white line and positioned towards the left on the PCB.
D2, D4, D5 SS310 Required Cathode end has a white line and positioned towards the top of the PCB.
D3 SMAJ5A Optional Cathode end has a white line and positioned towards PCB right edge
D5 PESD1CAN Optional None
F1 Fuse Required None
J1, J2, J3, J4 JST XH, or Terminal Connector Required None
J5 USB-C Socket Optional None
LED1 - LED3 Red, Green LED Optional Reference back of LED, cathode positions downward on the PCB.
R1, R2 47kΩ Required None
R3, R4, R7, R10 10kΩ Required None
R5, R6, R11, R12 1kΩ Required None
R9 2kΩ Required None
U1 LM393 Required Small dot (pin 1) positioned to upper right corner
U2 MCP73831 Required None
Q1 BSS138 Required None
Q2 IRLM6402 Required None

Testing and Verification

The following test and verifications of the card should be performed after a through inspection of the card’s soldering. Check all of the PTH component pins and SMD pads. Make sure there are no solder bridges between pins and pads.

Visual Inspection

  1. Initial Check: Examine the board for any obvious issues like missing components, solder bridges, or components that are misaligned or not fully seated.
  2. Solder Joint Inspection: Use a magnifying glass or a microscope to inspect solder joints. Look for cold solder joints, insufficient or excessive solder, or any shorts between pads.
  3. Component Orientation: the IC’s are correctly oriented according to the PCB silkscreen or schematic.

Connectivity Testing

  1. Continuity Check: Use a multimeter in continuity mode to check for shorts between power rails and ground, and to ensure there are no open circuits in critical connections.

Power-Up Tests

  1. Charge the batteries

    1. Connect a 5V USB-C charging cord to the Battery Card’s CHARGE IN USB-C socket (J5) charging port and verify that USB Power LED is ON.
    2. Insert the Battery Card into a powered Node Hub

    If the batteries need charging, then the charging LED should also be ON with either of these power connections.

  2. After the batteries are charged:

    1. Disconnect all input power

    2. Verify the output voltage at BATT OUT (J4) is > 9V.

      BATT OUT provides voltage only when there is NO input power to the Battery Card

Functional Testing

  1. Insert the Battery Card into a Node Bus Hub
  2. Verify that the Battery Card’s LOW BATT LED is not ON.
  3. Insert a Power-CAN Card into the same Node Bus Hub.
  4. Connect the Battery Card’s output plug into the Power-CAN Card’s BATT IN JST XH socket.
  5. Insert an Quad-Node Card into same Node Bus Hub
  6. Disconnect the power to the Power-CAN Card
  7. Verify the Quad-Node Card’s ESP32 board’s power light is still ON, indicating that it is running (on battery power)

Troubleshooting

Appendences

Specifications

Characteristic Value
Min Output Voltage 9.0 V
Max Output Voltage 12.6 V
Max Output Capacity 1000mAh
Typical Output Voltage 11.1 V
Max USB Input Voltage 6V
Max USB Input Current 1A
Recommended Charge Current 500 mA
Charge Termination Voltage 12.6 V
Discharge Cut-off Voltage 9.0 V
Overcurrent Protection Yes
Short Circuit Protection Yes

Notes:

  • Max Output Voltage: This is the highest voltage provided by the fully charged 3S Li-Po battery.
  • Max Output Capacity: This represents the battery capacity, which is 1000mAh.
  • Max USB Input Voltage: The highest voltage that can be safely input through the USB for charging.
  • Max USB Input Current: The maximum current allowed for charging the battery through the USB input.
  • Min Output Voltage: The voltage at which the battery is considered fully discharged.
  • Typical Output Voltage: The nominal voltage of the 3S battery pack.
  • Operating Temperature Range: The range of temperatures in which the battery can safely operate.
  • Storage Temperature Range: The recommended temperature range for storing the battery.
  • Charge Termination Voltage: The voltage at which charging should be terminated to prevent overcharging.
  • Discharge Cut-off Voltage: The voltage at which the device should stop discharging to prevent battery damage.
  • Recommended Charge Current: The current recommended for charging to ensure battery longevity.
  • Overcurrent Protection: Indicates whether the Battery Card has protection against excessive current.
  • Short Circuit Protection: Indicates whether the Battery Card has protection against short circuits.

How It Works

flowchart LR
 n["Node Card,<br/>Power-CAN Card"];
 cc["Charging Circuit"];
 b["Batteries"];
 
subgraph layout ["Train Layout"];
  direction LR;
  subgraph c ["Battery Card"];
  	direction LR;
		cc --> |"5 V, 1A"| b;
		b --> |"<12 V Detection"| cc;
	end
  b -->|"12 V<br/>(plug)"| n;
  hub["Node Bus Hub"] -->|"5 V"| cc;
end
  usb["USB Input"] -->|"5 V<br/>(plug)"| cc;
classDef lSalmonStyle fill:#FFA07A,stroke:#333,stroke-width:2px,font-size:24px;
class c lSalmonStyle;
classDef lightGrayStyle fill:#d3d3d3,stroke:#333,stroke-width:2px,font-size:24px;
class layout lightGrayStyle; 

The Battery Card for the LCC Fusion Project integrates several key circuits to provide a stable, portable power source for LCC nodes:

  1. Battery Configuration:

    • Utilizes a 3S Li-Po battery pack, delivering a maximum output voltage of 12.6 V and a nominal voltage of 11.1 V. The voltage drops to 9.0 V when fully discharged.
  2. Voltage Regulation:

    • The output from the battery is regulated to provide a consistent 12 V supply.
  3. Charging Circuit:

    • Based on the MCP73831 IC, the charging circuit manages the Li-Po battery charging via USB. The charging current is set by an external resistor connected to the PROG pin, ensuring safe and efficient charging.
    • Programming Resistor (Rprog): Sets the charge current. For example, a 2kΩ resistor sets the charge current to 500 mA.
  4. Protection Features:

    • Low Voltage Detection: Uses an LM393 comparator and a 9V Zener diode to monitor the battery voltage. When the voltage drops below 9V, the comparator triggers an alert to prevent deep discharge.
  5. Low Voltage Detection Circuit:

    • Voltage Divider: Scales down the battery voltage to a level suitable for the comparator input.
    • Comparator (LM393): Compares the scaled voltage to a reference voltage (9 V) generated by a Zener diode. If the battery voltage falls below 9V, the comparator output changes state, indicating a low battery condition.
  6. Integration with LCC Nodes:

    The regulated output is connected via a JST plug directly to the Power-CAN Card, ensuring the LCC Fusion Node Cluster receives a stable 12 V supply. This allows the nodes to function reliably without reliance on fixed power sources, enhancing portability and flexibility.

    When the Battery Card is installed in a Node Bus Hub, the batteries are automatically charged via the hub’s 5V connection. The batteries can be charged via a USB cable when the Battery Card is not installed in a LCC Fusion Node Bus Hub Hub.

Protection

Print
Protected Component Protection Component Function Specifications Location
Entire Battery Card Polyfuses Protects from sustained overcurrent conditions by increasing resistance when the current exceeds 1.5A and 3A. Resets once the fault condition is cleared. Hold Current: 1.5A and 3.5A In series with the incoming Power line
Entire Battery Card SS310 Diodes Protect against reverse voltage by blocking current flow in the wrong direction. Hold Current: 1.5A and 3.5A In series with the incoming Vcc line
Entire Audio Card TVS Diode SMAJ5A Protects from high-voltage transients by clamping voltage spikes, preventing them from reaching sensitive components. Stand-off Voltage: 18 V Clamping Voltage: 29.2 V Across the incoming Vcc and GND lines
Audio Amp Decoupling Capacitors Filters out high-frequency noise and transient voltage spikes from the power supply, ensuring stable voltage to audio amp IC. Values: 0.1 µF ceramic, 10 µF electrolytic or ceramic Across Vcc and GND near IC.
I2C Lines Ferrite Bead BLM31PG121SN1L Provides high-frequency noise suppression on the I2C lines. Impedance: 120 ohms at 100 MHz In series with the SDA and SCL lines of the I2C bus
I2C Lines ESD Protection Diode PESD1CAN Protects the I2C lines from electrostatic discharge and voltage spikes. Reverse Stand-off Voltage (Vr): 24 V Clamping Voltage (Vc): 40 V Across the SDA and SCL lines to GND
Power Connections SS310 Diodes Protect against reverse voltage by blocking current flow in the wrong direction. Reverse Voltage: 100 V Forward Current: 3A In series with battery and output connections.
Function Part ID(s) Purpose
High-voltage transient protection D3 Protects from high-voltage transients (>5 V) from hub and USB 5V inputs
I2C data bus ESD protection D5 Protects I2C data bus from electrostatic discharge (ESD)
USB-C Power input J5 5V power input connector for charging battries
Low battery indicator LED1, R6 Indicates low battery status (<9.1 V)
Charging indicator LED2, R11 Indicates when charging is in progress
USB-C power indicator LED3, R12 Indicates power output via USB-C

References

  1. Choosing the Right Resistor for LEDs.

Last updated on: May 10, 2025 © 2025 Pat Fleming