Battery charging circuit
By introducing the main control chip and charging module into the battery charging circuit, the charging current is adjusted according to the number and status of the external batteries, the problem of low charging efficiency in the prior art is solved, and more efficient battery charging is achieved.
Patent Information
- Application Number
- CN202420691735.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2034-04-07
AI Technical Summary
The existing battery charging circuit cannot adjust the supply current according to the number of batteries during charging, resulting in low battery charging efficiency.
A battery charging circuit is designed, including a main control chip, a power supply module and at least one charging module. The charging module includes a first charging unit and a second charging unit. The external battery is connected through the main control chip and the charging current is adjusted according to the number of batteries. .
Improve the charging efficiency when charging the battery, ensuring that the external battery obtains appropriate charging current according to the number of placement and status.
Smart Images

Figure CN222107618U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of charging, in particular to a battery charging circuit. Background Art
[0002] Battery refers to a cup, tank, other container or part of a composite container that contains electrolyte solution and metal electrodes to generate current, and is a device that can convert chemical energy into electrical energy. It is widely used in medical equipment, power tools, security equipment, industrial equipment, energy storage power supplies, digital products and other fields.
[0003] There are many disposable batteries on the market, such as alkaline batteries, lithium batteries, nickel-metal hydride batteries, etc. The above batteries often run out of power after a period of use. They cannot be reused after each use, which is not only expensive but also causes great pollution to the environment. Therefore, rechargeable batteries that can be charged and used multiple times have emerged and are widely used in various portable electronic devices.
[0004] In order to facilitate charging of rechargeable batteries, battery charging devices have emerged. However, due to the diversity of power supplies and rechargeable batteries, battery charging circuits need to control multiple variables such as output voltage, output current, input voltage and output current. However, existing charging circuits cannot adjust the supply current according to the number of batteries being charged, resulting in low battery charging efficiency.
[0005] In the process of implementing the present utility model, the inventors found that there are at least the following problems in the prior art:
[0006] Existing batteries have low charging efficiency. Utility Model Content
[0007] The purpose of the utility model is to provide a battery charging circuit to solve the technical problem of low battery charging efficiency in the prior art. The preferred technical solution among the many technical solutions provided by the utility model can produce many technical effects as described below.
[0008] In order to achieve the above purpose, the utility model provides the following technical solutions:
[0009] The utility model provides a battery charging circuit, comprising: a main control chip, a power supply module and at least one charging module, wherein the power supply module and the at least one charging module are both electrically connected to the main control chip;
[0010] The power supply module supplies power to the at least one charging module through the main control chip;
[0011] Each of the charging modules includes a first charging unit and a second charging unit, both of which are connected to the main control chip. The first charging unit and the second charging unit are used to connect to an external battery to charge the external battery and adjust the charging current according to the number of external batteries during charging.
[0012] Optionally, in each of the charging modules, the first charging unit is connected to the main control chip through a PRES1 pin, an SDA1 pin, an SCL1 pin and a PWM1 pin of the main control chip;
[0013] The second charging unit is connected to the main control chip through the PRES2 pin, the SDA2 pin, the SCL2 pin and the PWM2 pin of the main control chip.
[0014] Optionally, the first charging unit and the second charging unit both include an adjustment unit and a battery connection unit, and the battery connection unit is electrically connected to the adjustment unit;
[0015] The adjustment unit is used to adjust the current input by the power supply module, and adjust the charging current according to the number of the external batteries connected to the first charging unit and the second charging unit;
[0016] The battery connection unit is used to provide a charging interface for the external battery and to supply power to the external battery.
[0017] Optionally, in the first charging unit, the adjustment unit is connected to the battery connection unit via a BAT1 pin of the battery connection unit; the battery connection unit includes a charging interface J8, and the external battery is connected to the battery connection unit via the charging interface J8;
[0018] In the second charging unit, the adjustment unit is connected to the battery connection unit via the BAT2 pin of the battery connection unit; the battery connection unit includes a charging interface J7, and the external battery is connected to the battery connection unit via the charging interface J7.
[0019] Optionally, in each of the charging units, the adjustment unit includes an input terminal and a conversion chip;
[0020] The input end is electrically connected to the main control chip, and is used to receive the current provided by the power supply module; the conversion chip is electrically connected to the input end, and is used to convert the current provided by the power supply module;
[0021] The model of the conversion chip is LM5116HM.
[0022] Optionally, in each of the charging units, the adjustment unit further includes a current detection amplifier and two operational amplifiers;
[0023] The current detection amplifier and the two operational amplifiers are electrically connected to the conversion chip; the current detection amplifier is used to accurately detect and control the current; and the two operational amplifiers are used to filter and process the current.
[0024] Optionally, the model of the main control chip is STM32F103RET6.
[0025] Optionally, the battery charging circuit further includes a connection module, and the connection module is connected to the main control chip through the RX-B pin and the TX-B pin of the main control chip;
[0026] The connection module includes a connector J3, and any two charging modules are electrically connected via the connector J3 in the connection module.
[0027] Optionally, the battery charging circuit also includes a wireless transmission module, which is connected to the main control chip through the TX-PRO pin, PX-PRO pin, RX-BT pin and TX-BT pin of the main control chip, and the wireless transmission module is used to send the power and temperature of the external battery to the outside.
[0028] Optionally, the battery charging circuit further includes an update module, the update module is connected to the main control chip through the PA13 / SWDIO pin and PA14 / SWCLK pin of the main control chip, and the update module is used to update the program of the at least one charging module;
[0029] The battery charging circuit further includes a fan speed control module, and the fan speed control module is connected to the main control chip via a FAN PWM1 pin of the main control chip.
[0030] Implementing one of the above technical solutions of the utility model has the following advantages or beneficial effects:
[0031] In the utility model, the first charging unit and the second charging unit in each charging module are connected to the main control chip. Therefore, when the external batteries are placed on different charging units, the main control chip will adjust the charging current provided to the external batteries according to the number and placement status of the external batteries, so as to improve the charging efficiency when charging the external batteries. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present utility model, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0033] Figure 1 is a circuit diagram of a first charging unit in an embodiment of the utility model;
[0034] Figure 2 is a circuit diagram of the second charging unit in an embodiment of the utility model;
[0035] Figure 3 It is a schematic diagram of the main control chip in the embodiment of the utility model;
[0036] Figure 4 It is a circuit diagram of a power supply module in an embodiment of the utility model;
[0037] Figure 5 It is a circuit diagram of a connection module in an embodiment of the utility model;
[0038] Figure 6 It is a circuit diagram of a wireless transmission module in an embodiment of the utility model;
[0039] Figure 7 It is a circuit diagram of an update module in an embodiment of the utility model;
[0040] Figure 8 It is a circuit diagram of a fan speed control module in an embodiment of the utility model. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the utility model clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the utility model are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, and devices that are consistent with some aspects of the utility model disclosed as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the utility model.
[0042] In the description of the present utility model, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or position relationship based on the drawings, which is only for the convenience of describing the utility model and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present utility model can be understood according to the specific circumstances.
[0043] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below, in which only the parts related to the embodiment of the present invention are shown.
[0044] Example:
[0045] like Figure 1-4 As shown, the utility model provides a battery charging circuit, comprising: a main control chip, a power supply module and at least one charging module, the power supply module and the at least one charging module are both electrically connected to the main control chip; the power supply module supplies power to the at least one charging module through the main control chip; each charging module comprises a first charging unit and a second charging unit, the first charging unit and the second charging unit are both connected to the main control chip, the first charging unit and the second charging unit are used to connect to an external battery, charge the external battery, and adjust the charging current according to the number of external batteries during charging.
[0046] Specifically, the power supply module is connected to the main control chip, and at least one charging module is also connected to the main control chip. The power supply module can supply power to the main control chip and the charging module. In actual use, at least one charging module can receive the current provided by the power supply module. It should be noted that the model of the main control chip is STM32F103RET6.
[0047] like Figure 1-2As shown, each charging module includes a first charging unit and a second charging unit, and two external batteries can be placed on the first charging unit and the second charging unit, respectively, and charged on the first charging unit and the second charging unit. It should be noted that the first charging unit and the second charging unit are both connected to the main control chip. After the external batteries are placed on the first charging unit and the second charging unit, the main control chip will receive the signals sent by the external batteries placed on the first charging unit and the second charging unit, and the first charging unit and the second charging unit will adjust the charging current according to the placement status or the number of external batteries placed on the first charging unit and the second charging unit.
[0048] For example, if only the first charging unit is placed with an external battery, the power supply module current received by the charging module will output a larger current to the external battery placed on the first charging unit after being adjusted by the first charging unit. If external batteries are placed on both the first charging unit and the second charging unit, the current provided by the power supply module will be adjusted and distributed by the first charging unit and the second charging unit, and then output to the external batteries placed on the first charging unit and the second charging unit to power the external batteries. The first charging unit and the second charging unit of the charging module in this embodiment can provide a charging interface for the external battery, charge the external battery, and can adjust the charging current according to the number of external batteries during charging, so as to improve the charging efficiency.
[0049] As an optional implementation, in each charging module, the first charging unit is connected to the main control chip through the PRES1 pin, SDA1 pin, SCL1 pin and PWM1 pin of the main control chip; the second charging unit is connected to the main control chip through the PRES2 pin, SDA2 pin, SCL2 pin and PWM2 pin of the main control chip. This embodiment includes at least one charging module, each charging module has the same structure, and each charging module includes a first charging unit and a second charging unit. This embodiment uses one of the charging modules for detailed description.
[0050] like Figure 1-2 As shown, the first charging unit and the second charging unit both include an adjustment unit and a battery connection unit, and the battery connection unit is electrically connected to the adjustment unit; the adjustment unit is used to adjust the current input by the power supply module, and adjust the charging current according to the number of external batteries connected to the first charging unit and the second charging unit; the battery connection unit is used to provide a charging interface for the external battery and supply power to the external battery.
[0051] Specifically, the first charging unit and the second charging unit are both connected to the power supply module, and the first charging unit and the second charging unit both include an adjustment unit and a battery connection unit.
[0052] like Figure 1 As shown, in the first charging unit, the adjustment unit is connected to the main control chip through the PWM1 pin of the main control chip, and is used to adjust the charging current according to the placement of the external battery; the battery connection unit is connected to the main control chip through the PRES1 pin of the main control chip, and the PRES1 pin of the main control chip is used to detect the placement status of the external battery. After detecting the placement status of the external battery, a signal is sent to the main control chip, and the main control chip sends a signal to adjust the charging current through the PWM1 pin and the adjustment unit, and outputs it to the battery connection unit to charge the external battery; the battery connection unit is also connected to the main control chip through the SDA1 pin and the SCL1 pin of the main control chip. After the external battery is placed on the battery connection unit, the SDA1 pin and the SCL1 pin on the main control chip can obtain the battery power information, battery temperature information or other battery information of the external battery.
[0053] like Figure 2 As shown, in the second charging unit, the adjustment unit is connected to the main control chip through the PWM2 pin of the main control chip, and is used to adjust the charging current according to the placement of the external battery; the battery connection unit is connected to the main control chip through the PRES2 pin of the main control chip, and the PRES2 pin of the main control chip is used to detect the placement status of the external battery. After detecting the placement status of the external battery, a signal is sent to the main control chip, and the main control chip sends a signal to adjust the charging current through the PWM2 pin and the adjustment unit, and outputs it to the battery connection unit to charge the external battery; the battery connection unit is also connected to the main control chip through the SDA2 pin and the SCL2 pin of the main control chip. After the external battery is placed on the battery connection unit, the SDA2 pin and the SCL2 pin on the main control chip can obtain the battery power information, battery temperature information or other battery information of the external battery.
[0054] like Figure 1-2 As shown, an electrostatic diode is provided on the circuit connecting the first charging unit with the SDA1 pin and the SCL1 pin of the main control chip, and on the circuit connecting the second charging unit with the SDA2 pin and the SCL2 pin of the main control chip. The electrostatic diode is used to prevent electrostatic discharge from damaging the external battery and protect the external battery. In this embodiment, the model of the electrostatic diode is PESD3V3L1BA-N.
[0055] It should be noted that the first charging unit and the second charging unit in each charging module are connected to the main control chip. Therefore, when the external batteries are placed on different charging units, the main control chip will adjust the charging current provided to the external batteries according to the number and placement status of the external batteries to improve the charging efficiency when charging the external batteries.
[0056] As an optional implementation, Figure 1 As shown, in the first charging unit, the adjustment unit is connected to the battery connection unit through the BAT1 pin of the battery connection unit; the battery connection unit includes a charging interface J8, and the external battery is connected to the battery connection unit through the charging interface J8. Specifically, the adjustment unit and the battery connection unit are electrically connected, specifically through the BAT1 pin of the battery connection unit. After the adjustment unit adjusts the charging current, the charging current will be output to the battery connection unit through the BAT1 pin to charge the external battery placed on the battery connection unit, ensuring that the charging current is correctly delivered to the external battery. The battery connection unit also includes a charging interface J8, and the external battery can be connected to the battery connection unit through the charging interface J8, and the external battery can be charged directly on the charging interface.
[0057] like Figure 2 As shown, in the second charging unit, the adjustment unit is connected to the battery connection unit through the BAT2 pin of the battery connection unit; the battery connection unit includes a charging interface J7, and the external battery is connected to the battery connection unit through the charging interface J7. Specifically, the adjustment unit and the battery connection unit are electrically connected, specifically through the BAT2 pin of the battery connection unit. After the adjustment unit adjusts the charging current, the charging current will be output to the battery connection unit through the BAT2 pin to charge the external battery placed on the battery connection unit, ensuring that the charging current is correctly delivered to the external battery. The battery connection unit also includes a charging interface J7, and the external battery can be connected to the battery connection unit through the charging interface J7, and the external battery can be charged directly on the charging interface.
[0058] As an optional implementation, in each charging unit, the adjustment unit includes an input end and a conversion chip; the input end is electrically connected to the main control chip for receiving the current provided by the power supply module; the conversion chip is electrically connected to the input end for converting the current provided by the power supply module; the model of the conversion chip is LM5116HM.
[0059] Specifically, if Figure 1-2 As shown, the first charging unit is connected to the main control chip through ON1 of the main control chip, and the second charging unit is connected to the main control chip through ON2 of the main control chip. Since the first charging unit and the second charging unit have the same structure, this embodiment will explain the first charging unit.
[0060] like Figure 1As shown, in the first charging unit, the DC voltage input by the power supply module will be input into the adjustment module through the ON1 pin of the main control chip. After the DC voltage is input, it will be input into the conversion chip through the VIN pin of the conversion chip. The conversion chip will step down and stabilize the DC voltage. The HO pin of the conversion chip outputs a high level, and the LO pin outputs a low level.
[0061] As an optional implementation, in each charging unit, the adjustment unit further includes a current detection amplifier and two operational amplifiers; the current detection amplifier and the two operational amplifiers are electrically connected to the conversion chip; the current detection amplifier is used to accurately detect and control the current; the two operational amplifiers are used to filter and process the current. The first charging unit and the second charging unit in this embodiment have the same structure, and this embodiment uses the first charging unit as an example for explanation.
[0062] Specifically, if Figure 1 As shown, the current detection amplifier U6 includes a +1N interface, a -1N interface and a VOUT interface. The +1N interface and the -1N interface are both connected to the SW interface of the conversion chip. The function of the circuit detection amplifier is to detect the current by measuring the voltage drop of the resistor in the current path. The current detection amplifier outputs a voltage or current proportional to the measured current. The model of the current detection amplifier is TP181A1.
[0063] The two operational amplifiers include an operational amplifier U3 and an operational amplifier U4. The first interface of the operational amplifier U3 is connected to the PWM1 pin of the controller, and the OUT interface of the operational amplifier U3 is connected to the second interface of the second operational amplifier U4. The operational amplifier U3 can amplify the pulse width adjustment signal received by the PWM1 pin of the main control chip. The first pin of the operational amplifier U4 is connected to the VOUT interface of the current detection amplifier U6, and the second pin is connected to the OUT interface of the operational amplifier U3, and the OUT interface is connected to the VOUT interface of the conversion chip. The operational amplifier U4 can amplify the signal transmitted by the current detection amplifier U6. In the path between the first pin of the operational amplifier U4 and the VOUT interface of the current detection amplifier U6, the main control chip is connected to the main control chip through the IFB1 pin of the main control chip. The IFB1 pin can read the charging current in the charging circuit and feed back the read charging current to the main control chip, so as to monitor in real time whether the charging battery is charged according to the set current. In the path where the OUT interface of the operational amplifier U4 is connected to the VOUT interface of the conversion chip, the main control chip is connected via the FB1 pin of the main control chip, and the FB1 pin is used to collect the voltage of the battery.
[0064] It should be noted that the models of the operational amplifier U3 and the operational amplifier U4 are both LM321.
[0065] Similarly, the adjustment unit in the second charging unit is connected to the main control chip through the IFB2 pin and the FB2 pin of the main control chip, achieving the same technical effect as the IFB1 pin and the FB1 pin.
[0066] It should be noted that the first charging unit and the second charging unit are also connected to the main control chip through the VFB1 pin and the VFB2 pin of the main control chip, and the VFB1 pin and the VFB2 pin are respectively connected to the SW interface on the corresponding conversion chip and connected to the corresponding current detection amplifier. It should be noted that the VFB1 pin and the VFB2 pin are feedback voltage pins, and the VFB1 pin and the VFB2 pin are used to improve the performance of the amplifier to establish a fixed gain of the amplifier.
[0067] As an optional implementation, Figure 4 As shown, the power supply module is connected to the main control chip through the VMCU pin of the main control chip. The power supply module includes an input terminal, a converter and two voltage regulator chips. The AC power enters the power supply module through the input terminal, and will enter the converter through the VIN interface of the converter U7 for conversion. The converter U7 is used to adjust within a wide input voltage range to minimize the need for external surge suppression components. The voltage converted by the converter U7 will be output from the SW interface, and then pass through the voltage regulator chip U1 and the voltage regulator chip U8, and then the voltage will be output. The setting of the power supply module enables the AC power to enter the power supply module, so that the power supply module supplies power to the charging module. It should be noted that the model of the converter U7 is LM5164, the model of the voltage regulator chip U1 is PW6513B3.3V, and the model of the voltage regulator chip U8 is PW6513B5V.
[0068] As an optional implementation, Figure 5 As shown, the battery charging circuit also includes a connection module, which is connected to the main control chip through the RX-B pin and TX-B pin of the main control chip; the connection module includes a connector J3, and any two charging modules are electrically connected through the connector J3 in the connection module.
[0069] Specifically, the connection module includes a connector J3, a third interface of the connector J3 is connected to the TX-B pin of the main control chip, and a fourth interface is connected to the RX-B pin of the main control chip. For example, if the present embodiment includes two charging modules, the two charging modules will be connected through the connection module, and the two charging modules will communicate under the action of the connection module, and both communication modules are connected to the main control chip, then the two charging modules will be uniformly managed under the action of the main control chip, and the charging currents in the two charging modules will also be distributed to ensure the charging efficiency of the external battery.
[0070] As an optional implementation, Figure 6 As shown, the battery charging circuit also includes a wireless transmission module, which is connected to the main control chip through the TX-PRO pin, PX-PRO pin, RX-BT pin and TX-BT pin of the main control chip. The wireless transmission module is used to send the power and temperature of the external battery to the outside.
[0071] Specifically, the wireless transmission module includes a row seat JP1 and a socket J1. The RX-BT pin and TX-BT pin of the main control chip are connected to the third interface and the fourth interface of the socket J1. The third interface and the fourth interface of the socket J1 are also connected to the eighth interface and the sixth interface of the row seat JP1 respectively. The fifth interface and the seventh interface of the row seat JP1 are connected to the TX-PRO pin and the PX-PRO pin of the main control chip respectively. The wireless transmission module can send the power and temperature of the external battery obtained by the main control chip to the outside.
[0072] In this embodiment, the power and temperature of the external battery can be sent in two different ways. The first is Bluetooth transmission. If the wireless transmission module is connected to the main control chip through the RX-BT pin and TX-BT pin of the main control chip, the transmission mode of the wireless transmission module is the Bluetooth transmission mode. If the wireless transmission module is connected to the main control chip through the TX-PRO pin and PX-PRO pin of the main control chip, the transmission mode of the wireless transmission module is the WIFI transmission mode. One of the two different transmission methods can be selected to send the information, or both methods can be used to send the information at the same time. The setting of the wireless transmission module can send the power and temperature of the external battery in the charging process to the outside in real time, which can ensure the safety of the external battery during charging.
[0073] It should be noted that the model of the seat row JP1 in this embodiment is HEADER 5X2.
[0074] As an optional implementation, Figure 7 As shown, the battery charging circuit also includes an update module, which is connected to the main control chip through the PA13 / SWDIO pin and PA14 / SWCLK pin of the main control chip, and the update module is used to update the program of at least one charging module. Specifically, the update module includes a resistor R38 and a resistor R39, one end of the resistor R38 is connected to the PA13 / SWDIO pin of the main control chip and the main control chip, and the other end is connected to the second interface of the socket J5; one end of the resistor R39 is connected to the PA14 / SWCLK pin of the main control chip and the main control chip, and the other end is connected to the third interface of the socket J5. The update module is used to update the program of the charging module, and can adjust the circuit according to the actual charging situation, which is diverse.
[0075] like Figure 8As shown, the battery charging circuit also includes a fan speed control module, which is connected to the main control chip through the FAN PWM1 pin of the main control chip. Specifically, the circuit also includes a fan speed control module for controlling the fan speed, one end of the fan speed control module is connected to the main control chip through the FAN PWM1 pin of the main control chip, and the other end is connected to the fan through the socket J2.
[0076] It should be noted that the fan speed control module includes a transistor Q1 and a diode D4, both of which are connected to the fourth interface of the socket J2, and their function is to switch the speed of the fan as a contactless switch. The model of the transistor Q1 is BCX56, and the model of the diode D4 is SS210. During the actual operation of the circuit, the power supply module and the charging module will generate heat, and the fan can discharge the heat generated by the power supply module and the charging module. The fan speed can also be adjusted through the fan speed control module according to the actual situation to achieve a better heat dissipation effect.
[0077] The embodiment is only a special case and does not indicate that the present invention is implemented in such a way.
[0078] The above description is only the preferred embodiment of the present invention. Those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the guidance of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.
Claims
1. A battery charging circuit, characterized in that: include: A main control chip, a power supply module and at least one charging module, wherein the power supply module and the at least one charging module are both electrically connected to the main control chip; The power supply module supplies power to the at least one charging module through the main control chip; Each of the charging modules includes a first charging unit and a second charging unit, both of which are connected to the main control chip. The first charging unit and the second charging unit are used to connect to an external battery to charge the external battery and adjust the charging current according to the number of external batteries during charging.
2. A battery charging circuit according to claim 1, characterized in that: In each of the charging modules, the first charging unit is connected to the main control chip through the PRES1 pin, the SDA1 pin, the SCL1 pin and the PWM1 pin of the main control chip; The second charging unit is connected to the main control chip through the PRES2 pin, the SDA2 pin, the SCL2 pin and the PWM2 pin of the main control chip.
3. A battery charging circuit according to claim 1, characterized in that: The first charging unit and the second charging unit each include an adjustment unit and a battery connection unit, and the battery connection unit is electrically connected to the adjustment unit; The adjustment unit is used to adjust the current input by the power supply module, and adjust the charging current according to the number of the external batteries connected to the first charging unit and the second charging unit; The battery connection unit is used to provide a charging interface for the external battery and to supply power to the external battery.
4. A battery charging circuit according to claim 3, characterized in that: In the first charging unit, the adjustment unit is connected to the battery connection unit through the BAT1 pin of the battery connection unit; the battery connection unit includes a charging interface J8, and the external battery is connected to the battery connection unit through the charging interface J8; In the second charging unit, the adjustment unit is connected to the battery connection unit via the BAT2 pin of the battery connection unit; the battery connection unit includes a charging interface J7, and the external battery is connected to the battery connection unit via the charging interface J7.
5. A battery charging circuit according to claim 3, characterized in that: In each of the charging units, the adjustment unit includes an input terminal and a conversion chip; The input end is electrically connected to the main control chip, and is used to receive the current provided by the power supply module; the conversion chip is electrically connected to the input end, and is used to convert the current provided by the power supply module; The model of the conversion chip is LM5116HM.
6. A battery charging circuit according to claim 5, characterized in that: In each of the charging units, the adjustment unit further includes a current detection amplifier and two operational amplifiers; The current detection amplifier and the two operational amplifiers are electrically connected to the conversion chip; the current detection amplifier is used to accurately detect and control the current; and the two operational amplifiers are used to filter and process the current.
7. A battery charging circuit according to claim 1, characterized in that: The model of the main control chip is STM32F103RET6.
8. A battery charging circuit according to claim 1, characterized in that: The battery charging circuit also includes a connection module, and the connection module is connected to the main control chip through the RX-B pin and the TX-B pin of the main control chip; The connection module includes a connector J3, and any two charging modules are electrically connected via the connector J3 in the connection module.
9. A battery charging circuit according to claim 1, characterized in that: The battery charging circuit also includes a wireless transmission module, which is connected to the main control chip through the TX-PRO pin, PX-PRO pin, RX-BT pin and TX-BT pin of the main control chip, and is used to send the power and temperature of the external battery to the outside.
10. A battery charging circuit according to claim 1, characterized in that: The battery charging circuit further includes an update module, which is connected to the main control chip via the PA13 / SWDIO pin and the PA14 / SWCLK pin of the main control chip, and is used to update the program of the at least one charging module; The battery charging circuit further includes a fan speed control module, and the fan speed control module is connected to the main control chip via a FAN PWM1 pin of the main control chip.
