Control method, control device and vehicle for range extender power generation

CN117507862BActive Publication Date: 2026-08-18WEICHAI POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311604542.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2026-08-18
Estimated Expiration
2043-11-28

AI Technical Summary

Technical Problem

[0003]本申请的主要目的在于提供一种增程器发电的控制方法、控制装置、计算机可读存储介质和车辆,以至少解决现有技术中增程器对发电功率变化的反应较慢导致发电功率波动较大的问题

Benefits of technology

[0014]Applying the technical solution of this application, in the above-mentioned control method for range extender power generation, firstly, when the power deviation is greater than or equal to a first threshold, PID calculation is performed based on the power deviation to correct the first power and obtain a second power. Then, the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. Then, when the power deviation is greater than or equal to a first threshold, PID calculation is performed to correct the first power to obtain a second power. If the deviation is less than the first threshold and greater than the second threshold, PID calculation is performed based on the power deviation to correct the first torque and obtain the second torque. The target speed and target torque are then determined based on the first speed and the second torque, respectively. The first speed and the first torque are set via command. Subsequently, if the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and determined as the target speed and target torque, respectively. The second speed and the third torque are the speed and torque at the current moment. Finally, the range extender is controlled to operate at the target speed and target torque. In this application, when the range extender has a power generation demand, the power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is achieved to reach the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117507862B_ABST
    Figure CN117507862B_ABST
Patent Text Reader

Abstract

The application provides a control method and device for power increaser power generation and a vehicle. The method comprises: in the case that the power deviation is greater than or equal to a first threshold value, performing PID operation on the first power according to the power deviation to obtain the second power, and querying a target mapping relationship according to the second power to obtain a target rotating speed and a target torque; in the case that the power deviation is less than the first threshold value and greater than a second threshold value, performing PID operation on the first torque according to the power deviation to obtain the second torque, and determining the target rotating speed and the target torque according to the first rotating speed and the second torque respectively; in the case that the power deviation is less than or equal to the second threshold value, determining the second rotating speed and the third torque as the target rotating speed and the target torque; and controlling the power increaser to operate at the target rotating speed and the target torque. The method solves the problem that the power increaser in the prior art has a slow response to the change of the power generation, resulting in large power generation fluctuation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle control technology, and more specifically, to a control method, control device, computer-readable storage medium, and vehicle for range extender power generation. Background Technology

[0002] In current range-extended hybrid systems, the main function of the range extender is to generate electricity. When the vehicle controller sends the required power generation, the range extender may not be able to respond quickly and accurately to the required power generation of the vehicle when responding to the required speed and torque. In addition, the power at the stable power generation operating point is prone to fluctuation. There is a lack of a method in the existing technology to reduce the power fluctuation during the power generation process of the range extender by speeding up the response speed of the range extender. Summary of the Invention

[0003] The main objective of this application is to provide a control method, control device, computer-readable storage medium, and vehicle for range extender power generation, so as to at least solve the problem in the prior art where the range extender's slow response to changes in power generation leads to large fluctuations in power generation.

[0004] To achieve the above objectives, according to one aspect of this application, a control method for range extender power generation is provided, comprising: when a power deviation is greater than or equal to a first threshold, performing PID calculation based on the power deviation to correct a first power to obtain a second power, and querying a target mapping relationship based on the second power to obtain a target speed and a target torque, wherein the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command. When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and determined as the target speed and the target torque. The second speed and the third torque are the speed and the torque at the current moment. The range extender is controlled to operate at the target speed and the target torque.

[0005] Optionally, determining the target speed and the target torque based on the first speed and the second torque includes: when the second torque is less than or equal to a preset torque, determining the first speed as the target speed and the second torque as the target torque; when the second torque is greater than the preset torque, performing PID calculation based on the power deviation to correct the first speed to obtain a third speed, determining the preset torque as the target torque, and determining the target speed based on the third speed.

[0006] Optionally, determining the target speed based on the third speed includes: if the third speed is greater than a preset speed, determining the preset speed as the target speed; if the third speed is less than or equal to the preset speed, determining the third speed as the target speed.

[0007] Optionally, before correcting the first power to obtain the second power by performing PID calculation based on the power deviation, the method further includes: obtaining a target voltage and a target current and calculating the third power based on the target voltage and the target current, wherein the target voltage is the voltage value of the DC bus of the range extender and the target current is the current value of the DC bus of the range extender; obtaining the first power and calculating the difference between the first power and the third power to obtain the power deviation.

[0008] Optionally, before obtaining the target speed and target torque based on the target mapping relationship according to the second power, the method further includes: acquiring multiple preset power, and determining a speed range according to each preset power, wherein the minimum and maximum values ​​of the speed range are respectively the minimum and maximum values ​​of the speed of the range extender when the power generation is the preset power; extracting multiple speeds according to a preset speed step size and the minimum value of each speed range to obtain multiple fourth speeds; determining the corresponding torque according to each fourth speed and the corresponding preset power to obtain multiple fourth torques; determining multiple test conditions according to each fourth speed and the corresponding fourth torque, wherein the test conditions include the fourth speed and the fourth torque; controlling the range extender to operate under each test condition and monitoring the energy consumption of the range extender to obtain multiple target energy consumptions; determining the fourth speed and the corresponding fourth torque with the minimum target energy consumption as the optimal speed and optimal torque under the corresponding preset power; and determining the target mapping relationship according to the correspondence between each preset power and the optimal speed and optimal torque.

[0009] Optionally, after obtaining the first power, the method further includes: if the first power is equal to 0, determining at least one of the target torque and the target speed to be 0.

[0010] Optionally, after controlling the range extender to operate at the target speed and target torque, the method further includes: when the range extender operates at the target speed and target torque for a preset time, acquiring the power deviation and, if the power deviation is greater than the first threshold, issuing a first alarm message, the first alarm message being used to indicate a fault in the range extender.

