Automatic recharging device based on STM32 chip

Through the STM32F103 microcontroller and intelligent charging strategy, the problem of inefficiency of traditional charging devices is solved, efficient and safe battery charging management is achieved, and battery life is extended.

CN120474144APending Publication Date: 2025-08-12JIANGSU HUYUAN IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510651130.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

Traditional charging devices lack intelligent management, resulting in low charging efficiency and shortened battery life, and cannot dynamically adjust according to the specific needs of the device.

Method used

The STM32F103 series microcontroller is adopted, combined with the power management module, I2C and UART interfaces, to realize intelligent charging management, including dynamic charging strategies and security protection algorithms, and use ADC to collect data and improve measurement accuracy through filtering algorithms.

Benefits of technology

It significantly improves charging efficiency, extends battery life, avoids the risks of overcharging and overdischarge, and achieves a safe and reliable charging process.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

According to the automatic recharging device based on the STM32 chip, voltage regulation, overcurrent protection and a temperature sensor are integrated through the STM32F103 microcontroller, and efficient power management is achieved. The device adopts I2C and UART interfaces to connect an external sensor and a communication module, and supports data acquisition and remote control. In the aspect of software, constant-current, constant-voltage and trickle charging modes are dynamically switched based on the state of the battery, voltage and current are monitored in real time by using an ADC, and the measurement precision is improved in combination with a filtering algorithm. And over-charging, over-discharging and short-circuit protection is realized, and the charging process is safe and reliable. The system can automatically detect the battery state and adjust the charging strategy, and can automatically stop and give an alarm when the battery is fully charged or abnormal. Experiments show that the device significantly improves the charging efficiency, prolongs the service life of the battery, is suitable for the fields of smart home, mobile robots, electric tools and the like, provides an intelligent and reliable charging management scheme, and has a wide application prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of embedded systems and power management, and in particular to an intelligent automatic recharging device implemented by using an STM32 microcontroller. Background Art

[0002] With the increasing prevalence of electronic devices, automatic charging devices are becoming increasingly important in smart homes, mobile devices, and industrial applications. Traditional charging devices often rely on simple circuit designs and lack intelligent management, which can easily lead to low charging efficiency and shortened battery life. Existing automatic charging devices have limited intelligence and cannot dynamically adjust to the specific needs of the device. Therefore, the development of an efficient and intelligent automatic charging device is particularly important. Summary of the Invention

[0003] This invention provides an automatic recharging device based on the STM32 chip, which implements intelligent charging management through an embedded system to improve charging efficiency and battery life. The specific steps are as follows: 1. Hardware Design STM32 chip selection: Select the STM32F103 series microcontroller because of its high performance, low power consumption and rich peripheral interfaces.

[0004] Power Management Module: Design a power management circuit including voltage regulator, overcurrent protection, and temperature sensor.

[0005] Interface design: Connect external sensors and communication modules through I2C and UART interfaces to achieve data acquisition and remote control.

[0006] 2. Software Algorithm Charging strategy: Implement dynamic charging strategy based on battery status, including constant current charging, constant voltage charging and trickle charging modes.

[0007] Condition monitoring: Use ADC to collect battery voltage and current data, and improve measurement accuracy through filtering algorithm.

[0008] Safety protection: Implement overcharge, over-discharge and short-circuit protection algorithms to ensure the safety of the charging process.

[0009] 3. Workflow Initialization: After the system is powered on, initialize the STM32 chip and peripheral devices.

[0010] Status detection: monitor battery status in real time and adjust charging strategy based on voltage and current data.

[0011] Charging control: Control charging current and voltage according to the set charging strategy.

[0012] Termination condition: When the battery is fully charged or an abnormal condition is detected, charging stops and an alarm is issued.

[0013] Experimental results and applications Experimental setup In the experiment, the method of the present invention was verified using various types of batteries, and the charging efficiency and life of the batteries before and after the use of the intelligent charging strategy were compared.

[0014] Result Analysis Experimental results show that the automatic recharging device based on the STM32 chip significantly improves charging efficiency and extends battery life. Compared with traditional charging devices, this device can dynamically adjust the charging strategy according to the battery status, avoiding the risks of overcharging and over-discharging.

Claims

1. An automatic recharging device based on STM32 chip, characterized in that: The device is used to automatically detect the power status of the device and automatically charge it when the power level is lower than a preset threshold. It includes the following components: a) STM32 microcontroller module, used to control the operation of the entire device and perform functions such as power detection, charging control and communication; b) a power detection module, connected to the STM32 microcontroller, for monitoring the battery power of the device in real time and transmitting the power information to the microcontroller; c) a charging control module, connected to the STM32 microcontroller, for controlling the charging process according to instructions from the microcontroller, including starting and stopping charging; d) Communication interface module, used for data communication with external devices to facilitate remote monitoring and control of the charging process; e) Power management module, used to manage power input and output to ensure the safety and stability of the charging process.

2. The automatic refilling device according to claim 1, characterized in that: The power detection module includes: a) Voltage sensor, used to measure the real-time voltage of the battery; b) Current sensor, used to measure the charging current in order to calculate the remaining battery capacity.

3. The automatic refilling device according to claim 1, characterized in that: The charging control module includes: a) PWM control circuit, used to adjust the charging current and voltage to achieve constant current and constant voltage charging; b) Relay switch, used to cut off the power supply after charging is completed to prevent overcharging.

4. The automatic refilling device according to claim 1, characterized in that: The communication interface module supports multiple communication protocols, including but not limited to UART, I2C and SPI, to achieve compatibility with different types of external devices.

5. The automatic refilling device according to claim 1, characterized in that: The power management module includes: a) Overvoltage protection circuit, used to prevent damage to the device caused by excessive input voltage; b) Overcurrent protection circuit, used to prevent excessive charging current from damaging the battery.

6. The automatic refilling device according to claim 1, characterized in that: Further including: a) Abnormality detection and processing module, which is used to detect abnormal situations that may occur during the charging process and provide an alarm signal or automatically stop charging when an abnormality occurs.

7. The automatic refilling device according to claim 1, characterized in that: The STM32 microcontroller module implements the following functions through embedded software: a) Determine the power status: determine whether charging is required based on the data provided by the power detection module; b) Charging strategy management: select the appropriate charging strategy based on battery type and status; c) Data recording and analysis: recording key data during the charging process and performing analysis to optimize charging efficiency.