Vehicle control method, electronic device, storage medium and program product

By implementing real-time power data management and fault switching mechanisms in the dual-battery-pack system, the problems of low charging efficiency and discontinuous power supply in range-extended electric vehicles have been solved, achieving efficient charging and safe power supply.

CN121492773APending Publication Date: 2026-02-10CRYSTAL CORE ENERGY (JIAXING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202512007908.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing range-extended electric vehicles have low charging efficiency and intermittent power output when a single battery pack fails, resulting in long waiting times for users and insufficient safety.

Method used

It adopts a dual battery pack system, which acquires power data in real time, dynamically controls the charging and discharging status, supports dual-gun fast charging, and automatically switches to the healthy battery pack for power supply in case of failure, with the range extender system assisting in charging.

Benefits of technology

It improves charging efficiency, ensures the continuity and safety of the power system, reduces user waiting time, and enhances the reliability of the entire vehicle operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121492773A_ABST
    Figure CN121492773A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a vehicle control method, electronic equipment, a storage medium and a program product. The vehicle comprises a power system, a range extending system and a driving motor, and the power system comprises a first battery pack and a second battery pack; the first battery pack and the second battery pack are used for discharging to the driving motor, and the range extending system is at least used for charging the first battery pack and the second battery pack; in the running process of the vehicle, first electric quantity data of the first battery pack and second electric quantity data of the second battery pack are obtained; and controlling charging and discharging of the first battery pack and the second battery pack based on the first electric quantity data and the second electric quantity data. The method can improve the vehicle charging efficiency and the operation safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a vehicle control method, electronic device, storage medium, and program product. Background Technology

[0002] With the rapid development of new energy vehicle technology, range-extended electric vehicles (REEVs) are gaining increasing popularity due to their combination of the environmentally friendly characteristics of pure electric drive and the long driving range provided by a range extender. A typical REEV includes a battery system, a range extender system, and a drive motor. The battery system directly drives the vehicle, while the range extender system activates when the battery is low to charge it and extend the vehicle's driving range.

[0003] In existing technologies, mainstream range-extended electric vehicles generally use a single high-voltage battery pack as the energy storage and supply unit for the entire vehicle. This battery pack accepts external fast charging through a high-voltage charging interface, and simultaneously provides all the drive power to the drive motor during driving. The range-extending system only serves as an auxiliary energy source, charging the battery when its charge is low.

[0004] Since the vehicle's power output relies entirely on the aforementioned battery pack, and is limited by the charging interface and the battery system's own power limit, users have to wait a long time for the vehicle to finish charging, resulting in low charging efficiency. Summary of the Invention

[0005] The vehicle control method, electronic device, storage medium, and program product provided in this application are used to improve charging efficiency and enhance the vehicle's operational safety and power continuity under battery failure conditions.

[0006] In a first aspect, embodiments of this application provide a vehicle control method, including:

[0007] During the operation of the vehicle, first power data of the first battery pack and second power data of the second battery pack are acquired.

[0008] Based on the first power data and the second power data, the charging and discharging of the first battery pack and the second battery pack are controlled.

[0009] In one possible implementation, controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes:

[0010] When the vehicle is in the starting state, based on the first power data and the second power data, a target battery pack with a larger power is determined from the first battery pack and the second battery pack, and the target battery pack is controlled to supply power to the drive motor.

[0011] During vehicle operation, based on the charge levels of the first and second battery packs, the system controls the first and second battery packs to alternately discharge to the drive motor, and the range extender system alternately charges the first and second battery packs.

[0012] In one possible implementation, controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes:

[0013] When the vehicle is in the starting state, the first battery pack and the second battery pack are connected in series to discharge to the drive motor.

[0014] When the vehicle is in motion, if the sum of the charges of the first battery pack and the second battery pack is less than or equal to a preset threshold, the range extender system is controlled to charge the first battery pack and the second battery pack connected in series and to supply power to the drive motor.

[0015] In one possible implementation, controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes:

[0016] When the vehicle is connected to an external charging device, the first battery pack and the second battery pack are charged sequentially in order of increasing battery level; or, the first battery pack and the second battery pack are connected in series so that the external charging device charges both the first battery pack and the second battery pack simultaneously.

[0017] In one possible implementation, controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes:

[0018] When the vehicle is connected to two external charging devices, the first battery pack and the second battery pack are charged based on the first power data, the second power data, and the charging information.

[0019] The charging information includes at least one of the following: grid load status and the vehicle's charging needs.

[0020] In one possible implementation, the charging information includes: grid load status; the charging of the first battery pack and the second battery pack based on the first power data, the second power data, and the charging information includes:

[0021] When the grid load status indicates that the grid load is less than or equal to a preset load, the first battery pack and the second battery pack are controlled to be charged in series.

[0022] When the grid load status indicates that the grid load is greater than the preset load, the first battery pack and the second battery pack are controlled to be charged in parallel connection.

[0023] In one possible implementation, the method further includes:

[0024] When the first battery pack and the second battery pack are connected in series for charging and discharging, detect whether there is a faulty battery pack in the first battery pack and the second battery pack;

[0025] If there is a faulty battery pack in either the first or the second battery pack, then disconnect the faulty battery pack.

[0026] Secondly, embodiments of this application provide a vehicle control device, including:

[0027] The acquisition module is used to acquire first power data of the first battery pack and second power data of the second battery pack during the operation of the vehicle.

[0028] The processing module is used to control the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data.

[0029] In one possible implementation, the device further includes: a determining module;

[0030] The determining module is used to determine the target battery pack with a larger charge from the first battery pack and the second battery pack based on the first charge data and the second charge data when the vehicle is in the starting state.

[0031] The processing module is also used to control the target battery pack to supply power to the drive motor;

[0032] The processing module is further configured to, during the operation of the vehicle, control the first battery pack and the second battery pack to alternately discharge to the drive motor based on the charge levels of the first battery pack and the second battery pack, and the range extender system to alternately charge the first battery pack and the second battery pack.

[0033] In one possible implementation, the processing module is further configured to, when the vehicle is in the start-up state, control the first battery pack and the second battery pack to be connected in series and then discharge to the drive motor.

[0034] The processing module is further configured to, when the vehicle is in motion, if the sum of the charges of the first battery pack and the second battery pack is less than or equal to a preset threshold, control the range extender system to charge the first battery pack and the second battery pack connected in series and to supply power to the drive motor.

[0035] In one possible implementation, the processing module is further configured to charge the first battery pack and the second battery pack sequentially in order of increasing battery level when the vehicle is connected to an external charging device; or, to control the first battery pack and the second battery pack to be connected in series so that the external charging device charges the first battery pack and the second battery pack simultaneously.

[0036] In one possible implementation, the processing module is further configured to charge the first battery pack and the second battery pack based on the first power data, the second power data, and charging information, when the vehicle is connected to two external charging devices.

[0037] In one possible implementation, the processing module is further configured to control the first battery pack and the second battery pack to be charged in series when the grid load status indicates that the grid load is less than or equal to a preset load.

[0038] The processing module is further configured to control the first battery pack and the second battery pack to be charged in parallel when the grid load status indicates that the grid load is greater than the preset load.

[0039] In one possible implementation, the processing module is further configured to detect whether there is a faulty battery pack in the first battery pack and the second battery pack when the first battery pack and the second battery pack are charged and discharged in a series connection manner;

[0040] The processing module is further configured to disconnect the faulty battery pack if a faulty battery pack exists in either the first battery pack or the second battery pack.

[0041] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0042] The memory stores computer-executed instructions;

