CN214795663U - Charge and discharge control unit based on embedded STM32 - Google Patents

Charge and discharge control unit based on embedded STM32 Download PDF

Info

Publication number
CN214795663U
CN214795663U CN202121339578.1U CN202121339578U CN214795663U CN 214795663 U CN214795663 U CN 214795663U CN 202121339578 U CN202121339578 U CN 202121339578U CN 214795663 U CN214795663 U CN 214795663U
Authority
CN
China
Prior art keywords
module
circuit board
stm32
stm32 controller
electric connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202121339578.1U
Other languages
Chinese (zh)
Inventor
常加旻
刘俊峰
袁莉
李晓军
冀彦涛
贾世朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinxiang Taihang Jiaxin Electrical Technology Co ltd
Original Assignee
Xinxiang Taihang Jiaxin Electrical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinxiang Taihang Jiaxin Electrical Technology Co ltd filed Critical Xinxiang Taihang Jiaxin Electrical Technology Co ltd
Priority to CN202121339578.1U priority Critical patent/CN214795663U/en
Application granted granted Critical
Publication of CN214795663U publication Critical patent/CN214795663U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model discloses a section is charge-discharge control unit based on embedded STM32, including AD sampling module, STM32 controller, DA control module, signal conditioning module, communication module, information storage module, heat dissipation module, temperature detection module, protection module and display module, AD sampling module is electric connection through the circuit board with STM32 controller, STM32 controller is electric connection through the circuit board with DA control module, STM32 controller is electric connection through the circuit board with signal conditioning module, STM32 controller is electric connection through the circuit board with communication module, information storage module is electric connection through the circuit board with STM32 controller. The utility model discloses a STM32F103 that sets up has imbedded a plurality of control algorithm including fuzzy PID control algorithm as the treater, has also realized multitask programming, hardware interface functional circuit design etc to adopt the oversampling algorithm to operate in software, further improve and detect and control accuracy.

Description

