Vehicle charging control method and device and storage medium
By acquiring the vehicle's power-on/off status, high-voltage operation status, and gear information, the system controls the vehicle to exit from PTReady state to HVReady state, solving the problem of slow charging performance being affected by temperature and enabling safe charging in different scenarios.
Patent Information
- Application Number
- CN202511310387.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2025-11-25
AI Technical Summary
Slow charging is greatly affected by temperature, which cannot meet the needs of users who want to use their vehicles while charging, thus affecting the user's charging experience.
By acquiring the vehicle's power-on/off status, high-voltage operation status, gear information, and driving speed, it is determined whether charging is suitable. When the conditions are met, the vehicle is controlled to exit from PTReady state to HVReady state, allowing charging. During the charging process, the vehicle is prohibited from entering PTReady state to ensure safety.
It improves the adaptability of slow charging to different scenarios and conditions, meets users' charging habits, and ensures the safety of the charging process.
Smart Images

Figure CN121004918A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a control method, device and storage medium for vehicle charging. Background Technology
[0002] With the rapid development of the new energy vehicle industry, plug-in hybrid electric vehicles (PHEVs) are gradually becoming an important option for the transition from traditional gasoline vehicles to pure electric vehicles. For PHEVs, slow charging has a smaller impact on battery life and is more suitable for situations where vehicles are parked for extended periods in daily life. Therefore, optimizing slow charging technology is of great significance for improving the user experience of PHEVs and extending battery life.
[0003] In related technologies, the charging effect of slow charging is greatly affected by temperature and cannot meet the needs of users who want to use their vehicles while charging, thus impacting the user's charging experience. Therefore, how to improve the adaptability of slow charging to different scenarios and meet users' charging habits while ensuring the safety of the charging process is a problem that needs to be solved. Summary of the Invention
[0004] This application provides a vehicle charging control method, device, and storage medium, which can be used to improve the adaptability of slow charging to different scenarios and meet users' charging habits while ensuring the safety of the charging process. The technical solution is as follows:
[0005] On one hand, embodiments of this application provide a vehicle charging control method, the method comprising:
[0006] In response to the charging gun being inserted into the vehicle, the power-on / off state of the vehicle is obtained, including OFF (power off) state, ACC (accessory powered on) state, and ON (power on) state.
[0007] In response to the power-on / off state being the ON state, the high-voltage operating state of the vehicle is obtained, including the PTReady (Powertrain Ready) state and the HVReady (HighVoltage Ready) state.
[0008] In response to the high-voltage operating state being the PTReady state, the vehicle's gear information and driving speed are obtained, and the gear information includes P (Park) gear, D (Drive) gear, R (Reverse) gear and L (Low) gear.
[0009] In response to the gear information being D, R, or L and the driving speed being less than a speed threshold, or the gear information being P, the vehicle is controlled to exit the PTReady state and exit the HVReady state, and the charging gun is allowed to charge the vehicle.
[0010] During the vehicle charging process, in response to the brake pedal being pressed and the button to activate the PTReady state being pressed, the vehicle is prevented from entering the PTReady state until charging is completed.
[0011] On the other hand, a vehicle charging control device is provided, the device comprising:
[0012] The first acquisition module is used to acquire the power-on / off state of the vehicle in response to the charging gun being inserted into the vehicle, the power-on / off state including OFF state, ACC state and ON state;
[0013] The second acquisition module is used to acquire the high-voltage operating status of the vehicle in response to the power-on / off state being the ON state. The high-voltage operating status includes PTReady state and HVReady state.
[0014] The third acquisition module is used to acquire the vehicle's gear information and driving speed in response to the high-voltage operating state being the PTReady state. The gear information includes P gear, D gear, R gear and L gear.
[0015] The control module is configured to respond to the gear information being D, R, or L and the driving speed being less than a speed threshold, or the gear information being P, to control the vehicle to exit the PTReady state and allow the charging gun to charge the vehicle.
[0016] An inactivation module is configured to prevent the vehicle from entering the PTReady state until charging is complete, in response to the brake pedal being depressed and the button to activate the PTReady state being pressed.
[0017] On the other hand, a non-transitory computer-readable storage medium is also provided, characterized in that the computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement any of the above-described vehicle charging control methods.
[0018] On the other hand, a computer program product is also provided, the computer program product including computer instructions, which, when executed by a processor, implement the steps of any of the vehicle charging control methods described above.
[0019] The technical solution provided in this application brings at least the following beneficial effects:
[0020] This application obtains the high-voltage operating status of the vehicle when the charging gun is plugged into the vehicle and the vehicle's power is ON. If the vehicle's high-voltage operating status is PTReady, the application obtains the vehicle's gear information and driving speed to determine if the vehicle's current state is suitable for charging. If the gear information is D, R, or L and the driving speed is less than a speed threshold, or if the gear information is P, the application controls the vehicle to exit PTReady state and enter HVReady state, ensuring the vehicle's high-voltage operating status is suitable for charging before allowing the charging gun to charge the vehicle. During the charging process, if the application detects that the brake pedal is depressed and the button to activate PTReady state is pressed, the application prevents the vehicle from entering PTReady state until charging is complete. This improves the adaptability of slow charging to different scenarios and meets users' charging habits while ensuring the safety of the charging process. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application;
[0023] Figure 2 This is a flowchart of a vehicle charging control method provided in an embodiment of this application;
[0024] Figure 3 This is a schematic diagram of the structure of a vehicle charging control device provided in an embodiment of this application. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0026] This application provides a vehicle charging control method. Please refer to... Figure 1The diagram illustrates the implementation environment of the method provided in this application embodiment. This implementation environment may include: a BMS (Battery Management System) 11, an OBC (On-Board Charger) 12, a VCU (Vehicle Control Unit) 13, a BCM (Body Control Module) 14, a TCU (Transmission Control Unit) 15, a first temperature sensor 16, a second temperature sensor 17, a PTC (Positive Temperature Coefficient) heater 18, and a display screen on the center console 19.
[0027] Optionally, OBC12 is used to determine whether a charging gun is inserted into the vehicle and send the result to BMS11; VCU13 is used to obtain the detection results of the vehicle's power-on / off status, the vehicle's high-voltage operation status, the vehicle's armed sleep status, and the vehicle's driving speed and send them to BMS11. It can also be used to control the vehicle to exit from PTReady state to HVReady state; BCM14 is used to obtain the opening and closing status of the vehicle's charging port cover and send it to BMS11.
[0028] For example, TCU15 is used to acquire the vehicle's gear position information and send it to BMS11, and can also be used to control the vehicle's gear to switch to P gear; the first temperature sensor 16 is installed on the outer surface of the power battery pack to collect the surface temperature of the power battery pack and send it to BMS11; the second temperature sensor 17 is installed on each cell inside the power battery pack to collect the temperature of each cell inside the power battery pack; the PTC heater 18 is used to heat the power battery pack; and the display screen 19 on the center console is used to issue fault prompts. The BMS11, OBC12, VCU13, BCM14, TCU15, first temperature sensor 16, second temperature sensor 17, PTC heater 18, and center console display screen 19 establish a communication connection via a wired or wireless network.
[0029] Based on the above Figure 1 As shown in the implementation environment, this application embodiment provides a vehicle charging control method such as... Figure 2 As shown, taking the application of this method to BMS as an example, the method includes steps 201-205.
[0030] In step 201, in response to the charging gun being inserted into the vehicle, the BMS obtains the vehicle's power-on / off status, which includes OFF, ACC, and ON states.
[0031] For example, the BMS can determine whether a charging gun is plugged into the vehicle through the OBC. If the charging gun is plugged into the vehicle, the BMS obtains the vehicle's power-on / off status, which includes OFF, ACC, and ON states.
[0032] In one possible implementation, the BMS obtains the vehicle's power-on / off status in ways including, but not limited to, obtaining the vehicle's power-on / off status through the VCU.
[0033] In step 202, in response to the power-on state being ON, the BMS acquires the high-voltage operating status of the vehicle, which includes PTReady state and HVReady state.
[0034] Optionally, after obtaining the vehicle's power-on state as ON, the BMS obtains the vehicle's high-voltage operating state, which includes PTReady and HVReady states. In one possible implementation, in the PTReady state, the vehicle's high-voltage system is powered on and the vehicle can be driven; in the HVReady state, the vehicle's high-voltage system is powered on but the vehicle cannot be driven. Exemplarily, the BMS obtains the vehicle's high-voltage operating state in ways including, but not limited to, obtaining the vehicle's high-voltage operating state through the VCU.
[0035] In one possible implementation, in response to the power-on state being ON but not in PTReady or HVReady state, or the power-on state being ACC, the BMS allows the charging gun to charge the vehicle.
[0036] Optionally, if the vehicle's power-on state is ON but not in PTReady or HVReady state, or if the vehicle's power-on state is ACC, the BMS allows the charging gun to charge the vehicle. This includes: the BMS controlling the relay to close and controlling the OBC to start working, charging the vehicle through the charging gun. The relay controls the connection between the power battery and the OBC; when the relay is closed, the OBC can charge the power battery; when the relay is open, the OBC cannot charge the power battery.
[0037] For example, in response to the power-on / off state being OFF, the detection result of the vehicle's armed sleep state is obtained, and the detection result of the armed sleep state is used to indicate whether the vehicle has entered the armed sleep state; in response to obtaining the detection result of the vehicle entering the armed sleep state, the opening and closing status of the vehicle's charging port cover is obtained; in response to the charging port cover being in the open state, the charging gun is allowed to charge the vehicle.
[0038] In one possible implementation, if the vehicle's power-on / off state is OFF, the BMS acquires the detection result of the vehicle's armed-sleep state, wherein the detection result of the armed-sleep state is used to indicate whether the vehicle has entered an armed-sleep state. Optionally, the BMS acquires the detection result of the vehicle's armed-sleep state in ways including, but not limited to, acquiring the detection result of the vehicle's armed-sleep state through the VCU.
[0039] For example, if a detection result indicating that the vehicle has entered a protected sleep state is obtained, the BMS acquires the opening and closing status of the vehicle's charging port cover, including: the BMS acquires the opening and closing status of the vehicle's charging port cover through the BCM, wherein the opening and closing status of the vehicle's charging port cover includes an open state and a closed state. In one possible implementation, if it is determined that the charging port cover is in the open state, the BMS controls the relay to close and controls the OBC to start working, allowing the charging gun to charge the vehicle.
[0040] In step 203, in response to the high-voltage operating state being PTReady, the BMS obtains the vehicle's gear information and driving speed. The gear information includes P, D, R, and L gears.
[0041] In one possible implementation, after determining that the vehicle's high-voltage operating state is PTReady, the BMS acquires the vehicle's gear information and speed, wherein the gear information includes P, D, R, and L gears. Optionally, the BMS acquires the vehicle's gear information and speed in ways including, but not limited to, acquiring the vehicle's gear information via the TCU and acquiring the vehicle's speed via the VCU.
[0042] In step 204, in response to the gear information being D, R, or L and the driving speed being less than the speed threshold, or the gear information being P, the BMS controls the vehicle to exit from PTReady state to HVReady state and allows the charging gun to charge the vehicle.
[0043] Optionally, after acquiring the vehicle's gear information and driving speed, if the vehicle is in D, R, or L gear, the driving speed is compared with a speed threshold. If the vehicle is in D, R, or L gear and the driving speed is less than the speed threshold, or if the vehicle is in P gear, the BMS controls the vehicle to exit from PTReady state to HVReady state via the VCU, and controls the relay to close and the OBC to start working, allowing the charging gun to charge the vehicle.
[0044] For example, in response to gear information being D, R, or L and the driving speed being less than a speed threshold, the vehicle's gear is controlled to switch to P. In one possible implementation, if the vehicle meets the conditions of gear information being D, R, or L and the driving speed being less than a speed threshold, the BMS controls the vehicle's gear to switch to P via the TCU before allowing the charging gun to charge the vehicle.
[0045] Optionally, in response to the gear information being D, R, or L and the vehicle's speed being greater than or equal to a speed threshold, the charging gun is not allowed to charge the vehicle. In one possible implementation, after comparing the vehicle's speed with the speed threshold, if the vehicle meets the conditions of being in D, R, or L and its speed being greater than or equal to the speed threshold, the relay remains open to prevent the charging gun from charging the vehicle. For example, the speed threshold can be set empirically, for example, to 3 kilometers per hour.
[0046] In step 205, during vehicle charging, in response to the brake pedal being depressed and the button to activate PTReady state being pressed, the BMS prevents the vehicle from entering PTReady state until charging is complete.
[0047] For example, after allowing the charging gun to charge the vehicle, during the vehicle charging process, the BMS monitors the status of the brake pedal and the status of the PTReady activation button via the VCU. If it detects that the brake pedal is depressed and the PTReady activation button is pressed, the BMS prevents the vehicle from entering PTReady state until charging is complete.
[0048] In one possible implementation, after recognizing that the charging gun is inserted into the vehicle, the surface temperature of the vehicle's power battery pack and the temperature of each internal cell are obtained; the maximum temperature difference between the internal cells is calculated based on the temperature of each internal cell; in response to the surface temperature being less than a first temperature threshold and the maximum temperature difference between the internal cells being less than a second temperature threshold, the power battery pack is heated after the charging gun is inserted, wherein the first temperature threshold is less than the second temperature threshold.
[0049] Optionally, the BMS collects the surface temperature of the power battery pack using a first temperature sensor mounted on its outer surface, and collects the temperature of each internal cell using a second temperature sensor mounted on each internal cell. Based on the temperatures of the internal cells, the BMS calculates the maximum temperature difference between them. Then, it compares the surface temperature of the power battery pack with a first temperature threshold, and the maximum temperature difference between the internal cells with a second temperature threshold.
[0050] For example, if the surface temperature is less than a first temperature threshold and the maximum temperature difference between the internal cells is less than a second temperature threshold, the power battery pack is heated by a PTC heater integrated inside the power battery pack after the charging gun is inserted. In one possible implementation, the first and second temperature thresholds can be set empirically, requiring that the first temperature threshold be less than the second temperature threshold. For example, the first temperature threshold can be set to 5 degrees Celsius, and the second temperature threshold can be set to 15 degrees Celsius.
[0051] Optionally, in response to the temperature of each internal cell being greater than or equal to a third temperature threshold, or the maximum temperature difference between internal cells being greater than or equal to a second temperature threshold, the charging gun is allowed to charge the vehicle, wherein the third temperature threshold is greater than the first temperature threshold and less than the second temperature threshold.
[0052] In one possible implementation, during the heating process of the battery pack, the surface temperature of the battery pack and the temperature of each internal cell are continuously monitored, and the temperature of each internal cell is compared with a third temperature threshold. If the temperature of each internal cell is greater than or equal to the third temperature threshold, or if the maximum temperature difference between the internal cells is greater than or equal to a second temperature threshold, the BMS controls the relay to close and controls the OBC to start working, allowing the charging gun to charge the vehicle.
[0053] For example, the third temperature threshold can be set empirically, and it needs to meet the condition that the third temperature threshold is greater than the first temperature threshold and less than the second temperature threshold. For example, the third temperature threshold can be set to 10 degrees Celsius.
[0054] In one possible implementation, in response to the detection of charging fault information, the charging state is immediately exited and a fault warning is issued. Optionally, regardless of whether charging is in progress, while the charging gun is plugged into the vehicle, if charging fault information is detected, the BMS immediately controls the vehicle to exit the charging state and issues a fault warning. Exemplarily, the BMS issues the fault warning in ways including, but not limited to, displaying the text "Vehicle malfunctions, charging state exited" on the vehicle's center console display screen.
[0055] This embodiment of the application obtains the vehicle's power-on / off status after the charging gun is inserted into the vehicle. If the vehicle's power-on / off status is ON, the high-voltage operating status is obtained. If the vehicle's high-voltage operating status is PTReady, the vehicle's gear information and driving speed are obtained. If the gear information is D, R, or L and the driving speed is less than a speed threshold, or if the gear information is P, the vehicle is controlled to exit the PTReady state and enter the HVReady state, allowing the charging gun to charge the vehicle. During vehicle charging, if the brake pedal is detected to be depressed and the button to activate the PTReady state is pressed, the vehicle is prevented from entering the PTReady state until charging is complete. This improves the adaptability of slow charging to different scenarios and meets users' charging habits while ensuring the safety of the charging process.
[0056] See Figure 3 This application provides a vehicle charging control device, which includes:
[0057] The first acquisition module 301 is used to acquire the power-on / off status of the vehicle in response to the charging gun being inserted into the vehicle. The power-on / off status includes OFF, ACC and ON states.
[0058] The second acquisition module 302 is used to acquire the high voltage operating status of the vehicle in response to the power-on state being ON. The high voltage operating status includes PTReady state and HVReady state.
[0059] The third acquisition module 303 is used to acquire the vehicle's gear information and driving speed in response to the high-voltage operating state being PTReady. The gear information includes P gear, D gear, R gear and L gear.
[0060] The control module 304 is used to control the vehicle to exit the PTReady state and allow the charging gun to charge the vehicle in response to the gear information being D, R, or L and the driving speed being less than the speed threshold, or the gear information being P.
[0061] The prohibition module 305 is used to prevent the vehicle from entering the PTReady state until charging is completed, in response to the brake pedal being pressed and the button to activate the PTReady state being pressed.
[0062] In one possible implementation, the device further includes a first enabling module, configured to enable the charging gun to charge the vehicle in response to the power-on state being ON but not in PTReady or HVReady state, or the power-on state being ACC.
[0063] In one possible implementation, the device further includes: a fourth acquisition module, configured to acquire a detection result of the vehicle's armed sleep state in response to the power-on / off state being OFF, the detection result of the armed sleep state being used to indicate whether the vehicle has entered the armed sleep state; the fourth acquisition module, configured to acquire the opening and closing status of the vehicle's charging port cover in response to the acquisition of the detection result of the vehicle entering the armed sleep state; and a second permission module, configured to allow the charging gun to charge the vehicle in response to the charging port cover being in the open state.
[0064] In one possible implementation, the third acquisition module 303 is further configured to control the vehicle to switch to P gear in response to the gear information being D, R, or L and the driving speed being less than a speed threshold.
[0065] In one possible implementation, the third acquisition module 303 is further configured to prevent the charging gun from charging the vehicle in response to the gear information being D, R, or L and the vehicle's driving speed being greater than or equal to a speed threshold.
[0066] In one possible implementation, the device further includes: a fifth acquisition module for acquiring the surface temperature of the vehicle's power battery pack and the temperature of each internal cell; a calculation module for calculating the maximum temperature difference between the internal cells based on the temperature of each internal cell; and a heating module for heating the power battery pack after the charging gun is inserted in response to the surface temperature being less than a first temperature threshold and the maximum temperature difference between the internal cells being less than a second temperature threshold, wherein the first temperature threshold is less than the second temperature threshold.
[0067] In one possible implementation, the heating module is further configured to allow the charging gun to charge the vehicle in response to the temperature of each internal cell being greater than or equal to a third temperature threshold, or the maximum temperature difference between the internal cells being greater than or equal to a second temperature threshold, wherein the third temperature threshold is greater than the first temperature threshold and less than the second temperature threshold.
[0068] In one possible implementation, the device further includes an exit module, which, in response to the detection of charging fault information, immediately exits the charging state and issues a fault prompt.
[0069] This device acquires the vehicle's power-on / off status after the charging gun is plugged in. If the vehicle is in the ON state, it acquires the vehicle's high-voltage operating status. If the high-voltage operating status is PTReady, it acquires the vehicle's gear information and speed. If the gear is D, R, or L and the speed is below a speed threshold, or if the gear is P, it controls the vehicle to exit PTReady and enter HVReady state, allowing the charging gun to charge the vehicle. During charging, if the brake pedal is detected to be depressed and the PTReady activation button is pressed, the vehicle is prevented from entering PTReady state until charging is complete. This improves the adaptability of slow charging to different scenarios and meets user charging habits while ensuring charging safety.
[0070] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0071] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-described vehicle charging control methods.
[0072] In one possible implementation, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0073] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the vehicle charging control methods described above.
[0074] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the vehicle's power-on / off status, high-voltage operation status, gear information, speed, brake pedal status, and the status of the PTReady activation button involved in this application were all obtained with full authorization.
[0075] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0076] It should be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. 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.
[0077] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A control method for vehicle charging, characterized in that, The method includes: In response to the charging gun being inserted into the vehicle, the power-on / off status of the vehicle is obtained, including the power-off OFF state, the accessory power-on ACC state, and the power-on ON state. In response to the power-on / off state being the ON state, the high-voltage operating state of the vehicle is obtained, including the powertrain ready state (PTReady) and the high-voltage system ready state (HVReady). In response to the high-voltage operating state being the PTReady state, the vehicle's gear information and driving speed are obtained, including the parking P gear, drive D gear, reverse R gear, and low speed L gear. In response to the gear information being D, R, or L and the driving speed being less than a speed threshold, or the gear information being P, the vehicle is controlled to exit the PTReady state and exit the HVReady state, and the charging gun is allowed to charge the vehicle. During the vehicle charging process, in response to the brake pedal being pressed and the button to activate the PTReady state being pressed, the vehicle is prevented from entering the PTReady state until charging is completed.
2. The method according to claim 1, characterized in that, The method further includes: In response to the power-on / off state being ON but not in PTReady or HVReady state, or the power-on / off state being ACC state, the charging gun is allowed to charge the vehicle.
3. The method according to claim 1, characterized in that, The method further includes: In response to the power-on / off state being the OFF state, the detection result of the vehicle's armed sleep state is obtained, and the detection result of the armed sleep state is used to indicate whether the vehicle has entered the armed sleep state; In response to the detection result that the vehicle has entered the armed sleep state, the opening and closing status of the vehicle charging port cover is obtained; In response to the charging port cover being in the open state, the charging gun is allowed to charge the vehicle.
4. The method according to claim 1, characterized in that, After obtaining the vehicle's gear information and speed, the method further includes: In response to the gear information being D, R, or L and the driving speed being less than a speed threshold, the vehicle's gear is switched to P.
5. The method according to claim 4, characterized in that, After obtaining the vehicle's gear information and speed, the method further includes: In response to the gear information being D, R, or L and the vehicle's speed being greater than or equal to the speed threshold, the charging gun is not allowed to charge the vehicle.
6. The method according to claim 1, characterized in that, The method further includes: The surface temperature of the vehicle's power battery pack and the temperature of each internal cell are obtained. The maximum temperature difference between the internal cells is calculated based on the temperature of each internal cell. In response to the surface temperature being less than a first temperature threshold and the maximum temperature difference between the internal cells being less than a second temperature threshold, the power battery pack is heated after the charging gun is inserted, wherein the first temperature threshold is less than the second temperature threshold.
7. The method according to claim 6, characterized in that, After heating the power battery pack, the method further includes: In response to the temperature of each of the internal cells being greater than or equal to a third temperature threshold, or the maximum temperature difference between the internal cells being greater than or equal to a second temperature threshold, the charging gun is allowed to charge the vehicle, wherein the third temperature threshold is greater than the first temperature threshold and less than the second temperature threshold.
8. The method according to claim 1, characterized in that, The method further includes: Upon detecting a charging fault, the device immediately exits the charging state and issues a fault warning.
9. A vehicle charging control device, characterized in that, The device includes: The first acquisition module is used to acquire the power-on / off status of the vehicle in response to the charging gun being inserted into the vehicle. The power-on / off status includes a power-off OFF state, an accessory power-on ACC state, and a power-on ON state. The second acquisition module is used to acquire the high-voltage operating status of the vehicle in response to the power-on / off state being the ON state. The high-voltage operating status includes the powertrain ready state (PTReady) and the high-voltage system ready state (HVReady). The third acquisition module is used to acquire the vehicle's gear information and driving speed in response to the high-voltage operating state being the PTReady state. The gear information includes P gear, D gear, R gear and L gear. The control module is configured to respond to the gear information being D, R, or L and the driving speed being less than a speed threshold, or the gear information being P, to control the vehicle to exit the PTReady state and allow the charging gun to charge the vehicle. An inactivation module is configured to prevent the vehicle from entering the PTReady state until charging is complete, in response to the brake pedal being depressed and the button to activate the PTReady state being pressed.
10. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the vehicle charging control method as described in any one of claims 1 to 8.