[0043] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0044] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0045] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0046] The vehicle control method, electronic device, storage medium, and program product provided in this application embodiment achieve intelligent control of the first and second battery packs based on real-time power data through a dual-battery pack dynamic charge and discharge management strategy. Specifically, during vehicle operation, first power data of the first battery pack and second power data of the second battery pack are acquired; based on the first and second power data, the charge and discharge states of the two battery packs are dynamically adjusted. The dual-battery pack design not only supports dual-gun fast charging mode, improving charging efficiency, but also allows switching to the other healthy battery pack for power supply when one battery pack fails, ensuring the safety and continuity of the vehicle's power system. Attached Figure Description

[0047] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0048] Figure 1 A structural schematic diagram of a vehicle provided in this application;

[0049] Figure 2 A flowchart illustrating a vehicle control method provided in this application. Figure 1 ;

[0050] Figure 3 A flowchart illustrating a vehicle control method provided in this application. Figure 2 ;

[0051] Figure 4 A flowchart illustrating a vehicle control method provided in this application. Figure 3 ;

[0052] Figure 5 A schematic diagram of the structure of a vehicle control device provided in this application;

[0053] Figure 6 This is a schematic diagram of the structure of an electronic device provided in this application.

[0054] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0055] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0056] First, let me explain the terms used in this application:

[0057] State of charge (SOC) is a parameter that measures the ratio of a battery's current remaining charge to its total capacity when fully charged, usually expressed as a percentage.

[0058] With the development of new energy vehicle technology, range-extended electric vehicles (REEVs) have gradually become the focus of market attention due to their combination of the environmentally friendly characteristics of pure electric drive and the long range achieved through range extenders. REEVs aim to combine the advantages of electric vehicles and traditional gasoline vehicles, meeting users' needs for reducing carbon emissions and lowering operating costs while overcoming the range anxiety commonly faced by pure electric vehicles.

[0059] Range-extended electric vehicles (REEVs) mainly consist of three core systems: a battery system, a range extender system, and a drive motor. The battery system serves as the direct power source, providing the energy required for the vehicle's operation. The range extender system acts as a backup power source, automatically activating when the battery's charge drops below a preset threshold. It generates electricity by burning gasoline or other fuels to recharge the battery and further extend the vehicle's range. The drive motor converts the electrical energy stored in the battery into mechanical energy, propelling the vehicle forward.

[0060] In existing technologies, mainstream range-extended electric vehicles typically use a single high-voltage battery pack as the sole energy storage and supply unit for the entire vehicle. This battery pack connects to external charging facilities via a high-voltage DC fast-charging interface for rapid charging; during vehicle operation, all driving power is provided by this battery pack. The range-extending system does not directly participate in vehicle driving; it only activates when the battery charge drops to a set threshold to replenish the battery pack and extend the driving range.

[0061] Since the vehicle's power output relies entirely on the aforementioned single high-voltage battery pack, its charging process is limited by physical constraints such as the power carrying capacity of a single charging interface and the maximum charging current of the power battery system itself. Users often need to wait a long time for the vehicle to complete its recharge, resulting in low overall charging efficiency.

[0062] To address the aforementioned issues, this application proposes a vehicle control method. This method utilizes a dual-battery system consisting of a first battery pack and a second battery pack. During vehicle operation, the system acquires real-time power data from both packs and dynamically controls their charging and discharging states based on this data. The dual-battery system supports parallel fast charging with dual charging guns to shorten recharge time. Furthermore, it automatically isolates and switches to the healthy battery pack for independent power supply should either battery pack malfunction. This achieves both efficient charging and high-reliability operation without driver intervention, effectively improving both charging efficiency and driving safety.

[0063] This application can be applied to range-extended electric vehicles in daily driving or long-distance travel scenarios, and is particularly suitable for environments with high requirements for charging efficiency and driving safety. For example, when quickly charging at highway service areas, the vehicle connects to a charging pile simultaneously through two independent fast-charging ports. The vehicle controller dynamically allocates charging power based on real-time power data (such as SOC, voltage, temperature, etc.) of the first and second battery packs, achieving efficient parallel charging and shortening user waiting time. During driving after charging is complete, if a battery pack is determined to be in a "discharge prohibited" state by the battery management system due to overheating or communication abnormalities, the vehicle controller will immediately respond, automatically cutting off the discharge path of the faulty battery pack and seamlessly switching to another healthy battery pack to supply power to the drive motor alone. During this period, the range-extending system can still operate normally, continuing to charge the healthy battery pack and ensuring uninterrupted vehicle power. The entire control process requires no driver intervention; the vehicle automatically completes perception, decision-making, and execution, improving charging efficiency while ensuring driving safety.

