Generator state switching control method and device
By determining the consistency of generator status and calculating the state switching torque through the vehicle controller, the vibration problem caused by generator state switching in range-extended electric vehicles is solved, achieving smooth vehicle transition and performance improvement.
Patent Information
- Application Number
- CN202411207165.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-19
AI Technical Summary
In range-extended electric vehicles, the current loop or voltage loop jitter caused by the control state switching during generator state switching can lead to vehicle vibration and affect driving stability.
The vehicle controller obtains the current and previous control states of the generator and determines whether they are consistent. If they are consistent, the vehicle controller executes the torque requested by the vehicle controller. If they are inconsistent, the state switching torque is calculated based on the current generator state and data to ensure a smooth switch.
By controlling the current loop or voltage loop fluctuations, the smoothness of torque, speed and current during generator state switching is improved, ensuring a smooth transition of the vehicle during state switching, reducing driver discomfort and preventing generator overcurrent.
Smart Images

Figure CN118977696A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and more specifically, to a generator state switching control method and a device thereof. Background Art
[0002] In recent years, the market share of new energy electric vehicles has been increasing, becoming a trend in the development of the automobile industry. However, as the power source of new energy electric vehicles, the power battery has always had limited storage capacity, so how to improve the range of new energy electric vehicles has become a technical problem that the industry needs to solve urgently.
[0003] The extended-range electric vehicle combines the engine system of a traditional car with the motor system of a pure electric vehicle to solve the problem of short driving range of pure electric vehicles. The power system of the extended-range electric vehicle mainly consists of four parts: power battery system, power drive system, range extender and vehicle control system. Among them, the range extender consists of a small-displacement engine and a generator directly connected to it. Its function is to convert the mechanical energy generated by the engine into electrical energy to charge the power battery or directly drive the motor to make the vehicle move. This design allows the extended-range electric vehicle to achieve a "zero fuel consumption, zero pollution, and zero emission" driving state when the power battery is fully charged. When the power battery is low on power, the range extender starts to provide the vehicle with additional endurance.
[0004] In an extended-range electric vehicle, the generator has speed control state, torque control state and voltage stabilization control state. During the state switching process, the current loop or voltage loop jitter caused by the control state switching causes the whole vehicle to jitter, and even causes the generator to overcurrent. This jitter will affect the driving stability of the vehicle. Therefore, it is a technical problem that needs to be solved urgently in this field. Summary of the invention
[0005] In view of this, the present invention provides a generator state switching control method to solve the problem in the prior art that during the generator state switching process, the current loop or voltage loop jitter is caused by the control state switching, thereby causing the whole vehicle to jitter.
[0006] In a first aspect, the present application provides a generator state switching control method, comprising:
[0007] The vehicle controller obtains the control state of the generator at the current moment and the control state of the generator at the previous moment, wherein the control state includes the torque control state, the speed control state and the voltage stabilization control state;
[0008] The vehicle controller determines whether the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment;
[0009] If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, the generator execution torque is equal to the vehicle controller request torque;
[0010] If the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, a state switching torque or a generator torque execution torque is obtained according to the control state of the generator at a current moment and the generator data.
[0011] In a second aspect, the present application provides a generator state switching control device, comprising:
[0012] An acquisition module is used for the vehicle controller to acquire the control state of the generator at the current moment and the control state of the generator at the previous moment, wherein the control state includes the torque control state, the speed control state and the voltage stabilization control state;
[0013] The control module is connected to the acquisition module and is used by the vehicle controller to determine whether the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment; if the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment, the generator execution torque is equal to the torque requested by the vehicle controller; if the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at a current moment and the generator data.
[0014] In a third aspect, the present application provides an electronic device, including:
[0015] at least one processor; and,
[0016] a memory communicatively connected to at least one of the processors; wherein,
[0017] The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable the at least one processor to execute the generator state switching control method as described in any one of the above items.
[0018] In a fourth aspect, the present application provides a vehicle, comprising the generator state switching control device as described above, or the electronic device as described above.
[0019] Compared with the prior art, the generator state switching control method and device provided by the present invention achieve at least the following beneficial effects:
[0020] The present invention provides a generator state switching control method and device, and the control method includes: a vehicle controller obtains the control state of the generator at a current moment and the control state of the generator at a previous moment; the vehicle controller determines the control state of the generator at a current moment and the control state of the generator at a previous moment, if the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment, then the generator execution torque is equal to the vehicle controller request torque. Since the control state of the generator at a current moment is the same as the control state of the generator at a previous moment, the generator does not need to execute the switching control state, thereby not causing current loop or voltage loop jitter; if the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, then according to the control state of the generator at a current moment and the generator data, the state switching torque or the generator torque execution torque is obtained, which can improve the torque, speed and current smoothness of the state switching process in the generator, so that in the state switching process, the current loop or voltage loop jitter caused by the control state switching is avoided as much as possible, thereby preventing the whole vehicle from shaking, improving the performance and user experience of the vehicle, ensuring that the vehicle can smoothly transition when switching modes, reducing the discomfort to the driver, and preventing the generator from overcurrent (such as unstable operation of the generator, excessive temperature or even burning).
[0021] Of course, any product implementing the present invention does not necessarily need to achieve all of the technical effects described above at the same time.
[0022] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0024] Figure 1 It is a flow chart of a generator state switching control method provided by the present invention;
[0025] Figure 2 It is a flow chart of another generator state switching control method provided by the present invention;
[0026] Figure 3 It is a flow chart of another generator state switching control method provided by the present invention;
[0027] Figure 4 It is a flow chart of another generator state switching control method provided by the present invention;
[0028] Figure 5 It is a structural schematic diagram of a generator state switching control device provided by the present invention. DETAILED DESCRIPTION
[0029] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0030] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0031] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0032] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0033] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0034] Embodiment 1
[0035] Reference Figure 1 As shown, Figure 1 It is a flow chart of a generator state switching control method provided by the present invention; this embodiment provides a generator state switching control method, and the generator state switching control method generally includes the following three aspects: (1) switching from other states to torque control state, such as switching from speed control state or voltage stabilization control state to torque control state; (2) switching from other states to speed control state, such as switching from torque control state or voltage stabilization control state to speed control state; (3) switching from other states to voltage stabilization control state, such as switching from torque control state or speed control state to voltage stabilization control state.
[0036] The above-mentioned torque control state, speed control state and voltage stabilization control state respectively refer to the control methods of the generator in different working modes.
[0037] Torque control state: In the torque control state, the output torque of the generator is controlled to ensure that the vehicle can be driven according to the set torque. This control method is usually used in scenarios where precise control of vehicle acceleration and deceleration is required to ensure that the vehicle's power output meets the driver's intention or the vehicle's power requirements.
[0038] Speed control state: In the speed control state, the speed of the generator is strictly controlled. This control method is mainly used to maintain the engine running at the optimal operating point, for example, to keep the engine speed within a stable range when driving at high speed to improve fuel efficiency and reduce engine wear.
[0039] Voltage stabilization control state: In the voltage stabilization control state, the output voltage of the generator remains stable. This control method is essential to protect the vehicle electrical system from voltage fluctuations, ensuring battery charging efficiency and the normal operation of the vehicle electrical equipment.
[0040] The generator state switching control method comprises the following steps:
[0041] Step 101: The vehicle controller obtains the control state of the generator at the current moment and the control state of the generator at the previous moment.
[0042] Specifically, the vehicle controller obtains the control state of the generator at the current moment and the control state of the generator at the previous moment by receiving instructions from the driver and collecting current vehicle driving condition information.
[0043] The functions of the vehicle controller mainly include driver driving intention analysis, vehicle drive control, brake energy feedback control, etc. In extended-range electric vehicles, the vehicle controller also needs to coordinate the power battery and the range extender system, and realize the torque control of the motor through the motor driver to complete the driver's driving intention. In order to achieve this goal, the vehicle controller needs to obtain the vehicle status information in real time, including but not limited to the opening of the accelerator pedal and the brake pedal, the vehicle driving status information, the power battery status information (such as SOC value, State of Charge, battery charging status), etc. This information is not only used to judge the current operating status of the vehicle, but also used to compare with the control status of the generator at the previous moment, so as to determine the energy distribution relationship between the engine / generator set and the power battery according to the preset algorithm instructions, and determine the operating status of the vehicle.
[0044] Take the extended-range electric vehicle as an example. The control strategy of the extended-range electric vehicle is an algorithm that serves the vehicle controller. It receives the driver's instructions and collects the current vehicle driving condition information, uses the current vehicle status as a feedback condition, such as the battery SOC value, and determines the energy distribution relationship between the engine / generator set and the power battery according to the preset algorithm instructions. This control strategy not only affects the power and economy of the vehicle, but also has a direct impact on the design and development of new models. Therefore, the vehicle controller obtains the control state of the generator at the current moment and the control state of the generator at the previous moment in this way to achieve precise control of the vehicle and optimize energy use.
[0045] Step 102: The vehicle controller determines the control state of the generator at the current moment and the control state of the generator at the previous moment, where the control state includes the torque control state, the speed control state and the voltage stabilization control state. If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, and both are the torque control state, the speed control state or the voltage stabilization control state, then step 103 is executed;
[0046] Step 103: The generator execution torque is equal to the vehicle controller request torque. The vehicle controller request torque can be the torque after the vehicle controller requests voltage regulation, the torque after the vehicle controller requests speed and the actual generator speed proportional integral adjustment, and the torque after the vehicle controller requests voltage and the actual generator voltage proportional integral adjustment.
[0047] The torque after voltage regulation requested by the vehicle controller refers to the rotational force output by the engine, which affects the vehicle's power performance after voltage regulation by the vehicle controller. In extended-range electric vehicles, the vehicle controller requests torque after voltage regulation based on the vehicle's operating status and needs. This regulation is to optimize the vehicle's power output and ensure that the vehicle can perform at its best under different operating conditions. Through voltage regulation, the torque output by the engine can be ensured to be more stable, avoiding the impact on the vehicle caused by torque fluctuations, thereby improving the vehicle's driving comfort and fuel economy.
[0048] The torque after proportional-integral adjustment of the vehicle controller's requested speed and the actual generator speed is the torque value output by the engine after the generator speed is adjusted by the proportional-integral adjustment algorithm. This torque value is calculated by the proportional-integral adjustment algorithm based on the difference between the vehicle controller's requested speed and the actual generator speed.
[0049] In extended-range electric vehicles, the vehicle controller adjusts the generator speed to ensure that the battery charge is maintained at the optimal level while optimizing the vehicle's NVH performance (noise, vibration and harshness). Through proportional-integral regulation, the vehicle controller can accurately control the generator speed to adapt to different driving conditions and battery status, thereby achieving efficient energy utilization and optimizing vehicle performance.
[0050] The above-mentioned NVH is the abbreviation of Noise, Vibration and Harshness.
[0051] The torque after proportional-integral adjustment of the vehicle controller's requested voltage and the generator's actual voltage refers to the vehicle controller calculating the requested torque through a variety of factors (such as motor speed, accelerator pedal opening, motor efficiency value, etc.), and ensuring the match between the generator's actual voltage and the vehicle controller's requested voltage through proportional-integral adjustment, thereby achieving optimized control and efficient operation of the power system.
[0052] In extended-range electric vehicles, the vehicle controller issues a voltage request based on demand, and the actual voltage output by the generator may deviate from this request. The proportional-integral regulator can ensure that the voltage output by the generator is adjusted to the voltage value requested by the controller as quickly as possible, thereby ensuring the normal operation of the vehicle and maximizing the battery charging efficiency.
[0053] Generator execution torque means that after receiving the torque command, the generator will not reach the maximum torque value immediately, but will need a certain amount of time to gradually adjust and adapt to achieve the specified torque output. This gradual adjustment process is called gradient response, which ensures that the generator can reach the target torque value (100Nm) smoothly and safely, avoiding damage to the generator caused by sudden changes. For example: giving the generator 100Nm cannot immediately respond to 100Nm, and a certain gradient response is required to reach 100Nm.
[0054] If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, execute step 104;
[0055] Step 104: Obtain the state switching torque or the generator torque execution torque according to the current control state of the generator and the generator data.
[0056] Specifically, the control state of the generator at the current moment may be a torque control state. The vehicle controller obtains the generator torque after torque limitation or the generator torque execution torque by judging the relationship between the current bus voltage and the voltage peak, and / or the relationship between the current motor speed and the peak speed.
[0057] The control state of the generator at the current moment can also be a speed control state. The vehicle controller determines the relationship between the current bus voltage and the voltage peak, and / or the relationship between the current motor current and the peak current to obtain the torque for converting other states to the speed control state or the generator torque execution torque.
[0058] The control state of the generator at the current moment can also be a voltage stabilization control state. The vehicle controller determines the relationship between the current motor voltage and the peak speed, and the relationship between the current motor current and the peak current to obtain the torque for converting other states into the voltage stabilization control state or the generator torque execution torque.
[0059] The generator torque after the above-mentioned torque limitation, the torque when other states are converted to speed control states, or the torque when other states are converted to voltage stabilization control states may be the state switching torque.
[0060] Generator torque execution torque refers to the torque executed after the vehicle controller sends a torque command, and the execution torque is different from the actual torque. For example, if the vehicle controller requests the generator to output a torque of 100Nm, after the generator execution torque receives the vehicle controller's request for 100Nm, a series of calculations and control operations will be performed inside the generator to respond to the above request.
[0061] It can be seen from the above embodiments that the generator state switching control method provided by the present invention achieves at least the following beneficial effects:
[0062] The generator state switching control method provided by the present invention comprises: a vehicle controller obtains the control state of the generator at a current moment and the control state of the generator at a previous moment; the vehicle controller determines the control state of the generator at a current moment and the control state of the generator at a previous moment, if the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment, then the generator execution torque is equal to the torque requested by the vehicle controller, since the control state of the generator at a current moment is the same as the control state of the generator at a previous moment, the generator does not need to execute the switching control state, thereby not causing the current loop or voltage loop jitter; if the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, then according to the control state of the generator at a current moment and the generator data, the state switching torque or the generator torque execution torque is obtained, which can improve the torque, speed and current smoothness of the state switching process in the generator, so that in the state switching process, the current loop or voltage loop jitter caused by the control state switching is avoided as much as possible, thereby preventing the whole vehicle from shaking, improving the performance and user experience of the vehicle, ensuring that the vehicle can smoothly transition when switching modes, reducing the discomfort to the driver, and preventing the generator from overcurrent (such as unstable operation of the generator, excessive temperature or even burning).
[0063] Embodiment 2
[0064] This embodiment is an extension solution based on Embodiment 1.
[0065] Figure 2 It is a flow chart of another generator state switching control method provided by the present invention; in this embodiment, the generator data includes the current bus voltage, the voltage peak, the current motor speed and the peak speed; the vehicle controller determines the control state of the generator at the current moment and the control state at the previous moment including:
[0066] If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, step 103 is executed.
[0067] Step 103, the control state of the generator at the current moment and the control state of the generator at the previous moment are both torque control states, the generator execution torque is equal to the torque after voltage regulation requested by the vehicle controller, the generator does not need to switch the control state, and will not cause current loop or voltage loop jitter, thereby making the vehicle run more smoothly, while also ensuring that the vehicle's power output and braking control can accurately respond to the driver's operating intentions and the vehicle's safety requirements.
[0068] If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, step 104 is executed.
[0069] Step 104, the control state of the generator at the current moment is the torque control state, and the control state of the generator at the previous moment is not the torque control state. The vehicle controller determines the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed, and obtains the generator torque after limiting the torque or the generator torque execution torque according to the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed.
[0070] It should be noted that: in this embodiment, the generator torque after the torque is limited is the state switching torque.
[0071] In step 104, the vehicle controller determines the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor speed and the peak speed, including:
[0072] If the current bus voltage is greater than the voltage peak value, or the current motor speed is greater than the product of the peak speed and the first preset value, step 105 is executed.
[0073] Step 105: The generator torque is processed by a first calculation formula to obtain the generator torque after the torque is limited, so that the generator is switched to a torque control state. The first calculation formula is:
[0074]
[0075] Wherein, T1 is the generator torque after torque limitation, Tdealy is the torque at the previous moment, K11 is the first bus voltage coefficient, K12 is the second bus voltage coefficient; K21 is the first motor speed coefficient, and K22 is the second motor speed coefficient.
[0076] Generator torque refers to the torque actually output by the generator.
[0077]
[0078]
[0079] Where V Currf is the current step voltage, V Currdelay is the step voltage at the previous moment, V Currdelay2 is the step voltage at the last two moments, V Max is the peak voltage, V Curr is the current bus voltage.
[0080]
[0081]
[0082] Where Speed Currf is the current step speed, Speed Currdelay is the step speed at the previous moment, Speed Currdelay2 is the step speed of the last two moments, Speed Max is the peak speed, Speed Curr is the current motor speed.
[0083] The base speed zone of each generator is different due to factors such as the type, specification and working conditions of the generator. The base speed zone of the generator refers to the optimal operating speed range determined when the generator is designed. In this embodiment, the first preset value may be above the base speed zone of the generator. Optionally, the first preset value may range from 0.5 to 0.85. Specifically, the first preset value may be 0.5, 0.6, 0.7, 0.8 or 0.85. The base speed zone is the speed range of the generator during normal operation.
[0084] If the current bus voltage is less than or equal to the voltage peak value, and the current motor speed is less than or equal to the product of the peak speed and the first preset value, step 106 is executed.
[0085] Step 106: The generator torque execution torque is:
[0086]
[0087] Among them, T is the generator torque execution torque, T1 is the generator torque after limiting the torque, T V is the torque after voltage regulation, T1 delay is the torque at the previous moment T1.
[0088] According to the mutual coordination among step 102, step 104, step 105 and step 106, when other control states are switched to the torque control state, according to the relationship between the current bus voltage and the voltage peak, or the relationship between the current motor speed and the product of the peak speed and the first preset value, the torque is executed through the first calculation formula or the generator torque, so that the voltage, speed and torque can be smooth and stable during the state switching process, thereby improving the performance of the vehicle and the user experience, ensuring that the vehicle can smoothly transition when switching modes, reducing the discomfort to the driver, and also improving the overall efficiency and reliability of the vehicle.
[0089] It should be noted that in extended-range electric vehicles, the current bus voltage, voltage peak, current motor speed and peak speed are all important parameters.
[0090] Current bus voltage and voltage peak: The current bus voltage refers to the voltage value measured in real time in the extended-range vehicle power system, which reflects the current state and charging / discharging status of the battery pack. This parameter is critical to the normal operation of the battery management system because it is directly related to the safe use of the battery and the charging / discharging efficiency. The voltage peak refers to the maximum voltage value that the battery pack can withstand during the charging process. This parameter is critical to ensuring the safety and life of the battery because the battery management system monitors this value during the charging process to ensure that the battery is not damaged by excessive voltage. The current motor speed refers to the number of times the motor actually rotates per minute, while the peak speed refers to the maximum rotation speed that the motor can reach.
[0091] An example of switching other states to torque control state is as follows:
[0092] If the current control state (ModCtol) of the generator is consistent with the control state (ModCtolDelay) of the generator at the previous moment, and both are torque control states, then the generator torque T = the torque after the voltage regulation requested by the vehicle controller (T V );
[0093] If the current control state (ModCtol) of the generator is inconsistent with the control state (ModCtolDelay) of the generator at the previous moment, and the current control state of the generator is torque control, then the current bus voltage (V Curr )>Voltage peak(V Max ), or, the current motor speed (Speed Curr )>Peak speed Max )×0.85, the generator torque is processed by the first calculation formula to obtain the generator torque after the torque limit:
[0094]
[0095] If the current bus voltage (V Curr )≤Voltage peak(V Max ) and the current motor speed (Speed Curr )≤Peak speed(Speed Max )×0.85, the generator torque execution torque is:
[0096]
[0097] Where, T1: Generator torque after torque limitation, T1 delay : Torque at the last moment T1, T V : Torque after voltage regulation adjustment.
[0098] Embodiment 3
[0099] This embodiment is an extension solution based on Embodiment 1.
[0100] Figure 3 : is a flow chart of another generator state switching control method provided by the present invention; in this embodiment, the vehicle controller determines the control state of the generator at the current moment and the control state at the previous moment, including:
[0101] The generator data includes current bus voltage, voltage peak, peak current and current motor current;
[0102] If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, step 103 is executed.
[0103] Step 103, the control state of the generator at the current moment and the control state of the generator at the previous moment are both speed control states, the generator execution torque is equal to the torque after proportional integral adjustment of the vehicle controller's requested speed and the actual speed of the generator, the generator does not need to execute switching control states, and will not cause current loop or voltage loop jitter, thereby making the vehicle run more smoothly, ensuring the stability and efficiency of power output, and also adapting to the needs under different load conditions.
[0104] If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, step 104 is executed.
[0105] Step 104, the control state of the generator at the current moment is the speed control state, and the control state of the generator at the previous moment is not the speed control state, the vehicle controller determines the relationship between the current bus voltage and the voltage peak and the relationship between the current motor current and the peak current, and obtains the torque or generator torque execution torque for converting other states to the speed control state based on the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed.
[0106] In step 104, the vehicle controller determines the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor current and the peak current, including:
[0107] If the bus voltage is greater than the voltage peak value, or the current motor current is greater than the product of the peak current and the second preset value, step 105 is executed.
[0108] Step 105: The generator torque is processed by a second calculation formula to obtain the torque for converting other states to the speed control state, so as to switch the generator to the speed control state. The second calculation formula is:
[0109]
[0110] Wherein, T2 is the torque for converting other states to speed control state, Tdealy is the torque at the previous moment, K11 is the first bus voltage coefficient, K12 is the second bus voltage coefficient; K31 is the first motor current coefficient, and K32 is the second motor current speed coefficient.
[0111]
[0112]
[0113] Where V Currf is the current step voltage, V Currdelay is the step voltage at the previous moment, V Currdelay2 is the step voltage at the last two moments, V Max is the peak voltage, V Curr is the current bus voltage.
[0114]
[0115]
[0116] Among them, Is Currf Is is the current step current, Currdelay Is is the step current at the previous moment, Currdelay2 Is is the step current of the last two moments, Max is the peak current.
[0117] If the current bus voltage is less than or equal to the voltage peak value, and the current motor current is less than or equal to the product of the peak current and the second preset value, step 106 is executed.
[0118] Step 106: The generator torque execution torque is:
[0119]
[0120] Where T is the generator torque execution torque, T2 is the torque from other states to speed control state, T V is the torque after voltage regulation, T2 delay is the T2 torque at the previous moment.
[0121] For the above-mentioned second preset value, when the second preset value is too large (such as the second preset value is 1), there is a motor overcurrent situation, causing the motor to shake; when the second preset value is too small, it will limit the normal use of the motor, such as in different state switching states, there are torque transition and current transition phenomena, when the current is too small, the current transition cannot be achieved. Optionally, the second preset value in this embodiment can be 0.67-0.75, which can not only avoid motor overcurrent and thus prevent the motor from shaking, but also ensure the normal use of the motor. Specifically, the second preset value can be 0.67, 0.68, 0.69, 0.70, 0.71, 0.72, 0.73, 0.74 or 0.75.
[0122] According to the mutual coordination among step 102, step 104, step 105 and step 106, when other control states are switched to the speed control state, according to the relationship between the current bus voltage and the voltage peak, or the relationship between the current motor current and the product of the peak current and the second preset value, the torque is executed through the second calculation formula or the generator torque, so that the voltage, current, speed and torque can be smoothly stabilized during the state switching process, thereby improving the vehicle's performance and user experience, ensuring that the vehicle can smoothly transition when switching modes, reducing the discomfort to the driver, and also improving the overall efficiency and reliability of the vehicle.
[0123] It should be noted that: in this embodiment, the torque for converting other states into the speed control state is the state switching torque.
[0124] In this embodiment, the peak current refers to the maximum current that the generator can reach in a short period of time, and the current motor current refers to the current actually running at the generator.
[0125] An example of switching other states to speed control state is as follows:
[0126] If the current control state (ModCtol) of the generator is consistent with the control state (ModCtolDelay) of the generator at the previous moment, and both are speed control states, then the generator torque T = torque adjusted by the proportional integral of the vehicle controller's requested speed and the actual generator speed;
[0127] If the current control state (ModCtol) of the generator is inconsistent with the control state (ModCtolDelay) of the generator at the previous moment, and the current control state of the generator is the speed control state, then the current bus voltage (V Curr )>Voltage peak (V Max ) or the current motor current (Is Curr )>Peak current (Is Max )×0.75, the generator torque is processed by the second calculation formula, and other states are converted to torque in the speed control state;
[0128]
[0129] If the current bus voltage (V Curr )≤Voltage peak(V Max ) and the current motor current (Is Curr )≤Peak current (Is Max )×0.75, the generator torque execution torque is:
[0130]
[0131] Embodiment 4
[0132] This embodiment is an extension solution based on Embodiment 1.
[0133] Figure 4 It is a flow chart of another generator state switching control method provided by the present invention; in this embodiment, the vehicle controller determines the control state of the generator at the current moment and the control state at the previous moment, including: the generator data includes the current motor speed, peak speed, peak current and current motor current;
[0134] If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, step 103 is executed.
[0135] Step 103: If the current control state of the generator and the previous control state of the generator are both voltage stabilization control states, the generator execution torque is equal to the torque adjusted by the proportional integral of the vehicle controller request voltage and the actual generator voltage. The generator does not need to execute the switching control state, and will not cause the current loop or voltage loop to jitter, thereby making the vehicle run more smoothly. In addition, the generator adjusts its output voltage according to the instructions of the vehicle controller, which can also ensure the stability of the voltage and the safe operation of the system.
[0136] If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, step 104 is executed.
[0137] Step 104, the control state of the generator at the current moment is the voltage stabilization control state, the vehicle controller determines the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current, and obtains the torque or generator torque execution torque for converting other states into the voltage stabilization control state according to the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed.
[0138] In step 104, the vehicle controller determines the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current, including:
[0139] If the current motor speed is greater than the product of the peak speed and the first preset value, or if the current motor current is greater than the product of the peak current and the second preset value, step 105 is executed.
[0140] Step 105: The generator torque is processed by a third calculation formula to obtain the torque for converting other states into the voltage stabilization control state, so as to switch the generator to the voltage stabilization control state. The third calculation formula is:
[0141]
[0142] Among them, T3 is the torque for converting other states into voltage stabilization control state, Tdealy is the torque at the previous moment, K21 is the first motor speed coefficient, K22 is the second motor speed coefficient; K31 is the first motor current coefficient, K32 is the second motor current speed coefficient;
[0143]
[0144]
[0145] Where Speed Currf is the current step speed, Speed Currdelay is the step speed at the previous moment, Speed Currdelay2 is the step speed of the last two moments, SpeedMax is the peak speed, Speed Curr is the current motor speed.
[0146]
[0147]
[0148] Among them, Is Currf Is is the current step current, Currdelay Is is the step current at the previous moment, Currdelay2 Is is the step current of the last two moments, Max is the peak current.
[0149] If the current motor speed is less than or equal to the product of the peak speed and the first preset value, and the current motor current is less than or equal to the product of the peak current and the second preset value, step 106 is executed.
[0150] Step 106: The generator torque execution torque is:
[0151]
[0152] Where, T is the generator torque execution torque, T3 is the torque for converting other states into voltage regulation control state, T V is the torque after voltage regulation, T3 delay is the T3 torque at the previous moment.
[0153] Generator torque refers to the torque actually output by the generator.
[0154] It should be noted that in this embodiment, the torque for converting other states into the voltage stabilization control state is the state switching torque.
[0155] According to the mutual coordination among step 102, step 104, step 105 and step 106, when other control states are switched to the voltage stabilization control state, according to the relationship between the current motor speed and the peak speed, or the relationship between the current motor current and the product of the peak current and the second preset value, the torque is executed through the third calculation formula or the generator torque, so that the current, voltage, speed and torque can be smoothly stabilized during the state switching process, thereby improving the performance of the vehicle and the user experience, ensuring that the vehicle can smoothly transition when switching modes, reducing the discomfort to the driver, and also improving the overall efficiency and reliability of the vehicle.
[0156] An example of switching other states to the voltage stabilization control state is as follows:
[0157] If the control state of the generator at the current moment (ModCtol) is consistent with the control state of the generator at the previous moment (ModCtolDelay), and both are in the voltage stabilization control state, the generator torque T = the torque adjusted by the proportional integral of the vehicle controller request voltage and the actual generator voltage;
[0158] If the current control state (ModCtol) of the generator is inconsistent with the control state (ModCtolDelay) of the generator at the previous moment, and the current control state of the generator is the voltage stabilization control state, then the current motor speed (Speed Curr ) is greater than the peak speed (Speed Max )×0.85, or, the current motor current (Is Curr ) is greater than the peak current (Is Max )×0.75, according to the current motor speed (Speed Curr ) is greater than the peak speed (Speed Max )×0.85 or the current motor current (Is Curr ) is greater than the peak current (Is Max )×0.75, and the generator torque is processed by the third calculation formula to obtain the torque when other states are converted to the voltage stabilization control state:
[0159]
[0160] If the motor speed (Speed Curr )≤Peak speed(Speed Max )×0.85 and the current motor current (Is Curr )≤Peak current (Is Max )×0.75, the generator torque execution torque is:
[0161]
[0162] Embodiment 5
[0163] Reference Figure 5 As shown, Figure 5 is a schematic diagram of the structure of a generator state switching control device provided by the present invention. This embodiment provides a generator state switching control device, including:
[0164] An acquisition module 100 is used for the vehicle controller to acquire the control state of the generator at the current moment and the control state of the generator at the previous moment, and the control state includes the torque control state, the speed control state and the voltage stabilization control state;
[0165] The control module 200 is connected to the acquisition module 100, and is used to receive the control state of the generator at a current moment and the control state of the generator at a previous moment. The vehicle controller determines whether the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment; if the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment, the generator execution torque is equal to the torque requested by the vehicle controller; if the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at a current moment and the generator data.
[0166] Embodiment 6
[0167] This embodiment provides an electronic device, the electronic device comprising:
[0168] at least one processor; and,
[0169] a memory communicatively connected to at least one processor; wherein,
[0170] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute any one of the generator state switching control methods provided in the present application.
[0171] Embodiment 7
[0172] The present invention provides a vehicle, the vehicle includes a generator state switching control device as described above, or an electronic device as described above. It can be understood that the vehicle may also include: a processor, a memory, and a computer program. The computer program is stored in the memory and is configured to be executed by the processor to implement the generator state switching control method provided in the embodiment of the present disclosure.
[0173] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A generator state switching control method, characterized in that: include: The vehicle controller obtains the control state of the generator at the current moment and the control state of the generator at the previous moment, wherein the control state includes the torque control state, the speed control state and the voltage stabilization control state; The vehicle controller determines whether the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment; If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, the generator execution torque is equal to the torque requested by the vehicle controller; If the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at the current moment and the generator data.
2. The generator state switching control method according to claim 1, characterized in that: The generator data includes current bus voltage, voltage peak, current motor speed and peak speed; If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, the generator execution torque is equal to the torque requested by the vehicle controller, including: The control state of the generator at the current moment and the control state of the generator at the previous moment are both the torque control state, then the execution torque of the generator is equal to the torque after the voltage regulation requested by the vehicle controller; If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at the current moment and the generator data, including: If the control state of the generator at the current moment is the torque control state, and the control state of the generator at the previous moment is not the torque control state, the vehicle controller determines the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed, and obtains the generator torque after torque limitation or the generator torque execution torque based on the relationship between the current bus voltage and the voltage peak and the relationship between the current motor speed and the peak speed.
3. The generator state switching control method according to claim 2, characterized in that: The vehicle controller determines the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor speed and the peak speed, and obtains the generator torque after torque limitation or the generator torque execution torque according to the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor speed and the peak speed, including: If the current bus voltage is greater than the voltage peak value, or the current motor speed is greater than the product of the peak speed and the first preset value, the generator torque is processed by a first calculation formula to obtain the generator torque after the torque limit, so as to switch the generator to the torque control state, wherein the first calculation formula is: Among them, T1 is the generator torque after torque limitation, Tdealy is the torque at the previous moment, K11 is the first bus voltage coefficient, K12 is the second bus voltage coefficient; K21 is the first motor speed coefficient, K22 is the second motor speed coefficient; If the current bus voltage is less than or equal to the voltage peak value, and the current motor speed is less than or equal to the product of the peak speed and the first preset value, the generator torque execution torque is: Where T is the generator torque execution torque, T V is the torque after voltage regulation, T1 delay is the torque at the previous moment T1.
4. The generator state switching control method according to claim 1, characterized in that: The generator data includes current bus voltage, voltage peak, peak current and current motor current; If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, the generator execution torque is equal to the torque requested by the vehicle controller, including: If the control state of the generator at the current moment and the control state of the generator at the previous moment are both the speed control state, the generator execution torque is equal to the torque adjusted by the proportional integral of the speed requested by the vehicle controller and the actual speed of the generator; If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at the current moment and the generator data, including: If the control state of the generator at the current moment is the speed control state, and the control state of the generator at the previous moment was not the speed control state, the vehicle controller determines the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor current and the peak current, and obtains the torque for converting other states to the speed control state or the generator torque execution torque based on the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor current and the peak current.
5. The generator state switching control method according to claim 4, characterized in that: The vehicle controller determines the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor current and the peak current, and obtains the torque for converting other states to the speed control state or the generator torque execution torque according to the relationship between the current bus voltage and the voltage peak value and the relationship between the current motor current and the peak current, including: When the current bus voltage is greater than the voltage peak value, or the current motor current is greater than the product of the peak current and the second preset value, the generator torque is processed by the second calculation formula to obtain the torque for converting the other state to the speed control state, so as to switch the generator to the speed control state, wherein the second calculation formula is: Among them, T2 is the torque when other states are converted to speed control states, Tdealy is the torque at the previous moment, K11 is the first bus voltage coefficient, K12 is the second bus voltage coefficient; K31 is the first motor current coefficient, K32 is the second motor current speed coefficient; If the current bus voltage is less than or equal to the voltage peak value, and the current motor current is less than or equal to the product of the peak current and the second preset value, the generator torque execution torque is obtained, wherein the generator torque execution torque is: Where T is the generator torque execution torque, T V is the torque after voltage regulation, T2 delay is the T2 torque at the previous moment.
6. The generator state switching control method according to claim 1, characterized in that: The generator data includes current motor speed, peak speed, peak current and current motor current; If the control state of the generator at the current moment is consistent with the control state of the generator at the previous moment, the generator execution torque is equal to the torque requested by the vehicle controller, including: The control state of the generator at the current moment and the control state of the generator at the previous moment are both voltage stabilization control states, then the generator execution torque is equal to the torque adjusted by proportional integral of the voltage requested by the vehicle controller and the actual voltage of the generator; If the control state of the generator at the current moment is inconsistent with the control state of the generator at the previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at the current moment and the generator data, including: If the control state of the generator at the current moment is the voltage stabilization control state, and the control state of the generator at the previous moment was not the voltage stabilization control state, the vehicle controller determines the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current, and obtains the torque for converting other states into the voltage stabilization control state or the generator torque execution torque based on the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current.
7. The generator state switching control method according to claim 6, characterized in that: The vehicle controller determines the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current, and obtains the torque for converting other states into the voltage stabilization control state or the generator torque execution torque according to the relationship between the current motor speed and the peak speed and the relationship between the current motor current and the peak current, including: If the current motor speed is greater than the product of the peak speed and the first preset value, or the current motor current is greater than the product of the peak current and the second preset value, the generator torque is processed by a third calculation formula to obtain the torque for converting the other states into the voltage stabilization control state, so as to switch the generator to the voltage stabilization control state, wherein the third calculation formula is: Among them, T3 is the torque for converting other states into voltage stabilization control state, Tdealy is the torque at the previous moment, K21 is the first motor speed coefficient, K22 is the second motor speed coefficient; K31 is the first motor current coefficient, K32 is the second motor current speed coefficient; If the current motor speed is less than or equal to the product of the peak speed and the first preset value, and the current motor current is less than or equal to the product of the peak current and the second preset value, the generator torque execution torque is obtained, wherein the generator torque execution torque is: Where T is the generator torque execution torque, T V is the torque after voltage regulation, T3 delay is the T3 torque at the previous moment.
8. A generator state switching control device, characterized in that: include: An acquisition module is used for the vehicle controller to acquire the control state of the generator at the current moment and the control state of the generator at the previous moment, wherein the control state includes the torque control state, the speed control state and the voltage stabilization control state; The control module is connected to the acquisition module and is used by the vehicle controller to determine whether the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment; if the control state of the generator at a current moment is consistent with the control state of the generator at a previous moment, the generator execution torque is equal to the torque requested by the vehicle controller; if the control state of the generator at a current moment is inconsistent with the control state of the generator at a previous moment, the state switching torque or the generator torque execution torque is obtained according to the control state of the generator at a current moment and the generator data.
9. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to at least one of the processors; wherein, The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable at least one of the processors to execute the generator state switching control method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: It includes the generator state switching control device as claimed in claim 8, or the electronic device as claimed in claim 9.
