This application note details the process of creating custom battery models using the Rohde & Schwarz R&S®NGM200 and R&S®NGU201 DC power supplies, extending beyond the standard battery simulation options NGM-K106 and NGU-K106. It covers the characterization of battery parameters such as capacity, open circuit voltage (OCV), state of charge (SoC), and internal resistance, and explains how these parameters are measured and used to generate accurate battery models. The document also introduces a Battery Modeling Tool that interfaces with the instruments to facilitate measurement, data recording, and model generation, enabling the simulation of battery behavior under various conditions.
Battery simulation is critical in engineering workflows for developing battery-powered systems, as it allows developers to replace physical batteries with digital twins early in the R&D cycle. This approach provides a safer, reproducible environment for testing and enables evaluation of battery performance across different states without the risks and variability inherent in using real batteries. The R&S®NGM200/NGU201 power supplies simulate dynamic battery behavior by emulating voltage and internal resistance changes over the battery’s state of charge, supporting more precise system design and battery selection.
Electrical Equivalent Circuit Models for Battery Simulation
Battery behavior is commonly represented by electrical circuit models (ECMs) that use combinations of voltage sources, resistors, capacitors, and inductors to mimic the dynamic voltage and current characteristics of real cells. The application note illustrates several ECMs varying in complexity and accuracy. Simpler models, such as a voltage source with a series resistor, allow faster parameter extraction but offer lower fidelity. More complex models include RC components or Warburg impedances to capture diffusion and charge transfer effects but cannot be implemented with the R&S®NGM200/NGU201 power supplies due to hardware limitations.
The R&S®NGM200/NGU201 devices simulate battery behavior by controlling the output voltage (representing the open circuit voltage) and dynamically adjusting a series resistance to emulate the internal resistance of the battery. Since the internal resistance varies with state of charge and other factors, the power supply switches a variable resistor in series based on a characteristic curve derived from measurements. This approach balances model simplicity with practical emulation capabilities, enabling realistic battery simulation within the constraints of the hardware.
Key Battery Parameters: Capacity, Open Circuit Voltage, and Internal Resistance
The battery model requires accurate determination of several key parameters:
- Capacity (Q): Measured in ampere-hours (Ah), capacity represents the total charge a battery can deliver from full charge to full discharge under specified standard conditions. It is calculated by integrating the discharge current over time. The nominal capacity is defined by the manufacturer under controlled conditions, but actual capacity degrades with battery aging.
- Open Circuit Voltage (OCV): The voltage of a battery at rest with no load applied, OCV depends primarily on the state of charge. It is essential for estimating SoC and modeling battery voltage behavior. Accurate OCV measurement requires sufficient relaxation time after load removal to reach equilibrium.
- Internal Resistance (Rint): This series resistance arises from contact resistances and ionic resistance within the electrolyte. It causes voltage drops under load, dissipates power as heat, and affects battery efficiency. Internal resistance varies with SoC, temperature, and battery condition. It can be measured via current pulse response or hysteresis in constant current discharge tests.
These parameters vary dynamically with the battery’s state of charge and environmental conditions, necessitating their characterization over the full SoC range for accurate modeling.
Measurement Methodologies for Parameter Extraction
The application note outlines two primary methodologies for determining OCV and internal resistance:
- Relaxation Measurement: The battery is discharged in cycles consisting of a load phase followed by a rest (relaxation) phase. The load duration can be tailored to represent different application profiles, such as continuous discharge or intermittent loads typical in IoT devices. During relaxation, the voltage stabilizes toward the true OCV, which is then recorded. Repeating this over various SoC levels yields the OCV curve.
- Constant Current Measurement: The battery is discharged at a constant current while voltage is monitored. Internal resistance is inferred from the voltage hysteresis and transient responses. This method captures slower electrochemical effects but may be less precise for rapid transient phenomena.
Internal resistance is calculated using the formula Rint = ΔU / ΔI, where ΔU is the voltage change due to a current step ΔI. Short current pulses capture fast transient resistances, while longer pulses include diffusion and charge transfer effects. The choice of pulse duration depends on the desired model fidelity.
Battery Pack Configurations and Their Impact on Modeling
Battery packs often comprise multiple cells connected in series and/or parallel to achieve desired voltage and capacity levels. For example, a laptop battery may use a 4s2p configuration—four cells in series to increase voltage and two in parallel to increase capacity.
The overall pack parameters are derived from individual cell parameters using these relationships:
| Parameter | Series Connection | Parallel Connection |
|---|---|---|
| Voltage (Ubat) | Sum of cell voltages: ( U_{Bat} = sum U_{Cell,n} ) | Equal to cell voltage: ( U_{Bat} = U_{Cell,n} ) |
| Capacity (Qbat) | Equal to cell capacity: ( Q_{Bat} = Q_{Cell,n} ) | Sum of cell capacities: ( Q_{Bat} = sum Q_{Cell,n} ) |
| Internal Resistance (Rbat) | Sum of cell resistances: ( R_{Bat} = sum R_{Cell,n} ) | Reciprocal sum of cell resistances: ( R_{Bat} = frac{1}{sum frac{1}{R_{Cell,n}}} ) |
It is critical to use identical cells in terms of chemistry, voltage, and capacity to avoid imbalances that can degrade pack performance and lifespan. Mismatched cells in series can cause overloading of weaker cells, leading to premature failure.
Battery Modeling Tool Integration and Workflow
The Battery Modeling Tool provided by Rohde & Schwarz interfaces directly with the R&S®NGM200 and R&S®NGU201 power supplies to automate the measurement and modeling process. The tool guides users through setup, data acquisition, and model generation steps:
- Prerequisites: Ensure proper connection of the battery and power supply, and configure measurement parameters according to battery specifications.
- Measurement Setup: Define discharge currents, pulse durations, and relaxation times tailored to the battery and application profile.
- Data Recording: The tool collects voltage and current data during discharge and relaxation phases, capturing OCV and internal resistance variations over SoC.
- Model Generation: Using the recorded data, the tool calculates battery parameters and generates a characteristic curve for voltage and internal resistance versus SoC, which is uploaded to the power supply for simulation.
This workflow enables creation of a digital twin of the battery, allowing developers to simulate realistic battery behavior in their systems without the risks and variability of physical batteries.
Conclusion
Creating accurate battery models using the R&S®NGM200 and R&S®NGU201 DC power supplies requires careful characterization of capacity, open circuit voltage, state of charge, and internal resistance across the battery’s operating range. The application note provides detailed methodologies for extracting these parameters via relaxation and constant current measurements, emphasizing the importance of capturing dynamic battery behavior. The Battery Modeling Tool streamlines this process, facilitating integration of custom models into the power supplies for realistic battery simulation.
By simulating battery behavior digitally, engineers can conduct safer and more reproducible tests, optimize battery selection, and accelerate development of battery-powered products. However, model accuracy depends on measurement precision and adherence to appropriate test conditions. Limitations of the power supply hardware constrain the complexity of emulated battery models to those based on voltage sources with variable series resistance, excluding models requiring reactive components. Overall, this approach offers a practical balance between model fidelity and implementation feasibility in engineering workflows.