[0064] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0065] Figure 1 A structural schematic diagram of a vehicle provided for this application. See also... Figure 1 The vehicle 10 includes: a range extender 101, a vehicle controller 102, a first monitoring module 103, a second monitoring module 104, a first battery pack 105, a second battery pack 106, and a drive motor 107.

[0066] The range extender 101 is connected to the first battery pack 105 and the second battery pack 106 respectively, and is used to charge the first battery pack 105 and the second battery pack 106.

[0067] Understandably, the range extender component 101 is the execution unit of the vehicle range extender system. When the first battery pack 105 and / or the second battery pack 106 are low on power, it generates electricity by consuming fuel (such as gasoline or diesel) to provide supplemental electrical energy to the first battery pack 105 and / or the second battery pack 106, thereby extending the vehicle's driving range. In this embodiment, the range extender component 101 is electrically connected to the first battery pack 105 and the second battery pack 106 via high-voltage DC lines. When the vehicle controller 102 determines that the range extender mode needs to be activated (e.g., based on range requirements, battery state of charge, or driver commands), the range extender component 101 is activated, driving the generator to generate electricity. The generated electrical energy is processed by the converter and, according to a predetermined energy management strategy, can be used to charge the first battery pack 105 and / or the second battery pack 106 according to a specific ratio or priority.

[0068] One possible implementation is that when the vehicle is in motion and the state of charge (SOC) of either battery pack is below a preset threshold, the vehicle controller 102 can activate the range extender 101 and dynamically allocate charging power based on the respective charge data (such as SOC, temperature, and health status) of the first battery pack 105 and the second battery pack 106. For example, it can prioritize charging the battery pack with the lower SOC, or evenly distribute the charging current when both battery packs need charging. Even if one battery pack is isolated due to a fault, the range extender 101 can still continue to provide power to the other normally functioning battery pack, thereby maintaining continuous vehicle operation.

[0069] Both the first battery pack 105 and the second battery pack 106 are connected to the drive motor 107 and are used to discharge to the drive motor 107.

[0070] Understandably, both the first battery pack 105 and the second battery pack 106 are electrically connected to the drive motor 107 through a high-voltage power distribution unit, together forming the main discharge circuit of the vehicle, which is used to provide drive power to the drive motor 107 during vehicle operation.

[0071] Specifically, the first battery pack 105 and the second battery pack 106 can be configured to operate in series or in parallel via a switching assembly: under normal driving conditions, the two battery packs typically output high voltage in series to match the efficient operation of the drive motor 107.

[0072] When the vehicle controller 102 detects an abnormality in the first battery pack 105 or the second battery pack 106, and the battery pack is determined by its corresponding monitoring unit to be prohibited from discharging, the vehicle controller 102 will disconnect the discharge path of the faulty battery pack, while maintaining the electrical connection between the healthy battery pack and the drive motor 107 to ensure that the drive motor 107 continues to receive power and avoid power interruption.

[0073] The first battery pack 105 and the second battery pack 106 not only serve as energy storage units, but also constitute a power supply system with redundancy through coordinated discharge and fault isolation mechanisms, significantly improving driving safety.

[0074] The first monitoring module 103 is used to collect the first power data of the first battery pack 105;

[0075] The second monitoring module 104 is used to collect the second power data of the second battery pack 106.

[0076] Understandably, the vehicle is also equipped with a first monitoring module 103 and a second monitoring module 104, which are used to independently and in real-time monitor the status of the first battery pack 105 and the second battery pack 106, respectively. The first monitoring module 103 is electrically connected to the first battery pack 105 and is used to collect its first charge level data; the second monitoring module 104 is electrically connected to the second battery pack 106 and is used to collect its second charge level data.

[0077] The first and second battery power data include, but are not limited to: SOC, voltage, current, temperature, health status, and fault indication information. The monitoring module continuously acquires the above parameters through built-in sensors and battery management chips, and uploads the data to the vehicle controller 102 in real time via the vehicle communication bus.

[0078] The vehicle controller 102 determines whether each battery pack is in a chargeable / dischargeable state based on the data reported by the first monitoring module 103 and the second monitoring module 104. For example, when the first monitoring module 103 detects that the first battery pack 105 has overheated and generates a "discharge prohibited" command, the vehicle controller 102 isolates the discharge circuit of the first battery pack 105 while maintaining the power supply of the second battery pack 106 to the drive motor 107.

[0079] By setting up two independent monitoring modules, refined and decoupled management of the dual-battery pack system was achieved, providing a reliable data foundation for subsequent dynamic charge and discharge control and fault safety mechanisms.

[0080] The vehicle controller 102 is communicatively connected to the first monitoring module 103, the second monitoring module 104, and the range extender 101 to achieve vehicle control.

[0081] Understandably, the vehicle controller 102 is the core control unit of the vehicle, responsible for the centralized management and intelligent scheduling of the vehicle's powertrain, energy management system, and other auxiliary subsystems. In this embodiment, the vehicle controller 102 establishes communication connections with the first monitoring module 103, the second monitoring module 104, and the range extender component 101, respectively, to receive battery status information and issue control commands, thereby achieving unified scheduling of the vehicle's energy management and operating status.

[0082] Specifically, the vehicle controller 102 receives in real time the first power data of the first battery pack 105 uploaded by the first monitoring module 103 and the second power data of the second battery pack 106 uploaded by the second monitoring module 104. Based on this data, the vehicle controller 102 determines the availability of the two battery packs and dynamically decides their charging and discharging modes: for example, during the charging phase, it controls the on / off strategy between the fast charging interface and the battery pack to support dual-gun fast charging; during the driving phase, if either battery pack is determined to be non-discharging, it switches the power supply path to ensure that the drive motor is continuously powered by the healthy battery pack.

[0083] Meanwhile, the vehicle controller 102 is also communicatively connected to the range extender 101 to determine whether to activate the range extender 101 and adjust its output power based on the current battery charge, vehicle driving status, and user needs. For example, when the SOC of both battery packs is below a preset threshold, the vehicle controller 102 can issue a start-stop command to activate the range extender 101, enabling it to replenish power to the first battery pack 105 and / or the second battery pack 106. If only one battery pack is isolated, the range extender 101 can be guided to prioritize charging the normally operating battery pack to maintain system energy balance.

