Multi-source parallel power supply control method and battery management system
By using a microprocessor (MCU) to detect and prioritize external power sources and adjust the power supply ratio according to the battery module status, the stability and reliability issues of the battery management system in the multi-source parallel power supply control method are solved, enabling the AFE module to operate normally and improving energy utilization efficiency.
Patent Information
- Application Number
- CN202411152611.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-19
AI Technical Summary
Existing multi-source parallel power supply control methods cannot rationally select the power supply when multiple external power sources are connected to the battery management system at the same time, and cannot adjust the power supply ratio according to the battery module's charge value and charge/discharge status. This results in insufficient stability and reliability of the battery management system, especially for new battery modules with lower voltages such as zinc-based battery modules, which cannot meet the power supply voltage requirements of the AFE module.
The microprocessor (MCU) detects multiple external power sources, determines power supply priorities, and dynamically adjusts the power supply ratio between the external power source and the battery module to the AFE module based on the battery module's charge level and charging/discharging status. This optimizes the power supply strategy and ensures the AFE module functions properly.
The stability and reliability of the battery management system were improved, the power supply strategy of the AFE module was optimized, energy utilization efficiency was enhanced, and the normal operation of the AFE module was ensured.
Smart Images

Figure CN118983918A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply control, and in particular to a control method for multi-source parallel power supply and a battery management system. Background Art
[0002] Currently, the analog front-end AFE module can collect 4-24 voltage strings, and its power supply voltage is required to be above 4.5V. However, for some new battery modules other than lithium battery modules, such as zinc-based battery modules, the battery module voltage is relatively low and cannot meet the power supply voltage of the AFE module. This will cause the battery management system to fail and fail to provide protection for the battery.
[0003] The current multi-source parallel power supply control method mainly controls the external power supply and the battery module to jointly power the AFE module. It is impossible to reasonably determine one of the external power supplies to power the AFE module when multiple external power supplies are simultaneously connected to the battery management system, and it is impossible to timely adjust the power supply ratio of the external power supply and the battery module to the AFE module according to the power value and charge and discharge status of the battery module, making it difficult to improve the stability and reliability of the battery management system. Summary of the invention
[0004] The present application provides a control method for multi-source parallel power supply and a battery management system. A microprocessor MCU detects that multiple external power supplies are connected to the battery management system, and determines the power supply priority of each external power supply, thereby determining the first external power supply for powering the AFE module according to the power supply priority; then, the power supply ratio of the first external power supply and the battery module for powering the AFE module is adjusted in time according to the power value and the charge and discharge status of the battery module to ensure that the AFE module can work normally, and realizes dynamic adjustment of the power supply ratio of the external power supply and the battery module to the AFE module according to the real-time status of the battery module, optimizes the power supply strategy of the AFE module, and is conducive to improving the stability and safety of the battery management system.
[0005] In a first aspect, an embodiment of the present application provides a control method for multi-source parallel power supply, which is applied to a microprocessor MCU of a battery management system, wherein the battery management system further includes a battery module, an external power supply module and an analog front-end AFE module, and the method includes the following steps:
[0006] Detecting that multiple external power sources are connected to multiple power interfaces in the external power supply module;
[0007] Determining a power supply priority of each of the multiple external power supplies; and determining a first external power supply for supplying power to the AFE module according to the multiple power supply priorities of the multiple external power supplies;
[0008] Acquire the power value and charge and discharge status of the battery module in real time;
[0009] The supply ratio of the first supply voltage and the second supply voltage is adjusted according to the power value and the charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, the first supply voltage is the supply voltage that the first external power supply needs to provide to the AFE module, and the second supply voltage is the supply voltage provided by the battery module to the AFE module.
[0010] In a second aspect, an embodiment of the present application provides a multi-source parallel power supply battery management system, the battery management system includes a main controller, a battery module, an external power supply module, an analog front-end AFE module, a microprocessor MCU, a power conversion module and a communication module; wherein,
[0011] One end of the AFE module is electrically connected to the battery module, and the other end of the AFE module is electrically connected to the power conversion module;
[0012] The power conversion module is electrically connected to the microprocessor MCU and the external power supply module respectively, and the external power supply module includes a plurality of power supply interfaces for simultaneously connecting to a plurality of external power supplies; and the power conversion module is electrically connected to the battery module;
[0013] The communication module is respectively connected to the microprocessor MCU and the AFE module for communication;
[0014] The microprocessor MCU is used to execute the steps of the method described in the first aspect of the embodiment of the present application.
[0015] It can be seen that in the embodiment of the present application, the microprocessor MCU of the battery management system detects that multiple external power supplies are connected to multiple power supply interfaces in the external power supply module; then, the power supply priority of each external power supply in the multiple external power supplies is determined; and the first external power supply for powering the AFE module is determined according to the multiple power supply priorities of the multiple external power supplies; then, the power value and charge and discharge status of the battery module are obtained in real time; finally, the power supply ratio of the first power supply voltage and the second power supply voltage is adjusted according to the power value and charge and discharge status of the battery module to adapt to the working voltage requirements of the AFE module, the first power supply voltage is the power supply voltage that the first external power supply needs to provide to the AFE module, and the second power supply voltage is the power supply voltage provided by the battery module to the AFE module. Since the present application determines the first external power supply for powering the AFE module according to the power supply priority, and dynamically adjusts the power supply ratio of the first external power supply and the battery module for the AFE module according to the power value and charge and discharge status of the battery module, compared with the existing solution that mainly controls the external power supply and the battery module to jointly power the AFE module, it can optimize the power supply strategy of the AFE module, improve energy utilization efficiency, and improve the stability and reliability of the battery management system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a flowchart of the steps of a control method for multi-source parallel power supply provided by an embodiment of the present application;
[0018] Figure 2 It is a structural schematic diagram of a battery management system provided in an embodiment of the present application;
[0019] Figure 3 It is a schematic diagram of the circuit structure of an isolation voltage stabilization unit provided in an embodiment of the present application;
[0020] Figure 4 This is an overall flow chart of a control method for multi-source parallel power supply provided by an embodiment of the present application;
[0021] Figure 5 This is a flowchart of a method for determining a first external power source provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0024] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0025] At present, the existing microprocessor MCU only controls the external power supply and the battery module to jointly power the AFE module to meet the power supply voltage of the AFE module so that the AFE module can work normally. It is unable to reasonably select one of the external power supplies to power the AFE module when the battery management system is connected to multiple external power supplies, and is unable to intelligently adjust the ratio of the external power supply and the battery module to power the AFE module according to the power value and charge and discharge status of the battery module in a timely manner, making it difficult to improve the stability and reliability of the battery management system.
[0026] In view of the above problems, an embodiment of the present application provides a control method for multi-source parallel power supply and a battery management system. The embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0027] See also Figure 1 , Figure 1 1 is a flowchart of a multi-source parallel power supply control method provided in an embodiment of the present application, which is applied to a microprocessor MCU of a battery management system, wherein the battery management system further includes a battery module, an external power supply module and an analog front-end AFE module, such as Figure 1 As shown, the method comprises the following steps:
[0028] Step S110: Detect that multiple external power sources are connected to multiple power interfaces in the external power supply module.
[0029] Among them, the external power supply module includes multiple power supply interfaces for simultaneously connecting to multiple external power supplies. The multiple external power supplies can belong to different power supply categories, including AC power supply, DC power supply, photovoltaic power supply, solar power supply and fuel cell.
[0030] In a possible embodiment, the microprocessor MCU detects that multiple external power supplies are connected to multiple power interfaces in the external power supply module, which can be achieved through a power management integrated circuit PMIC and an external circuit design. Specifically, when the external power supply is connected, the PMIC will detect the change of the power rails in the multiple power interfaces and trigger a corresponding response, such as generating a reset signal, which is then sent to the microprocessor MCU to perform appropriate processing, such as switching to an external power supply mode or performing a data protection operation.
[0031] In a possible embodiment, the microprocessor MCU detects that multiple external power supplies are connected to multiple power interfaces in the external power supply module, and can also detect and control the power status through the analog-to-digital converter ADC function in conjunction with a software algorithm.
[0032] For example, multiple GPIO pins can be used to connect multiple voltage divider circuits for detecting voltage. When multiple external power sources are connected, the voltages of multiple pins will change. By reading the voltage values of multiple pins and comparing them with preset thresholds, the microprocessor MCU can determine whether there are multiple external power sources currently supplying power and make corresponding adjustments.
[0033] It can be seen that in this embodiment, the microprocessor MCU can monitor multiple external power supplies connected to multiple power interfaces of the external power supply module through the power management integrated circuit PMIC or the analog-to-digital converter ADC, so as to further determine the power supply priority of the multiple external power supplies, and determine the first external power supply for powering the AFE module according to the power supply priority, thereby realizing dynamic monitoring of the access status of the external power supply, and further generating a power supply strategy according to the number of connected external power supplies, which is conducive to optimizing the power supply strategy of the entire battery management system and improving the battery life of the battery management system.
[0034] Step S120, determining a power supply priority of each of the multiple external power supplies; and determining a first external power supply for supplying power to the AFE module according to the multiple power supply priorities of the multiple external power supplies.
[0035] In a possible embodiment, determining the power supply priority of each of the multiple external power sources includes:
[0036] Acquire a preset first mapping relationship, where the first mapping relationship is used to characterize a correspondence between a power source category and the power supply priority, where the power source category includes an AC power source, a DC power source, a photovoltaic power source, a solar power source, and a fuel cell;
[0037] Obtaining a power source category of each of the multiple external power sources;
[0038] The power supply priority of each external power source is determined according to the power source category of each external power source and the first mapping relationship.
[0039] The corresponding relationship between the power source category and the power supply priority may be preset. When setting the power supply priority, the sustainability, environmental friendliness, cost-effectiveness and complexity of technical implementation of the power source are mainly considered.
[0040] For example, photovoltaic power sources and solar power sources are both renewable energy sources, and their power supply priority should be at the front. However, photovoltaic power sources and solar power sources are greatly affected by the environment, seasons and climate, and their power supply priority needs to be adjusted according to actual conditions. Also, fuel cells have a higher energy density, are suitable as long-term power supply equipment, and are more environmentally friendly. Therefore, they have a higher power supply priority in certain application scenarios. Also, AC power sources have higher stability and reliability, and are suitable as basic power supply facilities. Also, DC power supply equipment has strong compatibility, higher transmission efficiency, and can provide good electrical isolation. In corresponding circumstances, the DC power supply priority can be arranged at the front.
[0041] Among them, the external power supply module includes multiple power supply interfaces, and the multiple power supply interfaces include a photovoltaic power supply interface, a solar power supply interface, a fuel cell interface, a DC power supply interface and an AC power supply interface. The microprocessor MCU can determine one or more of the power supply interfaces connected to the external power supply through the above-mentioned power management integrated circuit PMIC or analog-to-digital converter ADC, thereby determining the corresponding external power supply category according to the one or more power supply interfaces.
[0042] In a possible embodiment, the method further comprises: determining, according to multiple power supply priorities of the multiple external power supplies, a first external power supply for supplying power to the AFE module;
[0043] Acquire the power value of each external power source in real time;
[0044] If it is detected that the power value of the first external power supply does not meet the first preset condition, the second external power supply is determined according to the power supply priority, and the second external power supply is determined as the first external power supply, the first preset condition means that the power value of the first external power supply is not less than a third preset power threshold, and the power supply priority of the second external power supply is lower than the power supply priority of the first external power supply;
[0045] It is detected that the second external power source meets the first preset condition.
[0046] In a possible embodiment, the real-time acquisition of the power value of each external power supply may be acquired through an external power supply voltage detection circuit, including:
[0047] The external power supply voltage is reduced to a range that can be handled by the analog-to-digital converter ADC of the microprocessor MCU through a voltage divider circuit;
[0048] The voltage value after voltage division is read in real time by the analog-to-digital converter ADC;
[0049] Respond to the ADC conversion completion event through the interrupt service routine ISR, or check the conversion status through polling; read the ADC conversion result and convert it to the actual external power supply voltage value;
[0050] A voltage-capacity curve of an external power source is obtained, and a measured voltage value of the external power source is converted into a percentage of remaining power or a mAh value according to the voltage-capacity curve.
[0051] The reading of the ADC conversion result and converting it into an actual external power supply voltage value specifically includes multiplying the ADC value by the voltage divider ratio of the voltage divider and taking into account any calibration or temperature compensation.
[0052] The voltage-capacity curve of the external power source may be obtained by simulation based on historical external power supply data and stored in the microprocessor MCU.
[0053] In a possible embodiment, the method further includes:
[0054] Acquire the access status of each external power source in real time;
[0055] If it is detected that the access state of the first external power source is in an abnormal state, the second external power source is determined as the first external power source, and the abnormal state includes abnormal disconnection, abnormal voltage fluctuation, and power supply overheating;
[0056] It is detected that the second external power source does not have the abnormal state.
[0057] Among them, the real-time acquisition of the access status of each external power supply can determine whether the external power supply is abnormally disconnected through the GPIO pin and the interrupt service routine ISR; and measure the voltage level through the analog-to-digital converter ADC to detect whether the voltage fluctuates abnormally; and detect whether the external power supply is overheated through the temperature sensor.
[0058] Specifically, the determination of whether the external power supply is abnormally disconnected through the GPIO pin and the interrupt service routine ISR can be to configure the general input and output GPIO pin of the microprocessor MCU as the power connection status input, and the GPIO pin can be configured as an interrupt mode, and an interrupt can be triggered when the external power supply is connected or disconnected; and, by writing an interrupt service routine to respond to changes in the power status, when the external power supply is connected or disconnected, the corresponding GPIO pin status changes, triggering an interrupt, and the ISR will be called.
[0059] Specifically, the detecting whether the external power supply is overheated by a temperature sensor may be to set the temperature sensor at the external power supply, including:
[0060] The temperature of the external power supply is collected in real time by the temperature sensor;
[0061] Acquire the temperature value from the temperature sensor through the analog-to-digital converter ADC;
[0062] Convert the analog-to-digital converter ADC reading into the actual temperature value;
[0063] When it is detected that the actual temperature value is greater than a preset temperature threshold, it is determined that the external power supply is overheated.
[0064] Exemplarily, the power conversion module is connected to three external power supplies, namely, a photovoltaic power supply, an AC power supply and a DC power supply. According to a first direct mapping relationship between a preset power supply category and a power supply priority, it can be determined that the power supply priority from high to low is photovoltaic power supply, DC power supply and AC power supply; the microprocessor MCU uses the photovoltaic power supply as the first external power supply. When it is detected that the power value of the first external power supply does not meet the first preset condition or the access status has the abnormal state, the DC power supply is determined as the second external power supply. When it is detected that the second external power supply meets the first preset condition and no abnormal state occurs, the DC power supply is used as the first external power supply to power the AFE module.
[0065] It can be seen that in this embodiment, the microprocessor MCU can determine the power supply priority of multiple external power supplies according to the first mapping relationship between the preset power supply category and the power supply priority, and determine the first external power supply to power the AFE module according to the power supply priority, and consider switching other external power supplies as the first external power supply to continue to power the AFE module when the first external power supply is low on power or in an abnormal state, which is beneficial to ensuring the normal operation of the AFE module, optimizing the power supply strategy of the external power supply to the AFE module, and improving the power supply efficiency.
[0066] Step S130, obtaining the power value and charge / discharge status of the battery module in real time.
[0067] Among them, the method for the microprocessor MCU to obtain the power value of the battery module mainly includes using the analog-to-digital converter ADC to directly monitor the voltage for estimation and using the coulomb counting method for comprehensive estimation.
[0068] In a possible embodiment, the use of an analog-to-digital converter ADC to directly monitor the voltage to estimate the charge value of the battery module includes: connecting the voltage output end of the battery module to the pin of the analog-to-digital converter ADC to collect the output voltage value of the battery module; calling a stored voltage-to-charge conversion model; and obtaining the charge value of the battery module according to the output voltage value and the voltage-to-charge conversion model.
[0069] Among them, the voltage-to-power conversion model can be a conversion model between the output voltage of the battery module and the remaining power value determined according to parameters such as the output voltage, current, and temperature of the battery module in historical power supply events, and the conversion model is stored in the microprocessor MCU.
[0070] In a possible embodiment, the method of comprehensively estimating the battery module power value using the coulomb counting method includes:
[0071] Acquire a plurality of voltage differences across a plurality of detection resistors, wherein the detection resistors are located on a charging path and a discharging path of the battery module;
[0072] determining a current value according to a ratio of the voltage difference to a resistance value of the detection resistor;
[0073] Determining a total amount of charge flowing through the battery module according to the current value;
[0074] The remaining power value of the battery module is determined according to the total charge and the initial power value of the battery module.
[0075] The total charge flowing through the battery module is determined according to the current value, and the calculation formula is:
[0076]
[0077] Wherein, I(t) is the current function at time t, and t1 to t2 is the time period.
[0078] Among them, the method for the microprocessor MCU to determine whether the battery module is in a charging state or a discharging state mainly includes monitoring the current direction and voltage changes.
[0079] In a possible embodiment, judging the charge and discharge state of the battery module based on the current monitoring state includes:
[0080] Real-time monitoring of the direction of current through a shunt resistor or a Hall sensor, wherein the shunt resistor or the Hall sensor is installed on the charge and discharge path of the battery module;
[0081] The charge and discharge state of the battery module is determined according to the direction of the current.
[0082] Wherein, the charge and discharge state of the battery module is determined according to the direction of the current, including: when the current flows from the charger to the battery, the battery is in a charging state; conversely, when the current flows out of the battery, the battery is in a discharging state.
[0083] In another possible embodiment, judging the charge and discharge state of the battery module based on the state of voltage change includes:
[0084] The voltage trend of the battery module is continuously monitored through the built-in analog-to-digital converter (ADC);
[0085] The charge and discharge state of the battery module is determined according to the voltage variation trend.
[0086] Wherein, determining the charge and discharge state of the battery module according to the voltage change trend includes: when it is detected that the voltage value of the battery module rises, determining that the battery module is in a charging state; and when it is detected that the voltage value of the battery module drops, determining that the battery module is in a discharging state.
[0087] It can be seen that in this embodiment, the microprocessor MCU can obtain the power value and charge and discharge status of the battery module in real time, so that the power supply strategy of the external power supply and the battery module for the AFE module can be intelligently adjusted according to the power value and charge and discharge status, which is beneficial to improve the battery life of the battery module and improve the stability of the battery management system.
[0088] Step S140, adjusting the power supply ratio of the first power supply voltage and the second power supply voltage according to the power value and the charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, the first power supply voltage is the power supply voltage that the first external power supply needs to provide to the AFE module, and the second power supply voltage is the power supply voltage provided by the battery module to the AFE module.
[0089] In a possible embodiment, adjusting the power supply ratio of the first power supply voltage to the second power supply voltage according to the power value and the charge and discharge state of the battery module includes:
[0090] When it is detected that the power value of the battery module is less than a first preset power threshold value and / or the battery module is in a charging state, controlling the first supply voltage as the supply voltage of the AFE module; and,
[0091] When it is detected that the power value of the battery module is greater than a second preset power threshold and the battery module is in a discharging state, controlling the second power supply voltage as the power supply voltage of the AFE module; and,
[0092] When it is detected that the power value of the battery module is greater than the first preset power threshold and less than the second preset power threshold, and the battery module is in the discharge state, the first supply voltage and the second supply voltage are controlled to supply power to the AFE module combination, and the first supply voltage and the second supply voltage are distributed according to a preset power supply ratio.
[0093] When the power value of the battery module is too low, and when the battery module is in a charging state, in order to ensure normal charging of the battery module, it is necessary to give priority to using an external power supply to power the AFE module; and
[0094] When the power value of the battery module is too large and the battery module is in a discharging state, the battery module has sufficient power and needs to be used first to power the AFE module; and,
[0095] When the power value of the battery module is at an intermediate value and the battery module is in a discharging state, the AFE module combination needs to be powered by an external power supply and the battery module, wherein the first supply voltage and the second supply voltage are allocated according to a preset power supply ratio, which can be a power supply ratio of 6:4 between the first supply voltage and the second supply voltage, so as to avoid excessive discharge of the battery module, resulting in reduced battery module endurance, which is not conducive to the normal operation of the battery management system.
[0096] Among them, controlling the first power supply voltage as the power supply voltage of the AFE module can specifically be achieved by controlling the external power supply to power the AFE module through a specific automatic power supply switching circuit, and at the same time stopping the battery module from supplying power to the AFE module. The automatic power supply switching circuit includes components such as a PMOS tube, a Schottky diode and a resistor. When the external power supply is connected, the circuit will automatically cut off the power supply of the battery module to the AFE module and switch to the external power supply for power supply.
[0097] Exemplarily, the automatic power supply switching circuit can control the external power supply to supply power to the AFE module when the external power supply is connected, stop the battery module from supplying power to the AFE module, and ensure that the external power supply does not directly supply power to the battery module. When the external power supply is not connected, the circuit will be powered by the battery module through the turned-on PMOS tube; when the external power supply is connected, the PMOS tube is turned off, the circuit is powered by the external power supply, and the battery module is charged through the charging management chip.
[0098] In a possible embodiment, the battery management system further includes a power conversion module, the power conversion module includes an isolation voltage stabilization unit and a voltage conversion unit; before controlling the first supply voltage as the supply voltage of the AFE module, the method further includes:
[0099] The battery management system is isolated from the first external power source by the isolation voltage stabilization unit; and the output current of the first external power source is filtered by the isolation voltage stabilization unit to obtain a stable first output voltage; and,
[0100] The first output voltage is converted into the first supply voltage by the voltage conversion unit, and the voltage conversion unit includes a DC-DC converter and an AC-DC converter.
[0101] Among them, the AC ripple in the output signal of the first external power supply is filtered through an isolated regulated power supply, so as to output a power supply with extremely small ripple to obtain a stable first output voltage; and the first output voltage is converted into the voltage type and voltage value required by the AFE module through a DC-DC converter or an AC-DC converter in the voltage conversion unit.
[0102] In a possible embodiment, converting the first output voltage into the first supply voltage by the voltage conversion unit includes:
[0103] Determine a power source category of the first external power source, where the power source category includes a direct current power source and an alternating current power source;
[0104] Calling a corresponding voltage converter according to the power source category, the voltage converter comprising a DC-DC converter and an AC-DC converter;
[0105] The voltage converter converts the first output voltage into the first supply voltage.
[0106] Exemplarily, when it is detected that the first external power supply is a DC power supply, the DC-DC converter is called to convert the first output voltage into the first supply voltage; and when it is detected that the first external power supply is an AC power supply, the AC-DC converter is called to convert the first output voltage into the first supply voltage.
[0107] Among them, the DC-DC converter and AC-DC converter can be multi-channel voltage output current meters, which can output different voltage values through different voltage output ports to power the AFE module and the microprocessor MCU, thereby ensuring the normal operation of the AFE module and the microprocessor MCU.
[0108] It can be seen that in this embodiment, the microprocessor MCU can detect the power value and charge and discharge status of the battery module in real time, and adjust the power supply ratio of the external power supply and the battery module to the AFE module according to the power value and charge and discharge status, thereby optimizing the power supply strategy of the AFE module, better coordinating the power supply methods of the battery module and the external power supply, ensuring the normal operation of the AFE module, and helping to improve the stability and reliability of the battery management system.
[0109] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a battery management system provided in an embodiment of the present application, such as Figure 2 As shown, the battery management system includes a battery module, an external power supply module, an analog front-end AFE module, a microprocessor MCU, a power conversion module and a communication module.
[0110] Wherein, one end of the AFE module is electrically connected to the battery module, and the other end of the AFE module is electrically connected to the power conversion module;
[0111] The power conversion module is electrically connected to the microprocessor MCU and the external power supply module respectively, and the external power supply module includes a plurality of power supply interfaces for simultaneously connecting to a plurality of external power supplies; and the power conversion module is electrically connected to the battery module;
[0112] Among them, the external power supply module includes multiple power supply interfaces for simultaneously connecting to multiple external power supplies. The multiple external power supplies can belong to different power supply categories, including AC power supply, DC power supply, photovoltaic power supply, solar power supply and fuel cell.
[0113] The power conversion module includes an isolation voltage stabilization unit and a voltage conversion unit. The battery management system is isolated from a first external power source by the isolation voltage stabilization unit; the output current of the first external power source is filtered by the isolation voltage stabilization unit to obtain a stable first output voltage; and the first output voltage is converted into a first supply voltage by the voltage conversion unit, and the voltage conversion unit includes a DC-DC converter and an AC-DC converter.
[0114] Among them, the DC-DC converter and AC-DC converter can be multi-channel voltage output current meters, which can output different voltage values through different voltage output ports to power the AFE module and the microprocessor MCU, thereby ensuring the normal operation of the AFE module and the microprocessor MCU.
[0115] Wherein, the communication module is respectively connected to the microprocessor MCU and the AFE module for communication.
[0116] Among them, the microprocessor MCU is used to detect that multiple external power supplies are connected to multiple power supply interfaces in the external power supply module; and to determine the power supply priority of each of the multiple external power supplies; and to determine the first external power supply for powering the AFE module according to the multiple power supply priorities of the multiple external power supplies; and to obtain the power value and charge and discharge status of the battery module in real time; and to adjust the power supply ratio of the first power supply voltage and the second power supply voltage according to the power value and charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, the first power supply voltage is the power supply voltage that the first external power supply needs to provide to the AFE module, and the second power supply voltage is the power supply voltage provided by the battery module to the AFE module.
[0117] The communication module is used for communication between the slave control and the master control of the battery management system, and can adopt communication methods such as 485 and CAN.
[0118] In a possible embodiment, the battery management system may include a plurality of the AFE modules, one end of each of the AFE modules is electrically connected to the battery module, and the other end of each of the AFE modules is assembled to a power bus, wherein:
[0119] The plurality of AFE modules are electrically connected to the power conversion module via the power bus.
[0120] In a possible embodiment, the battery management system further includes a MOS switch module, which is electrically connected to the battery module and the AFE module respectively, and is used to open or disconnect the circuit according to the control signal output by the AFE module; the AFE module includes a temperature detection port and a current detection port, wherein:
[0121] The temperature detection port detects the surface temperature of the battery module through an NTC resistor, and the NTC resistor is fixed on the battery module; and,
[0122] The current detection port detects the current size in the circuit by detecting the voltage across the shunt, and the shunt is connected in series between the battery module and the MOS switch module.
[0123] In a possible embodiment, the control signal output by the AFE module means that the AFE module will give a charging MOS high level signal and a discharging MOS high level signal to turn on the MOS tube under normal conditions, and the AFE module maintains the high level or disconnects the high level according to the instruction of the microprocessor MCU to realize the on-off circuit of the MOS switch module.
[0124] It can be seen that in this embodiment, the microprocessor MCU first detects that multiple external power supplies are connected to multiple power supply interfaces in the external power supply module; then, the power supply priority of each external power supply in the multiple external power supplies is determined; and, according to the multiple power supply priorities of the multiple external power supplies, the first external power supply for powering the AFE module is determined; then, the power value and the charge and discharge status of the battery module are acquired in real time; finally, the power supply ratio of the first power supply voltage and the second power supply voltage is adjusted according to the power value and the charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, so as to realize that when multiple external power supplies are connected to the battery management system at the same time, one of the external power supplies is reasonably determined to power the AFE module, and the power supply ratio of the external power supply and the battery module to the AFE module is intelligently adjusted according to the power value and the charge and discharge status of the battery module, which is conducive to optimizing the power supply strategy of the AFE module and improving the stability and reliability of the battery management system.
[0125] See also Figure 3, Figure 3 is a schematic diagram of a circuit structure of an isolation voltage stabilization unit provided in an embodiment of the present application, such as Figure 3 As shown, the isolation voltage stabilization unit is connected to an external power source through a power input interface 300, converts the external power source into an internal power source VCC, and isolates the internal power source VCC from the external power source.
[0126] The isolation voltage stabilization unit includes an isolation unit 310 and a linear voltage stabilization unit 320. The isolation unit 310 is connected between the external power supply and the input end of the linear voltage stabilization unit 320, and is used to isolate the external power supply so that there is no current loop between the output signal of the isolation unit 310 and the external power supply, thereby improving the signal-to-noise ratio of the output signal.
[0127] The linear voltage stabilizing unit 320 generates the internal power source VCC based on the output signal of the isolation unit 310 , and provides a DC internal power source with extremely small output ripple by filtering out the AC ripple in the output signal of the isolation unit 310 .
[0128] Exemplarily, the isolation unit 310 can be implemented using a B1209XT-1WR2 DC-to-DC chip, the VIN terminal (positive input terminal) is connected to the positive pole 2 of the external power supply, the GND terminal (negative input terminal) is connected to the negative pole 1 of the external power supply, the +VO terminal (positive output terminal) outputs the converted voltage, the 0V terminal is grounded, and the NC terminal indicates no connection; the B1209XT-1WR2 DC-to-DC chip converts the external power supply.
[0129] Exemplarily, the linear voltage regulator unit 320 can be implemented using a LM3107IMPX-5.0 chip, the IN terminal is connected to the output terminal of the isolation unit 310, the TAB terminal is connected to the internal power supply VCC, the OUT terminal outputs the internal power supply VCC and is grounded through a third capacitor C3, and the GND terminal is grounded.
[0130] A second capacitor C2 is further provided between the output end of the isolation unit 310 and the input end of the linear voltage stabilization unit 320 , one end of the second capacitor C2 is connected to the output end (+VO) of the isolation unit 310 , and the other end is grounded.
[0131] Among them, an anti-reverse filtering unit 330 is also arranged between the isolation unit 310 and the external power supply, and the anti-reverse filtering unit 330 includes a first capacitor C1 and a first diode D1; the two ends of the first capacitor C1 are connected between the positive input terminal (VIN) and the negative input terminal (GND) of the isolation unit 310 for filtering; and the anode of the first diode D1 is connected to the negative input terminal of the isolation unit 310; the positive input terminal of the isolation unit 310 and the cathode of the first diode D1 are connected to the external power supply.
[0132] It can be understood that, during normal use, the positive input terminal of the isolation unit 310 is connected to the positive pole 2 of the external power supply, and the negative input terminal is connected to the negative pole 1 of the external power supply; when the positive pole and the negative pole of the external power supply are connected reversely (the positive input terminal of the isolation unit 310 is connected to the negative pole of the external power supply, and the negative input terminal is connected to the positive pole of the external power supply), the first diode D1 is cut off, and the high voltage cannot be transmitted to the negative input terminal of the isolation unit 310, thereby avoiding damage to the internal components of the isolation unit 310.
[0133] See also Figure 4 , Figure 4 : is an overall flow chart of a multi-source parallel power supply control method provided in an embodiment of the present application, which is applied to a microprocessor MCU of a battery management system, wherein the battery management system also includes a battery module, an external power supply module and an analog front-end AFE module, such as Figure 4 As shown, the method includes the following processes:
[0134] Step 401: Detect that multiple external power sources are connected to multiple power interfaces in an external power supply module.
[0135] Among them, the external power supply module includes multiple power supply interfaces for simultaneously connecting to multiple external power supplies. The multiple external power supplies can belong to different power supply categories, including AC power supply, DC power supply, photovoltaic power supply, solar power supply and fuel cell.
[0136] In a possible embodiment, the microprocessor MCU detects that multiple external power supplies are connected to multiple power interfaces in the external power supply module, which can be achieved through a power management integrated circuit PMIC and an external circuit design. Specifically, when the external power supply is connected, the PMIC will detect the change of the power rails in the multiple power interfaces and trigger a corresponding response, such as generating a reset signal, which is then sent to the microprocessor MCU to perform appropriate processing, such as switching to an external power supply mode or performing a data protection operation.
[0137] In a possible embodiment, the microprocessor MCU detects that multiple external power supplies are connected to multiple power interfaces in the external power supply module, and can also detect and control the power status through the analog-to-digital converter ADC function in conjunction with a software algorithm.
[0138] Step 402 , determining a power supply priority of each of a plurality of external power supplies; and determining a first external power supply for supplying power to the AFE module according to a plurality of power supply priorities of the plurality of external power supplies.
[0139] In a possible embodiment, determining the power supply priority of each of the multiple external power sources includes:
[0140] Acquire a preset first mapping relationship, where the first mapping relationship is used to characterize a correspondence between a power source category and the power supply priority, where the power source category includes an AC power source, a DC power source, a photovoltaic power source, a solar power source, and a fuel cell;
[0141] Obtaining a power source category of each of the multiple external power sources;
[0142] The power supply priority of each external power source is determined according to the power source category of each external power source and the first mapping relationship.
[0143] In a possible embodiment, the method further comprises: determining, according to multiple power supply priorities of the multiple external power supplies, a first external power supply for supplying power to the AFE module;
[0144] Acquire the power value of each external power source in real time;
[0145] If it is detected that the power value of the first external power supply does not meet the first preset condition, the second external power supply is determined according to the power supply priority, and the second external power supply is determined as the first external power supply, the first preset condition means that the power value of the first external power supply is not less than a third preset power threshold, and the power supply priority of the second external power supply is lower than the power supply priority of the first external power supply;
[0146] It is detected that the second external power source meets the first preset condition.
[0147] In a possible embodiment, the method further includes:
[0148] Acquire the access status of each external power source in real time;
[0149] If it is detected that the access state of the first external power source is in an abnormal state, the second external power source is determined as the first external power source, and the abnormal state includes abnormal disconnection, abnormal voltage fluctuation, and power supply overheating;
[0150] It is detected that the second external power source does not have the abnormal state.
[0151] Step 403, obtaining the power value and charging and discharging status of the battery module in real time.
[0152] Among them, the method for the microprocessor MCU to obtain the power value of the battery module mainly includes using the analog-to-digital converter ADC to directly monitor the voltage for estimation and using the coulomb counting method for comprehensive estimation.
[0153] Among them, the method for the microprocessor MCU to determine whether the battery module is in a charging state or a discharging state mainly includes monitoring the current direction and voltage changes.
[0154] Step 404: whether the battery module is in a discharging state.
[0155] In a possible embodiment, judging the charge and discharge state of the battery module based on the current monitoring state includes:
[0156] Real-time monitoring of the direction of current through a shunt resistor or a Hall sensor, wherein the shunt resistor or the Hall sensor is installed on the charge and discharge path of the battery module;
[0157] The charge and discharge state of the battery module is determined according to the direction of the current.
[0158] Wherein, the charge and discharge state of the battery module is determined according to the direction of the current, including: when the current flows from the charger to the battery, the battery is in a charging state; conversely, when the current flows out of the battery, the battery is in a discharging state.
[0159] In another possible embodiment, judging the charge and discharge state of the battery module based on the state of voltage change includes:
[0160] The voltage change trend of the battery module is continuously monitored through the built-in analog-to-digital converter ADC;
[0161] The charge and discharge state of the battery module is determined according to the voltage variation trend.
[0162] If it is detected that the battery module is in a charging state, step 405 is executed; and if it is detected that the battery module is in a discharging state, step 406 is executed.
[0163] Step 405: Use the first power supply voltage as the power supply voltage of the AFE module.
[0164] The first supply voltage is the supply voltage that the first external power source needs to provide to the AFE module.
[0165] In a possible embodiment, the battery management system further includes a power conversion module, the power conversion module includes an isolation voltage stabilization unit and a voltage conversion unit; before using the first power supply voltage as the power supply voltage of the AFE module, the method further includes:
[0166] The battery management system is isolated from a first external power source by the isolation voltage stabilization unit; and the output current of the first external power source is filtered by the isolation voltage stabilization unit to obtain a stable first output voltage; and,
[0167] The first output voltage is converted into the first supply voltage by the voltage conversion unit, and the voltage conversion unit includes a DC-DC converter and an AC-DC converter.
[0168] Among them, the first supply voltage is used as the supply voltage of the AFE module. Specifically, a specific automatic power supply switching circuit can be used to control the external power supply to power the AFE module, and at the same time stop the battery module from supplying power to the AFE module. The automatic power supply switching circuit includes components such as a PMOS tube, a Schottky diode and a resistor. When the external power supply is connected, the circuit will automatically cut off the power supply of the battery module to the AFE module and switch to the external power supply for power supply.
[0169] Step 406: Whether the power value of the battery module is less than a first preset power threshold.
[0170] In a possible embodiment, the use of an analog-to-digital converter ADC to directly monitor the voltage to estimate the charge value of the battery module includes: connecting the voltage output end of the battery module to the pin of the analog-to-digital converter ADC to collect the output voltage value of the battery module; calling a stored voltage-to-charge conversion model; and obtaining the charge value of the battery module according to the output voltage value and the voltage-to-charge conversion model.
[0171] In a possible embodiment, the method of comprehensively estimating the battery module power value using the coulomb counting method includes:
[0172] Acquire a plurality of voltage differences across a plurality of detection resistors, wherein the detection resistors are located on a charging path and a discharging path of the battery module;
[0173] determining a current value according to a ratio of the voltage difference to a resistance value of the detection resistor;
[0174] Determining a total amount of charge flowing through the battery module according to the current value;
[0175] The remaining power value of the battery module is determined according to the total charge and the initial power value of the battery module.
[0176] The total charge flowing through the battery module is determined according to the current value, and the calculation formula is:
[0177]
[0178] Wherein, I(t) is the current function at time t, and t1 to t2 is the time period.
[0179] If the power value of the battery module is less than the first preset power threshold, step 405 is executed; and if the power value of the battery module is not less than the first preset power threshold, step 407 is executed.
[0180] Step 407: Whether the power value of the battery module is greater than a second preset power threshold.
[0181] If the power value of the battery module is not greater than the second preset power threshold, step 408 is executed; and if the power value of the battery module is greater than the second preset power threshold, step 409 is executed.
[0182] Step 408 , controlling the first power supply voltage and the second power supply voltage to supply power to the AFE module combination, and distributing the first power supply voltage and the second power supply voltage according to a preset power supply ratio.
[0183] The second power supply voltage is the power supply voltage provided by the battery module to the AFE module.
[0184] Step 409: Use the second power supply voltage as the power supply voltage of the AFE module.
[0185] Step 410: Power the AFE module according to the power supply voltage of the AFE module.
[0186] It can be seen that in this embodiment, the microprocessor MCU first detects that multiple external power supplies are connected to multiple power supply interfaces in the external power supply module; then determines the power supply priority of each external power supply in the multiple external power supplies according to a preset first mapping relationship; and determines the first external power supply for powering the AFE module according to the multiple power supply priorities of the multiple external power supplies; then, obtains the power value and the charge and discharge status of the battery module in real time; finally, adjusts the power supply ratio of the first power supply voltage and the second power supply voltage according to the power value and the charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, so that when multiple external power supplies are connected to the battery management system, it is reasonably determined that one of the external power supplies and the battery module jointly power the AFE module, and dynamically adjusts the power supply ratio of the external power supply and the battery module to the AFE module according to the real-time power value and the charge and discharge status of the battery module, which is beneficial to increase the battery life of the battery module, ensure the normal operation of the AFE module, and improve the stability of the battery management system.
[0187] See also Figure 5 , Figure 5 is a flowchart of a first external power source determination method provided in an embodiment of the present application, which is applied to a microprocessor MCU of a battery management system, wherein the battery management system further includes a battery module, an external power supply module and an analog front-end AFE module, such as Figure 5 As shown, the method includes the following processes:
[0188] Step 501: Use the external power source with the highest power supply priority as the first external power source.
[0189] The corresponding relationship between the power source category and the power supply priority may be preset. When setting the power supply priority, the sustainability, environmental friendliness, cost-effectiveness and complexity of technical implementation of the power source are mainly considered.
[0190] Step 502: Acquire the power value and connection status of the first external power source in real time.
[0191] The abnormal state includes abnormal disconnection, abnormal voltage fluctuation and power supply overheating.
[0192] In a possible embodiment, the real-time acquisition of the power value of each external power supply may be acquired through an external power supply voltage detection circuit, including:
[0193] The external power supply voltage is reduced to a range that can be handled by the analog-to-digital converter ADC of the microprocessor MCU through a voltage divider circuit;
[0194] The voltage value after voltage division is read in real time by the analog-to-digital converter ADC;
[0195] Respond to the ADC conversion completion event through the interrupt service routine ISR, or check the conversion status through polling; read the ADC conversion result and convert it to the actual external power supply voltage value;
[0196] A voltage-capacity curve of an external power source is obtained, and a measured voltage value of the external power source is converted into a percentage of remaining power or a mAh value according to the voltage-capacity curve.
[0197] The reading of the ADC conversion result and converting it into an actual external power supply voltage value specifically includes multiplying the ADC value by the voltage divider ratio of the voltage divider and taking into account any calibration or temperature compensation.
[0198] The voltage-capacity curve of the external power source may be obtained by simulation based on historical external power supply data and stored in the microprocessor MCU.
[0199] Among them, the real-time acquisition of the access status of each external power supply can determine whether the external power supply is abnormally disconnected through the GPIO pin and the interrupt service routine ISR; and measure the voltage level through the analog-to-digital converter ADC to detect whether the voltage fluctuates abnormally; and detect whether the external power supply is overheated through the temperature sensor.
[0200] Step 503: Whether the power value is less than a third preset power threshold or the access state is abnormal.
[0201] If it is detected that the power value of the first external power source is less than the third preset power threshold or an abnormal situation exists, step 504 is executed; otherwise, step 506 is executed.
[0202] Step 504 , determining a second external power source having a power supply priority lower than that of the first external power source.
[0203] Step 505: Use the second external power source as the first external power source.
[0204] Among them, after the second external power supply is used as the first external power supply, step 502 is continued to be executed to determine whether the second external power supply does not meet the third preset power threshold or the access state is abnormal, and can be used as the first external power supply to power the AFE module, and then step 506 is executed.
[0205] Exemplarily, the power conversion module is connected to three external power supplies, namely, a photovoltaic power supply, an AC power supply and a DC power supply. According to a first direct mapping relationship between a preset power supply category and a power supply priority, it can be determined that the power supply priority from high to low is photovoltaic power supply, DC power supply and AC power supply; the microprocessor MCU uses the photovoltaic power supply as the first external power supply. When it is detected that the power value of the first external power supply does not meet the first preset condition or the access status has the abnormal state, the DC power supply is determined as the second external power supply. When it is detected that the second external power supply meets the first preset condition and no abnormal state occurs, the DC power supply is used as the first external power supply to power the AFE module.
[0206] Step 506: Provide a first power supply voltage to the AFE module through a first external power supply.
[0207] It can be seen that in this embodiment, the microprocessor MCU first determines the external power supply with the highest power supply priority as the first external power supply according to the mapping relationship between the preset power supply category and the power supply priority; then, monitors the power value and access status of the first external power supply in real time, and when it is detected that the power value of the first external power supply is less than the third preset power threshold or the access status is abnormal, determines the second external power supply with a power supply priority lower than the first external power supply; and uses the second external power supply as the first external power supply; then, repeats the above steps of monitoring the power value and access status for the second external power supply, and when it is detected that the power value and access status of the second external power supply are not abnormal, uses the second external power supply as the first external power supply to power the AFE module. It realizes the automatic switching of the external power supply to power the AFE module according to the status of the external power supply, optimizes the power supply strategy of the AFE module, and is conducive to ensuring the normal operation of the AFE module.
[0208] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present application.
[0209] This is only a logical function division, and there may be other divisions in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0210] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0211] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0212] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (directrambus RAM, DR RAM) and other media that can store program code.
[0213] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0214] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0215] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present application, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present application.
Claims
1. A control method for multi-source parallel power supply, characterized in that: A microprocessor MCU is applied to a battery management system, wherein the battery management system further comprises a battery module, an external power supply module and an analog front-end AFE module, and the method comprises: Detecting that multiple external power sources are connected to multiple power interfaces in the external power supply module; Determining a power supply priority of each of the multiple external power supplies; and determining a first external power supply for supplying power to the AFE module according to the multiple power supply priorities of the multiple external power supplies; Acquire the power value and charge and discharge status of the battery module in real time; The supply ratio of the first supply voltage and the second supply voltage is adjusted according to the power value and the charge and discharge status of the battery module to adapt to the working voltage requirement of the AFE module, the first supply voltage is the supply voltage that the first external power supply needs to provide to the AFE module, and the second supply voltage is the supply voltage provided by the battery module to the AFE module.
2. The method according to claim 1, characterized in that The adjusting the power supply ratio of the first power supply voltage and the second power supply voltage according to the power value and the charge and discharge state of the battery module includes: When it is detected that the power value of the battery module is less than a first preset power threshold value and / or the battery module is in a charging state, controlling the first supply voltage as the supply voltage of the AFE module; and, When it is detected that the power value of the battery module is greater than a second preset power threshold and the battery module is in a discharging state, controlling the second power supply voltage as the power supply voltage of the AFE module; and, When it is detected that the power value of the battery module is greater than the first preset power threshold and less than the second preset power threshold, and the battery module is in the discharge state, the first supply voltage and the second supply voltage are controlled to supply power to the AFE module combination, and the first supply voltage and the second supply voltage are distributed according to a preset power supply ratio.
3. The method according to claim 2, characterized in that The battery management system further includes a power conversion module, and the power conversion module includes an isolation voltage stabilization unit and a voltage conversion unit; before controlling the first power supply voltage as the power supply voltage of the AFE module, the method further includes: The battery management system is isolated from the first external power source by the isolation voltage stabilization unit; and the output current of the first external power source is filtered by the isolation voltage stabilization unit to obtain a stable first output voltage; and, The first output voltage is converted into the first supply voltage by the voltage conversion unit, and the voltage conversion unit includes a DC-DC converter and an AC-DC converter.
4. The method according to claim 3, characterized in that The method further comprises: determining a first external power source for supplying power to the AFE module according to a plurality of power supply priorities of the plurality of external power sources; Acquire the power value of each external power source in real time; If it is detected that the power value of the first external power supply does not meet the first preset condition, the second external power supply is determined according to the power supply priority, and the second external power supply is determined as the first external power supply, the first preset condition means that the power value of the first external power supply is not less than a third preset power threshold, and the power supply priority of the second external power supply is lower than the power supply priority of the first external power supply; It is detected that the second external power source meets the first preset condition.
5. The method according to claim 4, characterized in that The method further comprises: Acquire the access status of each external power source in real time; If it is detected that the access state of the first external power source is in an abnormal state, the second external power source is determined as the first external power source, and the abnormal state includes abnormal disconnection, abnormal voltage fluctuation, and power supply overheating; It is detected that the second external power source does not have the abnormal state.
6. The method according to any one of claims 1 to 5, characterized in that: The determining the power supply priority of each of the plurality of external power sources comprises: Acquire a preset first mapping relationship, where the first mapping relationship is used to characterize a correspondence between a power source category and the power supply priority, where the power source category includes an alternating current power source, a direct current power source, a photovoltaic power source, a solar power source, and a fuel cell; Obtaining a power source category of each of the multiple external power sources; The power supply priority of each external power source is determined according to the power source category of each external power source and the first mapping relationship.
7. A battery management system with multi-source parallel power supply, characterized in that: It includes a battery module, an external power supply module, an analog front-end AFE module, a microprocessor MCU, a power conversion module and a communication module, among which: One end of the AFE module is electrically connected to the battery module, and the other end of the AFE module is electrically connected to the power conversion module; The power conversion module is electrically connected to the microprocessor MCU and the external power supply module respectively, and the external power supply module includes multiple power supply interfaces for simultaneously connecting to multiple external power supplies; and the power conversion module is electrically connected to the battery module; The communication module is respectively connected to the microprocessor MCU and the AFE module for communication; The microprocessor MCU is used to execute the steps in the method according to any one of claims 1-6.
8. The battery management system according to claim 7, characterized in that: The battery management system may include a plurality of the AFE modules, one end of each of the AFE modules is electrically connected to the battery module, and the other end of each of the AFE modules is assembled to a power bus, wherein: The plurality of AFE modules are electrically connected to the power conversion module via the power bus.
9. The battery management system according to claim 8, characterized in that: The battery management system further includes a MOS switch module, which is electrically connected to the battery module and the AFE module respectively, and is used to open or disconnect the circuit according to the control signal output by the AFE module; the AFE module includes a temperature detection port and a current detection port, wherein: The temperature detection port detects the surface temperature of the battery module through an NTC resistor, and the NTC resistor is fixed on the battery module; and, The current detection port detects the current size in the circuit by detecting the voltage across the shunt, and the shunt is connected in series between the battery module and the MOS switch module.
10. The battery management system according to claim 9, characterized in that: The control signal output by the AFE module means that the AFE module will give a charging MOS high level signal and a discharging MOS high level signal to turn on the MOS tube under normal conditions, and the AFE module maintains the high level or disconnects the high level according to the instruction of the microprocessor MCU to realize the on-off circuit of the MOS switch module.
Citation Information
Cited By
Power conversion control method and system for chip
CN119249987A
Power conversion control method and system for chip
CN119249987B