[0011] According to another aspect of this application, a control device for range extender power generation is provided. The device includes: a first calculation unit, configured to, when a power deviation is greater than or equal to a first threshold, perform PID calculation based on the power deviation to correct a first power to obtain a second power, and query a target mapping relationship based on the second power to obtain a target speed and a target torque, wherein the power deviation is the difference between the first power and a third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power; and a first determination unit, configured to, in When the power deviation is less than the first threshold and greater than the second threshold, a PID calculation is performed based on the power deviation to correct the first torque to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by an instruction, and the first torque is the torque set by an instruction. A second determining unit is used to obtain the second speed and the third torque when the power deviation is less than or equal to the second threshold, and determine the second speed and the third torque as the target speed and the target torque. The second speed and the third torque are the speed and the torque at the current moment. A first control unit is used to control the range extender to operate at the target speed and the target torque.

[0012] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the methods described.

[0013] According to another aspect of this application, a vehicle is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any one of the methods described.

[0014] Applying the technical solution of this application, in the above-mentioned control method for range extender power generation, firstly, when the power deviation is greater than or equal to a first threshold, PID calculation is performed based on the power deviation to correct the first power and obtain a second power. Then, the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. Then, when the power deviation is greater than or equal to a first threshold, PID calculation is performed to correct the first power to obtain a second power. If the deviation is less than the first threshold and greater than the second threshold, PID calculation is performed based on the power deviation to correct the first torque and obtain the second torque. The target speed and target torque are then determined based on the first speed and the second torque, respectively. The first speed and the first torque are set via command. Subsequently, if the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and determined as the target speed and target torque, respectively. The second speed and the third torque are the speed and torque at the current moment. Finally, the range extender is controlled to operate at the target speed and target torque. In this application, when the range extender has a power generation demand, the power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is achieved to reach the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation. Attached Figure Description

[0015] Figure 1 A hardware structure block diagram of a mobile terminal for a control method of range extender power generation provided in an embodiment of this application is shown.

[0016] Figure 2 A schematic flowchart of a control method for range extender power generation according to an embodiment of this application is shown.

[0017] Figure 3A schematic diagram of a range-extended hybrid power system according to an embodiment of this application is shown;

[0018] Figure 4 A schematic flowchart of a speed / torque closed-loop control method according to an embodiment of this application is shown;

[0019] Figure 5 A schematic flowchart of a specific control method for range extender power generation according to an embodiment of this application is shown;

[0020] Figure 6 A structural block diagram of a control device for range extender power generation according to an embodiment of this application is shown.

[0021] The above figures include the following reference numerals:

[0022] 102. Processor; 104. Memory; 106. Transmission equipment; 108. Input / output device; 1. Engine; 2. Coupling; 3. Generator; 4. Generator controller; 5. Power battery; 6. Drive motor; 7. Drive motor controller; 8. High-voltage line. Detailed Implementation

[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings 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 for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0026] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:

[0027] Range extender: In a hybrid power system, the engine, coupling, and generator together constitute the range extender.

[0028] As described in the background section, in the prior art, when responding to required speed and torque, the actual power output of the range extender is often unable to respond quickly and accurately to the power output required by the vehicle, and the power output at the stable power output operating point is prone to fluctuation. In order to solve the problem that the range extender's slow response to changes in power output leads to large fluctuations in power output, the embodiments of this application provide a control method, control device, computer-readable storage medium, and vehicle for range extender power generation.

[0029] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0030] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a control method of range extender power generation according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0031] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the device information display method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] This embodiment provides a control method for range extender power generation that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0033] Figure 2 This is a flowchart of a control method for range extender power generation according to an embodiment of this application. In one embodiment, the above-described control method for range extender power generation can be applied to, for example... Figure 3 The range-extended hybrid power system shown includes: an engine 1, a coupling 2, a generator 3, a generator controller 4, a power battery 5, a drive motor 6, a drive motor controller 7, and a high-voltage line 8. Figure 2 As shown, the method includes the following steps:

[0034] Step S201: When the power deviation is greater than or equal to the first threshold, the first power is corrected by PID calculation based on the power deviation to obtain the second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0035] Specifically, when the vehicle has a power generation requirement, the vehicle controller sends the required power to the range extender controller, i.e., the first power mentioned above. The range extender controller calculates the power deviation based on the required power and the current actual power generation. If the power deviation is large, PID control is performed based on the power deviation to improve the response rate of the range extender controller. That is, the required power is corrected based on the power deviation using PID calculations to obtain the second power mentioned above. The second power is then used to query the speed and torque control table configured in the range extender controller to obtain the target speed and target torque mentioned above. Simultaneously, this control is also applicable to timely adjustment of the required speed and torque when the function of components is limited, preventing component damage.

[0036] It should be noted that this application does not limit the object on which the speed and torque are applied, that is, the speed and torque can be the speed or torque of any one of the generators or engines.

[0037] Step S202: When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command.

[0038] Specifically, such as Figure 4 As shown, when the power deviation is small, to minimize fluctuations in power generation, in one embodiment, if the power deviation is less than the first threshold and greater than the second threshold, the range extender's speed is kept constant while the torque is adjusted. Since torque adjustment has less impact on power than speed adjustment, it ensures smoother power generation during adjustment. Specifically, PID calculations are performed based on the power deviation to determine the second torque that enables the current actual power generation to reach the second power level. The set speed and the second torque are then determined as the target speed and target torque, respectively, i.e., the target speed and target torque are determined based on the first speed and the second torque.

[0039] Step S203: When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and the second speed and the third torque are determined as the target speed and the target torque, and the second speed and the third torque are the speed and the torque at the current moment.

[0040] Specifically, when the power deviation is less than or equal to the second threshold, the current actual power generation and the power generation demand are determined, that is, the power fluctuation value is within the allowable error range. At this time, no adjustment is made, that is, the speed and torque of the range extender are kept at the current speed and torque.