[0084] Through the aforementioned communication and control mechanisms, the vehicle controller 102 achieves closed-loop management of dual battery pack status perception, fault response, charging and discharging scheduling, and range-extending energy replenishment. This not only improves charging efficiency and range capability but also ensures the continuity and safety of the vehicle's power system in the event of a sudden failure.

[0085] In one possible implementation, such as Figure 1 As shown, the structure also includes: switch 108, switch 109, switch 110, switch 111, generator 112, engine 113, fast charging gun interface 114, and fast charging gun interface 115.

[0086] The range extender 101 consists of an engine 113 and a generator 112, with the engine 113 driving the generator 112 to generate electricity. The range extender 101 is electrically connected to the first battery pack 105 and the second battery pack 106, respectively, and can convert the chemical energy of fuel into electrical energy during vehicle operation to charge the first battery pack 105 and / or the second battery pack 106, thereby extending the vehicle's driving range.

[0087] Both the first battery pack 105 and the second battery pack 106 are connected to the drive motor 107 via a high-voltage power distribution circuit, providing drive power to the drive motor 107 during vehicle operation. The two battery packs can be configured to operate in series, parallel, or independently through different combinations of switches 108, 109, 110, and 111 to adapt to different charging and discharging conditions.

[0088] The first monitoring module 103 is connected to the first battery pack 105 and is used to collect its first power data in real time, including parameters such as SOC, voltage, current, temperature, insulation status, and fault indicators. The second monitoring module 104 is connected to the second battery pack 106 and is used to collect the corresponding second power data. The two monitoring modules operate independently, continuously monitoring the operating status of their respective battery packs during charge and discharge cycles, and reporting the collected status data and abnormal alarm information to the vehicle controller 102 via the vehicle communication network.

[0089] The vehicle controller 102, as the core control unit of the vehicle, establishes communication connections with the first monitoring module 103, the second monitoring module 104, and the range extender component 101. Based on received battery status information, vehicle operating status, and external inputs, the vehicle controller 102 generates control commands to coordinate the operation of each subsystem. Specifically, the vehicle controller 102 can directly control the on / off states of switches 108, 109, 110, and 111 to dynamically reconstruct the electrical connection topology between the first battery pack 105 and the second battery pack 106, enabling functions such as series-parallel switching, fault isolation, or independent charging and discharging.

[0090] The fast charging gun interface 114 and fast charging gun interface 115 are respectively connected to the first battery pack 105 and the second battery pack 106, supporting the vehicle to connect to one or two external DC fast charging devices to realize single gun or dual gun charging mode, further improving energy replenishment efficiency.

[0091] In some embodiments, when the vehicle starts normally, the vehicle controller 102 executes a preset power-on initialization procedure and controls switches 108, 109, and 110 to close, while simultaneously controlling switch 111 to open, thereby configuring the first battery pack 105 and the second battery pack 106 in a series connection. In this topology, the output voltages of the two battery packs are superimposed to form a high-voltage power supply circuit, which together discharges to the drive motor 107, enabling the vehicle to enter the normal high-voltage drive mode.

[0092] When the vehicle controller 102 determines, based on drive requirements or battery power data, that the current battery system output power is insufficient (e.g., the sum of the states of charge of the two battery packs is lower than a set threshold, or the drive motor's requested power exceeds the battery's maximum continuous discharge capacity), the vehicle controller 102 will activate the range extender 101: controlling the engine 113 to ignite and run, driving the generator 112 to generate electricity. The generated electrical energy is converted and fed into the high-voltage bus to assist the drive motor 107 in operation, thereby maintaining normal vehicle operation. During this process, the range extender 101 acts as an energy supplement unit, not directly participating in mechanical drive, but supporting the vehicle's power needs through a "power generation-power supply" method.

[0093] At the same time, the first monitoring module 103 and the second monitoring module 104 continuously monitor the first battery pack 105 and the second battery pack 106 in real time, and report the charging and discharging cycle status of the battery pack and any abnormal fault information to the vehicle controller 102 through the vehicle communication network, so as to provide a data basis for subsequent energy management and safety control.

[0094] The above operating mode makes full use of the high voltage advantage brought by the series connection of the two battery packs to improve driving efficiency and system response performance; at the same time, the timely intervention of the range extender effectively alleviates the battery load pressure, extends the driving range, and ensures power continuity in high power demand scenarios.

[0095] In some embodiments, when the vehicle is charging, if the vehicle detects that an external fast charging device is connected to the fast charging gun interface 114 or fast charging gun interface 115, the vehicle controller 102 determines the charging mode and enters the series charging process. It then controls switches 108, 109, and 110 to close, while simultaneously controlling switch 111 to open, thereby configuring the first battery pack 105 and the second battery pack 106 in a series connection. In this topology, the two battery packs form an equivalent high-voltage battery group. The external charging device provides charging current to the series circuit in an output mode matching this total voltage, enabling simultaneous charging of the first battery pack 105 and the second battery pack 106.

[0096] The series charging method described above is suitable for charging pile scenarios that support high-voltage platforms. It can reduce the current amplitude under the same charging power, reduce heat loss of cables and connectors, and improve charging safety and efficiency.

[0097] Meanwhile, the first monitoring module 103 and the second monitoring module 104 continuously monitor the real-time status of their respective battery packs and report this power data and abnormal alarm information to the vehicle controller 102 in real time via the vehicle communication network. Based on the above information, the vehicle controller 102 dynamically assesses charging safety and can promptly terminate or adjust the charging process when it detects overvoltage, overtemperature, or other conditions that prohibit charging in any battery pack.

[0098] In some embodiments, real-time identification is performed through a corresponding monitoring module. When one of the battery packs experiences an abnormal discharge, the vehicle controller 102 executes a corresponding switching control strategy to isolate the faulty battery pack and maintain vehicle power output.

[0099] Specifically, when the first monitoring module 103 detects an abnormality in the first battery pack 105 and determines that it is not allowed to discharge, the vehicle controller 102 responds to the fault signal by controlling switches 108 and 110 to disconnect, thereby cutting off the electrical connection between the first battery pack 105 and the high-voltage bus and causing it to exit the discharge circuit; at the same time, the vehicle controller 102 controls switches 109 and 111 to close, connecting the second battery pack 106 to the power supply path of the drive motor 107 separately, so that the vehicle switches to the working mode in which the second battery pack 106 independently discharges to the drive motor 107.

