Method and apparatus for regulating speed of generator, and storage medium
By calculating the generator's torque parameters and the power of the battery, the upper limit of the engine's torque is determined, and the speed regulation power is released, thus solving the problem of insufficient generator speed regulation and ensuring the safety and stability of the vehicle's power supply system.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2025-08-13
- Publication Date
- 2026-06-11
Smart Images

Figure CN2025114293_11062026_PF_FP_ABST
Abstract
Description
Methods, devices and storage media for generator speed regulation
[0001] This application claims priority to Chinese Patent Application No. 202411791850.8, filed on December 6, 2024, entitled “Method, Apparatus and Storage Medium for Generator Speed Regulation”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of vehicle control technology, and in particular to a method, apparatus and storage medium for regulating generator speed. Background Technology
[0003] During vehicle operation, the generator outputs torque, and the motor controls its speed. The power output of the vehicle's power supply system is determined by the battery's power, the engine's capacity, and the motor's capacity. In related technologies, the impact on other parts of the charging system is not fully considered, which can lead to inaccurate calculations. This can result in insufficient torque provided to the motor to keep up with the speed requests from the VCU (Vehicle Control Unit), and may even cause the engine speed to spike, compromising the safety of the vehicle's power supply system. Summary of the Invention
[0004] This application provides a method, apparatus, and storage medium for generator speed regulation, which can be used to solve the problem that the system provides insufficient speed regulation torque to the motor, making it unable to keep up with the speed requested by the VCU. The technical solution is as follows:
[0005] On one hand, embodiments of this application provide a method for regulating the speed of a generator, the method comprising:
[0006] Obtain the current allowable power generation capacity of the power battery, the discharge capacity of the power battery, the power consumption of the whole vehicle, the maximum allowable negative torque of the generator, the speed of the generator and the speed of the engine;
[0007] The engine's first torque is calculated based on the current allowable power generation of the power battery and the engine's rotational speed. The first torque is the torque that the engine needs to provide to achieve the current maximum allowable power generation of the power battery.
[0008] The engine torque deviation is determined based on the first torque.
[0009] The upper limit of the engine torque is calculated based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine.
[0010] The second torque of the engine is calculated based on the power consumption of the entire vehicle, the discharge power of the power battery, and the rotational speed of the generator.
[0011] In response to the second torque being greater than the upper limit of the engine torque, the speed regulation power of the generator is released based on the second torque and the upper limit of the engine torque.
[0012] On the other hand, a generator speed regulating device is provided, the device comprising:
[0013] The acquisition module is used to acquire the current allowed power generation power of the power battery, the power discharge power of the power battery, the power consumption of the whole vehicle, the maximum allowed negative torque of the generator, the speed of the generator and the speed of the engine;
[0014] The first calculation module is used to calculate the first torque of the engine based on the current allowable power generation of the power battery and the engine speed. The first torque is the torque that the engine needs to provide to reach the current maximum allowable power generation of the power battery.
[0015] The determination module is used to determine the engine torque deviation based on the first torque;
[0016] The second calculation module is used to calculate the upper limit of the engine torque based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine.
[0017] The inverse calculation module is used to inversely calculate the second torque of the engine based on the power consumption of the whole vehicle, the discharge power of the power battery and the rotation speed of the generator;
[0018] A release module is configured to release the speed-regulating power of the generator based on the second torque and the upper limit of the engine torque in response to the second torque being greater than the upper limit of the engine torque.
[0019] On the other hand, a non-transitory computer-readable storage medium is also provided, characterized in that the computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement any of the generator speed regulation methods described above.
[0020] On the other hand, a computer program product is also provided, the computer program product including computer instructions, which, when executed by a processor, implement the steps of any of the generator speed regulation methods described above. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 is a schematic diagram of an implementation environment provided in an embodiment of this application;
[0023] Figure 2 is a flowchart of a generator speed regulation method provided in an embodiment of this application;
[0024] Figure 3 is a flowchart of a generator speed regulation method provided in an embodiment of this application;
[0025] Figure 4 is a schematic diagram of a generator speed regulation device provided in an embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0027] This application provides a method for regulating generator speed. Please refer to Figure 1, which shows a schematic diagram of the implementation environment of the method provided in this application embodiment. The implementation environment may include: VCU 11, temperature sensor 12, BMS (Battery Management System) 13, current sensor 14, voltage sensor 15, on-board electrical equipment 16, GCU (Generator Control Unit) 17, ECU (Engine Control Unit) 18, and MDC (Motor Driver Controller) 19.
[0028] Optionally, VCU11 can read the current ambient temperature through temperature sensor 12, and then determine the current allowable power generation capacity of the power battery based on the power battery model and the current ambient temperature. VCU11 obtains the current discharge voltage and discharge current of the power battery through BMS13, and then calculates the discharge power of the power battery based on the current discharge voltage and discharge current. VCU11 can determine the maximum allowable negative torque of the generator according to the generator type; detect the generator speed through GCU17; and detect the engine speed of engine 18 through ECU18.
[0029] For example, VCU11 can detect the speed, torque, and efficiency of the drive motor via MDC19. VCU11 then calculates the power consumed by the drive motor based on the torque, speed, and efficiency. VCU11 can obtain the charging current of each on-board electrical device via current sensor 14 and the charging voltage of each on-board electrical device via voltage sensor 15; then calculate the power consumed by the on-board electrical device 16 based on the charging current and charging voltage, wherein current sensor 14 and voltage sensor 15 are installed on each on-board electrical device 16. VCU11 uses the sum of the power consumed by each on-board electrical device 16 and the power consumed by the drive motor as the total power consumption of the vehicle.
[0030] For example, VCU11 calculates the engine's first torque based on the current allowable power generation of the power battery and the engine speed, where the first torque is the torque the engine needs to provide to achieve the current maximum allowable power generation of the power battery. VCU11 determines the engine torque deviation based on the first torque, and then calculates the engine's upper torque limit based on the engine torque deviation, the generator's maximum allowable negative torque, the generator speed, and the engine speed. VCU11 then calculates the engine's second torque based on the vehicle's total power consumption, the power battery's discharge power, and the generator speed.
[0031] In one possible implementation, after determining the engine's upper torque limit and the second torque, the VCU11 compares the upper torque limit and the second torque. If the second torque is greater than the engine's upper torque limit, the VCU11 calculates the engine's inverse power based on the second torque; calculates the engine's upper limit power based on the engine's upper torque limit; and releases the generator's speed regulation power via the GCV based on the engine's inverse power and upper limit power.
[0032] Optionally, in response to a second torque exceeding the upper torque limit and the generator's speed-regulating power being unable to be released, VCU11 requests the engine to reduce its output torque via ECU18. After requesting the engine to reduce its output torque, the speed-regulating power of the generator required for the reduced engine output torque is calculated; the generator is then controlled to release power according to the generator's speed-regulating power. VCU11, temperature sensor 12, BMS13, current sensor 14, voltage sensor 15, on-board electrical equipment 16, GCU17, ECU18, and MDC19 establish a communication connection via a wired or wireless network.
[0033] Based on the implementation environment shown in Figure 1 above, this application embodiment provides a generator speed regulation method as shown in Figure 2. Taking the application of this method to VCU as an example, the method includes steps 201-206.
[0034] In step 201, the VCU obtains the current allowed power generation power of the power battery, the power discharge power of the power battery, the power consumption of the whole vehicle, the maximum allowed negative torque of the generator, the speed of the generator and the speed of the engine.
[0035] In one possible implementation, when the vehicle is in series mode, energy is transferred along the vehicle's engine, generator, and battery to the drive motor, which then propels the vehicle. The following section provides an example of how these parameters are obtained.
[0036] (1) Obtain the current allowed power generation capacity of the power battery.
[0037] Optionally, obtaining the current allowable power generation capacity of the power battery includes: the VCU determining the current allowable power generation capacity of the power battery based on the power battery model and the current ambient temperature. The VCU can read the current ambient temperature via a temperature sensor. The correspondence between the power battery model, ambient temperature, and the allowable power generation capacity of the power battery can be pre-calibrated experimentally. The temperature sensor is installed on the vehicle.
[0038] (2) Obtain the discharge power of the power battery
[0039] For example, the VCU can obtain the current discharge voltage and discharge current of the power battery through the BMS, and then substitute the current discharge voltage and discharge current of the power battery into the formula for calculating the power to obtain the current allowable power generation of the power battery. The formula for calculating the power includes: P1=V×I
[0040] P1 represents the discharge power of the power battery, V represents the current discharge voltage of the power battery, and I represents the current discharge current of the power battery. In one possible implementation, P... dis The unit of is W (watt), the unit of V is V (volt), and the unit of I is A (ampere).
[0041] (3) Obtain the power consumption of the whole vehicle
[0042] Optionally, obtaining the total vehicle power consumption includes: the VCU summing the power consumed by the on-board electrical equipment, and using the sum of the power consumed by the on-board electrical equipment and the power consumed by the drive motor as the total vehicle power consumption, wherein the formula for calculating the power consumed by the drive motor includes:
[0043] Among them, P dri T is the power consumed by the drive motor. dr1 N is the torque of the drive motor. dri η is the rotational speed of the drive motor. dri For the efficiency of the drive motor, T driThe unit can be N·m (Newton-meter), N dri The unit can be RPM (revolutions per minute).
[0044] In one possible implementation, the VCU can acquire the charging current of each on-board electrical device via a current sensor and the charging voltage of each on-board electrical device via a voltage sensor. Then, by substituting the charging current and voltage of each on-board electrical device into a power calculation formula, the power consumed by each vehicle electrical device can be obtained. For example, the current sensor and voltage sensor are installed on each on-board electrical device, which includes, but is not limited to, displays, air conditioning, and interior and exterior lights. For example, the VCU can acquire the speed and torque of the drive motor from the MDC via the CAN (Controller Area Network) bus and determine the efficiency of the drive motor based on its type.
[0045] (4) Obtain the maximum allowable negative torque of the generator.
[0046] Optionally, obtaining the generator's maximum permissible negative torque includes: the VCU can determine the generator's maximum permissible negative torque based on the generator type. The correspondence between the generator type and the generator's maximum permissible negative torque can be predetermined experimentally.
[0047] (5) Obtain the generator speed
[0048] For example, obtaining the generator speed includes: the VCU obtaining the generator speed from the GCV via the CAN bus.
[0049] (6) Obtain the engine speed
[0050] In one possible implementation, obtaining the generator speed includes: the VCU obtaining the engine speed from the ECU via the CAN bus.
[0051] In step 202, the VCU calculates the first torque of the engine based on the current allowable power generation of the power battery and the engine speed. The first torque is the torque that the engine needs to provide to achieve the current maximum allowable power generation of the power battery.
[0052] For example, after determining the current allowable power generation capacity of the power battery and the engine speed, the VCU calculates the engine's first torque based on the current allowable power generation capacity of the power battery and the engine speed, wherein the first torque is the torque that the engine needs to provide to achieve the current maximum allowable power generation capacity of the power battery. Optionally, the VCU's calculation of the engine's first torque based on the current allowable power generation capacity of the power battery and the engine speed includes: calculating the engine's angular velocity based on the engine speed; calculating the current allowable power generation capacity of the power battery divided by the engine's angular velocity, and using the calculation result as the engine's first torque.
[0053] In one possible implementation, the VCU can input the engine speed into a formula for calculating the engine's angular velocity to obtain the engine's angular velocity, wherein the formula for calculating the engine's angular velocity includes:
[0054] Where ω is the angular velocity of the engine, measured in rad / s (radians per second), and N1 is the engine speed, measured in RPM.
[0055] Optionally, after calculating the engine's angular velocity, the VCU calculates the current allowable power generation of the battery divided by the calculated engine angular velocity, and uses the result as the engine's first torque. The formula for calculating the engine's first torque includes:
[0056] Where T1 is the engine's first torque, and the unit of T1 can be N·m.
[0057] In step 203, the VCU determines the engine torque deviation based on the first torque.
[0058] In one possible implementation, after determining the engine's first torque, the VCU determines the engine torque deviation based on the first torque, including: the VCU determining the torque range to which the first torque belongs based on the value of the first torque; and obtaining the engine torque deviation corresponding to the torque range. Optionally, the torque range can be pre-divided according to the magnitude of the torque value. For example, 0-50 N·m can be used as the first torque range, 50 N·m-100 N·m as the second torque range, 100 N·m-150 N·m as the third torque range, and 150 N·m to the maximum torque that the engine can provide can be used as the fourth torque range.
[0059] For example, after determining the torque range to which the first torque belongs, if the first torque is in the first torque range, the engine torque deviation can be ±3 N·m; if the first torque is in the second torque range, the engine torque deviation can be ±4 N·m; if the first torque is in the third torque range, the engine torque deviation can be ±5% multiplied by the first torque; if the first torque is in the first torque range, the engine torque deviation can be ±6% multiplied by the first torque.
[0060] In step 204, the VCU calculates the upper limit of engine torque based on engine torque deviation, the maximum allowable negative torque of the generator, the generator speed, and the engine speed.
[0061] In one possible implementation, after determining the engine torque deviation, the generator's maximum permissible negative torque, the generator's speed, and the engine's speed, the VCU calculates the engine's upper torque limit based on these parameters. This includes: the VCU substituting the engine torque deviation, the generator's maximum permissible negative torque, the generator's speed, and the engine's speed into a formula for calculating the engine's upper torque limit to obtain the engine's upper torque limit; wherein the formula for calculating the engine's upper torque limit includes:
[0062] T max1 T is the upper limit of the engine's torque. max2 N2 is the maximum allowable negative torque of the generator, N2 is the generator speed, and T is the generator speed. Δ For engine torque deviation. Optionally, T max1 T max2 and T Δ The unit of N can be N·m, and the unit of N2 can be RPM.
[0063] In step 205, the VCU calculates the engine's second torque based on the vehicle's power consumption, the power battery's discharge power, and the generator's rotational speed.
[0064] For example, after determining the vehicle's power consumption, the power battery's discharge power, and the generator's rotational speed, the VCU calculates the engine's second torque based on these parameters. This includes: the VCU obtaining the generator's efficiency; and substituting the vehicle's power consumption, the power battery's discharge power, and the generator's rotational speed into the formula for calculating the engine's second torque to obtain the engine's second torque. The formula for calculating the engine's second torque includes:
[0065] T2 is the engine's second torque, η isgT2 represents the generator's efficiency. Optionally, the unit of T2 is N·m. The VCU can determine the generator's efficiency based on the generator model.
[0066] In step 206, in response to the second torque being greater than the engine's torque limit, the VCU releases the generator's speed regulation power based on the second torque and the engine's torque limit.
[0067] In one possible implementation, after determining the engine's upper torque limit and the second torque, the upper torque limit and the second torque are compared. If the second torque is greater than the engine's upper torque limit, the VCU releases the generator's speed-regulating power based on the second torque and the engine's upper torque limit, including: calculating the engine's inverse power based on the second torque; calculating the engine's upper limit power based on the engine's upper torque limit; and releasing the generator's speed-regulating power based on the engine's inverse power and the engine's upper limit power.
[0068] For example, calculating the engine's inverse power based on the second torque includes: substituting the second torque into the formula for calculating the engine's power to obtain the engine's inverse power. Calculating the engine's upper limit power based on the engine's upper torque limit includes: substituting the engine's upper torque limit into the formula for calculating the engine's power to obtain the engine's upper limit power. The formula for calculating the engine's power includes: P = T × ω
[0069] Where P is the engine power and T is the generator torque, the unit of P can be W and the unit of T can be N·m.
[0070] For example, releasing the generator's speed regulation power means increasing the generator's output power by adjusting the generator's speed and load to compensate for the extra power required by the vehicle's electrical equipment, thereby ensuring the system's normal operation. Optionally, after calculating the engine's inverse power and upper limit power, releasing the generator's speed regulation power based on the engine's inverse power and upper limit power includes: calculating the difference between the engine's inverse power and upper limit power, using the difference as the speed regulation power that the generator needs to release, and then adjusting the generator's speed and load via GCV according to the speed regulation power that the generator needs to release.
[0071] In one possible implementation, after determining the upper and second torque limits, in response to the second torque exceeding the upper limit and the generator's speed-regulating power being unable to be released, the VCU requests the engine to reduce its output torque. Optionally, factors that prevent the generator's speed-regulating power from being released include, but are not limited to: generator overload, activation of the vehicle's electrical system protection mechanism, or generator aging.
[0072] Optionally, if the second torque is greater than the upper torque limit and the generator's speed-regulating power cannot be released, the VCU requests the engine to reduce its output torque, including: calculating the difference between the second torque and the upper torque limit; selecting a first torque value less than or equal to the difference between the second torque and the upper torque limit as the output torque that the engine needs to reduce; and controlling the engine's output torque to reduce the first torque value via the ECU. The first torque value can be selected based on experience.
[0073] For example, after requesting the engine to reduce its output torque, the speed control power of the generator required for the reduced engine output torque is calculated; and the generator is controlled to release power according to the speed control power of the generator.
[0074] In one possible implementation, calculating the generator speed-regulating power required for the reduced engine output torque includes: substituting the reduced engine output torque into the formula for calculating the generator speed-regulating power to obtain the generator speed-regulating power required for the reduced engine output torque; wherein the formula for calculating the generator speed-regulating power includes:
[0075] Among them, P new To reduce the engine output torque, ΔT is the first torque value selected.
[0076] For example, if the second torque is less than the upper torque limit, the engine's requested torque is reduced based on the difference between the upper torque limit and the second torque. The second torque value, which represents the reduction in the engine's requested torque, can be selected empirically and must be less than the difference between the engine's upper torque limit and the second torque. Optionally, after the engine's requested torque is reduced by the second torque value, the VCU recalculates the engine's current second torque and compares it with the engine's current upper torque limit, adjusting the generator's output power in the same way.
[0077] In summary, the following flowchart illustrates a generator speed regulation process, as shown in Figure 3. The executing entity can be the VCU. Step 301: The vehicle enters series mode. Step 302: The VCU calculates the engine's first torque based on the current allowed power generation of the battery and the engine speed; determines the engine torque deviation based on the first torque; and calculates the engine's upper torque limit based on the engine torque deviation, the generator's maximum allowed negative torque, the generator speed, and the engine speed. Step 303: The VCU calculates the engine's second torque based on the vehicle's power consumption, the battery's discharge power, and the generator speed. Step 304: Determines whether the engine's second torque is greater than the engine's upper torque limit. If the engine's second torque is greater than the engine's upper torque limit, proceed to step 305; if the engine's second torque is less than the engine's upper torque limit, proceed to step 306. Step 305: The VCU releases the generator's speed regulation power based on the second torque and the engine's upper torque limit. Step 306: Reduces the engine's requested torque based on the difference between the upper torque limit and the second torque. Step 307 is executed after step 306. Step 307: The VCU calculates the engine's second torque again. Step 304 is executed again after step 307.
[0078] This embodiment of the application obtains the current allowable power generation of the power battery and the engine speed, calculates the first torque of the engine, and then determines the engine torque deviation based on the first torque. This deviation is used together with the maximum allowable negative torque of the generator to calculate the upper limit of the engine torque, ensuring the accuracy of the torque that the engine needs to provide to achieve the current allowable maximum power generation of the power battery. Based on the power consumption of the whole vehicle, the discharge power of the power battery, and the speed of the generator, the second torque of the engine is calculated. In response to the second torque being greater than the upper limit of the engine torque, the speed regulation power of the generator is released based on the second torque and the upper limit of the engine torque, ensuring the accuracy of the generator speed regulation, thereby ensuring the safety of the vehicle power supply system.
[0079] Referring to Figure 4, this application embodiment provides a generator speed regulation device, which includes:
[0080] The acquisition module 401 is used to acquire the current allowed power generation power of the power battery, the power discharge power of the power battery, the power consumption of the whole vehicle, the maximum allowed negative torque of the generator, the speed of the generator and the speed of the engine;
[0081] The first calculation module 402 is used to calculate the first torque of the engine based on the current allowable power generation of the power battery and the engine speed. The first torque is the torque that the engine needs to provide to reach the current maximum allowable power generation of the power battery.
[0082] Determining module 403 is used to determine the engine torque deviation based on the first torque;
[0083] The second calculation module 404 is used to calculate the upper limit of engine torque based on engine torque deviation, the maximum allowable negative torque of generator, generator speed and engine speed.
[0084] The inverse calculation module 405 is used to inversely calculate the engine's second torque based on the vehicle's power consumption, the power battery's discharge power, and the generator's rotational speed.
[0085] Release module 406 is used to release the speed regulation power of the generator based on the second torque and the engine's torque limit in response to the second torque being greater than the engine's torque limit.
[0086] In one possible implementation, the first calculation module 402 is used to calculate the angular velocity of the engine based on the engine's rotational speed; calculate the current allowable power generation of the power battery divided by the engine's angular velocity, and use the calculation result as the engine's first torque.
[0087] In one possible implementation, the determining module 403 is used to determine the torque range to which the first torque belongs based on the value of the first torque; and to obtain the engine torque deviation corresponding to the torque range.
[0088] In one possible implementation, the second calculation module 404 is used to input the engine torque deviation, the generator's maximum allowable negative torque, the generator's speed, and the engine's speed into a formula for calculating the engine's torque upper limit to obtain the engine's torque upper limit; wherein, the formula for calculating the engine's torque upper limit includes:
[0089] T max1 T is the upper limit of the engine's torque. max2 N1 is the maximum allowable negative torque of the generator, N2 is the engine speed, and T is the generator speed. Δ This refers to the engine torque deviation.
[0090] In one possible implementation, the inverse calculation module 405 is used to obtain the generator efficiency; the vehicle power consumption, the power battery discharge power, and the generator speed are substituted into the formula for calculating the engine's second torque to obtain the engine's second torque; wherein, the formula for calculating the engine's second torque includes:
[0091] P dri P1 represents the power consumed by the entire vehicle, P1 represents the discharge power of the power battery, and η represents the total power consumption of the vehicle. isg N is the generator efficiency, and N2 is the generator speed.
[0092] In one possible implementation, the device further includes a request module for requesting the engine to reduce its output torque in response to a second torque exceeding the engine's torque limit and the generator's speed-regulating power being unable to be released.
[0093] In one possible implementation, the request module is also used to calculate the speed-regulating power of the generator required for the reduced engine output torque; and to control the generator to release power according to the speed-regulating power of the generator.
[0094] This device calculates the engine's first torque by acquiring the current allowable power generation of the power battery and the engine speed. Based on the first torque, it determines the engine torque deviation, which is used together with the generator's maximum allowable negative torque to calculate the engine's upper torque limit. This ensures the accuracy of the calculated torque required by the engine to achieve the current allowable maximum power generation of the power battery. Based on the vehicle's power consumption, the power battery's discharge power, and the generator speed, it calculates the engine's second torque. In response to the second torque being greater than the engine's upper torque limit, it releases the generator's speed regulation power based on the second torque and the engine's upper torque limit, ensuring the accuracy of the generator's speed regulation and thus ensuring the safety of the vehicle's power supply system.
[0095] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0096] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-described methods for regulating the speed of a generator.
[0097] In one possible implementation, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0098] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the generator speed regulation methods described above.
[0099] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the current permissible power generation capacity of the power battery, the discharge capacity of the power battery, the power consumption of the entire vehicle, the maximum permissible negative torque of the generator, the speed of the generator, and the speed of the engine involved in this application were all obtained with full authorization.
[0100] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0101] It should be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0102] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
[0103] This application provides a method for regulating the speed of a generator, characterized in that the method includes:
[0104] Obtain the current allowable power generation capacity of the power battery, the discharge capacity of the power battery, the power consumption of the whole vehicle, the maximum allowable negative torque of the generator, the speed of the generator and the speed of the engine;
[0105] The engine's first torque is calculated based on the current allowable power generation of the power battery and the engine's rotational speed. The first torque is the torque that the engine needs to provide to achieve the current maximum allowable power generation of the power battery.
[0106] The engine torque deviation is determined based on the first torque.
[0107] The upper limit of the engine torque is calculated based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine.
[0108] The second torque of the engine is calculated based on the power consumption of the entire vehicle, the discharge power of the power battery, and the rotational speed of the generator.
[0109] In response to the second torque being greater than the upper limit of the engine torque, the speed regulation power of the generator is released based on the second torque and the upper limit of the engine torque.
[0110] Optionally, calculating the engine's first torque based on the currently allowed power generation capacity of the power battery and the engine's rotational speed includes:
[0111] The angular velocity of the engine is calculated based on the engine's rotational speed;
[0112] The current allowable power generation of the power battery is calculated and divided by the angular velocity of the engine. The result is used as the first torque of the engine.
[0113] Optionally, determining the engine torque deviation based on the first torque includes:
[0114] The torque range to which the first torque belongs is determined based on the value of the first torque.
[0115] Obtain the engine torque deviation corresponding to the torque range.
[0116] Optionally, calculating the upper limit of the engine torque based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine includes:
[0117] Substituting the engine torque deviation, the generator's maximum allowable negative torque, the generator's speed, and the engine's speed into the formula for calculating the engine's torque limit, we obtain the engine's torque limit.
[0118] The formula for calculating the upper limit of the engine torque includes:
[0119] The Tmax1 The upper limit of the torque of the engine, T max2 Where N1 is the maximum allowable negative torque of the generator, N2 is the engine speed, and T is the generator speed. Δ This refers to the engine torque deviation.
[0120] Optionally, the step of calculating the second torque of the engine based on the power consumption of the entire vehicle, the discharge power of the power battery, and the rotational speed of the generator includes:
[0121] Obtain the generator's efficiency;
[0122] The second torque of the engine is obtained by substituting the power consumption of the whole vehicle, the discharge power of the power battery, and the speed of the generator into the formula for calculating the second torque of the engine.
[0123] The formula for calculating the second torque of the engine includes:
[0124] The P dri The total power consumption of the vehicle is P1, the discharge power of the power battery is P1, and the power consumption of the vehicle is η. isg N1 represents the efficiency of the generator, and N2 represents the rotational speed of the generator.
[0125] Optionally, the method further includes:
[0126] In response to the second torque being greater than the engine's torque limit and the generator's speed regulation power being unable to be released, a request is made to reduce the engine's output torque.
[0127] Optionally, after requesting the engine to reduce its output torque, the method further includes:
[0128] Calculate the generator speed control power required to reduce the engine output torque;
[0129] The generator is controlled to release power according to its speed regulation power.
[0130] On the other hand, a generator speed regulating device is provided, characterized in that the device comprises:
[0131] The acquisition module is used to acquire the current allowed power generation power of the power battery, the power discharge power of the power battery, the power consumption of the whole vehicle, the maximum allowed negative torque of the generator, the speed of the generator and the speed of the engine;
[0132] The first calculation module is used to calculate the first torque of the engine based on the current allowable power generation of the power battery and the engine speed. The first torque is the torque that the engine needs to provide to reach the current maximum allowable power generation of the power battery.
[0133] The determination module is used to determine the engine torque deviation based on the first torque;
[0134] The second calculation module is used to calculate the upper limit of the engine torque based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine.
[0135] The inverse calculation module is used to inversely calculate the second torque of the engine based on the power consumption of the whole vehicle, the discharge power of the power battery and the rotation speed of the generator;
[0136] A release module is configured to release the speed-regulating power of the generator based on the second torque and the upper limit of the engine torque in response to the second torque being greater than the upper limit of the engine torque.
[0137] On the other hand, a computer program product is provided, the computer program product including computer instructions, which, when executed by a processor, implement the steps of the generator speed regulation method as described in any one of claims 1 to 7.
[0138] On the other hand, a non-transitory computer-readable storage medium is provided, characterized in that the computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the generator speed regulation method as described in any one of claims 1 to 7.
Claims
1. A method for regulating the speed of a generator, wherein, The method includes: Obtain the current allowable power generation capacity of the power battery, the discharge capacity of the power battery, the power consumption of the whole vehicle, the maximum allowable negative torque of the generator, the speed of the generator and the speed of the engine; The engine's first torque is calculated based on the current allowable power generation of the power battery and the engine's rotational speed. The first torque is the torque that the engine needs to provide to achieve the current maximum allowable power generation of the power battery. The engine torque deviation is determined based on the first torque. The upper limit of the engine torque is calculated based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine. The second torque of the engine is calculated based on the power consumption of the entire vehicle, the discharge power of the power battery, and the rotational speed of the generator; In response to the second torque being greater than the upper limit of the engine torque, the speed regulation power of the generator is released based on the second torque and the upper limit of the engine torque.
2. The method according to claim 1, wherein, The calculation of the engine's first torque based on the current allowed power generation capacity of the power battery and the engine's rotational speed includes: The angular velocity of the engine is calculated based on the engine's rotational speed; The current allowable power generation of the power battery is calculated and divided by the angular velocity of the engine. The result is used as the first torque of the engine.
3. The method according to claim 1, wherein, The determination of engine torque deviation based on the first torque includes: The torque range to which the first torque belongs is determined based on the value of the first torque. Obtain the engine torque deviation corresponding to the torque range.
4. The method according to claim 1, wherein, The calculation of the upper limit of engine torque based on the engine torque deviation, the maximum allowable negative torque of the generator, the generator speed, and the engine speed includes: Substituting the engine torque deviation, the generator's maximum allowable negative torque, the generator's speed, and the engine's speed into the formula for calculating the engine's torque limit, we obtain the engine's torque limit. The formula for calculating the upper limit of the engine torque includes: The T max1 The upper limit of the torque of the engine, T max2 Where N1 is the maximum allowable negative torque of the generator, N2 is the engine speed, and T is the generator speed. Δ This refers to the engine torque deviation.
5. The method according to claim 4, wherein, The calculation of the engine's second torque based on the vehicle's power consumption, the power battery's discharge power, and the generator's rotational speed includes: Obtain the generator's efficiency; The second torque of the engine is obtained by substituting the power consumption of the whole vehicle, the discharge power of the power battery, and the speed of the generator into the formula for calculating the second torque of the engine. The formula for calculating the second torque of the engine includes: The P dri The total power consumption of the vehicle is P1, the discharge power of the power battery is P1, and the power consumption of the vehicle is η. isg N1 represents the efficiency of the generator, and N2 represents the rotational speed of the generator.
6. The method according to claim 1, wherein, The method further includes: In response to the second torque being greater than the engine's torque limit and the generator's speed regulation power being unable to be released, a request is made to reduce the engine's output torque.
7. The method according to claim 6, wherein, After requesting the engine to reduce its output torque, the following is also included: Calculate the generator speed control power required to reduce the engine output torque; The generator is controlled to release power according to its speed regulation power.
8. A device for regulating the speed of a generator, wherein, The device includes: The acquisition module is used to acquire the current allowed power generation power of the power battery, the power discharge power of the power battery, the power consumption of the whole vehicle, the maximum allowed negative torque of the generator, the speed of the generator and the speed of the engine; The first calculation module is used to calculate the first torque of the engine based on the current allowable power generation of the power battery and the engine speed. The first torque is the torque that the engine needs to provide to reach the current maximum allowable power generation of the power battery. The determination module is used to determine the engine torque deviation based on the first torque; The second calculation module is used to calculate the upper limit of the engine torque based on the engine torque deviation, the maximum allowable negative torque of the generator, the speed of the generator, and the speed of the engine. The inverse calculation module is used to inversely calculate the second torque of the engine based on the power consumption of the whole vehicle, the discharge power of the power battery and the rotation speed of the generator; A release module is configured to release the speed-regulating power of the generator based on the second torque and the upper limit of the engine torque in response to the second torque being greater than the upper limit of the engine torque.
9. The apparatus according to claim 8, wherein, The first calculation module is used to calculate the angular velocity of the engine based on the engine's rotational speed; The current allowable power generation of the power battery is calculated and divided by the angular velocity of the engine. The result is used as the first torque of the engine.
10. The apparatus according to claim 8, wherein, The determining module is used to determine the torque range to which the first torque belongs based on the value of the first torque; and to obtain the engine torque deviation corresponding to the torque range.
11. The apparatus according to claim 8, wherein, The second calculation module is used to input the engine torque deviation, the generator's maximum allowable negative torque, the generator's speed, and the engine's speed into a formula for calculating the engine's torque upper limit, thereby obtaining the engine's torque upper limit; wherein, the formula for calculating the engine's torque upper limit includes: The T max1 The upper limit of the torque of the engine, T max2 Where N1 is the maximum allowable negative torque of the generator, N2 is the engine speed, and T is the generator speed. Δ This refers to the engine torque deviation.
12. The apparatus according to claim 11, wherein, The inverse calculation module is used to obtain the generator efficiency; by substituting the vehicle power consumption, the power battery discharge power, and the generator speed into the formula for calculating the engine's second torque, the second torque of the engine is obtained; wherein, the formula for calculating the engine's second torque includes: The P dri The total power consumption of the vehicle is P1, the discharge power of the power battery is P1, and the power consumption of the vehicle is η. isg N1 represents the efficiency of the generator, and N2 represents the rotational speed of the generator.
13. The apparatus according to claim 8, wherein, The device further includes a request module for requesting the engine to reduce its output torque in response to the second torque being greater than the upper limit of the engine's torque and the generator's speed regulation power being unable to be released.
14. The apparatus according to claim 13, wherein, The request module is also used to calculate the speed regulation power of the generator required for the reduced engine output torque; and to control the generator to release power according to the speed regulation power of the generator.
15. A computer program product comprising computer instructions that, when executed by a processor, implement the steps of the generator speed regulation method as described in any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium, wherein, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the generator speed regulation method as described in any one of claims 1 to 7.