[0041] Step S204: Control the range extender to operate at the target speed and the target torque.

[0042] Specifically, based on the judgment result of the power deviation and the preset limit, the corresponding target speed and target torque are determined, and the range extender is controlled to operate at the target speed and target torque.

[0043] In this embodiment, firstly, when the power deviation is greater than or equal to a first threshold, PID calculation is performed based on the power deviation to correct the first power and obtain a second power. Then, the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power output of the range extender at the current moment, the first power is the power output set by an instruction, the target mapping relationship is the mapping relationship between the power output and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. Then, when the power deviation is less than the first threshold... If the power deviation exceeds the second threshold, a PID calculation is performed based on the power deviation to correct the first torque and obtain the second torque. The target speed and target torque are then determined based on the first speed and the second torque, respectively. The first speed and the first torque are set via command. Subsequently, if the power deviation is less than or equal to the second threshold, the second speed and the third torque are acquired and determined as the target speed and target torque, respectively. The second speed and the third torque are the speed and torque at the current moment. Finally, the range extender is controlled to operate at the target speed and target torque. In this application, when the range extender has a power generation demand, the power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is achieved to reach the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation.

[0044] To prevent damage to the parts due to overload, in one optional embodiment, step S202 includes:

[0045] Step S2021: When the second torque is less than or equal to the preset torque, the first rotational speed is determined as the target rotational speed, and the second torque is determined as the target torque.

[0046] Specifically, such as Figure 4As shown, the required torque value obtained by PID calculation based on the power deviation may exceed the maximum allowable torque limit of the part, i.e., the aforementioned preset torque. Therefore, this application sets that when the aforementioned second torque is less than or equal to the preset torque, it is determined that the aforementioned required torque has not exceeded the limit, i.e., the part will not be damaged when operating under the required torque, and thus the aforementioned second torque is determined as the target torque.

[0047] In step S2022, when the second torque is greater than the preset torque, the first speed is corrected by PID calculation based on the power deviation to obtain the third speed, the preset torque is determined as the target torque, and the target speed is determined based on the third speed.

[0048] Specifically, such as Figure 4 As shown, when the second torque exceeds the preset torque, it is determined that the required torque exceeds the limit. Since the components cannot provide the required torque, and prolonged operation beyond the limit will damage the components, the range extender's torque is set to the maximum limit, i.e., the preset torque. To meet the power generation requirements, speed control is unlocked, and PID calculations are performed based on the power deviation to obtain the required speed, i.e., the third speed. This third speed is then determined as the target speed for control.

[0049] To prevent damage to the parts due to overload, in one optional embodiment, step S2022 includes:

[0050] Step S20221: If the third rotational speed is greater than the preset rotational speed, the preset rotational speed is determined as the target rotational speed.

[0051] Specifically, such as Figure 4 As shown, when the target torque is determined, the required speed value obtained by PID calculation based on the power deviation may exceed the maximum allowable speed limit of the component, i.e., the preset speed. Therefore, this application sets that when the third speed is greater than the preset speed, it is determined that the speed has not exceeded the limit, i.e., running at the required speed will not damage the component, and thus the third speed is determined as the target speed.

[0052] Step S20222: If the third rotational speed is less than or equal to the preset rotational speed, the third rotational speed is determined as the target rotational speed.

[0053] Specifically, such as Figure 4As shown, when the second speed is greater than the preset speed, it is determined that the required speed exceeds the limit. Since the parts cannot provide the required speed and prolonged operation beyond the limit will damage the parts, the speed of the range extender is set to the maximum limit, i.e., the preset speed. At this time, it is determined that the range extender cannot meet the required power output, so it can generate electricity at the maximum power.

[0054] To determine the power deviation between the actual power generation of the range extender and the required power generation, in an optional embodiment, before correcting the first power to obtain the second power based on the power deviation using PID calculation, the method further includes:

[0055] Step S301: Obtain the target voltage and target current, and calculate the third power based on the target voltage and target current. The target voltage is the voltage value of the DC bus of the range extender, and the target current is the current value of the DC bus of the range extender.

[0056] Specifically, upon receiving the aforementioned power generation demand, the range extender controller monitors the voltage value U of the DC bus and the current value I of the DC bus through sensors, and calculates the aforementioned third power according to P=UI.

[0057] Step S302: Obtain the first power and calculate the difference between the first power and the third power to obtain the power deviation.

[0058] Specifically, the power deviation is obtained by calculating the difference between the first power and the third power. In order to facilitate PID control, in one embodiment, the power deviation is set to be greater than 0.

[0059] To save energy consumption, in an optional implementation, before obtaining the target speed and target torque based on the second power query target mapping relationship described above, the method further includes:

[0060] Step S401: Obtain multiple preset power values ​​and determine the speed range based on each preset power value. The minimum and maximum values ​​of the speed range are the minimum and maximum values ​​of the speed of the range extender when the power generation is the preset power value.

[0061] Specifically, the power output required by the range extender during vehicle operation is obtained, i.e., the preset power is obtained. Based on each of the preset power values, the maximum and minimum speed values ​​required by the range extender to provide the power are determined, i.e., the speed component is obtained.

[0062] Step S402: Based on the preset speed step size and the minimum value of each of the above speed intervals, multiple speeds are extracted to obtain multiple fourth speeds;

[0063] Specifically, starting with the minimum value of the aforementioned speed range, multiple speeds are set with a preset step size to obtain the aforementioned fourth speed.

[0064] Step S403: Determine the corresponding torque based on each of the above-mentioned fourth rotation speeds and the corresponding preset power to obtain a plurality of fourth torques;

[0065] Specifically, the range extender torque is calculated based on the preset power corresponding to each of the aforementioned fourth speeds, thus obtaining the aforementioned fourth torque.