[0100] Accordingly, when the second monitoring module 104 detects an abnormality in the second battery pack 106 and determines that it is not allowed to discharge, the vehicle controller 102 controls the switch 109 to open, isolating the discharge path of the second battery pack 106; at the same time, it controls the switches 108, 110 and 111 to close, establishing a discharge circuit in which the first battery pack 105 supplies power to the drive motor 107 alone, ensuring that the vehicle can still maintain basic driving capability in the event of a single battery pack failure.

[0101] It is worth noting that during the above process, the healthy battery packs that have not experienced any malfunctions continue to operate normally, the power supply to the drive motor 107 remains uninterrupted, and the vehicle's powertrain maintains continuous operation. This switching process is completed by the vehicle controller 102 within milliseconds, requiring no driver intervention.

[0102] In summary, the vehicle 10 integrates a dual-battery pack architecture, a multi-switch power distribution network, an independent monitoring module, and an intelligent vehicle controller to build a range-extended electric power system that combines high charging efficiency, high operational reliability, and strong fault tolerance.

[0103] Figure 2 Flowchart of the vehicle control method provided in this application Figure 1 ,like Figure 2 As shown, the vehicle control method includes:

[0104] S101. During vehicle operation, acquire first power data of the first battery pack and second power data of the second battery pack.

[0105] Understandably, when the vehicle is running, the first monitoring module and the second monitoring module collect real-time electrical parameters of the first battery pack and the second battery pack, respectively, and upload the collected data as the first power data and the second power data to the vehicle controller.

[0106] Here, "power data" does not only refer to the remaining power value, but is a set of key parameters used to characterize the current electrical and health status of the battery, such as: SOC, charging and discharging current, temperature distribution, and health status.

[0107] The aforementioned acquisition process is a continuous and periodic operation, typically updated at millisecond to second intervals, enabling the vehicle control system to dynamically monitor the real-time operating status of the two battery packs. One possible implementation involves simultaneously monitoring the output current and temperature rise trends of both battery packs during vehicle acceleration or high-speed cruising.

[0108] By acquiring two independent sets of battery power data in real time during vehicle operation, a reliable data foundation is provided for subsequent differentiated charging and discharging control, fault diagnosis, and redundancy switching. This enhances the early detection capability of battery anomalies, thereby creating conditions for ensuring the continuity of vehicle power.

[0109] S102. Based on the first power data and the second power data, control the charging and discharging of the first battery pack and the second battery pack.

[0110] Understandably, after obtaining the real-time power data of the first and second battery packs, the system dynamically decides whether each battery pack should participate in charging or discharging under the current operating conditions, and what power or mode to use for energy exchange, based on the preset control strategy.

[0111] Among them, discharge control: determines whether the battery pack is allowed to output electrical energy to the drive motor. For example, when the battery pack's SOC is too low or the temperature exceeds the limit, it is prohibited from discharging.

[0112] Charging control: Decides whether to accept external fast charging or range extender system charging, for example, when a battery pack is close to full charge (SOC≥95%) or has an insulation fault, it will suspend charging;

[0113] Power allocation: When the vehicle is in a dual-gun fast charging scenario, the charging current received by each battery pack is dynamically allocated according to the SOC, temperature and health status of the two battery packs to avoid local overheating or charging imbalance.

[0114] Coordinated scheduling: When the vehicle is in normal operation, the two battery packs are coordinated to discharge together in series or parallel to match the voltage and power requirements of the drive motor.

[0115] One possible implementation is that if the first battery pack has a SOC of 30% and a normal temperature, while the second battery pack has a SOC of 85% but a localized high temperature, then the first battery pack should take the lead in discharging and the output power of the second battery pack should be limited.

[0116] Another possible approach is to allocate a larger proportion of the charging power to the first battery pack during fast charging if the first battery pack has a lower SOC and the second battery pack has a higher SOC, thus achieving balanced power replenishment.

[0117] The vehicle control method provided in this application embodiment achieves intelligent regulation of the first and second battery packs based on real-time power data through a dual-battery pack dynamic charge and discharge management strategy. Specifically, during vehicle operation, first power data of the first battery pack and second power data of the second battery pack are acquired; based on the first and second power data, the charge and discharge states of the two battery packs are dynamically adjusted. The dual-battery pack design not only supports dual-gun fast charging mode, improving charging efficiency, but also allows switching to the other healthy battery pack for power supply when one battery pack fails, ensuring the safety and continuity of the vehicle's power system.

[0118] Figure 3 Flowchart of the vehicle control method provided in this application Figure 2 ,like Figure 3 As shown, in this embodiment... Figure 2 Based on the embodiments, the vehicle control method is described in detail, which includes:

[0119] S201. During vehicle operation, acquire first power data of the first battery pack and second power data of the second battery pack.

[0120] Step S201 is the same as step S101 above, and will not be repeated here.

[0121] S202. When the vehicle is in the starting state, based on the first power data and the second power data, determine the target battery pack with the larger power from the first battery pack and the second battery pack, and control the target battery pack to supply power to the drive motor.

[0122] Understandably, when the vehicle enters the starting state, by comparing the power data of the first battery pack and the second battery pack, the battery pack with the higher current SOC is identified as the priority power supply unit and configured as the main power supply to drive the motor.

[0123] The "higher capacity" criterion is primarily determined based on the State of Charge (SOC). The SOC of the first battery pack is compared with that of the second battery pack. If the former is higher than the latter, the first battery pack is selected as the target pack; otherwise, the second battery pack is chosen. When SOCs are similar, other auxiliary parameters such as temperature, health status, or voltage stability can also be considered for a comprehensive judgment to ensure that the selected target battery pack not only has sufficient capacity but is also within a safe and efficient discharge range.

[0124] One possible approach is to establish an effective current path between the target battery pack and the drive motor through a high-voltage power distribution system, making the target battery the primary or even sole energy output source. In this mode, non-target battery packs can temporarily exit the discharge circuit, remaining in standby or low-load mode, thereby reducing unnecessary energy loss and aging.

