Simulation control method, device and equipment for road spectrum of whole vehicle and medium
By adjusting the vehicle road spectrum to match real-time mileage and slope deviation, the problems of slow speed following and high fuel consumption caused by vehicle dynamics differences are solved, and more accurate road spectrum simulation and economic evaluation are achieved.
Patent Information
- Application Number
- CN202411070248.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-06
AI Technical Summary
The existing vehicle road spectrum simulation control method has slow vehicle speeds due to vehicle power differences, resulting in a lack of mileage and high fuel consumption in areas with insufficient power, which affects vehicle economic evaluation.
By obtaining the preset vehicle road spectrum, operating and adjusting it to obtain real-time mileage and slope, adjusting the road spectrum according to the deviation value, gradually increasing the vehicle speed, ensuring the consistency of the total time, and achieving accurate simulation of the vehicle road spectrum.
It improves the degree of road spectrum fitting, improves the accuracy of the operating state of the entire vehicle, reduces fuel consumption, and improves the vehicle economy.
Smart Images

Figure CN118915570A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, device, equipment and medium for simulating and controlling a whole vehicle road spectrum. Background Art
[0002] The simulation control of the vehicle's road spectrum is generally based on time operation. Given the vehicle speed and vehicle resistance, the vehicle speed is fitted by controlling the throttle. In this process, the vehicle speed may be slow to follow due to differences in vehicle dynamics, further resulting in a lack of mileage when the total time is consistent. The areas with insufficient dynamics are precisely the areas with high fuel consumption, which will affect the evaluation of the vehicle's economy. Summary of the invention
[0003] The present invention provides a simulation control method, device, equipment and medium for a whole vehicle road spectrum, so as to improve the fitting degree of the road spectrum and enhance the accuracy of reflecting the running status of the whole vehicle.
[0004] According to one aspect of the present invention, a method for simulating and controlling a vehicle road spectrum is provided, comprising:
[0005] Get the preset vehicle road map;
[0006] Running the preset vehicle road map and obtaining a first real-time mileage;
[0007] Get preset mileage;
[0008] Acquire a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage;
[0009] Run the first step of adjusting the vehicle road spectrum and obtaining the real-time slope;
[0010] Get the preset slope;
[0011] Acquire a second adjusted vehicle road spectrum according to the real-time slope and the preset slope;
[0012] Run the second method to adjust the vehicle road spectrum and obtain the second real-time mileage;
[0013] acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage;
[0014] The vehicle speed adjustment information is used to complete the whole vehicle road spectrum simulation.
[0015] Optionally, obtaining a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage includes:
[0016] Acquire a first mileage deviation value according to the first real-time mileage and the preset mileage;
[0017] Obtaining a first preset mileage deviation value;
[0018] Determining whether the first mileage deviation value is greater than the first preset mileage deviation value;
[0019] If yes, then obtain the first adjusted vehicle road spectrum;
[0020] If not, continue to execute the step of running the preset vehicle road spectrum and obtaining the first real-time mileage.
[0021] Optionally, obtaining a first adjusted vehicle road spectrum includes:
[0022] Get the current vehicle speed;
[0023] Acquire a running time increase value according to the current vehicle speed and the first mileage deviation value;
[0024] A first adjusted vehicle road spectrum is obtained according to the running time increase value.
[0025] Optionally, obtaining a second adjusted vehicle road spectrum according to the real-time slope and the preset slope includes:
[0026] Acquire a slope deviation value according to the real-time slope and the preset slope;
[0027] Get the preset slope deviation value;
[0028] Determining whether the slope deviation value is less than the preset slope deviation value;
[0029] If yes, then obtain a second adjusted vehicle road spectrum;
[0030] If not, continue to execute the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0031] Optionally, obtaining the second adjusted vehicle road spectrum includes:
[0032] Get the vehicle speed increase value;
[0033] A second adjusted vehicle road spectrum is obtained according to the vehicle speed increase value and the running time increase value.
[0034] Optionally, obtaining the vehicle speed adjustment information according to the second real-time mileage and the preset mileage includes:
[0035] Acquire a second mileage deviation value according to the second real-time mileage and the preset mileage;
[0036] Obtaining a second preset mileage deviation value;
[0037] Determining whether the second mileage deviation value is less than the second preset mileage deviation value;
[0038] If yes, then obtain vehicle speed adjustment information;
[0039] If not, continue to execute the step of running the second step of adjusting the vehicle road spectrum and obtaining the second real-time mileage.
[0040] Optionally, obtaining vehicle speed adjustment information includes:
[0041] The vehicle speed under the preset vehicle road spectrum is restored.
[0042] According to another aspect of the present invention, a whole vehicle road spectrum simulation control device is provided, and the whole vehicle road spectrum simulation control device is used to execute the whole vehicle road spectrum simulation control method including any one of the above aspects, and the whole vehicle road spectrum simulation control device includes:
[0043] A preset vehicle road spectrum acquisition module is used to acquire a preset vehicle road spectrum;
[0044] A first real-time mileage acquisition module, used to run the preset vehicle road spectrum and acquire a first real-time mileage;
[0045] A preset mileage acquisition module is used to acquire the preset mileage;
[0046] A first adjusted vehicle road spectrum acquisition module, used to acquire a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage;
[0047] A real-time slope acquisition module, used for running the first step of adjusting the vehicle road spectrum and acquiring the real-time slope;
[0048] A preset slope acquisition module is used to acquire a preset slope;
[0049] A second adjusted vehicle road spectrum acquisition module, used to acquire a second adjusted vehicle road spectrum according to the real-time slope and the preset slope;
[0050] A second real-time mileage acquisition module, used for running the second adjusted vehicle road spectrum and acquiring a second real-time mileage;
[0051] A vehicle speed adjustment information acquisition module, used to acquire vehicle speed adjustment information according to the second real-time mileage and the preset mileage;
[0052] The whole vehicle road spectrum simulation completion module adjusts the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0053] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0054] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the whole vehicle road spectrum simulation control method described in any one of the above aspects.
[0055] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the whole vehicle road spectrum simulation control method described in any one of the above aspects when executed.
[0056] The technical solution of the embodiment of the present invention is to obtain a preset vehicle road spectrum; run the preset vehicle road spectrum and obtain a first real-time mileage; obtain the preset mileage; obtain a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage; run the first adjusted vehicle road spectrum and obtain a real-time slope; obtain the preset slope; obtain a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; run the second adjusted vehicle road spectrum and obtain a second real-time mileage; obtain vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and complete the whole vehicle road spectrum simulation according to the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running status of the whole vehicle.
[0057] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 A flow chart of a whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0060] Figure 2 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0061] Figure 3 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0062] Figure 4 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0063] Figure 5 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0064] Figure 6 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0065] Figure 7 A flow chart of another whole vehicle road spectrum simulation control method provided by an embodiment of the present invention;
[0066] Figure 8 A schematic diagram of the structure of a whole vehicle road spectrum simulation control device provided by an embodiment of the present invention;
[0067] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0069] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0070] Figure 1 This is a flow chart of a whole vehicle road spectrum simulation control method provided by an embodiment of the present invention. This embodiment is applicable to the simulation of the whole vehicle road spectrum. The method can be executed by a whole vehicle road spectrum simulation control device, which can be implemented in the form of hardware and / or software. Figure 1 As shown, the method includes:
[0071] S101, obtaining a preset vehicle road spectrum.
[0072] Among them, the preset vehicle road spectrum is a change curve of the first time and the first vehicle speed, which can be obtained according to the actual design requirements of the vehicle.
[0073] S102, running a preset vehicle road map and obtaining a first real-time mileage.
[0074] The whole vehicle is simulated and run according to the preset vehicle road spectrum, and the first real-time mileage of the whole vehicle is obtained in real time.
[0075] S103, obtaining a preset mileage.
[0076] The preset mileage may be set according to actual design requirements and is not specifically limited in the embodiment of the present invention.
[0077] S104, obtaining a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage.
[0078] Among them, during the whole vehicle simulation operation process, there will be a mileage deviation between the real-time mileage and the preset mileage. In order to ensure the feasibility of the road spectrum comparison experiment, the road spectrum adjustment can be performed. Usually, when the mileage deviation is large, it is necessary to increase the running time appropriately, and then obtain the first adjusted vehicle road spectrum based on the current first real-time mileage and the preset mileage.
[0079] S105, executing the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0080] The whole vehicle is simulated to run according to the adjusted first adjusted vehicle road spectrum, and the real-time slope is also acquired during the running process.
[0081] S106, obtaining a preset slope.
[0082] The preset slope may be set according to actual design requirements and is not specifically limited in the embodiment of the present invention.
[0083] S107, obtaining a second adjusted vehicle road spectrum according to the real-time slope and the preset slope.
[0084] Among them, since the first adjusted vehicle road spectrum usually increases the running time, in order to ensure the consistency of the total time, the vehicle speed can be appropriately increased to shorten the running time. At the same time, it is necessary to ensure acceleration under road conditions with a smaller slope. Therefore, it is necessary to obtain the second adjusted vehicle road spectrum based on the real-time slope and the preset slope.
[0085] S108, running a second adjusted vehicle road spectrum and obtaining a second real-time mileage.
[0086] When the whole vehicle is running in simulation according to the first adjusted vehicle road spectrum, it is necessary to obtain the second real-time mileage again.
[0087] S109, obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage.
[0088] Among them, according to the second real-time mileage and the preset mileage, when the mileage deviation is small enough, and the total time and total mileage are consistent with the set vehicle, it is necessary to obtain the vehicle speed adjustment information and adjust the vehicle speed to ensure the running status of the whole vehicle.
[0089] S110, adjusting the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0090] Among them, the whole vehicle needs to continue the simulation operation according to the vehicle speed adjustment information until the operation is completed.
[0091] The embodiment of the present invention completes the whole vehicle road spectrum simulation by acquiring a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring a preset mileage; acquiring a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage; running the first adjusted vehicle road spectrum and acquiring a real-time slope; acquiring a preset slope; acquiring a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and adjusting the vehicle speed information to complete the whole vehicle road spectrum simulation. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running status of the whole vehicle.
[0092] Optional, Figure 2 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 2 As shown, the method includes:
[0093] S201, obtaining a preset vehicle road spectrum.
[0094] S202, running a preset vehicle road map and obtaining a first real-time mileage.
[0095] S203, obtaining a preset mileage.
[0096] S204: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0097] A difference calculation is performed based on the first real-time mileage and the preset mileage to obtain the first mileage deviation value.
[0098] S205: Obtain a first preset mileage deviation value.
[0099] Among them, the first preset mileage deviation value can be set according to actual design requirements, and the embodiment of the present invention does not make any specific limitation.
[0100] S206, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S207; if not, executing step S202.
[0101] S207, obtaining a first adjusted vehicle road spectrum.
[0102] Among them, when the first mileage deviation value is less than or equal to the first preset mileage deviation value, it is considered that under the same preset vehicle road spectrum, the current simulated operating state of the whole vehicle is consistent with the operating state of the set vehicle, and the simulated operation continues to be performed according to the preset vehicle road spectrum. When the first mileage deviation value is greater than the first preset mileage deviation value, it is considered that under the same preset vehicle road spectrum, there is a large deviation between the current simulated operating state of the whole vehicle and the operating state of the set vehicle, and it is necessary to appropriately increase the operating time to obtain the first adjusted vehicle road spectrum.
[0103] S208, running the first adjustment vehicle road spectrum and obtaining the real-time slope.
[0104] S209, obtaining a preset slope.
[0105] S210, obtaining a second adjusted vehicle road spectrum according to the real-time slope and the preset slope.
[0106] S211, run the second adjusted vehicle road spectrum and obtain the second real-time mileage.
[0107] S212, obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage.
[0108] S213, adjusting the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0109] The embodiment of the present invention completes the whole vehicle road spectrum simulation by acquiring a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring a preset mileage; acquiring a first mileage deviation value according to the first real-time mileage and the preset mileage, acquiring a first preset mileage deviation value, acquiring a first adjusted vehicle road spectrum according to the first mileage deviation value and the first preset mileage deviation value; running the first adjusted vehicle road spectrum and acquiring a real-time slope; acquiring a preset slope; acquiring a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation according to the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running status of the whole vehicle.
[0110] Optional, Figure 3 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 3 As shown, the method includes:
[0111] S301, obtaining a preset vehicle road spectrum.
[0112] S302, running a preset vehicle road map and obtaining a first real-time mileage.
[0113] S303, obtaining the preset mileage.
[0114] S304: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0115] S305: Obtain a first preset mileage deviation value.
[0116] S306, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S307; if not, executing step S302.
[0117] S307, obtaining the current vehicle speed.
[0118] S308: Obtain a running time increase value according to the current vehicle speed and the first mileage deviation value.
[0119] S309: Obtain a first adjusted vehicle road spectrum according to the running time increase value.
[0120] Among them, the current vehicle speed is obtained, and the running time increase value is obtained by dividing the first mileage deviation value and the current vehicle speed. The first adjusted vehicle road spectrum is obtained according to the running time increase value, and then the whole vehicle simulation operation is continued under the first adjusted vehicle road spectrum to reduce the mileage deviation.
[0121] S310, executing the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0122] S311, obtaining a preset slope.
[0123] S312, obtaining a second adjusted vehicle road spectrum according to the real-time slope and the preset slope.
[0124] S313, running the second adjusted vehicle road spectrum and obtaining the second real-time mileage.
[0125] S314, obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage.
[0126] S315, adjusting the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0127] The embodiment of the present invention completes the whole vehicle road spectrum simulation by acquiring a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring a preset mileage; acquiring a first mileage deviation value according to the first real-time mileage and the preset mileage, and acquiring a first preset mileage deviation value; acquiring a current vehicle speed; acquiring a running time increase value according to the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum according to the running time increase value; running the first adjusted vehicle road spectrum and acquiring a real-time slope; acquiring a preset slope; acquiring a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and adjusting the vehicle speed information to complete the whole vehicle road spectrum simulation. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running state of the whole vehicle.
[0128] Optional, Figure 4 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 4 As shown, the method includes:
[0129] S401, obtaining a preset vehicle road spectrum.
[0130] S402, running a preset vehicle road map and obtaining a first real-time mileage.
[0131] S403, obtaining the preset mileage.
[0132] S404: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0133] S405: Obtain a first preset mileage deviation value.
[0134] S406, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S407; if not, executing step S402.
[0135] S407, obtaining the current vehicle speed.
[0136] S408: Obtain a running time increase value according to the current vehicle speed and the first mileage deviation value.
[0137] S409: Obtain a first adjusted vehicle road spectrum according to the running time increase value.
[0138] S410, executing the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0139] S411, obtaining a preset slope.
[0140] S412, obtaining a slope deviation value according to the real-time slope and the preset slope.
[0141] S413, obtaining a preset slope deviation value.
[0142] S414, determining whether the slope deviation value is less than a preset slope deviation value; if so, executing step S415; if not, executing step S410.
[0143] S415, obtaining a second adjusted vehicle road spectrum.
[0144] Among them, when the whole vehicle performs simulated operation according to the first adjusted vehicle road spectrum, in order to compensate for the mileage deviation, the running time is increased by using the running time increase value, and the road spectrum needs to be adjusted again to avoid an increase in the total time. Therefore, it is necessary to obtain the actual slope and the preset slope, and perform a difference operation based on the actual slope and the preset slope to obtain a slope deviation value, and at the same time obtain a preset slope deviation value. The preset slope deviation value can be set according to actual design requirements, and the embodiment of the present invention does not make specific limitations. An exemplary preset slope deviation value can be 2.5%. When the slope deviation value is less than the preset slope deviation value, it is considered that the slope of the current road condition is small and suitable for the accelerated operation of the whole vehicle, and then the road spectrum adjustment can be performed to obtain the second adjusted vehicle road spectrum; when the slope deviation value is greater than or equal to the preset slope deviation value, it is considered that the slope of the current road condition is large and not suitable for the accelerated operation of the whole vehicle.
[0145] S416, running the second adjusted vehicle road spectrum and obtaining the second real-time mileage.
[0146] S417, obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage.
[0147] S418, adjusting the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0148] The embodiment of the present invention completes the whole vehicle road spectrum simulation by acquiring a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring the preset mileage; acquiring a first mileage deviation value according to the first real-time mileage and the preset mileage, acquiring a first preset mileage deviation value; acquiring the current vehicle speed; acquiring a running time increase value according to the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum according to the running time increase value; running the first adjusted vehicle road spectrum and acquiring a real-time slope; acquiring a preset slope; acquiring a slope deviation value according to the real-time slope and the preset slope, acquiring a preset slope deviation value, and acquiring a second adjusted vehicle road spectrum according to the slope deviation value and the preset slope deviation value; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and adjusting the vehicle speed information to complete the whole vehicle road spectrum simulation. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running state of the whole vehicle.
[0149] Optional, Figure 5 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 5 As shown, the method includes:
[0150] S501, obtaining a preset vehicle road spectrum.
[0151] S502, running a preset vehicle road map and obtaining a first real-time mileage.
[0152] S503, obtaining the preset mileage.
[0153] S504: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0154] S505: Obtain a first preset mileage deviation value.
[0155] S506, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S507; if not, executing step S502.
[0156] S507, obtaining the current vehicle speed.
[0157] S508: Obtain a running time increase value according to the current vehicle speed and the first mileage deviation value.
[0158] S509: Obtain a first adjusted vehicle road spectrum according to the running time increase value.
[0159] S510, executing the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0160] S511, obtaining a preset slope.
[0161] S512, obtaining a slope deviation value according to the real-time slope and the preset slope.
[0162] S513, obtaining a preset slope deviation value.
[0163] S514, determining whether the slope deviation value is less than a preset slope deviation value; if so, executing step S515; if not, executing step S510.
[0164] S515, obtaining the vehicle speed increase value.
[0165] S516, obtaining a second adjusted vehicle road spectrum according to the vehicle speed increase value and the running time increase value.
[0166] Among them, when the slope deviation value is smaller than the preset slope deviation value, the vehicle speed increase value can be obtained to increase the vehicle speed. At the same time, the operating time increase value under the first adjusted vehicle road spectrum is removed to obtain the second adjusted vehicle road spectrum. This is equivalent to shortening the operating time by increasing the vehicle speed in actual situations, thereby ensuring that the simulated operating state of the entire vehicle is consistent with the operating state of the set vehicle.
[0167] S517, run the second adjusted vehicle road map and obtain the second real-time mileage.
[0168] S518, obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage.
[0169] S519, adjusting the information spectrum according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0170] The embodiment of the present invention improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running state of the whole vehicle by obtaining a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and obtaining a first real-time mileage; obtaining the preset mileage; obtaining a first mileage deviation value according to the first real-time mileage and the preset mileage, and obtaining a first preset mileage deviation value; obtaining the current vehicle speed; obtaining a running time increase value according to the current vehicle speed and the first mileage deviation value; obtaining a first adjusted vehicle road spectrum according to the running time increase value; running the first adjusted vehicle road spectrum and obtaining a real-time slope; obtaining a preset slope; obtaining a preset slope deviation value when the slope deviation value is less than the preset slope deviation value; obtaining a vehicle speed increase value according to the slope deviation value and the preset slope deviation value, and obtaining a second adjusted vehicle road spectrum according to the vehicle speed increase value and the running time increase value; running the second adjusted vehicle road spectrum and obtaining a second real-time mileage; obtaining vehicle speed adjustment information according to the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation according to the vehicle speed adjustment information.
[0171] Optional, Figure 6 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 6 As shown, the method includes:
[0172] S601, obtaining a preset vehicle road spectrum.
[0173] S602, run the preset vehicle road map and obtain the first real-time mileage.
[0174] S603, obtaining the preset mileage.
[0175] S604: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0176] S605: Obtain a first preset mileage deviation value.
[0177] S606, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S607; if not, executing step S602.
[0178] S607, obtaining the current vehicle speed.
[0179] S608: Obtain a running time increase value according to the current vehicle speed and the first mileage deviation value.
[0180] S609: Obtain a first adjusted vehicle road spectrum according to the running time increase value.
[0181] S610, executing the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
[0182] S611, obtaining a preset slope.
[0183] S612, obtaining a slope deviation value according to the real-time slope and the preset slope.
[0184] S613, obtaining a preset slope deviation value.
[0185] S614, determining whether the slope deviation value is less than a preset slope deviation value; if so, executing step S615; if not, executing step S610.
[0186] S615, obtaining the vehicle speed increase value.
[0187] S616, obtaining a second adjusted vehicle road spectrum according to the vehicle speed increase value and the running time increase value.
[0188] S617, run the second adjusted vehicle road map and obtain the second real-time mileage.
[0189] S618, obtaining a second mileage deviation value according to the second real-time mileage and the preset mileage.
[0190] S619: Obtain a second preset mileage deviation value.
[0191] S620, determining whether the second mileage deviation value is less than the second preset mileage deviation value; if so, executing step S621; if not, executing step S617.
[0192] S621, obtaining vehicle speed adjustment information.
[0193] Among them, when the whole vehicle is simulated running according to the second adjusted vehicle road spectrum, the second real-time mileage is obtained, and the difference operation is performed in combination with the preset mileage to obtain the second mileage deviation value, and the second preset mileage deviation value is obtained. The second preset mileage deviation value can be set according to actual design requirements, and the embodiment of the present invention does not make specific limitations. When the second mileage deviation value is less than the second preset mileage deviation value, it is considered that the whole vehicle is simulated running to the current time, and the total time remains unchanged. The mileage deviation is small enough and the total mileage is also roughly the same. Therefore, the vehicle speed adjustment information is obtained, and the vehicle speed is adjusted to ensure that the whole vehicle continues to run in simulation. When the second mileage deviation value is greater than or equal to the second preset mileage deviation value, it is considered that there is still a difference between the simulated running state of the whole vehicle and the set vehicle, so it continues to run according to the second adjusted vehicle road spectrum.
[0194] S622, adjusting the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
[0195] The embodiment of the present invention completes the whole vehicle road spectrum simulation by acquiring a preset vehicle road spectrum based on a first time and a first vehicle speed; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring a preset mileage; acquiring a first mileage deviation value according to the first real-time mileage and the preset mileage, acquiring a first preset mileage deviation value; acquiring a current vehicle speed; acquiring a running time increase value according to the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum according to the running time increase value; running the first adjusted vehicle road spectrum and acquiring a real-time slope; acquiring a preset slope; acquiring a preset slope deviation value when the slope deviation value is less than a preset slope deviation value; acquiring a vehicle speed increase value according to the slope deviation value and the preset slope deviation value, and acquiring a second adjusted vehicle road spectrum according to the vehicle speed increase value and the running time increase value; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring a second mileage deviation value according to the second real-time mileage and the preset mileage; acquiring a second preset mileage deviation value; acquiring vehicle speed adjustment information according to the second mileage deviation value and the second preset mileage deviation value; and completing the whole vehicle road spectrum simulation according to the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and improves the accuracy of reflecting the running state of the whole vehicle.
[0196] Optional, Figure 7 A flowchart of another vehicle road spectrum simulation control method provided by an embodiment of the present invention, such as Figure 7 As shown, the method includes:
[0197] S701, obtaining a preset vehicle road spectrum.
[0198] S702, run the preset vehicle road map and obtain the first real-time mileage.
[0199] S703, obtaining the preset mileage.
[0200] S704: Obtain a first mileage deviation value according to the first real-time mileage and the preset mileage.
[0201] S705: Obtain a first preset mileage deviation value.
[0202] S706, determining whether the first mileage deviation value is greater than a first preset mileage deviation value; if so, executing step S707; if not, executing step S702.
[0203] S707, obtaining the current vehicle speed.
[0204] S708, obtaining a running time increase value according to the current vehicle speed and the first mileage deviation value.
[0205] S709: Obtain a first adjusted vehicle road spectrum according to the running time increase value.
[0206] S710, run the first adjustment of the vehicle road spectrum and obtain the real-time slope.
[0207] S711, obtaining a preset slope.
[0208] S712, obtaining a slope deviation value according to the real-time slope and the preset slope.
[0209] S713, obtaining a preset slope deviation value.
[0210] S714, determining whether the slope deviation value is less than a preset slope deviation value; if so, executing step S715; if not, executing step S710.
[0211] S715, obtaining the vehicle speed increase value.
[0212] S716, obtaining a second adjusted vehicle road spectrum according to the vehicle speed increase value and the running time increase value.
[0213] S717, run the second adjusted vehicle road map and obtain the second real-time mileage.
[0214] S718, obtaining a second mileage deviation value according to the second real-time mileage and the preset mileage.
[0215] S719: Obtain a second preset mileage deviation value.
[0216] S720, determining whether the second mileage deviation value is less than the second preset mileage deviation value; if so, executing step S721; if not, executing step S717.
[0217] S721, restore the vehicle speed under the preset vehicle road spectrum.
[0218] Among them, when the second mileage deviation value is less than the second preset mileage deviation value, it is considered that the total mileage deviation during the whole vehicle simulation operation is small enough, so the vehicle speed during the whole vehicle simulation operation can be restored to the speed under the preset vehicle road spectrum, that is, the simulation operation continues according to the preset vehicle road spectrum.
[0219] S722, completing the whole vehicle road spectrum simulation according to the vehicle speed under the preset vehicle road spectrum.
[0220] In the embodiment of the present invention, when the second mileage deviation value is less than the second preset mileage deviation value, the vehicle running speed is restored to the speed under the preset vehicle road spectrum, and the vehicle continues to run to complete the vehicle road spectrum simulation, thereby improving the fitting degree of the road spectrum and the accuracy of reflecting the running status of the vehicle.
[0221] Figure 8 A schematic diagram of the structure of a vehicle road spectrum simulation control device provided by an embodiment of the present invention, such as Figure 8 As shown, the whole vehicle road spectrum simulation control device performs the whole vehicle road spectrum simulation control method including any one of the above embodiments, and the whole vehicle road spectrum simulation control device includes:
[0222] A preset vehicle road spectrum acquisition module 201 is used to acquire a preset vehicle road spectrum;
[0223] A first real-time mileage acquisition module 202, used to run a preset vehicle road map and acquire a first real-time mileage;
[0224] The preset mileage obtaining module 203 is used to obtain the preset mileage;
[0225] A first adjusted vehicle road spectrum acquisition module 204, configured to acquire a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage;
[0226] A real-time slope acquisition module 205, configured to execute the first vehicle road profile adjustment and acquire the real-time slope;
[0227] A preset slope acquisition module 206 is used to acquire a preset slope;
[0228] A second adjusted vehicle road spectrum acquisition module 207, used to acquire a second adjusted vehicle road spectrum according to the real-time slope and the preset slope;
[0229] A second real-time mileage acquisition module 208, configured to run a second adjusted vehicle road spectrum and acquire a second real-time mileage;
[0230] The vehicle speed adjustment information acquisition module 209 is used to acquire the vehicle speed adjustment information according to the second real-time mileage and the preset mileage;
[0231] The whole vehicle road spectrum simulation completion module 210 completes the whole vehicle road spectrum simulation according to the vehicle speed adjustment information.
[0232] It should be noted that since the simulation control device for the whole vehicle road spectrum provided in this embodiment includes any simulation control method for the whole vehicle road spectrum provided in the embodiments of the present invention, it has the same or corresponding beneficial effects as the simulation control method for the whole vehicle road spectrum, which will not be elaborated here.
[0233] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Fig. 9 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0234] like Fig. 9 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the random access memory (RAM) 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the read-only memory (ROM) 12 and the random access memory (RAM) 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0235] A number of components in the electronic device 10 are connected to an input / output (I / O) interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, speakers, etc., a storage unit 18, such as a disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0236] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the simulation control method of the whole vehicle road spectrum.
[0237] In some embodiments, the simulation control method of the whole vehicle road spectrum can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the read-only memory (ROM) 12 and / or the communication unit 19. When the computer program is loaded into the random access memory (RAM) 13 and executed by the processor 11, one or more steps of the simulation control method of the whole vehicle road spectrum described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the simulation control method of the whole vehicle road spectrum in any other appropriate manner (for example, by means of firmware).
[0238] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0239] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0240] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0241] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0242] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0243] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0244] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the simulation control method of the whole vehicle road spectrum according to any one of the above embodiments.
[0245] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0246] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A simulation control method for a vehicle road spectrum, characterized in that: include: Get the preset vehicle road map; Running the preset vehicle road map and obtaining a first real-time mileage; Get preset mileage; Acquire a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage; Run the first step of adjusting the vehicle road spectrum and obtaining the real-time slope; Get the preset slope; Acquire a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; Run the second method to adjust the vehicle road spectrum and obtain the second real-time mileage; acquiring vehicle speed adjustment information according to the second real-time mileage and the preset mileage; The vehicle speed adjustment information is used to complete the whole vehicle road spectrum simulation.
2. The whole vehicle road spectrum simulation control method according to claim 1 is characterized in that: Acquiring a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage includes: Acquire a first mileage deviation value according to the first real-time mileage and the preset mileage; Obtaining a first preset mileage deviation value; Determining whether the first mileage deviation value is greater than the first preset mileage deviation value; If yes, then obtain the first adjusted vehicle road spectrum; If not, continue to execute the step of running the preset vehicle road spectrum and obtaining the first real-time mileage.
3. The whole vehicle road spectrum simulation control method according to claim 2 is characterized in that: Obtaining the first adjusted vehicle road spectrum, including: Get the current vehicle speed; Acquire a running time increase value according to the current vehicle speed and the first mileage deviation value; A first adjusted vehicle road spectrum is obtained according to the running time increase value.
4. The whole vehicle road spectrum simulation control method according to claim 1 is characterized in that: Acquiring a second adjusted vehicle road spectrum according to the real-time slope and the preset slope includes: Acquire a slope deviation value according to the real-time slope and the preset slope; Get the preset slope deviation value; Determining whether the slope deviation value is less than the preset slope deviation value; If yes, then obtain a second adjusted vehicle road spectrum; If not, continue to execute the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
5. The whole vehicle road spectrum simulation control method according to claim 4 is characterized in that: Obtaining the second adjusted vehicle road spectrum, including: Get the vehicle speed increase value; A second adjusted vehicle road spectrum is obtained according to the vehicle speed increase value and the running time increase value.
6. The whole vehicle road spectrum simulation control method according to claim 5 is characterized in that: The vehicle speed adjustment information is obtained according to the second real-time mileage and the preset mileage, including: Acquire a second mileage deviation value according to the second real-time mileage and the preset mileage; Obtaining a second preset mileage deviation value; Determining whether the second mileage deviation value is less than the second preset mileage deviation value; If yes, then obtain vehicle speed adjustment information; If not, continue to execute the step of running the second step of adjusting the vehicle road spectrum and obtaining the second real-time mileage.
7. The whole vehicle road spectrum simulation control method according to claim 6 is characterized in that: Obtaining vehicle speed adjustment information includes: The vehicle speed under the preset vehicle road spectrum is restored.
8. A vehicle road spectrum simulation control device, characterized in that: The whole vehicle road spectrum simulation control device performs the whole vehicle road spectrum simulation control method according to any one of claims 1 to 7, and the whole vehicle road spectrum simulation control device includes: A preset vehicle road spectrum acquisition module is used to acquire a preset vehicle road spectrum; A first real-time mileage acquisition module, used to run the preset vehicle road spectrum and acquire a first real-time mileage; A preset mileage acquisition module is used to acquire the preset mileage; A first adjusted vehicle road spectrum acquisition module, used to acquire a first adjusted vehicle road spectrum according to the first real-time mileage and the preset mileage; A real-time slope acquisition module, used for running the first step of adjusting the vehicle road spectrum and acquiring the real-time slope; A preset slope acquisition module is used to acquire a preset slope; A second adjusted vehicle road spectrum acquisition module, used to acquire a second adjusted vehicle road spectrum according to the real-time slope and the preset slope; A second real-time mileage acquisition module, used for running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; A vehicle speed adjustment information acquisition module, used to acquire vehicle speed adjustment information according to the second real-time mileage and the preset mileage; The whole vehicle road spectrum simulation completion module adjusts the information according to the vehicle speed to complete the whole vehicle road spectrum simulation.
9. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the whole vehicle road spectrum simulation control method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the whole vehicle road spectrum simulation control method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Mountain road simulating test method and device for vehicle
CN104849065A
Slope acquisition system and method and vehicle
CN112557059A
Chassis dynamometer road gradient simulation test method
CN113918868A
Method, device and equipment for regulating and controlling running speed of automatic driving vehicle and storage medium
CN114889636A
Hybrid power joint debugging test method, device and system
CN115291640A
Cited By
Vehicle energy management control method and device, electronic equipment and storage medium
CN119659620A