[0066] Step S404: Determine multiple test conditions based on each of the above-mentioned fourth rotational speeds and corresponding fourth torques, wherein the test conditions include the above-mentioned fourth rotational speeds and the above-mentioned fourth torques;

[0067] Specifically, each group of the aforementioned fourth speed and the aforementioned fourth torque determines a range extender operating condition, thus obtaining the aforementioned operating condition to be tested.

[0068] Step S405: Control the range extender to operate under each of the above-mentioned test conditions and monitor the energy consumption of the range extender to obtain multiple target energy consumptions;

[0069] Specifically, the range extender is controlled to run for the same duration under each of the above-mentioned test conditions, and the energy consumption of the range extender within the above-mentioned duration is obtained to obtain the above-mentioned target energy consumption.

[0070] Step S406: Determine the fourth speed and the fourth torque corresponding to the minimum target energy consumption as the optimal speed and optimal torque under the preset power.

[0071] Specifically, multiple target energy consumptions corresponding to each of the preset power values ​​are obtained, and the fourth speed and the fourth torque corresponding to the minimum value of the target energy consumption are determined as the optimal speed and optimal torque corresponding to the preset power.

[0072] Step S407: Determine the target mapping relationship based on the correspondence between the preset power and the optimal speed and optimal torque.

[0073] Specifically, based on the correspondence between the preset power and the optimal speed and the optimal torque, a mapping table is constructed to obtain the target mapping relationship.

[0074] To reduce unnecessary energy consumption, in one optional implementation, after obtaining the first power, the method further includes:

[0075] Step S501: When the first power is equal to 0, at least one of the target torque and the target speed is determined to be 0.

[0076] Specifically, when the range extender is not required to generate electricity, the power demand sent by the vehicle controller to the range extender is 0. At this time, the corresponding control command also includes whether to keep the range extender in standby or off state. When the control command indicates that the range extender is off state, the speed and torque of the range extender are set to 0 at the same time. When the control command indicates that the range extender is in standby state, either the speed or torque of the range extender is set to 0. That is, the range extender is still running but does not generate electricity in order to quickly respond to the next power generation demand.

[0077] To prevent accidents caused by range extender malfunctions, in an optional embodiment, after controlling the range extender to operate at the target speed and target torque, the method further includes:

[0078] Step S601: When the range extender operates at the target speed and target torque for a preset time, the power deviation is obtained and when the power deviation is greater than the first threshold, a first alarm message is issued, which is used to indicate a fault in the range extender.

[0079] Specifically, after the range extender controller sets the speed and torque of the range extender to the target speed and the target torque, the power generation of the range extender should reach the first power in a short time. Even if the power generation fluctuates, it should be within the allowable error range. Therefore, this application sets a preset time to monitor the power deviation. If the power deviation exceeds the allowable range, it is determined that the range extender has a fault and needs to be repaired.

[0080] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the range extender power generation control method of this application will be described in detail below with reference to specific embodiments.

[0081] This embodiment relates to a specific control method for range extender power generation, such as... Figure 5 As shown, it includes the following steps:

[0082] Step S1: When the power generation received by the range extender controller is equal to 0, it is determined that the range extender has no power generation task. At this time, the range extender is controlled to be in standby or off state to save energy consumption.

[0083] Step S2: If the power generation received by the range extender controller is greater than 0, it is determined that the range extender has a power generation task. At this time, the power deviation between the current actual power generation and the required power generation is determined.

[0084] Step S3: When the power deviation is greater than the first threshold, it is determined that the current power generation needs to catch up with the demand power generation. At this time, power closed-loop control is adopted, that is, the demand power is adjusted according to PID control to obtain the new demand power, and then the speed and torque of the range extender for power generation are determined according to the new demand power.

[0085] Step S4: If the power deviation is greater than the second threshold and less than or equal to the first threshold, it is determined that the current actual power generation is close to the demand power generation. The power generation needs to be adjusted to maintain the stability of the power generation. That is, speed or torque closed-loop control is performed. Specifically, the demand torque is corrected according to the power deviation to obtain a new torque, or the demand speed is corrected to obtain a new speed. If the torque or speed does not exceed the limit, the control operates at the corrected speed or torque. If the limit is exceeded, the control operates at the limit.

[0086] Step S5: If the power deviation is less than the second threshold, determine that the deviation between the current actual power generation and the required power generation is within the allowable error range, and then control the range extender speed and torque to remain unchanged.

[0087] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0088] This application also provides a control device for range extender power generation. It should be noted that the control device for range extender power generation in this application can be used to execute the control method for range extender power generation provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0089] The following describes the control device for range extender power generation provided in the embodiments of this application.

[0090] Figure 6 This is a structural block diagram of a control device for generating electricity using a range extender according to an embodiment of this application. Figure 6 As shown, the device includes:

[0091] The first calculation unit 10 is used to perform PID calculation based on the power deviation to correct the first power to obtain the second power when the power deviation is greater than or equal to the first threshold, and to query the target mapping relationship based on the second power to obtain the target speed and target torque. The power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0092] Specifically, when the vehicle has a power generation requirement, the vehicle controller sends the required power to the range extender controller, i.e., the first power mentioned above. The range extender controller calculates the power deviation based on the required power and the current actual power generation. If the power deviation is large, PID control is performed based on the power deviation to improve the response rate of the range extender controller. That is, the required power is corrected based on the power deviation using PID calculations to obtain the second power mentioned above. The second power is then used to query the speed and torque control table configured in the range extender controller to obtain the target speed and target torque mentioned above. Simultaneously, this control is also applicable to timely adjustment of the required speed and torque when the function of components is limited, preventing component damage.

[0093] It should be noted that this application does not limit the object on which the speed and torque are applied, that is, the speed and torque can be the speed or torque of any one of the generators or engines.