[0125] By prioritizing the use of battery packs with higher charge levels, the widening difference in SOC between the two battery packs can be effectively slowed down, preventing premature depletion of a single pack from forcing a power reduction or triggering a protection mechanism. At the same time, centralized power supply from high-charge battery packs helps simplify the discharge control logic and reduce system complexity.

[0126] In some embodiments, when the vehicle is in the starting state, the first battery pack and the second battery pack are connected in series to discharge to the drive motor.

[0127] Understandably, when a vehicle is powered on and enters a drivable state, the two battery packs are electrically connected in series through the high-voltage power distribution system, so that their total output voltage is superimposed to form a high-voltage power supply, which provides driving power to the drive motor.

[0128] "Series connection" refers to establishing an equivalent series path between the first and second battery packs through a controllable switching network, resulting in the sum of the terminal voltages of the two battery packs. For example, if the nominal voltage of each battery pack is 400V, the system voltage after series connection can reach 800V. This high-voltage architecture can match the requirements of high-efficiency, high-power-density drive motors, reducing the current amplitude at the same output power, thereby reducing line losses and heat generation, and improving the overall vehicle energy efficiency.

[0129] High-voltage power supply is achieved through series connection, which improves the efficiency and dynamic response of the drive system; at the same time, the coordinated discharge of the two battery packs helps to share the load, extend the life of a single battery, and provide stronger power performance support for the whole vehicle.

[0130] S203. During vehicle operation, based on the charge levels of the first battery pack and the second battery pack, the system controls the first battery pack and the second battery pack to alternately discharge to the drive motor, and the range extender system alternately charges the first battery pack and the second battery pack.

[0131] Understandably, when the vehicle is in continuous operation, the power levels of the two battery packs are dynamically managed. Specifically, one battery pack acts as the main discharge unit to supply power to the drive motor, while the other temporarily exits the discharge circuit and receives charging from the range extender system. Subsequently, when the power relationship between the two changes or when preset switching conditions are met, they switch roles to achieve periodic or condition-triggered "discharge-charge" rotation.

[0132] "Alternating discharge" refers to the first battery pack or the second battery pack independently undertaking the energy supply task for the drive motor in different time periods, rather than discharging simultaneously; "alternating charging" refers to the range extender system prioritizing or only charging one battery pack in the same time period, and then switching to the other battery pack in the next stage.

[0133] The above-mentioned alternation mechanism relies on continuous monitoring and comparison of the power data of the two battery packs. For example, when the SOC of the first battery pack is higher than that of the second battery pack, the first battery pack is discharged first, while the range extender system is used to charge the second battery pack. After the SOC of the second battery pack recovers and the SOC of the first battery pack drops to a relatively low level, the second battery pack is switched to discharge and the first battery pack enters the charging state.

[0134] The above control strategy can achieve energy balance between battery packs through the on-board range extender system without increasing reliance on external charging facilities, effectively delaying the risk of premature depletion or overcharging of any battery pack.

[0135] In some embodiments, when the vehicle is in motion, if the sum of the charges of the first battery pack and the second battery pack is less than or equal to a preset threshold, the range extender system is controlled to charge the first and second battery packs connected in series and to supply power to the drive motor.

[0136] Understandably, when the vehicle is running and the sum of the total SOC of the two battery packs reaches or falls below a preset low charge threshold (e.g., total SOC ≤ 30%), the range extender system is activated and its output is used to replenish the first and second battery packs connected in series through a high-voltage power distribution path.

[0137] The preset threshold is a safety boundary value pre-defined based on the vehicle's range requirements, the response characteristics of the range extender system, and user habits, used to trigger an efficient intervention strategy for the range extender system.

[0138] S204. When the vehicle is connected to an external charging device, the first battery pack and the second battery pack are charged sequentially in order of increasing battery level; or, the first battery pack and the second battery pack are connected in series so that the external charging device charges the first battery pack and the second battery pack simultaneously.

[0139] Understandably, when a vehicle is connected to an external charging device such as an external DC fast charging station through a single charging interface, the first and second battery packs are charged sequentially according to their current charge status, from lowest to highest charge. Alternatively, the first and second battery packs can be connected in series so that the external charging device charges both the first and second battery packs simultaneously. One of these two different charging strategies is used to replenish the two battery packs.

[0140] The "charging sequentially from low to high charge" strategy refers to comparing the State of Charge (SOC) of the first and second battery packs, identifying the pack with the lower SOC as the priority charging target, and then switching to the other battery pack for charging once the SOC of the priority charging target rises to a preset target value (such as approaching or reaching the safety limit of other battery packs). This strategy is suitable for scenarios where the output voltage or current of the external charging device is limited and cannot simultaneously meet the charging needs of both battery packs.

[0141] "Controlling the first battery pack and the second battery pack to connect in series so that the external charging device charges both at the same time" means: configuring the two battery packs in a series structure to form an equivalent high-voltage battery pack, and the external charging device matching the output mode of the total voltage to supply power to the entire series link, thereby enabling the two battery packs to receive electrical energy synchronously in the same charging circuit.

[0142] It should be noted that the above two charging modes can be dynamically selected based on the capabilities of the external charging device (such as maximum output voltage, whether it supports high voltage platforms), the current status of the battery pack, and user needs.

[0143] With only one charging port, the system intelligently selects the charging topology and timing to achieve efficient and balanced energy replenishment while adapting to the output characteristics of different charging stations. The series charging mode supports high-voltage fast charging, significantly shortening the overall charging time, while the sequential charging mode improves compatibility and safety with ordinary fast charging stations. The two modes work together to enhance the vehicle's adaptability to the external charging environment.

[0144] S205. When the vehicle is connected to two external charging devices, the first battery pack and the second battery pack are charged based on the first power data, the second power data, and the charging information.

[0145] Understandably, when a vehicle is connected to two independent external charging devices (such as a dual-gun DC fast charging station) at the same time, a collaborative charging strategy is dynamically formulated and executed, taking into account the real-time power status of the two battery packs and the operation of the external power grid.

