A whole vehicle road spectrum simulation control method, device, equipment and medium
By adjusting the vehicle's road spectrum to obtain real-time mileage and gradient, the problem of missing mileage caused by slow vehicle speed following was solved, improving the accuracy of the vehicle's operating status and the economic assessment.
Patent Information
- Application Number
- CN202411070248.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-08-06
AI Technical Summary
In existing technologies, vehicle road spectrum simulation control suffers from slow speed following due to differences in vehicle dynamics, resulting in missing mileage even when the total time is consistent, which affects the assessment of vehicle economy.
By acquiring a preset vehicle road spectrum, running and adjusting the vehicle road spectrum to obtain real-time mileage and gradient, adjusting vehicle speed and gradient according to the deviation value, and gradually optimizing the road spectrum to improve the fitting degree.
It improves the fitting degree of the whole vehicle road spectrum, enhances the accuracy of the whole vehicle operating status, ensures the consistency of mileage and time, and improves the assessment of vehicle economy.
Smart Images

Figure CN118915570B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and in particular to a method, apparatus, equipment and medium for simulating and controlling the road spectrum of a whole vehicle. Background Technology
[0002] The simulation control of the vehicle road spectrum is generally based on time operation. Given the vehicle speed and the overall vehicle resistance, the vehicle speed is fitted by controlling the throttle. During this process, the vehicle speed may be slow to follow due to differences in vehicle power, which will further cause the mileage to be missing even if the total time is the same. The area with insufficient power is precisely the area with high fuel consumption. This situation will affect the evaluation of vehicle economy. Summary of the Invention
[0003] This invention provides a method, device, equipment, and medium for simulating and controlling the road spectrum of a vehicle, so as to improve the fitting degree of the road spectrum and enhance the accuracy of reflecting the operating status of the vehicle.
[0004] According to one aspect of the present invention, a simulation control method for a vehicle road spectrum is provided, comprising:
[0005] Obtain the preset vehicle road map;
[0006] Run the preset vehicle road map and obtain the first real-time mileage;
[0007] Get the preset mileage;
[0008] The first adjusted vehicle road spectrum is obtained based on the first real-time mileage and the preset mileage;
[0009] Run the first adjustment of the vehicle road spectrum and obtain the real-time gradient;
[0010] Get the preset slope;
[0011] The second adjusted vehicle road spectrum is obtained based on the real-time slope and the preset slope;
[0012] Run the second adjusted vehicle road spectrum and obtain the second real-time mileage;
[0013] Vehicle speed adjustment information is obtained based on 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 based on the first real-time mileage and the preset mileage includes:
[0016] A first mileage deviation value is obtained based on the first real-time mileage and the preset mileage;
[0017] Obtain the first preset mileage deviation value;
[0018] Determine whether the first mileage deviation value is greater than the first preset mileage deviation value;
[0019] If so, then obtain the first adjusted vehicle road spectrum;
[0020] If not, continue with the steps of running the preset vehicle road map and obtaining the first real-time mileage.
[0021] Optionally, obtain the first adjusted vehicle road spectrum, including:
[0022] Get the current vehicle speed;
[0023] The increase in running time is obtained based on the current vehicle speed and the first mileage deviation value;
[0024] The first adjusted vehicle road spectrum is obtained based on the increase in running time.
[0025] Optionally, obtaining a second adjusted vehicle road spectrum based on the real-time slope and the preset slope includes:
[0026] The slope deviation value is obtained based on the real-time slope and the preset slope;
[0027] Obtain the preset slope deviation value;
[0028] Determine whether the slope deviation value is less than the preset slope deviation value;
[0029] If so, then obtain the second adjusted vehicle road spectrum;
[0030] If not, continue with 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] The second adjusted vehicle road spectrum is obtained based on the increase in vehicle speed and the increase in running time.
[0034] Optionally, vehicle speed adjustment information is obtained based on the second real-time mileage and the preset mileage, including:
[0035] The second mileage deviation value is obtained based on the second real-time mileage and the preset mileage;
[0036] Obtain the second preset mileage deviation value;
[0037] Determine whether the second mileage deviation value is less than the second preset mileage deviation value;
[0038] If so, obtain the vehicle speed adjustment information;
[0039] If not, continue with 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] Restore the vehicle speed under the preset vehicle road spectrum.
[0042] According to another aspect of the present invention, a vehicle road spectrum simulation control device is provided, which executes the vehicle road spectrum simulation control method comprising any one of the above aspects, wherein the vehicle road spectrum simulation control device comprises:
[0043] The preset vehicle road spectrum acquisition module is used to acquire preset vehicle road spectra.
[0044] The first real-time mileage acquisition module is used to run the preset vehicle road map and acquire the first real-time mileage.
[0045] The preset mileage acquisition module is used to acquire preset mileage.
[0046] The first adjusted vehicle road spectrum acquisition module is used to acquire the first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage.
[0047] The real-time slope acquisition module is used to run the first adjusted vehicle road spectrum and acquire the real-time slope.
[0048] The preset slope acquisition module is used to acquire the preset slope.
[0049] The second vehicle road spectrum acquisition module is used to acquire the second vehicle road spectrum based on the real-time slope and the preset slope.
[0050] The second real-time mileage acquisition module is used to run the second adjusted vehicle road spectrum and acquire the second real-time mileage;
[0051] The vehicle speed adjustment information acquisition module is used to acquire vehicle speed adjustment information based on the second real-time mileage and the preset mileage;
[0052] The whole vehicle road spectrum simulation module completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information.
[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, the computer program being executed by the at least one processor to enable the at least one processor to perform the vehicle road spectrum simulation control method as described in any of the preceding aspects.
[0055] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the vehicle road spectrum simulation control method as described in any of the preceding aspects.
[0056] The technical solution of this invention involves: acquiring a preset vehicle road spectrum; running the preset vehicle road spectrum and acquiring a first real-time mileage; acquiring a preset mileage; acquiring a first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage; running the first adjusted vehicle road spectrum and acquiring a real-time gradient; acquiring a preset gradient; acquiring a second adjusted vehicle road spectrum based on the real-time gradient and the preset gradient; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information based on the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0057] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0059] Figure 1 A flowchart of a vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0060] Figure 2 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0061] Figure 3 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0062] Figure 4 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0063] Figure 5 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0064] Figure 6 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0065] Figure 7 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention;
[0066] Figure 8 This is a schematic diagram of the structure of a vehicle road spectrum simulation control device provided in an embodiment of the present invention;
[0067] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0068] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort 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, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0070] Figure 1 This is a flowchart illustrating a vehicle roadmap simulation control method according to an embodiment of the present invention. This embodiment is applicable to the simulation of vehicle roadmaps. The method can be executed by a vehicle roadmap simulation control device, which can be implemented in hardware and / or software. Figure 1 As shown, the method includes:
[0071] S101, Obtain the preset vehicle road map.
[0072] The preset vehicle road profile is the curve of the change between the first time and the first speed, which can be obtained according to the actual design requirements of the vehicle.
[0073] S102, run the preset vehicle road map and obtain the first real-time mileage.
[0074] The system simulates the operation of the entire vehicle according to a preset vehicle road map, and simultaneously acquires the first real-time mileage of the vehicle's operation.
[0075] S103, Get preset mileage.
[0076] The preset mileage can be set according to actual design requirements, and this embodiment of the invention does not impose specific limitations.
[0077] S104, obtain the first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage.
[0078] During the simulated operation of the vehicle, 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 can be adjusted. Usually, when the mileage deviation is large, the running time needs to be increased appropriately, and then the first adjusted vehicle road spectrum is obtained based on the current first real-time mileage and the preset mileage.
[0079] S105, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0080] The vehicle is simulated to run according to the adjusted first vehicle road spectrum, and the real-time gradient is also acquired during the operation.
[0081] S106, obtain the preset slope.
[0082] The preset slope can be set according to actual design requirements, and the embodiments of the present invention do not impose specific limitations.
[0083] S107, obtains the second adjusted vehicle road spectrum based on real-time slope and preset slope.
[0084] Since the first adjusted vehicle route spectrum usually increases the running time, in order to ensure the consistency of the total time, the vehicle speed can be appropriately increased and the running time shortened. At the same time, it is necessary to ensure acceleration under road conditions with a small gradient. Therefore, the second adjusted vehicle route spectrum needs to be obtained based on the real-time gradient and the preset gradient.
[0085] S108, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0086] During the simulated operation of the vehicle according to the first adjusted vehicle road spectrum, it is necessary to obtain the second real-time mileage again.
[0087] S109 obtains vehicle speed adjustment information based on the second real-time mileage and the preset mileage.
[0088] Specifically, 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 vehicle speed adjustment information and adjust the vehicle speed to ensure the overall vehicle operation status.
[0089] S110 adjusts vehicle speed information to complete the whole vehicle road spectrum simulation.
[0090] The vehicle needs to adjust its speed information to continue the simulation until the simulation ends.
[0091] This invention, in its embodiments, acquires a preset vehicle road spectrum based on a first time and a first vehicle speed; runs the preset vehicle road spectrum and acquires a first real-time mileage; acquires a preset mileage; acquires a first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage; runs the first adjusted vehicle road spectrum and acquires a real-time gradient; acquires a preset gradient; acquires a second adjusted vehicle road spectrum based on the real-time gradient and the preset gradient; runs the second adjusted vehicle road spectrum and acquires a second real-time mileage; acquires vehicle speed adjustment information based on the second real-time mileage and the preset mileage; and completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0092] Optional, Figure 2 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 2 As shown, the method includes:
[0093] S201, Obtain the preset vehicle road map.
[0094] S202, run the preset vehicle road map and obtain the first real-time mileage.
[0095] S203, obtain preset mileage.
[0096] S204, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0097] Specifically, the difference between the first real-time mileage and the preset mileage is calculated to obtain the first mileage deviation value.
[0098] S205, obtain the first preset mileage deviation value.
[0099] The first preset mileage deviation value can be set according to actual design requirements, and the embodiments of the present invention do not impose specific limitations.
[0100] S206, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S207; if no, proceed to step S202.
[0101] S207, Obtain the first adjusted vehicle road spectrum.
[0102] Specifically, when the first mileage deviation value is less than or equal to the first preset mileage deviation value, it is considered that the current simulated vehicle operation state is consistent with the operation state of the set vehicle under the same preset vehicle road spectrum, and the simulation operation continues 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 there is a large deviation between the current simulated vehicle operation state and the operation state of the set vehicle under the same preset vehicle road spectrum, and it is necessary to appropriately increase the operation time to obtain the first adjusted vehicle road spectrum.
[0103] S208, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0104] S209, obtain the preset slope.
[0105] S210 obtains a second adjusted vehicle road spectrum based on real-time gradient and preset gradient.
[0106] S211, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0107] S212, obtains vehicle speed adjustment information based on the second real-time mileage and the preset mileage.
[0108] S213, adjusts vehicle speed information to complete the whole vehicle road spectrum simulation.
[0109] This invention, in its embodiments, acquires a preset vehicle road spectrum based on a first time and a first vehicle speed; runs the preset vehicle road spectrum and acquires a first real-time mileage; acquires a preset mileage; acquires a first mileage deviation value based on the first real-time mileage and the preset mileage; acquires a first preset mileage deviation value; acquires a first adjusted vehicle road spectrum based on the first mileage deviation value and the first preset mileage deviation value; runs the first adjusted vehicle road spectrum and acquires a real-time gradient; acquires a preset gradient; acquires a second adjusted vehicle road spectrum based on the real-time gradient and the preset gradient; runs the second adjusted vehicle road spectrum and acquires a second real-time mileage; acquires vehicle speed adjustment information based on the second real-time mileage and the preset mileage; and completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0110] Optional, Figure 3 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 3 As shown, the method includes:
[0111] S301, Obtain the preset vehicle road map.
[0112] S302, run the preset vehicle road map and obtain the first real-time mileage.
[0113] S303, get the preset mileage.
[0114] S304, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0115] S305, obtain the first preset mileage deviation value.
[0116] S306, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S307; if no, proceed to step S302.
[0117] S307, Get the current vehicle speed.
[0118] S308 calculates the increase in running time based on the current vehicle speed and the first mileage deviation value.
[0119] S309, obtain the first adjusted vehicle road spectrum based on the increase in running time.
[0120] The process involves obtaining the current vehicle speed, performing a division operation between the first mileage deviation value and the current vehicle speed to obtain the increase in running time, adjusting the vehicle's route spectrum according to the increase in running time, and then continuing to simulate the vehicle's operation under the first adjusted vehicle route spectrum to reduce the mileage deviation.
[0121] S310, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0122] S311, obtain the preset slope.
[0123] S312, obtains the second adjusted vehicle road spectrum based on real-time slope and preset slope.
[0124] S313, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0125] S314 obtains vehicle speed adjustment information based on the second real-time mileage and the preset mileage.
[0126] S315 adjusts vehicle speed information to complete the whole vehicle road spectrum simulation.
[0127] This invention, in its embodiments, involves: 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 based on the first real-time mileage and the preset mileage; acquiring the first preset mileage deviation value; acquiring the current vehicle speed; acquiring an increase in running time based on the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum based on the increase in running time; running the first adjusted vehicle road spectrum and acquiring a real-time gradient; acquiring a preset gradient; acquiring a second adjusted vehicle road spectrum based on the real-time gradient and the preset gradient; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information based on the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0128] Optional, Figure 4 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 4 As shown, the method includes:
[0129] S401, Obtain the preset vehicle road map.
[0130] S402, run the preset vehicle road map and obtain the first real-time mileage.
[0131] S403, get preset mileage.
[0132] S404, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0133] S405, obtain the first preset mileage deviation value.
[0134] S406, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S407; if no, proceed to step S402.
[0135] S407, Get the current vehicle speed.
[0136] S408 calculates the increase in running time based on the current vehicle speed and the first mileage deviation value.
[0137] S409, obtain the first adjusted vehicle road spectrum based on the increase in running time.
[0138] S410, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0139] S411, obtain the preset slope.
[0140] S412 obtains the slope deviation value based on the real-time slope and the preset slope.
[0141] S413, obtain the preset slope deviation value.
[0142] S414, determine whether the slope deviation value is less than the preset slope deviation value; if yes, proceed to step S415; if no, proceed to step S410.
[0143] S415, obtain the second adjusted vehicle road spectrum.
[0144] In the simulation of the vehicle running according to the first adjusted vehicle road spectrum, to compensate for mileage deviations, the running time is increased using the increase in running time. Therefore, the road spectrum needs to be adjusted again to avoid increasing the total time. This requires obtaining the actual slope and the preset slope. The slope deviation value is obtained by calculating the difference between the actual slope and the preset slope. Simultaneously, the preset slope deviation value is also obtained. The preset slope deviation value can be set according to actual design requirements, and this embodiment of the invention does not impose 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, the current road slope is considered relatively small, suitable for vehicle acceleration, and 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, the current road slope is considered relatively large, unsuitable for vehicle acceleration.
[0145] S416, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0146] S417 obtains vehicle speed adjustment information based on the second real-time mileage and the preset mileage.
[0147] S418 adjusts vehicle speed information to complete the whole vehicle road spectrum simulation.
[0148] This invention, in its embodiments, involves: 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 based on the first real-time mileage and the preset mileage; acquiring a first preset mileage deviation value; acquiring the current vehicle speed; acquiring an increase in running time based on the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum based on the increase in running time; running the first adjusted vehicle road spectrum and acquiring a real-time gradient; acquiring a preset gradient; acquiring a gradient deviation value based on the real-time gradient and the preset gradient; acquiring a second adjusted vehicle road spectrum based on the gradient deviation value and the preset gradient deviation value; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring vehicle speed adjustment information based on the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0149] Optional, Figure 5 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 5 As shown, the method includes:
[0150] S501, Obtain the preset vehicle road map.
[0151] S502, runs the preset vehicle road map and obtains the first real-time mileage.
[0152] S503, get the preset mileage.
[0153] S504, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0154] S505, obtain the first preset mileage deviation value.
[0155] S506, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S507; if no, proceed to step S502.
[0156] S507, Get the current vehicle speed.
[0157] S508 calculates the increase in running time based on the current vehicle speed and the first mileage deviation value.
[0158] S509, obtain the first adjusted vehicle road spectrum based on the increase in running time.
[0159] S510, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0160] S511, obtain the preset slope.
[0161] S512 obtains the slope deviation value based on the real-time slope and the preset slope.
[0162] S513, obtain the preset slope deviation value.
[0163] S514, determine whether the slope deviation value is less than the preset slope deviation value; if yes, proceed to step S515; if no, proceed to step S510.
[0164] S515, obtain the vehicle speed increase value.
[0165] S516, the second adjusted vehicle road spectrum is obtained based on the increase in vehicle speed and the increase in running time.
[0166] When the slope deviation value is smaller than the preset slope deviation value, the vehicle speed increase value can be obtained, the vehicle speed can be increased, and the running time increase value under the first adjusted vehicle road spectrum can be removed to obtain the second adjusted vehicle road spectrum. This is equivalent to shortening the running time by increasing the vehicle speed in actual conditions, thereby ensuring that the simulated running state of the whole vehicle is consistent with the running state of the set vehicle.
[0167] S517, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0168] S518 obtains vehicle speed adjustment information based on the second real-time mileage and the preset mileage.
[0169] S519 adjusts the information spectrum according to vehicle speed to complete the whole vehicle road spectrum simulation.
[0170] This invention, in its embodiments, involves: 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 based on the first real-time mileage and the preset mileage; acquiring a first preset mileage deviation value; acquiring the current vehicle speed; acquiring an increase in running time based on the current vehicle speed and the first mileage deviation value; acquiring a first adjusted vehicle road spectrum based on the increase in running time; running the first adjusted vehicle road spectrum and acquiring a real-time gradient; acquiring a preset gradient; acquiring a preset gradient deviation value when the gradient deviation value is less than the preset gradient deviation value; acquiring a speed increase value based on the gradient deviation value and the preset gradient deviation value; acquiring a second adjusted vehicle road spectrum based on the speed increase value and the increase in running time; running the second adjusted vehicle road spectrum and acquiring a second real-time mileage; acquiring speed adjustment information based on the second real-time mileage and the preset mileage; and completing the whole vehicle road spectrum simulation based on the speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the overall vehicle operating status.
[0171] Optional, Figure 6 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 6 As shown, the method includes:
[0172] S601, Obtain the preset vehicle road map.
[0173] S602, run the preset vehicle road map and obtain the first real-time mileage.
[0174] S603, get preset mileage.
[0175] S604, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0176] S605, obtain the first preset mileage deviation value.
[0177] S606, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S607; if no, proceed to step S602.
[0178] S607, Get the current vehicle speed.
[0179] S608 calculates the increase in running time based on the current vehicle speed and the first mileage deviation value.
[0180] S609, obtain the first adjusted vehicle road spectrum based on the increase in running time.
[0181] S610, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0182] S611, obtain the preset slope.
[0183] S612 obtains the slope deviation value based on the real-time slope and the preset slope.
[0184] S613, obtain the preset slope deviation value.
[0185] S614, determine whether the slope deviation value is less than the preset slope deviation value; if yes, proceed to step S615; if no, proceed to step S610.
[0186] S615, obtain the vehicle speed increase value.
[0187] S616, obtains the second adjusted vehicle road spectrum based on the increase in vehicle speed and the increase in running time.
[0188] S617, run the second adjustment vehicle road spectrum and obtain the second real-time mileage.
[0189] S618, obtains the second mileage deviation value based on the second real-time mileage and the preset mileage.
[0190] S619, obtain the second preset mileage deviation value.
[0191] S620, determine whether the second mileage deviation value is less than the second preset mileage deviation value; if yes, proceed to step S621; if no, proceed to step S617.
[0192] S621, obtain vehicle speed adjustment information.
[0193] In this process, during the simulated operation of the vehicle according to the second adjusted vehicle road spectrum, a second real-time mileage is acquired. Simultaneously, a difference calculation is performed using this second mileage to obtain a second mileage deviation value. A second preset mileage deviation value is also acquired. This second preset mileage deviation value can be set according to actual design requirements, and this embodiment of the invention does not impose specific limitations. When the second mileage deviation value is less than the second preset mileage deviation value, it is considered that, with the total simulated operation time remaining unchanged, the mileage deviation is sufficiently small, and the total mileage is approximately the same. Therefore, vehicle speed adjustment information is acquired, and vehicle speed is adjusted to ensure the vehicle continues to simulate operation. When the second mileage deviation value is greater than or equal to the second preset mileage deviation value, it is considered that the simulated operation state of the vehicle still differs from the set vehicle, and therefore, operation continues according to the second adjusted vehicle road spectrum.
[0194] S622 adjusts vehicle speed information to complete the whole vehicle road spectrum simulation.
[0195] This invention embodiment acquires a preset vehicle road spectrum based on a first time and a first vehicle speed; runs the preset vehicle road spectrum and acquires a first real-time mileage; acquires a preset mileage; acquires a first mileage deviation value based on the first real-time mileage and the preset mileage, and acquires a first preset mileage deviation value; acquires the current vehicle speed; acquires an increase in running time based on the current vehicle speed and the first mileage deviation value; acquires a first adjusted vehicle road spectrum based on the increase in running time; runs the first adjusted vehicle road spectrum and acquires a real-time gradient; acquires a preset gradient; acquires a preset gradient deviation value when the gradient deviation value is less than the preset gradient deviation value; acquires a speed increase value based on the gradient deviation value and the preset gradient deviation value, and acquires a second adjusted vehicle road spectrum based on the speed increase value and the increase in running time; runs the second adjusted vehicle road spectrum and acquires a second real-time mileage; acquires a second mileage deviation value based on the second real-time mileage and the preset mileage; acquires a second preset mileage deviation value; acquires vehicle speed adjustment information based on the second mileage deviation value and the second preset mileage deviation value; and completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the whole vehicle's operating status.
[0196] Optional, Figure 7 A flowchart of another vehicle road spectrum simulation control method provided in an embodiment of the present invention is shown below. Figure 7 As shown, the method includes:
[0197] S701, Obtain the preset vehicle road map.
[0198] S702 runs the preset vehicle road map and obtains the first real-time mileage.
[0199] S703, get preset mileage.
[0200] S704, obtain the first mileage deviation value based on the first real-time mileage and the preset mileage.
[0201] S705, obtain the first preset mileage deviation value.
[0202] S706, determine whether the first mileage deviation value is greater than the first preset mileage deviation value; if yes, proceed to step S707; if no, proceed to step S702.
[0203] S707, Get the current vehicle speed.
[0204] S708 calculates the increase in running time based on the current vehicle speed and the first mileage deviation value.
[0205] S709, obtain the first adjusted vehicle road spectrum based on the increase in running time.
[0206] S710, runs the first adjustment vehicle road spectrum and obtains real-time gradient.
[0207] S711, obtain the preset slope.
[0208] S712 obtains the slope deviation value based on the real-time slope and the preset slope.
[0209] S713, obtain the preset slope deviation value.
[0210] S714, determine whether the slope deviation value is less than the preset slope deviation value; if yes, proceed to step S715; if no, proceed to step S710.
[0211] S715, obtain the vehicle speed increase value.
[0212] S716, obtains the second adjusted vehicle road spectrum based on the increase in vehicle speed and the increase in running time.
[0213] S717, runs the second adjustment vehicle road spectrum and obtains the second real-time mileage.
[0214] S718, obtains the second mileage deviation value based on the second real-time mileage and the preset mileage.
[0215] S719, obtain the second preset mileage deviation value.
[0216] S720, determine whether the second mileage deviation value is less than the second preset mileage deviation value; if yes, proceed to step S721; if no, proceed to step S717.
[0217] S721, restore vehicle speed under the preset vehicle road spectrum.
[0218] 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. Therefore, the vehicle speed during the whole vehicle simulation operation can be restored to the vehicle speed under the preset vehicle road spectrum, that is, the simulation operation can continue according to the preset vehicle road spectrum.
[0219] S722, based on the vehicle speed under the preset vehicle road spectrum, completes the whole vehicle road spectrum simulation.
[0220] In this embodiment of the invention, when the second mileage deviation value is less than the second preset mileage deviation value, the vehicle speed is restored to the speed under the preset vehicle road spectrum, and operation continues to complete the vehicle road spectrum simulation. This improves the fitting degree of the road spectrum and enhances the accuracy of reflecting the vehicle's operating status.
[0221] Figure 8 This is a schematic diagram of the structure of a vehicle road spectrum simulation control device provided in an embodiment of the present invention, as shown below. Figure 8 As shown, the vehicle roadmap simulation control device executes the vehicle roadmap simulation control method described in any of the above embodiments. The vehicle roadmap simulation control device includes:
[0222] The preset vehicle road spectrum acquisition module 201 is used to acquire the preset vehicle road spectrum;
[0223] The first real-time mileage acquisition module 202 is used to run a preset vehicle road map and acquire the first real-time mileage.
[0224] The preset mileage acquisition module 203 is used to acquire the preset mileage;
[0225] The first adjusted vehicle road spectrum acquisition module 204 is used to acquire the first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage.
[0226] The real-time slope acquisition module 205 is used to run the first adjusted vehicle road spectrum and acquire the real-time slope.
[0227] The preset slope acquisition module 206 is used to acquire the preset slope;
[0228] The second vehicle road spectrum acquisition module 207 is used to acquire the second vehicle road spectrum based on the real-time slope and the preset slope.
[0229] The second real-time mileage acquisition module 208 is used to run the second adjusted vehicle road spectrum and acquire the second real-time mileage;
[0230] The vehicle speed adjustment information acquisition module 209 is used to acquire vehicle speed adjustment information based on the second real-time mileage and the preset mileage;
[0231] The whole vehicle road spectrum simulation module 210 completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information.
[0232] It should be noted that since the vehicle road spectrum simulation control device provided in this embodiment includes any of the vehicle road spectrum simulation control methods provided in the embodiments of the present invention, it has the same or corresponding beneficial effects as the vehicle road spectrum simulation control method, and will not be elaborated here.
[0233] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 9 A schematic diagram of an electronic device 10, which can be used to implement embodiments 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 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0234] like Figure 9 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0235] Multiple components in electronic device 10 are connected to input / output (I / O) interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0236] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the analog control method for the entire vehicle road spectrum.
[0237] In some embodiments, the vehicle roadmap simulation control method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded into and / or installed on electronic device 10 via read-only memory (ROM) 12 and / or communication unit 19. When the computer program is loaded into random access memory (RAM) 13 and executed by processor 11, one or more steps of the vehicle roadmap simulation control method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the vehicle roadmap simulation control method by any other suitable means (e.g., by means of firmware).
[0238] Various embodiments 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-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0239] Computer programs used to implement 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, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0240] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0241] To provide interaction with a user, the systems and techniques described herein can 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 pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0242] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0243] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0244] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements a vehicle road spectrum simulation control method according to any one of the above embodiments.
[0245] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0246] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A simulation control method for a vehicle road spectrum, characterized in that, include: Obtain the preset vehicle road map; Run the preset vehicle road map and obtain the first real-time mileage; Get the preset mileage; The first adjusted vehicle road spectrum is obtained based on the first real-time mileage and the preset mileage; Run the first adjustment of the vehicle road spectrum and obtain the real-time gradient; Get the preset slope; The second adjusted vehicle road spectrum is obtained based on the real-time slope and the preset slope; Run the second adjusted vehicle road spectrum and obtain the second real-time mileage; Vehicle speed adjustment information is obtained based on 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 vehicle road spectrum simulation control method according to claim 1, characterized in that, Obtaining a first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage includes: A first mileage deviation value is obtained based on the first real-time mileage and the preset mileage; Obtain the first preset mileage deviation value; Determine whether the first mileage deviation value is greater than the first preset mileage deviation value; If so, then obtain the first adjusted vehicle road spectrum; If not, continue with the steps of running the preset vehicle road map and obtaining the first real-time mileage.
3. The vehicle road spectrum simulation control method according to claim 2, characterized in that, Obtain the first adjusted vehicle road spectrum, including: Get the current vehicle speed; The increase in running time is obtained based on the current vehicle speed and the first mileage deviation value; The first adjusted vehicle road spectrum is obtained based on the increase in running time.
4. The vehicle road spectrum simulation control method according to claim 1, characterized in that, Obtaining a second adjusted vehicle road spectrum based on the real-time slope and the preset slope includes: The slope deviation value is obtained based on the real-time slope and the preset slope; Obtain the preset slope deviation value; Determine whether the slope deviation value is less than the preset slope deviation value; If so, then obtain the second adjusted vehicle road spectrum; If not, continue with the first step of adjusting the vehicle road spectrum and obtaining the real-time slope.
5. The vehicle road spectrum simulation control method according to claim 4, characterized in that, Obtain the second adjusted vehicle road spectrum, including: Get the vehicle speed increase value; The second adjusted vehicle road spectrum is obtained based on the increase in vehicle speed and the increase in running time.
6. The vehicle road spectrum simulation control method according to claim 5, characterized in that, Vehicle speed adjustment information is obtained based on the second real-time mileage and the preset mileage, including: The second mileage deviation value is obtained based on the second real-time mileage and the preset mileage; Obtain the second preset mileage deviation value; Determine whether the second mileage deviation value is less than the second preset mileage deviation value; If so, obtain the vehicle speed adjustment information; If not, continue with the second step of adjusting the vehicle road spectrum and obtaining the second real-time mileage.
7. The vehicle road spectrum simulation control method according to claim 6, characterized in that, Obtaining vehicle speed adjustment information includes: Restore the vehicle speed under the preset vehicle road spectrum.
8. A simulation control device for a vehicle road spectrum, characterized in that, The vehicle roadmap simulation control device executes the vehicle roadmap simulation control method according to any one of claims 1-7, wherein the vehicle roadmap simulation control device comprises: The preset vehicle road spectrum acquisition module is used to acquire preset vehicle road spectra. The first real-time mileage acquisition module is used to run the preset vehicle road map and acquire the first real-time mileage. The preset mileage acquisition module is used to acquire preset mileage. The first adjusted vehicle road spectrum acquisition module is used to acquire the first adjusted vehicle road spectrum based on the first real-time mileage and the preset mileage. The real-time slope acquisition module is used to run the first adjusted vehicle road spectrum and acquire the real-time slope. The preset slope acquisition module is used to acquire the preset slope. The second vehicle road spectrum acquisition module is used to acquire the second vehicle road spectrum based on the real-time slope and the preset slope. The second real-time mileage acquisition module is used to run the second adjusted vehicle road spectrum and acquire the second real-time mileage; The vehicle speed adjustment information acquisition module is used to acquire vehicle speed adjustment information based on the second real-time mileage and the preset mileage; The whole vehicle road spectrum simulation module completes the whole vehicle road spectrum simulation based on the vehicle speed adjustment information.
9. An electronic device, characterized in that, The electronic device includes: 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, the computer program being executed by the at least one processor to enable the at least one processor to perform the simulation control method for the whole vehicle road spectrum according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the simulation control method for the whole vehicle road spectrum as described in any one of claims 1-7.
Citation Information
Patent Citations
Mountain road simulating test method and device for vehicle
CN104849065A
Slope acquisition system and method and vehicle
CN112557059A