[0094] The first determining unit 20 is configured to perform PID calculation based on the power deviation to correct the first torque to obtain the second torque when the power deviation is less than the first threshold and greater than the second threshold, and to determine the target speed and the target torque based on the first speed and the second torque respectively, wherein the first speed is the speed set by the command and the first torque is the torque set by the command.

[0095] Specifically, such as Figure 4 As shown, when the power deviation is small, to minimize fluctuations in power generation, in one embodiment, if the power deviation is less than the first threshold and greater than the second threshold, the range extender's speed is kept constant while the torque is adjusted. Since torque adjustment has less impact on power than speed adjustment, it ensures smoother power generation during adjustment. Specifically, PID calculations are performed based on the power deviation to determine the second torque that enables the current actual power generation to reach the second power level. The set speed and the second torque are then determined as the target speed and target torque, respectively, i.e., the target speed and target torque are determined based on the first speed and the second torque.

[0096] The second determining unit 30 is used to obtain a second rotational speed and a third torque when the power deviation is less than or equal to the second threshold, and to determine the second rotational speed and the third torque as the target rotational speed and the target torque, wherein the second rotational speed and the third torque are the rotational speed and the torque at the current moment.

[0097] Specifically, when the power deviation is less than or equal to the second threshold, the current actual power generation and the power generation demand are determined, that is, the power fluctuation value is within the allowable error range. At this time, no adjustment is made, that is, the speed and torque of the range extender are kept at the current speed and torque.

[0098] The first control unit 40 is used to control the range extender to operate at the target speed and the target torque.

[0099] Specifically, based on the judgment result of the power deviation and the preset limit, the corresponding target speed and target torque are determined, and the range extender is controlled to operate at the target speed and target torque.

[0100] In this embodiment, the first calculation unit is used to correct the first power to obtain a second power by performing PID calculation based on the power deviation when the power deviation is greater than or equal to a first threshold, and to obtain the target speed and target torque by querying the target mapping relationship based on the second power. The first determination unit is used to determine that the power deviation is the difference between the first power and the third power, where the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. Then, when the power deviation is less than the first threshold... If the power deviation is greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque. The target speed and target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by an instruction, and the first torque is the torque set by an instruction. A second determining unit is used to acquire the second speed and the third torque when the power deviation is less than or equal to the second threshold, and determine the second speed and the third torque as the target speed and the target torque. The second speed and the third torque are the speed and torque at the current moment. A first control unit is used to control the range extender to operate at the target speed and the target torque. In this application, when the range extender has a power generation demand, the power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is performed to achieve the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation.

[0101] To prevent damage to the parts due to overload, in one optional embodiment, the first determining unit includes:

[0102] The determining module is used to determine the first rotational speed as the target rotational speed and the second torque as the target torque when the second torque is less than or equal to the preset torque.

[0103] Specifically, such as Figure 4As shown, the required torque value obtained by PID calculation based on the power deviation may exceed the maximum allowable torque limit of the part, i.e., the aforementioned preset torque. Therefore, this application sets that when the aforementioned second torque is less than or equal to the preset torque, it is determined that the aforementioned required torque has not exceeded the limit, i.e., the part will not be damaged when operating under the required torque, and thus the aforementioned second torque is determined as the target torque.

[0104] The correction module is used to correct the first rotational speed by performing PID calculation based on the power deviation when the second torque is greater than the preset torque, to obtain a third rotational speed, to determine the preset torque as the target torque, and to determine the target rotational speed based on the third rotational speed.

[0105] Specifically, such as Figure 4 As shown, when the second torque exceeds the preset torque, it is determined that the required torque exceeds the limit. Since the components cannot provide the required torque, and prolonged operation beyond the limit will damage the components, the range extender's torque is set to the maximum limit, i.e., the preset torque. To meet the power generation requirements, speed control is unlocked, and PID calculations are performed based on the power deviation to obtain the required speed, i.e., the third speed. This third speed is then determined as the target speed for control.

[0106] To prevent damage to components due to overload, in one optional implementation, the aforementioned correction module includes:

[0107] The first determining submodule is used to determine the preset speed as the target speed when the third speed is greater than the preset speed.

[0108] Specifically, such as Figure 4 As shown, when the target torque is determined, the required speed value obtained by PID calculation based on the power deviation may exceed the maximum allowable speed limit of the component, i.e., the preset speed. Therefore, this application sets that when the third speed is greater than the preset speed, it is determined that the speed has not exceeded the limit, i.e., running at the required speed will not damage the component, and thus the third speed is determined as the target speed.

[0109] The second determining submodule is used to determine the third rotational speed as the target rotational speed when the third rotational speed is less than or equal to the preset rotational speed.

[0110] Specifically, such as Figure 4As shown, when the second speed is greater than the preset speed, it is determined that the required speed exceeds the limit. Since the parts cannot provide the required speed and prolonged operation beyond the limit will damage the parts, the speed of the range extender is set to the maximum limit, i.e., the preset speed. At this time, it is determined that the range extender cannot meet the required power output, so it can generate electricity at the maximum power.

[0111] To determine the power deviation between the actual power generation of the range extender and the required power generation, in an optional embodiment, before correcting the first power to obtain the second power based on the power deviation using PID calculation, the method further includes:

[0112] The first acquisition unit is used to acquire the target voltage and the target current and calculate the third power based on the target voltage and the target current. The target voltage is the voltage value of the DC bus of the range extender and the target current is the current value of the DC bus of the range extender.

[0113] Specifically, upon receiving the aforementioned power generation demand, the range extender controller monitors the voltage value U of the DC bus and the current value I of the DC bus through sensors, and calculates the aforementioned third power according to P=UI.

[0114] The second acquisition unit is used to acquire the first power and calculate the difference between the first power and the third power to obtain the power deviation.

[0115] Specifically, the power deviation is obtained by calculating the difference between the first power and the third power. In order to facilitate PID control, in one embodiment, the power deviation is set to be greater than 0.

