Device for controlling parameters of accumulator batteries and the corresponding direct current network

: pp. 89 - 95
Lviv Polytechnic National University, Computer Engineering Department

Mobile devices for information, control and telemetry systems are powered by mobile generators through AC to DC converters, by batteries or, if possible, directly by solar panels. Solar panels typically work in a system that involves the usage of batteries to keep the systems running when the solar panels are not working or not providing enough power. The batteries can be recharged from the panels themselves if the solar panels have sufficient power or from an external direct current source. Also, for some mobile devices, power systems are used only with batteries, which are recharged from generators or, if possible, from standard electrical networks. All these options of power supply systems for mobile devices require operational control of battery parameters and corresponding direct current networks.

The paper proposes a device for monitoring the following parameters: voltage of the direct current network from which the mobile device is powered or the batteries are charged; battery charge current control; control of insulation resistance of direct current circuits; control of the voltage of chargers; monitoring the status of chargers; protection of batteries from deep discharge; control of the state of switching nodes.

The device is implemented as a two-processor system based on STM32F103 microcontrollers.

A non-contact sensor of the LEM LA 100-P type is used to measure the direct current, which generates an analog signal proportional to the value of the direct current. This signal is passed to a 16- bit analog-to-digital converter. Given that these microcontrollers have integrated 12-bit analog-to- digital converters, an external 16-bit analog-to-digital converter of the ADS1115 type is used to ensure the necessary accuracy of direct current and voltage measurement, which transmits information to the basic processor via the I2C interface. The basic processor implements the main operating modes of the device, and the local processor provides information exchange with the general mobile power supply system through the RS-485 interface.

The device is equipped with an indication system based on an LCD indicator of the VS1602A type and functionally programmable single LED indicators, a local keyboard for selecting control modes, a USB port for connecting additional modules and a SWD port for programming the Flash memory of microcontrollers and debugging programs in real time. During operation, parameters of non-standard events are stored in the device's non-volatile memory.

The software of the basic and local processors has been developed, which ensures the functioning of the device in basic modes and performs periodic self-diagnosis of the device. The obtained results can be used in scientific research and in the design of real automated power systems for mobile information systems.

  1. Shcherban A. P. Imitatsiine modeliuvannia skhem kontroliu protsesu rozriadu akumuliatora / A. P. Shcherban, V. Yu. Larin // Tekhnolohichnyi audyt ta rezervy vyrobnytstva. - 2016. - № 6(1). - S. 21-26. DOI: 10.15587/2312-8372.2016.86089.                  [Elektronnyi                      resurs].                       -URL:   5.
  2. IEC EN 61951-1:2017/A1:2023(Amendment)
  3. Secondary cells and batteries containing alkaline or other non-acid electrolytes - Secondary sealed cells  and  batteries  for  portable  applications  -  Part  1:  Nickel-cadmium,  [Elektronnyi  resurs].  -URL: a1-2023. (accessed: 5 October 2023) DSTU EN IEC 62040-1:2020 ― Systemy bezperebiinoho zhyvlennia.
  4. Renewable Power Generation Costs in 2019. /publications/2020/Jun/Renewable-Power-Costs-in- 2019. ISBN: 978-92-9260-244-4.
  5. Perovskite solar cells set new world record for power conversion efficiency. By National University of Singapore, June 22, 2023. [Elektronnyi resurs]. -URL:  (accessed:  5  October 2023)
  6. Photovoltaic Technologies Beyond the Horizon: Optical Rectenna Solar Cell
  7. Final Report,1 August 2001–30 September 2002, B. Berland ITN Energy Systems, Inc. Littleton,  Colorado.  [Elektronnyi  resurs].  -URL: (accessed: 5 October 2023)
  8. Fotoenerhetyka : navch. posibnyk / Yu. P. Kolontaievskyi, D. V. Tuhai, S. V. Kotelevets ; Kharkiv. nats. un-t misk. hosp-va im. O. M. Beketova. – Kharkiv : KhNUMH im. O. M. Beketova, 2019. – 160 s.
  9. USER MANUAL OF MPPT SOLAR CHARGE CONTROLLER [Elektronnyi resurs]. -URL: 5 October 2023)
  10. stm32f103. [Elektronnyi resurs] . -URL: stm32f103-t=products-page=1  (accessed: 5 October 2023) ADS111x Ultra-Small, Low-Power, I2C-Compatible, 860-SPS, 16-Bit ADCs. [Elektronnyi resurs].-URL:, (accessed: 5 October 2023)
  11. LEM  LA  100-P,  [Elektronnyi  resurs].  -URL:, (accessed: 5 October 2023)