Charge and discharge control unit based on embedded STM32
Technical Field
The utility model relates to a battery technology field especially relates to a charge-discharge control unit based on embedded STM 32.
Background
With the development of science and technology, the new energy also replaces the energy of traditional fuel step by step, and the new energy comprises many batteries, need utilize during the use to charge and discharge the module and control the battery for the battery can effectively carry out charge and discharge work.
The charging and discharging control unit of the prior art battery has low detection and control precision on the battery, so that the battery cannot exert excellent performance, does not have the function of protecting the battery, and is easy to cause overcharge and overdischarge phenomena when in use. Therefore, it is necessary to design a charge and discharge control unit based on embedded STM32 to solve the above problems.
SUMMERY OF THE UTILITY MODEL
The utility model aims at solving the shortcoming that the detection precision that exists is low among the prior art, does not have the effect of protecting the battery, and the charge-discharge control unit based on embedded STM32 that proposes.
In order to achieve the above purpose, the utility model adopts the following technical scheme: the utility model provides a charge-discharge control unit based on embedded STM32, includes AD sampling module, STM32 controller, DA control module, signal conditioning module, communication module, information storage module, heat dissipation module, temperature detection module, protection module and display module, AD sampling module is electric connection through the circuit board with STM32 controller, STM32 controller is electric connection through the circuit board with DA control module, STM32 controller is electric connection through the circuit board with signal conditioning module, STM32 controller is electric connection through the circuit board with communication module, information storage module is electric connection through the circuit board with STM32 controller, heat dissipation module is electric connection through the circuit board with DA control module.
The key concept of the technical scheme is as follows: by using the STM32F103 as a processor, a plurality of control algorithms including a fuzzy PID control algorithm are embedded, multi-task programming, hardware interface functional circuit design and the like are realized, and an oversampling algorithm is adopted in software for operation, so that the detection and control precision is further improved.
Furthermore, the temperature detection module is electrically connected with the A/D sampling module through a circuit board, and the protection module is electrically connected with the D/A control module through the circuit board.
Further, the communication module comprises a parallel communication module and a serial communication module, and the serial communication module adopts a duplex communication mode to transmit information.
Further, the heat dissipation module includes radiator and semiconductor refrigeration piece, display module and STM32 controller are electric connection through the circuit board.
The utility model has the advantages that:
1. by using the STM32F103 as a processor, a plurality of control algorithms including a fuzzy PID control algorithm are embedded, multi-task programming, hardware interface functional circuit design and the like are realized, and an oversampling algorithm is adopted in software for operation, so that the detection and control precision is further improved.
2. Through the protection module who sets up, utilize protection module can prevent that the battery from the effect of short circuit, overcharge and overdischarge for battery safe and reliable more when using has consequently realized the effect of carrying out comprehensive protection to the battery.
3. Through the temperature detection module and the heat dissipation module that set up, utilize temperature detection module to detect the temperature of battery for play heat dissipation module automatic movement through STM32 controller when the temperature of battery is too high, make to have realized carrying out radiating effect to the battery.
4. By the aid of the arranged communication module and the display module, the STM32F103 is used as a processor for scheduling and managing the communication module and the display module, functions of real-time display, parameter setting, communication and the like are achieved, and various communication modes are adopted, data transmission, communication with a human-computer interface, an upper computer and the like are achieved.
Drawings
Fig. 1 is a control flow chart of a charge and discharge control unit based on an embedded STM32 provided by the present invention;
fig. 2 is the utility model provides a protection module's circuit schematic diagram based on embedded STM 32's charge-discharge control unit.
In the figure: the system comprises a 1A/D sampling module, a 2 STM32 controller, a 3D/A control module, a 4 heat dissipation module, a 5 signal conditioning module, a 6 information storage module, a 7 communication module, an 8 temperature detection module, a 9 protection module and a 10 display module.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When a component is referred to as being "disposed on" another component, it can be directly on the other component or intervening components may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1 to 2, a charge and discharge control unit based on an embedded STM32 includes an a/D sampling module 1, an STM32 controller 2, a D/a control module 3, a signal conditioning module 5, a communication module 7, an information storage module 6, a heat dissipation module 4, a temperature detection module 8, a protection module 9 and a display module 10, where the a/D sampling module 1 is electrically connected to the STM32 controller 2 through a circuit board, the STM32 controller 2 is electrically connected to the D/a control module 3 through the circuit board, the a/D sampling module 1 is used for collecting detection signals, the D/a control module 3 is used for outputting control signals, the STM32 controller 2 is an STM32F103 in specific model, the STM32 controller 2 adopts a fuzzy PID control algorithm, an adaptive control algorithm and an oversampling algorithm to control a charge and discharge circuit of a battery, the STM32 controller 2 is electrically connected to the signal conditioning module 5 through the circuit board, STM32 controller 2 is electric connection through the circuit board with communication module 7, and communication module 7 is used for data transmission, human-computer interaction and host computer communication, and information storage module 6 is electric connection through the circuit board with STM32 controller 2, and heat dissipation module 4 is electric connection through the circuit board with DA control module 3, utilizes heat dissipation module 4 to dispel the heat to the battery.
As can be seen from the above description, the present invention has the following advantages: by using the STM32F103 as a processor, a plurality of control algorithms including a fuzzy PID control algorithm are embedded, multi-task programming, hardware interface functional circuit design and the like are realized, and an oversampling algorithm is adopted in software for operation, so that the detection and control precision is further improved.
Furthermore, the temperature detection module 8 is electrically connected with the A/D sampling module 1 through a circuit board, the protection module 9 is electrically connected with the D/A control module 3 through the circuit board, and the battery is prevented from being short-circuited, overcharged and overdischarged by the protection module 9.
Further, the communication module 7 includes a parallel communication module and a serial communication module, and the serial communication module performs information transmission in a duplex communication manner, so that the communication module 7 can communicate with an upper computer in multiple communication modes.
Further, heat dissipation module 4 includes radiator and semiconductor refrigeration piece, and display module 10 is electric connection through the circuit board with STM32 controller 2, and it is better to utilize radiator and semiconductor refrigeration piece to make the electric heat effect of battery.
By adopting the protection module 9, the battery can be prevented from short circuit, overcharge and overdischarge by using the protection module 9, so that the battery is safer and more reliable when in use, and the effect of comprehensively protecting the battery is realized.
In the following, some preferred embodiments or application examples are listed to help those skilled in the art to better understand the technical content of the present invention and the technical contribution of the present invention to the prior art:
example 1
A charge and discharge control unit based on an embedded STM32 comprises an A/D sampling module 1, an STM32 controller 2, a D/A control module 3, a signal conditioning module 5, a communication module 7, an information storage module 6, a heat dissipation module 4, a temperature detection module 8, a protection module 9 and a display module 10, wherein the A/D sampling module 1 is electrically connected with the STM32 controller 2 through a circuit board, the STM32 controller 2 is electrically connected with the D/A control module 3 through the circuit board, the A/D sampling module 1 is used for collecting detection signals, the D/A control module 3 is used for outputting control signals, the specific model of the STM32 controller 2 is STM32F103, the STM32 controller 2 adopts a fuzzy PID control algorithm, a self-adaptive control algorithm and an oversampling algorithm to control a charge and discharge circuit of a battery, the STM32 controller 2 is electrically connected with the signal conditioning module 5 through the circuit board, STM32 controller 2 is electric connection through the circuit board with communication module 7, and communication module 7 is used for data transmission, human-computer interaction and host computer communication, and information storage module 6 is electric connection through the circuit board with STM32 controller 2, and heat dissipation module 4 is electric connection through the circuit board with DA control module 3, utilizes heat dissipation module 4 to dispel the heat to the battery.
The temperature detection module 8 is electrically connected with the A/D sampling module 1 through a circuit board, the protection module 9 is electrically connected with the D/A control module 3 through the circuit board, and the protection module 9 is used for preventing the battery from having the effects of short circuit, overcharge and overdischarge; the communication module 7 comprises a parallel communication module and a serial communication module, and the serial communication module adopts a duplex communication mode to transmit information, so that the communication module 7 can communicate with an upper computer in multiple communication modes; the heat dissipation module 4 comprises a radiator and a semiconductor refrigeration piece, the display module 10 and the STM32 controller 2 are electrically connected through a circuit board, and the electric heating effect of the battery is better by utilizing the radiator and the semiconductor refrigeration piece.
The working principle is as follows: when the protection module circuit is used, two MOS tubes Q1 and Q2 in the protection module circuit are switches for charging and discharging the battery and are also used as overcurrent detection elements, when a chip detects large voltage drop at two ends of the switches, the MOSFET is cut off, and then the current flowing through the battery is closed, so that the battery protection effect is achieved, and the detection of overvoltage and undervoltage states is completed by detecting the voltage between VDD and VSS; when the charging voltage is higher than the set charging threshold, the comparator VD1 becomes low, so that the overcharge of the battery is prevented; when the discharge voltage is lower than the preset discharge threshold, the comparator VD2 will become low, VD will become low, and the DOUT pin will become low, so that the MOSFET of Q1 is in the off state, and finally the over-discharge protection function is performed.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.