[0116] To save energy consumption, in an optional implementation, before obtaining the target speed and target torque based on the second power query target mapping relationship described above, the method further includes:

[0117] The third acquisition unit is used to acquire multiple preset power and determine the speed range according to each preset power. The minimum and maximum values ​​of the speed range are the minimum and maximum values ​​of the speed of the range extender when the power generation is the preset power.

[0118] Specifically, the power output required by the range extender during vehicle operation is obtained, i.e., the preset power is obtained. Based on each of the preset power values, the maximum and minimum speed values ​​required by the range extender to provide the power are determined, i.e., the speed component is obtained.

[0119] The third determining unit is used to extract multiple speeds based on a preset speed step size and the minimum value of each of the above speed intervals to obtain multiple fourth speeds;

[0120] Specifically, starting with the minimum value of the aforementioned speed range, multiple speeds are set with a preset step size to obtain the aforementioned fourth speed.

[0121] The fourth determining unit is used to determine the corresponding torque based on each of the above-mentioned fourth rotation speeds and the corresponding preset power to obtain a plurality of fourth torques;

[0122] Specifically, the range extender torque is calculated based on the preset power corresponding to each of the aforementioned fourth speeds, thus obtaining the aforementioned fourth torque.

[0123] The fifth determining unit is used to determine multiple test conditions based on each of the aforementioned fourth rotation speeds and the corresponding aforementioned fourth torques, wherein the test conditions include the aforementioned fourth rotation speeds and the aforementioned fourth torques;

[0124] Specifically, each group of the aforementioned fourth speed and the aforementioned fourth torque determines a range extender operating condition, thus obtaining the aforementioned operating condition to be tested.

[0125] The second control unit is used to control the operation of the range extender under each of the above-mentioned test conditions and monitor the energy consumption of the range extender to obtain multiple target energy consumptions.

[0126] Specifically, the range extender is controlled to run for the same duration under each of the above-mentioned test conditions, and the energy consumption of the range extender within the above-mentioned duration is obtained to obtain the above-mentioned target energy consumption.

[0127] The sixth determining unit is used to determine the fourth speed and the fourth torque corresponding to the minimum target energy consumption as the optimal speed and optimal torque under the preset power.

[0128] Specifically, multiple target energy consumptions corresponding to each of the preset power values ​​are obtained, and the fourth speed and the fourth torque corresponding to the minimum value of the target energy consumption are determined as the optimal speed and optimal torque corresponding to the preset power.

[0129] The seventh determining unit is used to determine the target mapping relationship based on the correspondence between the preset power and the optimal speed and optimal torque.

[0130] Specifically, based on the correspondence between the preset power and the optimal speed and the optimal torque, a mapping table is constructed to obtain the target mapping relationship.

[0131] To reduce unnecessary energy consumption, in one optional implementation, after obtaining the first power, the method further includes:

[0132] The eighth control unit is configured to determine at least one of the target torque and the target speed as 0 when the first power is equal to 0.

[0133] Specifically, when the range extender is not required to generate electricity, the power demand sent by the vehicle controller to the range extender is 0. At this time, the corresponding control command also includes whether to keep the range extender in standby or off state. When the control command indicates that the range extender is off state, the speed and torque of the range extender are set to 0 at the same time. When the control command indicates that the range extender is in standby state, either the speed or torque of the range extender is set to 0. That is, the range extender is still running but does not generate electricity in order to quickly respond to the next power generation demand.

[0134] To prevent accidents caused by range extender malfunctions, in an optional embodiment, after controlling the range extender to operate at the target speed and target torque, the method further includes:

[0135] An alarm unit is used to acquire the power deviation when the range extender operates at the target speed and target torque for a preset time, and to issue a first alarm message when the power deviation is greater than the first threshold. The first alarm message is used to indicate a fault in the range extender.

[0136] The control device for the range extender's power generation includes a processor and a memory. The first calculation unit, the first determination unit, the second determination unit, and the first control unit are all stored as program units in the memory. The processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0137] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured; adjusting kernel parameters can improve the range extender's response speed, thereby reducing fluctuations in power generation.

[0138] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0139] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the control method for generating electricity using a range extender.

[0140] Specifically, the control methods for generating electricity using the range extender include:

[0141] Step S201: When the power deviation is greater than or equal to the first threshold, the first power is corrected by PID calculation based on the power deviation to obtain the second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0142] Specifically, when the vehicle has a power generation requirement, the vehicle controller sends the required power to the range extender controller, i.e., the first power mentioned above. The range extender controller calculates the power deviation based on the required power and the current actual power generation. If the power deviation is large, PID control is performed based on the power deviation to improve the response rate of the range extender controller. That is, the required power is corrected based on the power deviation using PID calculations to obtain the second power mentioned above. The second power is then used to query the speed and torque control table configured in the range extender controller to obtain the target speed and target torque mentioned above. Simultaneously, this control is also applicable to timely adjustment of the required speed and torque when the function of components is limited, preventing component damage.

[0143] It should be noted that this application does not limit the object on which the speed and torque are applied, that is, the speed and torque can be the speed or torque of any one of the generators or engines.

[0144] Step S202: When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command.

[0145] Specifically, such as Figure 4 As shown, when the power deviation is small, to minimize fluctuations in power generation, in one embodiment, if the power deviation is less than the first threshold and greater than the second threshold, the range extender's speed is kept constant while the torque is adjusted. Since torque adjustment has less impact on power than speed adjustment, it ensures smoother power generation during adjustment. Specifically, PID calculations are performed based on the power deviation to determine the second torque that enables the current actual power generation to reach the second power level. The set speed and the second torque are then determined as the target speed and target torque, respectively, i.e., the target speed and target torque are determined based on the first speed and the second torque.

[0146] Step S203: When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and the second speed and the third torque are determined as the target speed and the target torque, and the second speed and the third torque are the speed and the torque at the current moment.