[0146] The "first power data" and "second power data" mainly include the SOC, voltage, temperature, SOH (State of Health) of each battery pack, and a flag indicating whether charging is permitted. The "grid load status" refers to the current load level of the power supply network, typically fed back to the vehicle by the charging station via a communication interface. This data indicates whether the power grid is in a peak, off-peak, or constrained state. For example, a high load status may correspond to higher electricity prices or regional power shortages, while a low load status may correspond to off-peak electricity hours at night or a large surplus capacity in the grid.

[0147] Based on this, various intelligent charging strategies can be implemented. In some embodiments, when the grid load status indicates that the grid load is less than or equal to a preset load, the first battery pack and the second battery pack are controlled to be charged in series.

[0148] Understandably, when a vehicle is connected to an external charging device and the received grid load information indicates that the current power system is in a low-load or light-load state (such as during off-peak hours at night or when the regional power supply is sufficient), if the load level is lower than or equal to a preset load threshold (i.e., "preset load"), the vehicle control system will configure the two battery packs to be electrically connected in series and accept external charging with this high-voltage topology.

[0149] Among them, "grid load status" is an indicator reflecting the current power supply network load, which can be provided in real time by the charging pile through vehicle-to-pile communication, and is usually expressed as a percentage or absolute power value. "Preset load" is a judgment boundary pre-defined according to grid dispatch strategy, electricity pricing mechanism or user preferences, used to identify suitable periods for high-power charging.

[0150] One possible implementation is to connect the first battery pack and the second battery pack in series when the grid load is less than or equal to a preset load. The total voltage of the two battery packs is then superimposed, allowing the external charging device to complete charging with a lower current at the same power, or to quickly replenish energy with a higher power provided that a high voltage platform is supported.

[0151] By making full use of the surplus capacity and economic advantages during periods of low grid load, the charging efficiency can be significantly improved and the recharge time can be shortened through a series high-voltage charging mode.

[0152] In some embodiments, when the grid load status indicates that the grid load is greater than a preset load, the first battery pack and the second battery pack are controlled to be charged in parallel connection.

[0153] Understandably, when a vehicle is connected to an external charging device and the received grid load information indicates that the current power system is under high load or peak electricity consumption (such as during peak daytime electricity consumption or when there is a shortage of power supply in the area), if the load level exceeds the preset load threshold, the first battery pack and the second battery pack will be configured to be electrically connected in parallel, and external charging will be accepted using this low-voltage, high-capacity topology.

[0154] One possible implementation involves a parallel connection where, when the grid load exceeds a preset load, the two battery packs share the same charging voltage, and the total charging current is shared between them. This allows for proactive reduction of overall charging power (e.g., in response to grid demand response signals). Furthermore, the parallel structure allows for independent fine-tuning of the charging current for each battery pack, facilitating priority charging of the pack with lower capacity when power is limited, thus improving charging safety and balance.

[0155] In high-load grid scenarios, the parallel charging mode effectively reduces the impact on the grid and enhances the coordination between vehicles and smart grids. At the same time, it enables more flexible and safer current distribution under power-constrained conditions, avoids the risk of overcurrent in a single battery pack, and balances battery health and charging efficiency.

[0156] Figure 4 Flowchart of the vehicle control method provided in this application Figure 3 ,like Figure 4 As shown, in this embodiment... Figure 2 Based on the embodiments, the vehicle control method is described in detail, which includes:

[0157] S301. When the first battery pack and the second battery pack are connected in series for charging and discharging, detect whether there is a faulty battery pack in the first battery pack and the second battery pack.

[0158] Understandably, when two battery packs participate in the charging or discharging process together in a series topology, the operating status parameters of the two battery packs are continuously monitored to determine whether either battery pack has an abnormal condition that affects its safety or functionality.

[0159] "Faulty battery packs" refer to battery packs that cannot participate in normal charging and discharging due to internal or external factors, or whose continued operation may pose a safety risk. Examples include, but are not limited to: abnormal voltage, excessively high temperature or abnormal temperature rise rate, insulation resistance below a safe threshold, communication interruption, or charging / discharging prohibition flags actively reported by the battery management system. This fault information is typically collected in real-time by the monitoring unit corresponding to each battery pack and provided to the vehicle control system in structured data format.

[0160] With two battery packs connected in series, both packs carry the same current. If one pack fails, it will directly affect the stability of the entire series circuit and may even cause the vehicle's infotainment system to shut down. Therefore, performing fault detection in this mode is urgent and necessary.

[0161] The detection process is usually performed periodically at a high frequency (e.g., every 10–100 milliseconds). By comparing whether the key parameters of each battery pack exceed the preset safety boundary or whether a clear fault alarm signal is received, it is determined whether there is a faulty battery pack.

[0162] S302. If there is a faulty battery pack in either the first or second battery pack, disconnect the faulty battery pack.

[0163] Understandably, upon detecting a fault in any battery pack that affects system safety or functional integrity, the electrical connection between the faulty battery pack and the main charging / discharging circuit is cut off by controlling the corresponding high-voltage electrical switching devices, thus physically isolating it from the currently operating series circuit.

[0164] "Disconnection" refers to using controllable switching elements such as relays, contactors, or power semiconductor switches to separate the positive, negative, or both terminals of the faulty battery pack from the high-voltage bus, ensuring that it no longer participates in current flow. This "disconnection" operation is typically triggered by the vehicle controller within milliseconds after receiving a clear fault determination signal, to prevent the fault from continuing to affect the healthy battery pack or the vehicle's high-voltage system.

[0165] Optionally, the above-mentioned "disconnection" operation can be performed dynamically during charging or discharging. For example, if the second battery pack experiences a sudden temperature abnormality during series fast charging, its connection with the charging circuit will be immediately disconnected; or if the first battery pack experiences a sudden voltage drop while driving, it will be isolated to protect the second battery pack and the drive system.

[0166] The vehicle control method provided in this application detects whether there is a faulty battery pack in the first battery pack and the second battery pack. If there is a faulty battery pack in the first battery pack and the second battery pack, the faulty battery pack is disconnected, thereby timely identifying potential faulty units and quickly removing the faulty battery pack from the series circuit. This effectively blocks the fault propagation path, prevents the spread of faults, avoids power interruption or charging interruption, and improves vehicle operation safety.