Claims (4)

1. A charge and discharge control unit based on an embedded STM32 is characterized by comprising an A/D sampling module (1), an STM32 controller (2), a D/A control module (3), a signal conditioning module (5), a communication module (7), an information storage module (6), a heat dissipation module (4), a temperature detection module (8), a protection module (9) and a display module (10), wherein the A/D sampling module (1) and the STM32 controller (2) are electrically connected through a circuit board, the STM32 controller (2) and the D/A control module (3) are electrically connected through the circuit board, the STM32 controller (2) and the signal conditioning module (5) are electrically connected through the circuit board, the STM32 controller (2) and the communication module (7) are electrically connected through the circuit board, the information storage module (6) and the STM32 controller (2) are electrically connected through the circuit board, the heat dissipation module (4) is electrically connected with the D/A control module (3) through a circuit board.
2. A charge and discharge control unit based on embedded STM32 according to claim 1, wherein the temperature detection module (8) and the A/D sampling module (1) are electrically connected through a circuit board, and the protection module (9) and the D/A control module (3) are electrically connected through a circuit board.
3. A charge and discharge control unit based on embedded STM32 according to claim 1, wherein the communication module (7) comprises a parallel communication module and a serial communication module, and the serial communication module adopts a duplex communication mode for information transmission.
4. A charge and discharge control unit based on embedded STM32 according to claim 1, characterized in that, heat dissipation module (4) includes radiator and semiconductor refrigeration piece, display module (10) is electric connection through the circuit board with STM32 controller (2).
CN202121339578.1U 2021-06-17 2021-06-17 Charge and discharge control unit based on embedded STM32 Active CN214795663U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121339578.1U CN214795663U (en) 2021-06-17 2021-06-17 Charge and discharge control unit based on embedded STM32

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121339578.1U CN214795663U (en) 2021-06-17 2021-06-17 Charge and discharge control unit based on embedded STM32

Publications (1)

Publication Number Publication Date
CN214795663U true CN214795663U (en) 2021-11-19

Family

ID=78712930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121339578.1U Active CN214795663U (en) 2021-06-17 2021-06-17 Charge and discharge control unit based on embedded STM32

Country Status (1)

Country Link
CN (1) CN214795663U (en)

Similar Documents

Publication Publication Date Title
TWI427892B (en) Power supply system for power saving and method thereof
CN202190065U (en) Battery protective circuit
CN104617613A (en) Charging/ discharging protection plate of lithium battery pack and lithium battery pack protection system
WO2020224467A1 (en) Charging control circuit and electronic device
CN202616826U (en) An active balance testing device of a battery
CN104467040A (en) Vehicle-mounted uninterruptible power supply (UPS) storage battery control and management device
CN110391685B (en) Charging control method and device for intelligent door lock and intelligent door lock
KR20200038817A (en) System and method for communicating between BMS
CN106129496B (en) The battery management method and system of lithium ion battery
CN101931111B (en) Method and device for controlling heating of battery
CN202435059U (en) Lithium cell charging and discharging management circuit
KR102644606B1 (en) Charging method and power conversion device
CN113659685A (en) Small-size battery management system of simulation electric automobile battery charge-discharge management
CN214795663U (en) Charge and discharge control unit based on embedded STM32
CN106712167A (en) Charging power supply protection device
CN112994179A (en) Lithium iron phosphate battery management system applied to garden tool
CN106300459A (en) Electric vehicle lithium battery group intelligent protection device
CN204465034U (en) Lithium battery group charge and discharge protecting plate and lithium battery group protection system
CN205388998U (en) Nickel -hydrogen battery management system
CN203774783U (en) Vehicle-mounted charger rear-stage output reverse connection preventing circuit
CN203536994U (en) Vehicle-mounted uninterruptible power supply storage battery control and management device
CN206302182U (en) A kind of back-up source controls charge and discharge device using metal-oxide-semiconductor
CN211063383U (en) Protection system of multi-string lithium battery
CN204441972U (en) Multifunctional vehicle mounted charge control system
CN111884292A (en) Intelligent charger capable of automatically identifying external adapter and charging method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant