Hybrid vehicle power engine smooth switching method and device
By predicting the driving state of the hybrid vehicle at the next moment and using the smooth switching algorithm, the problem of power engine switching lag is solved, realizing timely switching of power engines and reducing energy consumption.
Patent Information
- Application Number
- CN202311428638.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2043-10-31
AI Technical Summary
The switching of the power engine of a hybrid vehicle lags behind the changes in the driving state of the car, and timely switching of the power engine cannot be achieved.
By obtaining the current driving status and road conditions information of the hybrid vehicle, predicting its driving status at the next moment, and determining whether it is necessary to switch the power engine based on the prediction results. When switching is required, the smooth switching algorithm is used to complete the switching of the power engine.
It realizes timely switching of power engines, reduces energy consumption, and improves vehicle safety.
Smart Images

Figure CN117465416B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a method and device for smoothly switching a power engine of a hybrid automobile. Background Art
[0002] Hybrid vehicles have two power engines, namely the engine and the electric motor. This makes hybrid vehicles different from other types of vehicles. Hybrid vehicles can be powered by both the engine and the electric motor, so for hybrid vehicles, the switching of the two power engines is very frequent. At present, the method of controlling the switching of the power engine of hybrid vehicles is often based on user instructions or simply based on the speed and acceleration of the hybrid vehicle at the current moment, which causes the switching of the power engine of the hybrid vehicle to lag behind the change of the vehicle's driving state, and the problem of failing to achieve timely switching of the power engine is that. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for smoothly switching the power engine of a hybrid vehicle to solve the problem in the prior art that the switching of the power engine of a hybrid vehicle lags behind the change in the driving state of the vehicle and the power engine cannot be switched in time.
[0004] According to a first aspect of an embodiment of the present application, a method for smoothly switching a power engine of a hybrid vehicle is provided, comprising: obtaining a first driving state of the hybrid vehicle at a current moment and road condition information of the driving section thereof; predicting a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; judging whether the hybrid vehicle needs to switch the power engine based on the second driving state, wherein the power engine includes an engine and an electric motor; and when the power engine needs to be switched, using a smooth switching algorithm to complete the switching of the power engine.
[0005] According to a second aspect of an embodiment of the present application, a hybrid vehicle power engine smooth switching device is provided, comprising: an acquisition module, configured to acquire a first driving state of the hybrid vehicle at a current moment and road condition information of its driving section; a prediction module, configured to predict a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; a judgment module, configured to judge whether the hybrid vehicle needs to switch the power engine based on the second driving state, wherein the power engine includes an engine and an electric motor; and a switching module, configured to complete the switching of the power engine using a smooth switching algorithm when the power engine needs to be switched.
[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0007] In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
[0008] Compared with the prior art, the beneficial effects of the embodiments of the present application include at least: predicting the second driving state of the hybrid vehicle at the next moment after the current moment based on the first driving state and road condition information, judging whether the hybrid vehicle needs to switch the power engine based on the second driving state, and when the power engine needs to be switched, using a smooth switching algorithm to complete the switching of the power engine. Therefore, the above-mentioned technical means can solve the problem in the prior art that the switching of the power engine of the hybrid vehicle lags behind the change of the vehicle's driving state and the power engine cannot be switched in time, thereby ensuring the timely switching of the power engine, reducing energy consumption, and improving vehicle safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 It is a flow chart of a method for smooth switching of a hybrid vehicle power engine provided by an embodiment of the present application;
[0011] Figure 2 It is a flow chart of another hybrid vehicle power engine smooth switching method provided by an embodiment of the present application;
[0012] Figure 3 It is a structural schematic diagram of a hybrid vehicle power engine smooth switching device provided in an embodiment of the present application;
[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0015] Figure 1 It is a flow chart of a method for smooth switching of a hybrid vehicle power engine provided in an embodiment of the present application. Figure 1 The hybrid vehicle power engine smooth switching method can be executed by a computer or a server, or a processor provided on the computer or the server, or software on a computer or a common server. The hybrid vehicle power engine smooth switching method includes:
[0016] S101, obtaining a first driving state of the hybrid vehicle at a current moment and road condition information of the driving section;
[0017] S102, predicting a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles;
[0018] S103, judging whether the hybrid vehicle needs to switch a power engine based on the second driving state, wherein the power engine includes an engine and an electric motor;
[0019] S104, when it is necessary to switch the power engine, a smooth switching algorithm is used to complete the switching of the power engine.
[0020] Road condition information is the distribution of vehicles, pedestrians and obstacles on the road section where the hybrid vehicle is driving. Obstacles include various signs, fences and stones. The hybrid vehicle needs to avoid vehicles, pedestrians and obstacles on the road section. Based on the current driving state and road condition information of the hybrid vehicle, the driving state of the hybrid vehicle at the next moment is predicted, and based on the prediction results, it is determined whether the hybrid vehicle needs to switch the power engine. If switching is required, the power engine is switched through a smooth switching algorithm.
[0021] According to the technical solution provided by the embodiment of the present application, the first driving state of the hybrid vehicle at the current moment and the road condition information of its driving section are obtained; the second driving state of the hybrid vehicle at the next moment after the current moment is predicted based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; based on the second driving state, it is judged whether the hybrid vehicle needs to switch the power engine, wherein the power engine includes an engine and an electric motor; when the power engine needs to be switched, the power engine is switched using a smooth switching algorithm. The above technical means can solve the problem in the prior art that the switching of the power engine of the hybrid vehicle lags behind the change of the driving state of the vehicle and the power engine cannot be switched in time, thereby ensuring the timely switching of the power engine, reducing energy consumption, and improving vehicle safety.
[0022] Further, judging whether the hybrid vehicle needs to switch the power engine based on the second driving state includes: determining the power engine used by the hybrid vehicle at the next moment after the current moment based on the second driving state; and determining that the hybrid vehicle needs to switch the power engine when the power engine used by the hybrid vehicle at the current moment is inconsistent with the power engine used at the next moment after the current moment.
[0023] If the power engine used by the hybrid vehicle at the current moment is consistent with the power engine used at the next moment after the current moment, it is determined that the hybrid vehicle does not need to switch the power engine.
[0024] Furthermore, the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the driving trajectory category of the hybrid vehicle at the next moment after the current moment; or the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the speed of the hybrid vehicle at the next moment after the current moment; or the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the acceleration of the hybrid vehicle at the next moment after the current moment.
[0025] Furthermore, determining the power engine used by the hybrid vehicle at the next moment after the current moment based on the second driving state includes: determining the power engine used by the hybrid vehicle at the next moment after the current moment in sequence through the driving trajectory category, speed, and acceleration of the hybrid vehicle at the next moment after the current moment; wherein, after the power engine used by the hybrid vehicle at the next moment after the current moment is determined based on one type of information in the second driving state, the power engine used by the hybrid vehicle at the next moment after the current moment is no longer determined based on other information in the second driving state; wherein, if the power engine used by the hybrid vehicle at the next moment after the current moment cannot be determined based on all information in the second driving state, it is assumed that the power engine used by the hybrid vehicle at the next moment after the current moment is consistent with the power engine used by the hybrid vehicle at the current moment.
[0026] First, a power engine used by the hybrid vehicle at the next moment after the current moment is determined according to the driving trajectory category of the hybrid vehicle at the next moment after the current moment; if the power engine used by the hybrid vehicle at the next moment after the current moment is not determined, the power engine used by the hybrid vehicle at the next moment after the current moment is determined according to the speed of the hybrid vehicle at the next moment after the current moment; if the power engine used by the hybrid vehicle at the next moment after the current moment is not determined, the power engine used by the hybrid vehicle at the next moment after the current moment is determined according to the acceleration of the hybrid vehicle at the next moment after the current moment; if the power engine used by the hybrid vehicle at the next moment after the current moment is not determined, it is assumed that the power engine used by the hybrid vehicle at the next moment after the current moment is consistent with the power engine used by the hybrid vehicle at the current moment.
[0027] Furthermore, the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the driving trajectory category of the hybrid vehicle at the next moment after the current moment, including: when the driving trajectory category of the hybrid vehicle at the next moment after the current moment is climbing or turning, determining that the hybrid vehicle uses the engine to provide power to the hybrid vehicle at the next moment after the current moment; when the driving trajectory category of the hybrid vehicle at the next moment after the current moment is downhill, determining that the hybrid vehicle uses the electric motor to provide power to the hybrid vehicle at the next moment after the current moment.
[0028] Because hybrid vehicles need greater grip when climbing hills or turning, the engine is used to provide power for the hybrid vehicle when climbing hills or turning; hybrid vehicles do not require power when going downhill, and electric motors can be used to provide power for the hybrid vehicle.
[0029] Furthermore, the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the speed of the hybrid vehicle at the next moment after the current moment, including: when the speed of the hybrid vehicle at the next moment after the current moment is not greater than a first preset speed, determining that the hybrid vehicle uses an electric motor to provide power to the hybrid vehicle at the next moment after the current moment; when the speed of the hybrid vehicle at the next moment after the current moment is greater than a second preset speed, determining that the hybrid vehicle uses an engine to provide power to the hybrid vehicle at the next moment after the current moment.
[0030] Due to the characteristics of the engine and the electric motor, the electric motor can provide greater torque when the vehicle is at a low speed, and the engine can provide greater torque when the vehicle is at a low speed, so when the speed is not greater than the first preset speed, the electric motor is used to provide power for the hybrid vehicle; when the speed is greater than the second preset speed, the engine is used to provide power for the hybrid vehicle. The first preset speed is less than the second preset speed.
[0031] Furthermore, the power engine used by the hybrid vehicle at the next moment after the current moment is determined by the acceleration of the hybrid vehicle at the next moment after the current moment, including: when the acceleration of the hybrid vehicle at the next moment after the current moment is not greater than the first preset acceleration, determining that the hybrid vehicle uses the electric motor to provide power to the hybrid vehicle at the next moment after the current moment; when the acceleration of the hybrid vehicle at the next moment after the current moment is greater than the second preset acceleration, determining that the hybrid vehicle uses the engine to provide power to the hybrid vehicle at the next moment after the current moment; when the acceleration of the hybrid vehicle at the next moment after the current moment is greater than the third preset acceleration, determining that the hybrid vehicle uses both the electric motor and the engine to provide power to the hybrid vehicle at the next moment after the current moment.
[0032] Due to the characteristics of the engine and the electric motor, the engine can provide greater torque when the vehicle has a greater acceleration, so when the acceleration is not greater than the first preset acceleration, the electric motor is used to provide power for the hybrid vehicle; when the acceleration is greater than the second preset acceleration, the engine is used to provide power for the hybrid vehicle; when the acceleration is greater than the third preset acceleration, the electric motor and the engine are used simultaneously to provide power for the hybrid vehicle. The first preset acceleration is less than the second preset acceleration, and the second preset acceleration is less than the third preset acceleration.
[0033] Figure 2 FIG. 1 is a flow chart of another method for smooth switching of a hybrid vehicle power engine provided in an embodiment of the present application. Figure 2 As shown, including:
[0034] S201, recording a power engine used by the hybrid vehicle at the current moment and a power engine used at the next moment after the current moment as a first engine and a second engine, respectively, recording a power required by the hybrid vehicle to maintain a first driving state at the current moment and a power required by the hybrid vehicle to maintain a second driving state at the next moment after the current moment as a first power and a second power, respectively;
[0035] S202, taking the first power and the second power as the first term and the last term of an arithmetic progression, and setting N power values between the first power and the second power by a method of constructing an arithmetic progression, wherein the first power, the second power and the N power values together constitute an arithmetic progression with N+2 terms;
[0036] S203, controlling the first engine and the second engine to transform the powers provided by the first engine and the second engine N+1 times to complete the switching of the power engines, wherein the sum of the power changes of the first engine and the second engine in each transformation is the tolerance of the constructed arithmetic progression, and after N+1 transformations, the sum of the powers provided by the first engine and the second engine is the second power.
[0037] The disclosed embodiment constructs an arithmetic progression with N+2 terms, and performs multiple transformations on the power provided by the first engine and the second engine according to the arithmetic progression, thereby completing the switching of the power engines.
[0038] For example, the first power and the second power are 120kw and 80kw respectively, N is 3, and the constructed arithmetic progression is: 120kw, 110kw, 100kw, 90kw and 80kw, and the common difference of the arithmetic progression is 10. The first engine and the second engine are an engine and an electric motor respectively. At the current moment, the power of the engine and the electric motor are 120kw and 0kw respectively. The electric motor and the engine are changed a total of 4 times to complete the switching of the power engine: the first switch: the engine switches from 120kw to 90kw, the electric motor switches from 0kw to 20kw, and the current power of the first engine and the second engine is 110kw; the second switch: the engine switches from 90kw to 60kw, the electric motor switches from 20kw to 40kw, and the current power of the first engine and the second engine is 100kw; the third switch: the engine switches from 60kw to 30kw, the electric motor switches from 40kw to 60kw, and the current power of the first engine and the second engine is 90kw; the third switch: the engine switches from 30kw to 0kw, the electric motor switches from 60kw to 80kw, and the current power of the first engine and the second engine is 80kw.
[0039] Each time the first engine is transformed, 30kw is reduced, while the second engine is increased by 20kw. The sum of the power changes of the first engine and the second engine is 10kw, which is equal to the common difference of the constructed arithmetic sequence. Each time the sum of the current power of the first engine and the second engine is transformed is one of the items in the arithmetic sequence.
[0040] Furthermore, predicting a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information includes: inputting the first driving state and the road condition information into a vehicle dynamics model, and outputting the second driving state of the hybrid vehicle at a next moment after the current moment; wherein the vehicle dynamics model is a trained neural network model that can predict the driving state of the hybrid vehicle at a next moment after the current moment based on the driving state of the hybrid vehicle at the current moment and the road condition information of the driving section.
[0041] For example, the vehicle dynamics model uses a deep learning network, and the training method is deep learning. The disclosed embodiment uses a neural network model to achieve mapping between the driving state of the hybrid vehicle at the current moment and the road condition information of the driving section and the driving state of the hybrid vehicle at the next moment of the current moment.
[0042] Before using the vehicle dynamics model to determine the second driving state of the hybrid vehicle at the next moment after the current moment, the vehicle dynamics model is trained: training data is obtained, wherein the training data includes the first driving state of the hybrid vehicle at the first moment and the road condition information of the driving section; the training data is input into the vehicle dynamics model, and the second driving state of the hybrid vehicle at the second moment is output, wherein the second moment is the next moment after the first moment; the loss value between the label corresponding to the training data and the second driving state of the hybrid vehicle at the second moment is calculated by using the cross entropy loss function; the model parameters of the vehicle dynamics model are optimized according to the loss value, and the training of the vehicle dynamics model has been completed.
[0043] The label corresponding to the training data is the label value of the driving state of the hybrid vehicle at the second moment.
[0044] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0045] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0046] Figure 3 Schematic diagram of a hybrid vehicle power engine smooth switching device provided in an embodiment of the present application. Figure 3 As shown, the hybrid vehicle power engine smooth switching device includes:
[0047] The acquisition module 301 is configured to acquire the first driving state of the hybrid vehicle at a current moment and the road condition information of the driving section;
[0048] The prediction module 302 is configured to predict a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles;
[0049] The judgment module 303 is configured to judge whether the hybrid vehicle needs to switch the power engine based on the second driving state, wherein the power engine includes an engine and an electric motor;
[0050] The switching module 304 is configured to complete the switching of the power engine by using a smooth switching algorithm when the power engine needs to be switched.
[0051] According to the technical solution provided by the embodiment of the present application, the first driving state of the hybrid vehicle at the current moment and the road condition information of its driving section are obtained; the second driving state of the hybrid vehicle at the next moment after the current moment is predicted based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; based on the second driving state, it is judged whether the hybrid vehicle needs to switch the power engine, wherein the power engine includes an engine and an electric motor; when the power engine needs to be switched, the power engine is switched using a smooth switching algorithm. The above technical means can solve the problem in the prior art that the switching of the power engine of the hybrid vehicle lags behind the change of the driving state of the vehicle and the power engine cannot be switched in time, thereby ensuring the timely switching of the power engine, reducing energy consumption, and improving vehicle safety.
[0052] In some embodiments, the judgment module 303 is further configured to determine the power engine used by the hybrid vehicle at the next moment after the current moment based on the second driving state; when the power engine used by the hybrid vehicle at the current moment is inconsistent with the power engine used at the next moment after the current moment, it is determined that the hybrid vehicle needs to switch the power engine.
[0053] In some embodiments, the judgment module 303 is further configured to determine the power engine used by the hybrid vehicle at the next moment after the current moment in turn through the driving trajectory category, speed, and acceleration of the hybrid vehicle at the next moment after the current moment; wherein, after the power engine used by the hybrid vehicle at the next moment after the current moment is determined based on one type of information in the second driving state, the power engine used by the hybrid vehicle at the next moment after the current moment is no longer determined based on other information in the second driving state; wherein, if the power engine used by the hybrid vehicle at the next moment after the current moment cannot be determined based on all information in the second driving state, then it is assumed that the power engine used by the hybrid vehicle at the next moment after the current moment is consistent with the power engine used by the hybrid vehicle at the current moment.
[0054] In some embodiments, the judgment module 303 is further configured to determine that the hybrid vehicle uses the engine to provide power to the hybrid vehicle at the next moment after the current moment when the driving trajectory category of the hybrid vehicle at the next moment after the current moment is climbing or turning; and to determine that the hybrid vehicle uses the electric motor to provide power to the hybrid vehicle at the next moment after the current moment when the driving trajectory category of the hybrid vehicle at the next moment after the current moment is downhill.
[0055] In some embodiments, the judgment module 303 is further configured to determine that the hybrid vehicle uses an electric motor to provide power to the hybrid vehicle at the next moment after the current moment when the speed of the hybrid vehicle at the next moment after the current moment is not greater than a first preset speed; and to determine that the hybrid vehicle uses an engine to provide power to the hybrid vehicle at the next moment after the current moment when the speed of the hybrid vehicle at the next moment after the current moment is greater than a second preset speed.
[0056] In some embodiments, the judgment module 303 is further configured to determine that the hybrid vehicle uses an electric motor to provide power to the hybrid vehicle at the next moment after the current moment when the acceleration of the hybrid vehicle at the next moment after the current moment is not greater than a first preset acceleration; determine that the hybrid vehicle uses an engine to provide power to the hybrid vehicle at the next moment after the current moment when the acceleration of the hybrid vehicle at the next moment after the current moment is greater than a second preset acceleration; and determine that the hybrid vehicle uses both an electric motor and an engine to provide power to the hybrid vehicle at the next moment after the current moment when the acceleration of the hybrid vehicle at the next moment after the current moment is greater than a third preset acceleration.
[0057] In some embodiments, the switching module 304 is further configured to record the power engine used by the hybrid vehicle at the current moment and the power engine used at the next moment after the current moment as the first engine and the second engine respectively, and record the power required for the hybrid vehicle to maintain the first driving state at the current moment and the power required for the hybrid vehicle to maintain the second driving state at the next moment after the current moment as the first power and the second power respectively; use the first power and the second power as the first term and the last term of an arithmetic sequence, and set N power values between the first power and the second power by constructing an arithmetic sequence, wherein the first power, the second power and the N power values together constitute an arithmetic sequence with N+2 terms; control the first engine and the second engine to perform N+1 transformations on the powers provided by the first engine and the second engine to complete the switching of the power engines, wherein the sum of the power changes of the first engine and the second engine each time the transformation is performed is the tolerance of the constructed arithmetic sequence, and after N+1 transformations, the sum of the powers provided by the first engine and the second engine is the second power.
[0058] In some embodiments, the prediction module 302 is further configured to input the first driving state and road condition information into a vehicle dynamics model, and output a second driving state of the hybrid vehicle at the next moment after the current moment; wherein the vehicle dynamics model is a trained neural network model that can predict the driving state of the hybrid vehicle at the next moment after the current moment based on the driving state of the hybrid vehicle at the current moment and the road condition information of the driving section.
[0059] In some embodiments, the prediction module 302 is further configured to train the vehicle dynamics model: obtain training data, wherein the training data includes a first driving state of the hybrid vehicle at a first moment and road condition information of the driving section thereof; input the training data into the vehicle dynamics model, and output a second driving state of the hybrid vehicle at a second moment, wherein the second moment is the next moment of the first moment; use a cross entropy loss function to calculate a loss value between a label corresponding to the training data and the second driving state of the hybrid vehicle at the second moment; optimize the model parameters of the vehicle dynamics model according to the loss value, and complete the training of the vehicle dynamics model.
[0060] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0061] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present disclosure. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0062] The electronic device 4 may include but is not limited to a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.
[0063] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0064] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.
[0065] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0066] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0067] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for smoothly switching a hybrid vehicle power engine, characterized in that: include: Acquire a first driving state of the hybrid vehicle at a current moment and road condition information of the driving section; Predicting a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; determining whether the hybrid vehicle needs to switch a power engine based on the second driving state, wherein the power engine includes an engine and an electric motor; When the power engine needs to be switched, a smooth switching algorithm is used to complete the switching of the power engine, including: The power engine used by the hybrid vehicle at the current moment and the power engine used by the hybrid vehicle at the next moment after the current moment are recorded as the first engine and the second engine, respectively; the power required by the hybrid vehicle to maintain the first driving state at the current moment and the power required by the hybrid vehicle to maintain the second driving state at the next moment after the current moment are recorded as the first power and the second power, respectively; The first power and the second power are used as the first term and the last term of an arithmetic progression, and N power values are set between the first power and the second power by a method of constructing an arithmetic progression, wherein the first power, the second power and the N power values together constitute an arithmetic progression with N+2 terms; The first engine and the second engine are controlled to transform the powers provided by the first engine and the second engine N+1 times to complete the switching of the power engine, wherein the sum of the power changes of the first engine and the second engine in each transformation is the tolerance of the constructed arithmetic progression, and after N+1 transformations, the sum of the powers provided by the first engine and the second engine is the second power.
2. The method according to claim 1, characterized in that Determining whether the hybrid vehicle needs to switch a power engine based on the second driving state includes: Determining a power engine used by the hybrid vehicle at a next moment after the current moment based on the second driving state; When the power engine used by the hybrid vehicle at the current moment is inconsistent with the power engine used at the next moment after the current moment, it is determined that the hybrid vehicle needs to switch the power engine.
3. The method according to claim 2, characterized in that Determining a power engine used by the hybrid vehicle at a next moment after the current moment based on the second driving state includes: Determining a power engine used by the hybrid vehicle at the next moment after the current moment according to the driving trajectory category of the hybrid vehicle at the next moment after the current moment; or Determining the power engine used by the hybrid vehicle at the next moment after the current moment by using the speed of the hybrid vehicle at the next moment after the current moment; or The power engine used by the hybrid vehicle at the next moment after the current moment is determined through the acceleration of the hybrid vehicle at the next moment after the current moment.
4. The method according to claim 3, characterized in that Determining a power engine used by the hybrid vehicle at the next moment after the current moment by using a driving trajectory category of the hybrid vehicle at the next moment after the current moment includes: When the driving trajectory category of the hybrid vehicle at the next moment after the current moment is climbing or turning, determining that the hybrid vehicle uses an engine to provide power for the hybrid vehicle at the next moment after the current moment; When the driving track category of the hybrid vehicle at the next moment after the current moment is downhill, it is determined that the hybrid vehicle uses an electric motor to provide power for the hybrid vehicle at the next moment after the current moment.
5. The method according to claim 3, characterized in that: Determining a power engine used by the hybrid vehicle at a moment next to the current moment by using the speed of the hybrid vehicle at a moment next to the current moment includes: When the speed of the hybrid vehicle at a moment next to the current moment is not greater than a first preset speed, determining that the hybrid vehicle uses an electric motor to provide power for the hybrid vehicle at a moment next to the current moment; When the speed of the hybrid vehicle at a moment next to the current moment is greater than a second preset speed, it is determined that the hybrid vehicle uses an engine to provide power for the hybrid vehicle at a moment next to the current moment.
6. The method according to claim 3, characterized in that Determining a power engine used by the hybrid vehicle at a next moment after the current moment by using the acceleration of the hybrid vehicle at a next moment after the current moment includes: When the acceleration of the hybrid vehicle at a moment next to the current moment is not greater than a first preset acceleration, determining that the hybrid vehicle uses an electric motor to provide power for the hybrid vehicle at a moment next to the current moment; When the acceleration of the hybrid vehicle at a moment next to the current moment is greater than a second preset acceleration, determining that the hybrid vehicle uses an engine to provide power for the hybrid vehicle at a moment next to the current moment; When the acceleration of the hybrid vehicle at a moment next to the current moment is greater than a third preset acceleration, it is determined that the hybrid vehicle uses the electric motor and the engine simultaneously to provide power for the hybrid vehicle at a moment next to the current moment.
7. The method according to claim 1, characterized in that Predicting a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information includes: Inputting the first driving state and the road condition information into a vehicle dynamics model, and outputting a second driving state of the hybrid vehicle at a next moment after the current moment; Before using the vehicle dynamics model to determine the second driving state of the hybrid vehicle at the next moment after the current moment, the vehicle dynamics model is trained: Acquiring training data, wherein the training data includes a first driving state of the hybrid vehicle at a first moment and road condition information of the driving section thereof; Inputting the training data into a vehicle dynamics model, and outputting a second driving state of the hybrid vehicle at a second moment, wherein the second moment is a moment after the first moment; Calculating a loss value between a label corresponding to the training data and a second driving state of the hybrid vehicle at a second moment using a cross entropy loss function; The model parameters of the vehicle dynamics model are optimized according to the loss value, and the training of the vehicle dynamics model is completed.
8. A hybrid vehicle power engine smooth switching device, characterized in that: include: An acquisition module is configured to acquire a first driving state of the hybrid vehicle at a current moment and road condition information of the driving section; a prediction module, configured to predict a second driving state of the hybrid vehicle at a next moment after the current moment based on the first driving state and the road condition information, wherein the first driving state and the second driving state both include speed, acceleration and driving trajectory category, and the road condition information includes the distribution of vehicles, pedestrians and obstacles; a judgment module configured to judge whether the hybrid vehicle needs to switch a power engine based on the second driving state, wherein the power engine includes an engine and an electric motor; A switching module, configured to complete the switching of the power engine by using a smooth switching algorithm when the power engine needs to be switched; The switching module is specifically configured to: record the power engine used by the hybrid vehicle at the current moment and the power engine used at the next moment after the current moment as the first engine and the second engine respectively, record the power required by the hybrid vehicle to maintain the first driving state at the current moment and the power required by the hybrid vehicle to maintain the second driving state at the next moment after the current moment as the first power and the second power respectively; use the first power and the second power as the first term and the last term of an arithmetic progression, and set N power values between the first power and the second power by constructing an arithmetic progression, wherein the first power, the second power and the N power values together constitute an arithmetic progression with N+2 terms; control the first engine and the second engine to perform N+1 transformations on the power provided by the first engine and the second engine to complete the switching of the power engine, wherein the sum of the power changes of the first engine and the second engine each time the transformation is performed is the tolerance of the constructed arithmetic progression, and after N+1 transformations, the sum of the power provided by the first engine and the second engine is the second power.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Parallel hybrid management control system and management control method thereof
CN102126496A
New energy automobile control system and method based on Internet of Things technology
CN116729356A