[0167] Figure 5 A schematic diagram of the vehicle control device provided in this application is shown below. Figure 5 As shown, the vehicle control device 400 provided in this embodiment includes:

[0168] The acquisition module 401 is used to acquire first power data of the first battery pack and second power data of the second battery pack during vehicle operation.

[0169] The processing module 402 is used to control the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data.

[0170] In one possible implementation, the device further includes: a determining module 403;

[0171] The determination module 403 is used to determine the target battery pack with a larger charge from the first battery pack and the second battery pack based on the first charge data and the second charge data when the vehicle is in the starting state.

[0172] Processing module 402 is also used to control the target battery pack to supply power to the drive motor;

[0173] The processing module 402 is also used to control the first battery pack and the second battery pack to alternately discharge to the drive motor based on the power of the first battery pack and the second battery pack during vehicle operation, and to control the range extender system to alternately charge the first battery pack and the second battery pack.

[0174] In one possible implementation, the processing module 402 is further configured to discharge to the drive motor after the first battery pack and the second battery pack are connected in series when the vehicle is in the starting state.

[0175] The processing module 402 is also used to, when the vehicle is in motion, if the sum of the charges of the first battery pack and the second battery pack is less than or equal to a preset threshold, control the range extender system to charge the first battery pack and the second battery pack connected in series and to supply power to the drive motor.

[0176] In one possible implementation, the processing module 402 is further configured to charge the first battery pack and the second battery pack sequentially in order of increasing battery level when the vehicle is connected to an external charging device; or, to control the first battery pack and the second battery pack to be connected in series so that the external charging device charges the first battery pack and the second battery pack simultaneously.

[0177] In one possible implementation, the processing module 402 is further configured to charge the first battery pack and the second battery pack based on first power data, second power data, and charging information when the vehicle is connected to two external charging devices.

[0178] In one possible implementation, the processing module 402 is further configured to control the first battery pack and the second battery pack to be charged in series when the grid load status characterizes that the grid load is less than or equal to a preset load.

[0179] The processing module 402 is also used to control the first battery pack and the second battery pack to be charged in parallel when the grid load status indicates that the grid load is greater than the preset load.

[0180] In one possible implementation, the processing module 402 is further configured to detect whether there is a faulty battery pack in the first battery pack and the second battery pack when the first battery pack and the second battery pack are connected in series for charging and discharging.

[0181] The processing module 402 is also used to disconnect the faulty battery pack if there is a faulty battery pack in the first battery pack and the second battery pack.

[0182] The vehicle control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0183] Figure 6 A schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 500 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the device 500 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0184] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0185] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0186] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0187] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0188] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0189] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0190] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0191] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0192] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0193] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0194] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0195] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0196] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0197] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0198] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A vehicle control method, characterized in that, The vehicles include: A power system, a range extender system, and a drive motor, the power system comprising: a first battery pack and a second battery pack; the first battery pack and the second battery pack being used to discharge to the drive motor, the range extender system being used at least to charge the first battery pack and the second battery pack, the method comprising: During the operation of the vehicle, first power data of the first battery pack and second power data of the second battery pack are acquired. Based on the first power data and the second power data, the charging and discharging of the first battery pack and the second battery pack are controlled.

2. The method according to claim 1, characterized in that, The step of controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes: When the vehicle is in the starting state, based on the first power data and the second power data, a target battery pack with a larger power is determined from the first battery pack and the second battery pack, and the target battery pack is controlled to supply power to the drive motor. During vehicle operation, based on the charge levels of the first and second battery packs, the system controls the first and second battery packs to alternately discharge to the drive motor, and the range extender system alternately charges the first and second battery packs.

3. The method according to claim 1, characterized in that, The step of controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes: When the vehicle is in the starting state, the first battery pack and the second battery pack are connected in series to discharge to the drive motor. When the vehicle is in motion, if the sum of the charges of the first battery pack and the second battery pack is less than or equal to a preset threshold, the range extender system is controlled to charge the first battery pack and the second battery pack connected in series and to supply power to the drive motor.

4. The method according to claim 1, characterized in that, The step of controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes: When the vehicle is connected to an external charging device, the first battery pack and the second battery pack are charged sequentially in order of increasing battery level; or, the first battery pack and the second battery pack are connected in series so that the external charging device charges both the first battery pack and the second battery pack simultaneously.

5. The method according to claim 4, characterized in that, The step of controlling the charging and discharging of the first battery pack and the second battery pack based on the first power data and the second power data includes: When the vehicle is connected to two external charging devices, the first battery pack and the second battery pack are charged based on the first power data, the second power data, and the charging information. The charging information includes at least one of the following: grid load status and the vehicle's charging needs.

6. The method according to claim 5, characterized in that, The charging information includes: grid load status. The charging of the first battery pack and the second battery pack based on the first power data, the second power data, and the charging information includes: When the grid load status indicates that the grid load is less than or equal to a preset load, the first battery pack and the second battery pack are controlled to be charged in series. When the grid load status indicates that the grid load is greater than the preset load, the first battery pack and the second battery pack are controlled to be charged in parallel connection.

7. The method according to any one of claims 3-6, characterized in that, The method further includes: When the first battery pack and the second battery pack are connected in series for charging and discharging, detect whether there is a faulty battery pack in the first battery pack and the second battery pack; If there is a faulty battery pack in either the first or the second battery pack, then disconnect the faulty battery pack.

8. A vehicle, characterized in that, The vehicle includes: a range extender, a vehicle controller, a first monitoring module, a second monitoring module, a first battery pack, a second battery pack, and a drive motor; The range extender is connected to the first battery pack and the second battery pack respectively, and is used to charge the first battery pack and the second battery pack; Both the first battery pack and the second battery pack are connected to the drive motor and are used to discharge to the drive motor; The first monitoring module is used to collect the first power data of the first battery pack; The second monitoring module is used to collect the second power data of the second battery pack; The vehicle controller is communicatively connected to the first monitoring module, the second monitoring module, and the range extender component, and is used to execute the method as described in any one of claims 1-7.

9. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

11. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-7.