[0147] Specifically, when the power deviation is less than or equal to the second threshold, the current actual power generation and the power generation demand are determined, that is, the power fluctuation value is within the allowable error range. At this time, no adjustment is made, that is, the speed and torque of the range extender are kept at the current speed and torque.

[0148] Step S204: Control the range extender to operate at the target speed and the target torque.

[0149] Specifically, based on the judgment result of the power deviation and the preset limit, the corresponding target speed and target torque are determined, and the range extender is controlled to operate at the target speed and target torque.

[0150] This invention provides a processor for running a program, wherein the program executes the control method for generating electricity using a range extender.

[0151] Specifically, the control methods for generating electricity using the range extender include:

[0152] Step S201: When the power deviation is greater than or equal to the first threshold, the first power is corrected by PID calculation based on the power deviation to obtain the second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0153] Specifically, when the vehicle has a power generation requirement, the vehicle controller sends the required power to the range extender controller, i.e., the first power mentioned above. The range extender controller calculates the power deviation based on the required power and the current actual power generation. If the power deviation is large, PID control is performed based on the power deviation to improve the response rate of the range extender controller. That is, the required power is corrected based on the power deviation using PID calculations to obtain the second power mentioned above. The second power is then used to query the speed and torque control table configured in the range extender controller to obtain the target speed and target torque mentioned above. Simultaneously, this control is also applicable to timely adjustment of the required speed and torque when the function of components is limited, preventing component damage.

[0154] It should be noted that this application does not limit the object on which the speed and torque are applied, that is, the speed and torque can be the speed or torque of any one of the generators or engines.

[0155] Step S202: When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command.

[0156] Specifically, such as Figure 4 As shown, when the power deviation is small, to minimize fluctuations in power generation, in one embodiment, if the power deviation is less than the first threshold and greater than the second threshold, the range extender's speed is kept constant while the torque is adjusted. Since torque adjustment has less impact on power than speed adjustment, it ensures smoother power generation during adjustment. Specifically, PID calculations are performed based on the power deviation to determine the second torque that enables the current actual power generation to reach the second power level. The set speed and the second torque are then determined as the target speed and target torque, respectively, i.e., the target speed and target torque are determined based on the first speed and the second torque.

[0157] Step S203: When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and the second speed and the third torque are determined as the target speed and the target torque, and the second speed and the third torque are the speed and the torque at the current moment.

[0158] Specifically, when the power deviation is less than or equal to the second threshold, the current actual power generation and the power generation demand are determined, that is, the power fluctuation value is within the allowable error range. At this time, no adjustment is made, that is, the speed and torque of the range extender are kept at the current speed and torque.

[0159] Step S204: Control the range extender to operate at the target speed and the target torque.

[0160] Specifically, based on the judgment result of the power deviation and the preset limit, the corresponding target speed and target torque are determined, and the range extender is controlled to operate at the target speed and target torque.

[0161] This invention provides a vehicle, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0162] Step S201: When the power deviation is greater than or equal to the first threshold, the first power is corrected by PID calculation based on the power deviation to obtain the second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0163] Step S202: When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command.

[0164] Step S203: When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and the second speed and the third torque are determined as the target speed and the target torque, and the second speed and the third torque are the speed and the torque at the current moment.

[0165] Step S204: Control the range extender to operate at the target speed and the target torque.

[0166] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0167] Step S201: When the power deviation is greater than or equal to the first threshold, the first power is corrected by PID calculation based on the power deviation to obtain the second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by the instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power.

[0168] Step S202: When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command.

[0169] Step S203: When the power deviation is less than or equal to the second threshold, the second speed and the third torque are obtained and the second speed and the third torque are determined as the target speed and the target torque, and the second speed and the third torque are the speed and the torque at the current moment.

[0170] Step S204: Control the range extender to operate at the target speed and the target torque.

[0171] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0172] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0173] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0174] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0175] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0176] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0177] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0178] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0179] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0180] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0181] 1) The control method for range extender power generation in this application firstly, when the power deviation is greater than or equal to a first threshold, performs PID calculation based on the power deviation to correct the first power to obtain a second power, and then queries the target mapping relationship based on the second power to obtain the target speed and target torque. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. Then, when the power deviation is less than... When the first threshold is greater than the second threshold, a PID calculation is performed based on the power deviation to correct the first torque and obtain the second torque. The target speed and target torque are then determined based on the first speed and the second torque, respectively. The first speed is the speed set by a command, and the first torque is the torque set by a command. Then, when the power deviation is less than or equal to the second threshold, the second speed and third torque are obtained and determined as the target speed and target torque, respectively. The second speed and third torque are the speed and torque at the current moment. Finally, the range extender is controlled to operate at the target speed and target torque. In this application, when the range extender has a power generation demand, the power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is performed to achieve the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation.

[0182] 2) The control device for range extender power generation of this application includes a first calculation unit, used to perform PID calculations based on the power deviation to correct the first power to obtain a second power when the power deviation is greater than or equal to a first threshold, and to query the target mapping relationship based on the second power to obtain the target speed and target torque; and a first determination unit, used to determine that the power deviation is the difference between the first power and the third power, where the third power is the actual power generation of the range extender at the current moment, the first power is the power generation set by an instruction, the target mapping relationship is the mapping relationship between the power generation and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power; then, when the power deviation is less than... When the first threshold is greater than the second threshold, a PID calculation is performed based on the power deviation to correct the first torque and obtain the second torque. The target speed and target torque are then determined based on the first speed and the second torque, respectively. The first speed is the speed set by an instruction, and the first torque is the torque set by an instruction. A second determining unit is used to acquire the second speed and the third torque when the power deviation is less than or equal to the second threshold, and to determine the second speed and the third torque as the target speed and the target torque. The second speed and the third torque are the speed and torque at the current moment. A first control unit is used to control the range extender to operate at the target speed and the target torque. In this application, when the range extender has a power generation demand, a power deviation is determined based on the demand power and the current power. Then, when the power deviation is large, power closed-loop control is performed, adjusting the speed and torque to quickly bring the generated power close to the demand power. When the power deviation is small, the speed is kept constant, and torque control is performed. By adjusting the torque of the range extender, power adjustment is performed to achieve the demand power. This application uses PID control based on power deviation, which improves the response rate when power changes compared to existing technologies. When the power deviation is large, it corrects the demand power to shorten the life of components by allowing them to operate under high load for extended periods. When the power deviation is small, it prioritizes fine-tuning through torque. Compared to synchronous control of speed and torque, this ensures the stability of power generation and solves the problem of slow response of the range extender to changes in power generation, which leads to large fluctuations in power generation.

