Soft and hard switch control method for extended-range electric vehicle
By developing a compatible control strategy and equipping redundant hardware switches in the VCU, the problem of functional failure caused by MP5 crashes or communication loss was solved, realizing stable functional control of the range-extended electric vehicle under fault conditions, and improving the vehicle's economy, power and driving experience.
Patent Information
- Application Number
- CN202511574328.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2025-12-12
AI Technical Summary
In current range-extended electric vehicles, when the in-vehicle MP5 screen freezes or loses communication with the vehicle control unit (VCU), important functions fail to adjust, affecting the vehicle's economy, power, and driving experience.
Develop compatible control and fault handling strategies in the VCU, equip it with redundant hardware control switches, realize stable control of drive mode and custom power generation, continue to adjust functions in the event of MP5 failure through hardware switches, and degrade to the default mode when communication is lost.
This ensures the stability and controllability of the vehicle's functions in the event of an MP5 malfunction, improves economy, power and driving experience, and protects user safety and economic benefits.
Smart Images

Figure CN121106311A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control, and specifically to a soft and hard switching control method for range-extended electric vehicles. Background Technology
[0002] Range-extended electric commercial vehicles typically use in-vehicle large-screen MP5 players for human-machine interaction to control some vehicle functions, such as drive mode switching, custom power generation selection, and energy recovery switch and level adjustment. The MP5's integrated touch button design improves the overall vehicle control experience, and the interface is aesthetically pleasing. In accordance with automotive industry standards, the in-vehicle large screen can use consumer-grade chips in the cabin. However, given the current price war in the new energy vehicle sector, some manufacturers use MP5 players with consumer-grade chips. Compared to automotive-grade chips, consumer-grade chips have certain limitations in reliability and stability, and the probability of the vehicle's infotainment system freezing is relatively higher.
[0003] Currently, the MP5 communicates with the vehicle control unit (VCU) via a gateway TBOX to achieve functional control. If the MP5 crashes or loses communication with the VCU, the range-extended electric commercial vehicle will be unable to adjust important basic functions. For example, the inability to switch drive modes will affect the vehicle's fuel economy and range performance. The inability to select custom power generation will result in unadjustable power generation, which will also directly affect the vehicle's fuel economy and power performance. Furthermore, the inability to adjust energy recovery will affect the user's driving experience.
[0004] In summary, a soft and hard switching control method for range-extended electric vehicles is proposed to solve the problems mentioned in the background. Summary of the Invention
[0005] The purpose of this invention is to provide a soft and hard switch control method for range-extended electric vehicles. This method equips some important functions with redundant hardware control switches to achieve stable and controllable functions throughout the product's entire lifecycle. The driving mode and custom power generation adjustment directly affect the vehicle's economy, power, and drivability. This invention solves the problem that in the current stage, MP5 controls functions through the gateway TBOX and the vehicle control unit (VCU). If the MP5 crashes or loses communication with the VCU, the range-extended electric commercial vehicle will be unable to adjust important basic functions.
[0006] A soft-hard switching control method for a range-extended electric vehicle includes a vehicle control unit (VCU). The VCU is responsible for the overall control of relevant vehicle functions and achieves real-time vehicle control through an embedded system and software. The drive mode is used to switch the vehicle's power source. The specific steps are as follows:
[0007] Step S1: After the hardware switch processes the user's operation intention, the MP5 drive mode input signal is embedded into the end of the hardware switch processing logic to realize the intervention processing of the hardware switch signal. The initial mode of the drive mode processing logic loop is set to EV.
[0008] In step S2, the VCU monitors the vehicle status to determine whether it can enter the custom power generation mode. It summarizes the status of whether it is allowed to enter the custom power generation mode in the signal VCU_stREVAvailable and sends it to the MP5 for reference as a prerequisite for judging whether it can enter the custom power generation mode, and as a prompt message for the user to see whether it can switch to the custom power generation mode.
[0009] Step S3: Determine whether the power generation plus switch rising edge signal is detected. If yes, proceed to step S4; otherwise, continue monitoring.
[0010] Step S4: Determine whether the current power generation value is less than the rounding calibration value VCU_RoundAPUReq. If not, increase it according to the step calibration value VCU_StepAPUReq. If so, execute according to the rounding calibration value VCU_RoundAPUReq.
[0011] Step S5: Determine whether a rising edge signal of the power reduction switch is detected. If yes, proceed to step S6; otherwise, continue monitoring.
[0012] Step S6: Determine whether the current power generation value is less than or equal to the rounding calibration value VCU_RoundAPUReq. If not, reduce it according to the step calibration value. If so, execute according to the default initial value VCU_DefaultAPUReq.
[0013] Step S7: Complete the basic processing of adding and subtracting power generation to obtain the first initial value VCU_APUReq1stRaw;
[0014] Step S8: Determine if the driving mode is ECO. If so, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of ECO, VCU_APU4ECOUp. Otherwise, if the current driving mode is Normal, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of Normal, VCU_APU4NormalUp, and finally obtain the second initial value VCU_APUReq2ndRaw after addition and subtraction logic processing.
[0015] Step S9: Determine whether the driving mode has switched from Normal to ECO. If not, continue checking. If yes, proceed to step S10.
[0016] Step S10: Determine whether the current power generation second initial value VCU_APUReq2ndRaw is higher than the power generation upper limit VCU_APU4ECOUp in ECO mode. If so, process it according to VCU_APU4ECOUp to obtain the third initial value VCU_APUReq3rdRaw. Otherwise, no processing is required.
[0017] Step S11: The third initial value VCU_APUReq3rdRaw is increased by taking the larger value of the power generation setting to obtain the fourth initial value VCU_APUReq4thRaw;
[0018] Step S12: Determine whether the MP5 custom power generation value has changed. If not, do not process it. If it has, execute according to the MP5 input custom power generation value and cyclically detect the hardware switch and MP5 input signal.
[0019] Further, the initial default value of the rounding calibration value in steps S4 and S6 is 2kW, while the other selected power generation values are all values with a step size of 5, such as 5, 10, and 15. In step S4, when transitioning between 2kW and 5kW, separate processing is required to ensure that the power output can be smoothly increased from 2kW to 5kW when the cumulative step size is 5. In step S6, when the cumulative decrement step size is 5, the power output can be smoothly decreased from 5kW to 2kW.
[0020] Further specifying, the custom driving power is divided into ECO and Normal driving modes, with different upper limits for power generation set according to different driving modes. The power generation under ECO is limited to 40kW, and the power generation under Normal is limited to 55kW.
[0021] Further specifying, the specific steps in step S2 are as follows:
[0022] Step S2.1: The VCU determines whether VCU_stREVAvailable=1. If so, the custom power generation time is allowed to enter, and step S2.2 is executed. Otherwise, entry is not allowed, VCU_stREVAvailable=0, and step S2.3 is executed.
[0023] Step S2.2: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV / REV / Auto.
[0024] Step S2.2.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / REV / Auto and proceed to step S2.4. Otherwise, continue monitoring.
[0025] Step S2.3: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV and Auto.
[0026] Step S2.3.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / Auto and proceed to step S2.4. Otherwise, continue monitoring.
[0027] In step S2.4, the VCU detects the hardware switch and MP5 input signal in real time, and the logic loop cycles.
[0028] Further, the custom power generation selection function prioritizes the processing logic of the hardware switch module. The VCU software detects the rising edge signal of the switch to determine whether to increase or decrease the power generation. Custom power generation "increase" and "decrease" buttons are set to achieve bidirectional adjustment.
[0029] Further limitations include an energy recovery switch and level control. When the VCU detects MP5 communication loss, it will control energy recovery according to the default level 2 energy recovery and keep the energy recovery switch in the normally open mode.
[0030] To further define the specific steps of the energy recovery control strategy, the steps are as follows:
[0031] Step S20: Determine whether the MP5 message communication has timed out. If not, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If so, proceed to step S21.
[0032] Step S21: Whether the timeout has occurred needs to be confirmed by debounced. Otherwise, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If it has occurred, the VCU confirms that the MP5 has lost communication.
[0033] In step S22, the VCU executes the energy recovery quick-off and level handling strategy after MP5 disconnection, keeping energy recovery on and maintaining the recovery level at level two.
[0034] The advantages of this invention compared to the prior art are as follows:
[0035] This invention achieves stable and controllable functionality throughout the product's entire lifecycle by developing corresponding compatible control and fault handling strategies within the VCU and equipping certain critical functions with redundant hardware control switches. Drive mode and custom power generation adjustment directly impact the vehicle's economy, power, and drivability. Hardware control switches are simultaneously provided to allow both the MP5 and the hardware switch to control drive mode simultaneously. Even when the MP5 crashes or loses communication with the VCU, drive mode and custom power generation control can still be performed via the hardware switch. Energy recovery switching and level adjustment are relatively infrequently used by users. Further degradation processing is performed by determining if the MP5 has lost communication with the VCU, ensuring that energy recovery can still be used to improve energy efficiency even after the MP5 disconnects. By developing corresponding control strategies at the VCU software level and simultaneously adding hardware switches at the vehicle hardware level, effective control of critical functions can still be achieved even in MP5 failure states. This improves the robustness of the VCU software, ensuring the continuous and stable performance of the vehicle's economy, power, and drivability, providing strong protection for the user experience, and safeguarding user safety and economic benefits. Attached Figure Description
[0036] Figure 1 This is the overall control block diagram of the driving mode of the present invention.
[0037] Figure 2 This is the overall control block diagram of the custom power generation control of the present invention.
[0038] Figure 3 This is a flowchart of the drive mode control strategy of the present invention.
[0039] Figure 4 Flowchart of the custom power generation control strategy of this invention
[0040] Figure 5 This is a flowchart of the energy recovery control strategy of the present invention. Detailed Implementation
[0041] To enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention will be further described below in conjunction with the accompanying drawings and embodiments. Example
[0042] like Figures 1-5As shown, a soft and hard switch control method for a range-extended electric vehicle includes a vehicle control unit (VCU). The VCU is responsible for the overall control of vehicle-related functions and achieves real-time vehicle control through an embedded system and software. The drive mode is used to switch the vehicle's power source, including pure electric or custom power generation modes. Priority is given to hardware switch control of the drive mode. After the hardware switch processes the user's operation intention, the drive mode input signal of the MP5 is embedded at the end of the hardware switch processing logic to intervene in the hardware switch signal. The MP5 drive mode switching signal is transmitted to the VCU through a gateway. The MP5 drive mode signal and the hardware switch processing logic signal have the same default drive mode. If the MP5 drive mode changes, the user's desired driving mode is transmitted to the backend mode management module according to the MP5 drive mode at the moment of the change. In the next moment, the system switches back to the hardware switch processing logic path and loops through the drive mode of the previous moment. The system executes according to the output result of the module whose drive mode input has changed in the entire loop. The specific steps are as follows:
[0043] Step S1: After the hardware switch processes the user's operation intention, the MP5 drive mode input signal is embedded into the end of the hardware switch processing logic to realize the intervention processing of the hardware switch signal. The initial mode of the drive mode processing logic loop is set to EV. When the drive mode input of the hardware switch changes, the drive mode after the decision is output by the hardware switch logic processing module is passed to the back-end mode processing module. At the same time, the drive mode of the previous moment is looped. That is, if the processing result of the hardware switch processing logic and the message signal processing logic changes, the drive mode output at the time of change is executed. After execution, the loop is performed so that the entire loop can process the processing results of the hardware switch processing logic and the message signal processing logic at the same time.
[0044] In step S2, the VCU monitors the vehicle status to determine whether it can enter the custom power generation mode. It summarizes the status of whether it is allowed to enter the custom power generation mode in the signal VCU_stREVAvailable and sends it to the MP5 for reference as a prerequisite for judging whether it can enter the custom power generation mode, and as a prompt message on the instrument panel for the user to see whether it can switch to the custom power generation mode.
[0045] Step S2.1: The VCU checks if VCU_stREVAvailable=1. If so, the custom power generation time is allowed to enter, and step S2.2 is executed. Otherwise, entry is not allowed, VCU_stREVAvailable=0, and step S2.3 is executed.
[0046] Step S2.2: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV / REV / Auto.
[0047] Step S2.2.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / REV / Auto and proceed to step S2.4. Otherwise, continue monitoring.
[0048] Step S2.3: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV and Auto.
[0049] Step S2.3.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / Auto and proceed to step S2.4. Otherwise, continue monitoring.
[0050] Step S2.3.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / Auto and proceed to step S2.4. Otherwise, continue monitoring.
[0051] Step S3: Custom power generation selection function. The hardware switch module's processing logic is executed first. The VCU software detects the rising edge signal of the switch to determine whether to increase or decrease the power generation, making it convenient for users to customize the power generation selection. Custom power generation "increase" and "decrease" buttons are set to realize bidirectional adjustment, so as to speed up the power generation adjustment and improve the user experience. The reason for speeding up the custom power generation adjustment is that if a single button is used, it is necessary to cycle through the adjustment. When the power generation increases to the upper limit, it cycles back to the minimum value and then gradually increases. If the power selected by the user is exactly smaller than the current value, it is necessary to cycle through the entire cycle before the user can select the desired power generation value. It is determined whether the rising edge signal of the power generation increase switch is detected. If so, step S4 is executed; otherwise, monitoring continues.
[0052] Step S4: Determine whether the current power generation value is less than the rounding calibration value VCU_RoundAPUReq. If not, increase according to the step calibration value VCU_StepAPUReq. If so, execute according to the rounding calibration value VCU_RoundAPUReq. The reason for setting the rounding calibration value is that the initial default value is 2kW, while the other selected power generation values are 5, 10, 15, etc., with a step size of 5. When transitioning between 2kW and 5kW, it is necessary to handle it separately so that when the cumulative step size is 5, it can smoothly increase from 2kW to 5kW.
[0053] Step S5: Determine whether a rising edge signal of the power reduction switch is detected. If yes, proceed to step S6; otherwise, continue monitoring.
[0054] Step S6: Determine whether the current power generation value is less than or equal to the rounding calibration value VCU_RoundAPUReq. If not, reduce according to the step calibration value. If yes, execute according to the default initial value VCU_DefaultAPUReq. The reason for setting the rounding calibration value here is similar to the processing of power generation addition. The minimum (default initial) power generation value is 2kW, while other selected power generation values are 5, 10, 15, etc., with a step size of 5. When transitioning from 5kW to 2kW, it needs to be processed separately so that when the cumulative reduction step size is 5, it can be smoothly reduced from 5kW to 2kW.
[0055] The customizable power generation capacity differentiates between ECO and Normal driving modes, with different power generation caps set for each mode. The power generation capacity is limited to 40kW in ECO mode and 55kW in Normal mode. Normal mode offers stronger power, while ECO mode offers better economy. This achieves better economic performance in ECO mode and makes the contrast between ECO and Normal modes more distinct, better meeting the different needs of users in different scenarios.
[0056] Step S7: Complete the basic processing of adding and subtracting power generation to obtain the first initial value VCU_APUReq1stRaw;
[0057] Step S8: Determine if the driving mode is ECO. If so, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of ECO, VCU_APU4ECOUp. Otherwise, if the current driving mode is Normal, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of Normal, VCU_APU4NormalUp, and finally obtain the second initial value VCU_APUReq2ndRaw after addition and subtraction logic processing.
[0058] Step S9: The upper limit of power generation in ECO mode is less than that in Normal mode. Determine whether the driving mode has switched from Normal to ECO. If not, continue to detect. If yes, proceed to step S10.
[0059] Step S10: Determine whether the current power generation second initial value VCU_APUReq2ndRaw is higher than the power generation upper limit VCU_APU4ECOUp in ECO mode. If so, process it according to VCU_APU4ECOUp to obtain the third initial value VCU_APUReq3rdRaw. Otherwise, no processing is required.
[0060] Step S11: In order to prevent the lower limit of the third initial value from being lower than the default value of 2kW set for power generation, the third initial value VCU_APUReq3rdRaw is processed by taking the larger value of the third initial value VCU_APUReq3rdRaw and the default value of 2kW set for power generation to obtain the fourth initial value VCU_APUReq4thRaw.
[0061] At the moment the vehicle is powered on, if the drive mode is the custom power generation mode, the VCU will detect the rising edge of the On power signal to control the initial value of the custom power generation processing logic loop to the default value of 2kW. Before performing custom power generation addition or subtraction operations, the system loop will always maintain the value of 2kW for custom power generation control.
[0062] Step S12: After the hardware switch logic processing is completed, the MP5 input signal is embedded at the end of the hardware switch processing logic to realize intervention processing of the hardware switch signal, so as to achieve the purpose of compatible control. The MP5's custom power generation selection signal is transmitted to the VCU through the gateway.
[0063] The system determines whether the MP5 custom power generation value has changed. If not, no action is taken; otherwise, the custom power generation value input by the MP5 is executed. The system continuously checks the hardware switch and MP5 input signals, and transmits the user-expected custom power generation selection to the backend energy management module based on the MP5's custom power generation selection at the moment of change. At the next moment, it switches back to the hardware switch's processing logic path, following the custom power generation selection from the previous moment. When the hardware switch's custom power generation selection changes, the custom power generation selection output from the hardware switch's logic processing loop is transmitted to the backend energy management module, while simultaneously looping through the custom power generation selection from the previous moment. In other words, whichever changes in the processing result of the hardware switch's processing logic or the message signal processing logic, the custom power generation selection output at that moment of change is executed. This loop ensures that the entire circuit can simultaneously process the output results of both the hardware switch processing module and the message signal processing module.
[0064] It also includes an energy recovery switch and level control. When the VCU detects MP5 communication loss, it will control energy recovery according to the default two-level energy recovery control and keep the energy recovery switch in the always-on mode to improve the vehicle's energy consumption performance in MP5 failure mode. At the same time, it reduces mechanical brake wear and prevents mechanical brake overheating and smoke during heavy-load long downhill driving. This protects the mechanical brakes and, more importantly, the overall vehicle braking safety while the driver is driving. The specific steps are as follows:
[0065] Step S20: Determine whether the MP5 message communication has timed out. If not, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If so, proceed to step S21.
[0066] Step S21: Whether the timeout has occurred needs to be confirmed by debounced. Otherwise, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If it has occurred, the VCU confirms that the MP5 has lost communication.
[0067] In step S22, the VCU executes the energy recovery quick-off and level handling strategy after MP5 disconnection, keeping energy recovery on and maintaining the recovery level at level two.
[0068] By developing a software strategy for the VCU in conjunction with a hardware switch, it is possible to effectively control important functions even in the event of an MP5 malfunction. This improves the robustness of the VCU software and ensures the continuous and stable performance of the vehicle's economy, power, and drivability, providing strong support for the user's driving experience and protecting the user's safety and economic benefits. The VCU will simultaneously send the range extender's power output value, determined by the custom power output selection processing module, and the driving mode to the instrument panel for display, prompting the user to understand the current driving mode and custom power output. This allows the user to understand the vehicle's status and operate the vehicle.
[0069] It should also be noted that the VCU identifies whether the vehicle is equipped with an MP5 or MP3 configuration through the underlying configuration. However, the underlying configuration function is affected by various factors, and there is a possibility of read errors in certain situations. Therefore, the control logic that is compatible with hardware switches and MP5 configurations further accommodates corner cases of configuration word read errors, improving software robustness and driving safety.
[0070] The above provides a detailed description of the soft and hard switching control method for a range-extended electric vehicle provided by the present invention. The specific embodiments described are merely for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its scope, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims
1. A soft-hard switching control method for a range-extended electric vehicle, comprising a vehicle control unit (VCU), characterized in that: The vehicle control unit (VCU) is responsible for the overall control of all vehicle functions. It achieves real-time vehicle control through embedded systems and software. The drive mode is used to switch the vehicle's power source. The specific steps are as follows: Step S1: After the hardware switch processes the user's operation intention, the MP5 drive mode input signal is embedded into the end of the hardware switch processing logic to realize the intervention processing of the hardware switch signal. The initial mode of the drive mode processing logic loop is set to EV. In step S2, the VCU monitors the vehicle status to determine whether it can enter the custom power generation mode. It summarizes the status of whether it is allowed to enter the custom power generation mode in the signal VCU_stREVAvailable and sends it to the MP5 for reference as a prerequisite for judging whether it can enter the custom power generation mode, and as a prompt message for the user to see whether it can switch to the custom power generation mode. Step S3: Determine whether the power generation plus switch rising edge signal is detected. If yes, proceed to step S4; otherwise, continue monitoring. Step S4: Determine whether the current power generation value is less than the rounding calibration value VCU_RoundAPUReq. If not, increase it according to the step calibration value VCU_StepAPUReq. If so, execute according to the rounding calibration value VCU_RoundAPUReq. Step S5: Determine whether a rising edge signal of the power reduction switch is detected. If yes, proceed to step S6; otherwise, continue monitoring. Step S6: Determine whether the current power generation value is less than or equal to the rounding calibration value VCU_RoundAPUReq. If not, reduce it according to the step calibration value. If so, execute according to the default initial value VCU_DefaultAPUReq. Step S7: Complete the basic processing of adding and subtracting power generation to obtain the first initial value VCU_APUReq1stRaw; Step S8: Determine if the driving mode is ECO. If so, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of ECO, VCU_APU4ECOUp. Otherwise, if the current driving mode is Normal, take the smaller value of VCU_APUReqMinusPlusRaw and the upper limit of Normal, VCU_APU4NormalUp, and finally obtain the second initial value VCU_APUReq2ndRaw after addition and subtraction logic processing. Step S9: Determine whether the driving mode has switched from Normal to ECO. If not, continue checking. If yes, proceed to step S10. Step S10: Determine whether the current power generation second initial value VCU_APUReq2ndRaw is higher than the power generation upper limit VCU_APU4ECOUp in ECO mode. If so, process it according to VCU_APU4ECOUp to obtain the third initial value VCU_APUReq3rdRaw. Otherwise, no processing is required. Step S11: The third initial value VCU_APUReq3rdRaw is increased by taking the larger value of the power generation setting to obtain the fourth initial value VCU_APUReq4thRaw; Step S12: Determine whether the MP5 custom power generation value has changed. If not, do not process it. If it has, execute according to the MP5 input custom power generation value and cyclically detect the hardware switch and MP5 input signal.
2. The soft and hard switching control method for a range-extended electric vehicle according to claim 1, characterized in that: The initial default value for the rounding calibration in steps S4 and S6 is 2kW, while the other selected power generation values are values with a step size of 5, such as 5, 10, and 15. In step S4, when transitioning between 2kW and 5kW, separate processing is required to ensure that the power output can be smoothly increased from 2kW to 5kW with an accumulation step size of 5. In step S6, when the power output can be smoothly decreased from 5kW to 2kW with an accumulation step size of 5.
3. The soft and hard switching control method for a range-extended electric vehicle according to claim 1, characterized in that: The custom driving power is divided into ECO and Normal driving modes. Different upper limits for power generation are set according to different driving modes. The power generation limit under ECO is 40kW, and the power generation limit under Normal is 55kW.
4. The soft and hard switching control method for a range-extended electric vehicle according to claim 1, characterized in that: The specific steps in step S2 are as follows: Step S2.1: The VCU determines whether VCU_stREVAvailable=1. If so, the custom power generation time is allowed to enter, and step S2.2 is executed. Otherwise, entry is not allowed, VCU_stREVAvailable=0, and step S2.3 is executed. Step S2.2: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV / REV / Auto. Step S2.2.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / REV / Auto and proceed to step S2.
4. Otherwise, continue monitoring. Step S2.3: Determine whether the drive mode hardware switch has changed. If not, continue monitoring. If so, the VCU will switch drive modes normally between EV and Auto. Step S2.3.1: Determine whether the MP5 drive mode signal has changed. If so, the VCU will switch the drive mode normally between EV / Auto and proceed to step S2.
4. Otherwise, continue monitoring. In step S2.4, the VCU detects the hardware switch and MP5 input signal in real time, and the logic loop cycles.
5. The soft and hard switching control method for a range-extended electric vehicle according to claim 1, characterized in that: The custom power generation selection function prioritizes the processing logic of the hardware switch module. The VCU software detects the rising edge signal of the switch to determine whether to increase or decrease the power generation. Custom power generation "increase" and "decrease" buttons are set to achieve bidirectional adjustment.
6. The soft and hard switching control method for a range-extended electric vehicle according to claim 1, characterized in that: It also includes an energy recovery switch and level control. When the VCU detects MP5 communication loss, it will control energy recovery according to the default level 2 energy recovery and keep the energy recovery switch in the normally open mode.
7. The soft and hard switching control method for a range-extended electric vehicle according to claim 6, characterized in that: The specific steps of the energy recovery control strategy are as follows: Step S20: Determine whether the MP5 message communication has timed out. If not, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If so, proceed to step S21. Step S21: Whether the timeout has occurred needs to be confirmed by debounced. Otherwise, the VCU controls the energy recovery function according to the MP5 energy recovery switch and level signal. If it has occurred, the VCU confirms that the MP5 has lost communication. In step S22, the VCU executes the energy recovery quick-off and level handling strategy after MP5 disconnection, keeping energy recovery on and maintaining the recovery level at level two.