[0183] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A control method for generating electricity using a range extender, characterized in that, include: If the power deviation is greater than or equal to a first threshold, the first power is corrected by PID calculation based on the power deviation to obtain a second power, and the target speed and target torque are obtained by querying the target mapping relationship based on the second power. Here, the power deviation is the difference between the first power and the third power, the third power is the actual power generated by the range extender at the current moment, the first power is the power generated by the command set, the target mapping relationship is the mapping relationship between the power generated and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. When the power deviation is less than the first threshold and greater than the second threshold, the first torque is corrected by PID calculation based on the power deviation to obtain the second torque, and the target speed and the target torque are determined based on the first speed and the second torque, respectively. The first speed is the speed set by the command, and the first torque is the torque set by the command. If the power deviation is less than or equal to the second threshold, a second rotational speed and a third torque are obtained and the second rotational speed and the third torque are determined as the target rotational speed and the target torque, wherein the second rotational speed and the third torque are the rotational speed and the torque at the current moment; The range extender is controlled to operate at the target speed and the target torque.

2. The method according to claim 1, characterized in that, Determining the target speed and the target torque based on the first speed and the second torque includes: When the second torque is less than or equal to the preset torque, the first rotational speed is determined as the target rotational speed, and the second torque is determined as the target torque; When the second torque is greater than the preset torque, the first speed is corrected by PID calculation based on the power deviation to obtain the third speed, the preset torque is determined as the target torque, and the target speed is determined based on the third speed.

3. The method according to claim 2, characterized in that, Determining the target rotational speed based on the third rotational speed includes: If the third rotational speed is greater than the preset rotational speed, the preset rotational speed is determined as the target rotational speed; If the third rotational speed is less than or equal to the preset rotational speed, the third rotational speed is determined as the target rotational speed.

4. The method according to claim 1, characterized in that, Before correcting the first power to obtain the second power using PID calculation based on the power deviation, the method further includes: Obtain the target voltage and target current, and calculate the third power based on the target voltage and target current, wherein the target voltage is the voltage value of the DC bus of the range extender, and the target current is the current value of the DC bus of the range extender; The power deviation is obtained by acquiring the first power and calculating the difference between the first power and the third power.

5. The method according to claim 1, characterized in that, Before obtaining the target speed and target torque based on the second power query target mapping relationship, the method further includes: Multiple preset power values ​​are obtained, and a speed range is determined according to each preset power value. The minimum and maximum values ​​of the speed range are respectively the minimum and maximum values ​​of the speed of the range extender when the power generation is the preset power. Multiple fourth speeds are obtained by extracting multiple speeds based on a preset speed step size and the minimum value of each speed range; Multiple fourth torques are obtained by determining the corresponding torque based on each of the fourth rotation speeds and the corresponding preset power. Multiple test conditions are determined based on each of the fourth rotation speeds and the corresponding fourth torques, wherein the test conditions include the fourth rotation speeds and the fourth torques; Multiple target energy consumptions are obtained by controlling the range extender to operate under each of the tested conditions and monitoring the energy consumption of the range extender. The fourth speed and the fourth torque corresponding to the minimum target energy consumption are determined as the optimal speed and optimal torque under the preset power. The target mapping relationship is determined based on the correspondence between the preset power and the optimal speed and optimal torque.

6. The method according to claim 4, characterized in that, After acquiring the first power, the method further includes: When the first power is equal to 0, at least one of the target torque and the target speed is determined to be 0.

7. The method according to claim 1, characterized in that, After controlling the range extender to operate at the target speed and target torque, the method further includes: When the range extender operates at the target speed and target torque for a preset time, the power deviation is acquired, and if the power deviation is greater than the first threshold, a first alarm message is issued, the first alarm message indicating a fault in the range extender.

8. A control device for generating electricity using a range extender, characterized in that, The device includes: The first calculation unit is configured to, when the power deviation is greater than or equal to a first threshold, perform PID calculations based on the power deviation to correct the first power to obtain a second power, and query the target mapping relationship based on the second power to obtain the target speed and target torque. The power deviation is the difference between the first power and the third power, the third power is the actual power output of the range extender at the current moment, the first power is the power output set by an instruction, the target mapping relationship is the mapping relationship between the power output and the speed and torque of the range extender, and the target speed and target torque are the speed and torque corresponding to the second power. The first determining unit is configured to, when the power deviation is less than the first threshold and greater than the second threshold, perform PID calculation based on the power deviation to correct the first torque to obtain the second torque, and determine the target speed and the target torque based on the first speed and the second torque respectively, wherein the first speed is the speed set by an instruction, and the first torque is the torque set by an instruction; The second determining unit is configured to, when the power deviation is less than or equal to the second threshold, acquire a second speed and a third torque and determine the second speed and the third torque as the target speed and the target torque, wherein the second speed and the third torque are the speed and the torque at the current moment; the first control unit is configured to control the range extender to operate at the target speed and the target torque.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 7.

10. A vehicle, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising methods for performing any one of claims 1 to 7.

Citation Information

Patent Citations

  • Range extender control method, device and equipment

    CN111634278A

  • Four-wheel drive control device

    JP2010215144A