Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, an object of the present invention is to provide a vehicle speed display method, which recalculates an instrument display vehicle speed calculation value in a form of negative feedback operation when there is a jump value in the instrument display vehicle speed value, so as to keep the instrument display vehicle speed value consistent with a cruise vehicle speed value, thereby avoiding the problem that there is a jump value in the vehicle speed displayed on the instrument.
Another object of the present invention is to provide a vehicle speed display system.
A third object of the present invention is to provide a vehicle.
In order to solve the problems, an embodiment of the first aspect of the invention provides a vehicle speed display method, which comprises the steps of obtaining a cruising vehicle speed, obtaining an actual vehicle speed value, obtaining an instrument display vehicle speed calculated value according to the actual vehicle speed value, determining that a jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value, carrying out negative feedback operation according to the instrument display vehicle speed calculated value and the cruising vehicle speed value until no jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value, taking a final instrument display vehicle speed calculated value as a target instrument display vehicle speed calculated value, and displaying a vehicle speed according to the target instrument display vehicle speed calculated value.
According to the vehicle speed display method provided by the embodiment of the invention, when the jump value exists between the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value, the calculated value of the vehicle speed displayed by the instrument is recalculated in a negative feedback mode, so that the error between the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value is reduced, the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value are ensured to be consistent, the problem of jump value on the combined instrument is avoided, and the application experience of a cruising mode is improved.
In some embodiments, the method comprises the steps of performing negative feedback operation according to the meter display vehicle speed calculated value and the cruise vehicle speed value until no jump value exists between the meter display vehicle speed calculated value and the cruise vehicle speed value, taking the final meter display vehicle speed calculated value as a target meter display vehicle speed calculated value, calculating a vehicle speed difference value between the meter display vehicle speed calculated value and the cruise vehicle speed value, adjusting a current driving torque value according to the vehicle speed difference value to obtain a new actual vehicle speed value, obtaining a new meter display vehicle speed calculated value according to the new actual vehicle speed value, determining that no jump value exists between the new meter display vehicle speed calculated value and the cruise vehicle speed value, and taking the new meter display vehicle speed calculated value as the target meter display vehicle speed calculated value.
In some embodiments, the second calculating step adjusts the driving torque value according to the vehicle speed difference value and obtains a new actual vehicle speed value, and the second calculating step comprises PID operation on the current driving torque value according to the vehicle speed difference value and obtains the new actual vehicle speed value according to a PID operation result value.
In some embodiments, the method further comprises determining that there is still a jump between the new meter display vehicle speed calculation value and the cruise vehicle speed value, repeating the first, second and third calculation steps with the new meter display vehicle speed calculation value as a feedback value, and cycling in sequence until there is no jump between the new meter display vehicle speed calculation value and the cruise vehicle speed value, and taking the final new meter display vehicle speed calculation value as the target meter display vehicle speed calculation value.
In some embodiments, determining that a jump exists between the meter display vehicle speed calculated value and the cruise vehicle speed value comprises rounding the cruise vehicle speed value to obtain a first rounding vehicle speed value, rounding the meter display vehicle speed calculated value to obtain a second rounding vehicle speed value, determining that no jump exists between the meter display vehicle speed calculated value and the cruise vehicle speed value if the first rounding vehicle speed value is equal to the second rounding vehicle speed value, and determining that a jump exists between the meter display vehicle speed calculated value and the cruise vehicle speed value if the first rounding vehicle speed value is not equal to the second rounding vehicle speed value.
The embodiment of the second aspect of the invention provides a vehicle speed display system, which comprises an electronic control unit and a combination instrument, wherein the electronic control unit is used for acquiring a cruising vehicle speed, acquiring an actual vehicle speed value, acquiring an instrument display vehicle speed calculated value according to the actual vehicle speed value, and carrying out negative feedback operation according to the instrument display vehicle speed calculated value and the cruising vehicle speed value when a jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value until no jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value, and taking the final instrument display vehicle speed calculated value as a target instrument display vehicle speed calculated value, wherein the combination instrument is used for displaying the vehicle speed according to the target instrument display vehicle speed calculated value.
According to the vehicle speed display system provided by the embodiment of the invention, when the electronic control unit determines that the jump value exists between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value, the calculated value of the vehicle speed displayed by the meter is recalculated in a negative feedback mode, so that the error between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value is reduced, the consistency between the calculated value of the vehicle speed displayed by the meter displayed by the combined meter and the cruising vehicle speed value is ensured, the problem that the jump value exists in the displayed vehicle speed value is avoided, and the use experience of a cruising mode is improved.
In some embodiments, the electronic control unit comprises a first calculating subunit for calculating a vehicle speed difference between the meter display vehicle speed calculated value and the cruise vehicle speed value, a second calculating subunit for adjusting a current driving torque value according to the vehicle speed difference to obtain a new actual vehicle speed value, a third calculating subunit for obtaining a new meter display vehicle speed calculated value according to the new actual vehicle speed value, and a comparing subunit for taking the new meter display vehicle speed calculated value as the target meter display vehicle speed calculated value when no jump value exists between the new meter display vehicle speed calculated value and the cruise vehicle speed value.
In some embodiments, the second calculating subunit is a PID subunit, and the PID subunit is configured to perform PID operation on the current driving torque value according to the vehicle speed difference value, and obtain the new actual vehicle speed value according to a PID operation result value.
In some embodiments, the comparing subunit is further configured to, when it is determined that there is still a jump value between the new meter display vehicle speed calculated value and the cruise vehicle speed value, feed back the new meter display vehicle speed calculated value to the first calculating subunit, and perform operations by the first calculating subunit, the second calculating subunit, and the third calculating subunit, and loop sequentially until the comparing subunit determines that there is no jump value between the new meter display vehicle speed calculated value and the cruise vehicle speed value, and take the final new meter display vehicle speed calculated value as the target meter display vehicle speed calculated value.
An embodiment of a third aspect of the present invention provides a vehicle, including the vehicle speed display system described in the above embodiment.
According to the vehicle provided by the embodiment of the invention, the problem that the vehicle speed value displayed on the combination meter jumps can be avoided by adopting the vehicle speed display system provided by the embodiment of the invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Embodiments of the present invention will be described in detail below, by way of example with reference to the accompanying drawings.
In order to solve the above problems, an embodiment of a first aspect of the present invention provides a vehicle speed display method, which recalculates an instrument display vehicle speed calculation value in a form of negative feedback operation when there is a jump in the instrument display vehicle speed value, so as to keep the instrument display vehicle speed value consistent with a cruise vehicle speed value, thereby avoiding the problem that there is a jump in the vehicle speed displayed on the instrument.
The following describes a vehicle speed display method according to an embodiment of the present invention with reference to fig. 1, and as shown in fig. 1, the method at least includes steps S1 to S5.
And S1, acquiring the cruising speed.
Specifically, the user can start the cruise mode through the central control of the vehicle and set the cruise vehicle speed, and the electronic control unit of the vehicle acquires the set cruise vehicle speed and displays the cruise vehicle speed through the meter of the vehicle.
And S2, acquiring an actual vehicle speed value, and acquiring an instrument display vehicle speed calculated value according to the actual vehicle speed value.
The actual vehicle speed value is the running vehicle speed in the using process of the vehicle.
In an embodiment, the actual vehicle speed value of the vehicle may be monitored in real time by a vehicle speed sensor and the monitored data is sent to an electronic control unit of the vehicle.
The vehicle speed calculated value displayed by the instrument is a vehicle speed value which is obtained through an algorithm and is used for being displayed on the vehicle combination instrument.
In an embodiment, the vehicle speed value displayed by the instrument according to the national automobile speedometer specification cannot be lower than the actual vehicle speed value. Therefore, the electronic control unit presets a specific program and after receiving the signal output by the vehicle speed sensor, the electronic control unit performs algorithm calculation on the actual vehicle speed value according to the specific program to obtain the meter display vehicle speed calculated value.
And step S3, determining that a jump value exists between the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value.
In the embodiment, the vehicle speed value displayed on the combined instrument after being processed by the algorithm preset in the electronic control unit is consistent with the cruising vehicle speed value, but the problem that the vehicle speed value displayed on the combined instrument is inconsistent with the actual vehicle speed value due to the algorithm exists, namely the jump value exists in the vehicle speed value displayed on the combined instrument. Therefore, when determining that the jump value exists between the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value, the embodiment of the invention does not directly display the calculated value of the vehicle speed displayed by the instrument on the combined instrument, but determines the value of the vehicle speed displayed on the final combined instrument through the following steps S4-S5 so as to avoid the problem that the jump value occurs in the vehicle speed displayed by the instrument.
Specifically, if the calculated value of the meter display vehicle speed after the algorithm processing such as rounding operation is equal to the cruising vehicle speed value, or if the difference value of the calculated value of the meter display vehicle speed and the cruising vehicle speed value is smaller than a preset threshold value in a tolerance range, determining that no jump value exists between the calculated value of the meter display vehicle speed and the cruising vehicle speed value, otherwise, if the calculated value of the meter display vehicle speed after the algorithm processing is not equal to the cruising vehicle speed value, or if the difference value of the calculated value of the meter display vehicle speed and the cruising vehicle speed value is not in the tolerance range such as the difference value of the calculated value of the meter display vehicle speed and the cruising vehicle speed value is larger than the preset threshold value, determining that the jump value exists between the calculated value of the meter display vehicle speed and the cruising vehicle speed value.
For example, taking the preset threshold value as 0.9 as an example, if the cruising speed value is 50, the calculated value of the meter display speed is 50.4, the difference between the cruising speed value and the calculated value of the meter display speed is 0.4, the difference is smaller than the preset threshold value, and the actual display time is 50, so that no jump value exists between the calculated value of the meter display speed and the cruising speed value, if the cruising speed value is 50, the calculated value of the meter display speed is 51, the difference between the calculated value of the cruising speed value and the calculated value of the meter display speed is 1, and the difference is larger than the preset threshold value, so that the jump value exists between the calculated value of the meter display speed and the calculated value of the cruising speed, and therefore, the jump value of the vehicle speed value displayed on the combination meter is indicated.
And S4, performing negative feedback operation according to the meter display vehicle speed calculated value and the cruising vehicle speed value until no jump value exists between the meter display vehicle speed calculated value and the cruising vehicle speed value, and taking the final meter display vehicle speed calculated value as a target meter display vehicle speed calculated value.
The target meter displaying the vehicle speed calculated value can be understood as a vehicle speed value finally displayed for a user on the combination meter of the vehicle.
In the embodiment, after determining that the jump value exists in the vehicle speed displayed on the combination meter, the calculated value of the vehicle speed displayed on the meter is recalculated in a negative feedback mode, namely, the calculated value of the vehicle speed displayed on the meter and the circulating vehicle speed value are taken as input values, and negative feedback operation is carried out, so that the error between the calculated value of the vehicle speed displayed on the meter and the cruising vehicle speed value is adjusted, the calculated value of the vehicle speed displayed on the combination meter is gradually made to approach the cruising vehicle speed value, the calculated value of the vehicle speed displayed on the combination meter and the cruising vehicle speed value are kept consistent, and the calculated value of the vehicle speed displayed on the target meter is obtained, so that the problem that the jump value exists in the vehicle speed displayed on the meter is avoided.
Specifically, the calculated value of the vehicle speed displayed by the instrument and the value of the vehicle speed cruiser are used as input values of negative feedback, so that the error between the calculated value of the vehicle speed displayed by the instrument and the value of the vehicle speed cruiser, which is output after the operation of negative feedback, is gradually reduced until the calculated value of the vehicle speed displayed by the instrument and the value of the vehicle speed cruiser, which are received by the combination instrument, are consistent or the difference value is within a tolerance range, no jump value exists between the vehicle speed value of the corresponding actual vehicle speed displayed by the combination instrument and the value of the vehicle speed cruiser, and the calculated value of the vehicle speed displayed by the instrument, which is output at this time, is used as the calculated value of the vehicle speed displayed by the target instrument, which is finally obtained.
And S5, displaying the vehicle speed according to the calculated value of the vehicle speed displayed by the target instrument.
In an embodiment, the electronic control unit transmits the obtained target meter display vehicle speed calculated value to the combination meter, and the combination meter can display the target meter display vehicle speed calculated value and the cruise vehicle speed value at corresponding positions in a digital or pointer mode, and the display values of the target meter display vehicle speed calculated value and the cruise vehicle speed value are the same.
According to the vehicle speed display method provided by the embodiment of the invention, when the jump value exists between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value, the vehicle speed is not directly displayed according to the calculated value of the vehicle speed displayed by the meter, but the calculated value of the vehicle speed displayed by the meter is recalculated in a negative feedback mode, so that the error between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value is reduced, the jump value is prevented from existing between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value, and the use experience of a cruising mode is improved.
In some embodiments, the process of performing the negative feedback operation may include a first calculation step of calculating a vehicle speed difference between the meter-displayed vehicle speed calculation value, e.g., denoted Vd, and the cruise vehicle speed value, e.g., denoted V0, e.g., denoted Δv, a second calculation step of adjusting the current drive torque value according to the vehicle speed difference Δv to obtain a new actual vehicle speed value, e.g., denoted Va, and a third calculation step of obtaining a new meter-displayed vehicle speed calculation value according to the new actual vehicle speed value Va. And if no jump value exists between the new meter display vehicle speed calculated value and the cruising vehicle speed value, taking the new meter display vehicle speed calculated value as a target meter display vehicle speed calculated value, and displaying the vehicle speed on the combination meter according to the target meter display vehicle speed calculated value. Otherwise, if it is determined that the jump value still exists between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value, the new calculated value Vd of the vehicle speed displayed by the meter is used as a feedback value, and the difference value between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value is adjusted in a negative feedback mode, so that the jump value does not exist between the calculated value of the vehicle speed displayed by the final combination meter, namely the calculated value of the vehicle speed displayed by the target meter and the cruising vehicle speed value, and the problem of jump value of the vehicle speed value displayed by the combination meter is avoided.
In some embodiments, a PID (Proportion INTEGRAL DIFFERENTIAL, proportional-integral-derivative algorithm) operation may be performed on the current driving torque value according to the vehicle speed difference Δv, and a new actual vehicle speed value Va may be obtained according to the PID operation result value, for example, denoted as T, and a new meter display vehicle speed calculation value may be obtained according to the actual vehicle speed value. In some embodiments, if there is a jump between the new meter display vehicle speed calculated value and the cruise vehicle speed value V0, the new meter display vehicle speed calculated value is used as the feedback value again, that is, the input value of the negative feedback operation, and the first calculation step, the second calculation step and the third calculation step are repeated to circulate in sequence until there is no jump between the new meter display vehicle speed calculated value and the circulation vehicle speed value, and the final new meter display vehicle speed calculated value is used as the target meter display vehicle speed calculated value to display on the combination meter. That is, in the process of the negative feedback operation, if there is a jump value between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed value received by the combination meter, the calculated value Vd of the vehicle speed displayed by the meter and the cruising vehicle speed value V0 after each time of the negative feedback operation are used as input values of the negative feedback operation, so as to gradually reduce the error until the vehicle speed value displayed on the final combination meter, that is, the calculated value of the vehicle speed displayed by the target meter is consistent with the cruising vehicle speed value, thereby solving the problem that the jump value exists in the vehicle speed value displayed on the combination meter.
The PID operation belongs to closed-loop control, and correction is carried out according to the quota or standard when the vehicle speed calculated value displayed by the instrument deviates from the cruising vehicle speed value. The PID operation can effectively correct the deviation of the calculated value of the vehicle speed displayed by the meter by combining the proportional, integral and differential algorithms, so that no jump value exists between the calculated value of the vehicle speed displayed by the meter and the cruising vehicle speed.
Specifically, the proportional operation in the PID operation may reflect the deviation signal of the control system in proportion, and the meter displays that the vehicle speed calculated value and the cruising vehicle speed are once deviated, and immediately generates the suppressing action to reduce the deviation, the output of the proportional operation is proportional to the input deviation, and the deviation can be reflected promptly, thereby reducing the deviation, but the static difference cannot be eliminated. The integral operation in the PID operation is mainly used for eliminating the no-difference degree of the static difference improving system, wherein the existence of the integral control function is related to the existence time of the deviation, and as long as the jump value exists between the calculated vehicle speed value displayed by the instrument and the cruising vehicle speed value, the integral link continuously acts to integrate the vehicle speed difference value between the calculated vehicle speed value displayed by the instrument and the cruising vehicle speed value, so that the output opening degree continuously changes, and the inhibition function is generated for reducing the vehicle speed difference value between the calculated vehicle speed value and the cruising vehicle speed value. The differential operation in PID operation can reflect the variation trend of the vehicle speed difference value, and can introduce an effective early correction signal into the system before the vehicle speed difference value becomes too large, thereby accelerating the action speed of the system and reducing the adjustment time. Therefore, the deviation between the calculated vehicle speed value displayed by the instrument and the cruising vehicle speed can be within the tolerance range through PID operation, so that the two speed values displayed by the combination instrument can be consistent, namely no jump value exists between the two speed values, and the cruising mode use experience is improved.
For example, fig. 2 is a schematic diagram of a process of a negative feedback operation, in which when it is determined that there is a jump between the calculated value Vd of the vehicle display vehicle speed and the value V0 of the cruise vehicle speed, the calculated value Vd of the vehicle display vehicle speed and the value V0 of the cruise vehicle speed are used as input values of the negative feedback operation, a vehicle speed difference Δv between the calculated value Vd of the vehicle display vehicle speed and the value V0 of the cruise vehicle speed is calculated, and further, based on a PID control algorithm, the driving torque value of the engine or the motor is PID-adjusted according to the vehicle speed difference Δv, so as to obtain a new actual vehicle speed value Va by the adjusted driving torque value T, and the new actual vehicle speed value Va is converted by the algorithm to obtain a new calculated value of the vehicle display vehicle speed, if there is no jump between the calculated value Vd of the vehicle display vehicle speed and the value V0 of the cruise vehicle speed, the new calculated value of the vehicle display vehicle speed is the target calculated value of the vehicle speed, and the new calculated value of the vehicle speed after the negative feedback operation is not consistent with the value V0 of the cruise vehicle speed, and the new calculated value of the vehicle speed is fed back again, and the new calculated value is compared with the calculated value of the vehicle speed after the negative feedback operation. Therefore, through negative feedback operation, the calculated value of the vehicle speed displayed by the instrument is recalculated according to the information fed back each time, so that no jump value exists between the vehicle speed value displayed on the combination instrument and the cruising vehicle speed value, and the situation that the jump value problem affects the use experience of the cruising mode is avoided.
In some embodiments, the method comprises the steps of rounding a cruise vehicle speed value to obtain a first rounding vehicle speed value by referring to a principle of combining a vehicle speed display of an instrument, rounding a vehicle speed display vehicle speed calculation value of the instrument to obtain a second rounding vehicle speed value, determining that no jump value exists between the vehicle speed display vehicle speed calculation value of the instrument and the cruise vehicle speed value if the first rounding vehicle speed value is equal to the second rounding vehicle speed value, determining that a jump value exists between the vehicle speed display vehicle speed calculation value of the instrument and the cruise vehicle speed value if the first rounding vehicle speed value is unequal to the second rounding vehicle speed value, and performing negative feedback on the vehicle speed display vehicle speed calculation value of the instrument by referring to the embodiment so as to solve the jump value problem.
The rounding operation includes the operation modes of discarding decimal rounding, rounding or rounding. Taking the case of discarding the decimal rounding as an example, if the cruising speed value is 50.1 and the meter display speed calculated value is 50.8, after rounding operation, the first rounding speed value is 50 and the second rounding speed value is 50, namely, the first rounding speed value is equal to the second rounding speed value, so that the meter display speed calculated value is determined to be consistent with the cruising speed value, in this case, the meter display speed calculated value and the cruising speed value are correspondingly displayed on the combined meter, if the actual speed value is 50.5 and the meter display speed calculated value is 51.2, after rounding operation, the first rounding speed value is 50 and the second rounding speed value is 51, namely, the first rounding speed value is unequal to the second rounding speed value, so that a jump value exists between the meter display speed calculated value and the cruising speed value, in this case, the jump value is not directly displayed on the combined meter, but the jump value is solved through a negative feedback operation mode, and in this case that the first rounding speed value is equal to the second rounding speed value, the current meter display speed calculated value is avoided according to the current meter display speed value.
The following describes an example of a vehicle speed display method according to an embodiment of the present invention with reference to fig. 3, and the specific steps are as follows.
And S7, acquiring an actual vehicle speed value.
And S8, transmitting the actual vehicle speed value to the combination instrument.
And S9, obtaining an instrument display vehicle speed calculated value by the combined instrument from the actual vehicle speed value through algorithm calculation.
And step S10, judging whether a jump value exists according to the calculated value of the vehicle speed displayed by the instrument and the cruising vehicle speed value. If yes, executing step S11, and if no, displaying the current meter display vehicle speed calculated value by the combined meter.
And S11, carrying out negative feedback operation by taking the calculated vehicle speed value and the cruising vehicle speed value displayed by the instrument as input quantities.
Therefore, according to the vehicle speed display method of the embodiment of the invention, when the vehicle speed value displayed on the combination meter has the problem of jump value, for example, when the vehicle speed displayed on the meter has jump value at the moment of entering and exiting the cruise control, the deviation between the calculated value of the vehicle speed displayed on the meter and the value of the vehicle speed displayed on the meter can be adjusted in a negative feedback mode through the steps, so that the cruise vehicle speed value and the vehicle speed displayed on the meter are ensured to be consistent, and the problem of jump value is effectively avoided.
In addition, when the vehicle is in cruise control, the cruise speed value and the calculated value of the vehicle speed displayed by the instrument are used as input values of negative feedback operation, and the driving moment of the engine/motor is regulated by the PID control algorithm, so that the actual vehicle speed of the whole vehicle is controlled, and the problem that the cruise speed value is inconsistent with the actual vehicle speed value can be solved.
The second aspect of the present invention provides a vehicle speed display system, as shown in fig. 4, the vehicle speed display system 10 includes an electronic control unit 1 and a combination meter 2.
The electronic control unit 1 is used for acquiring a cruising vehicle speed, acquiring an actual vehicle speed value, acquiring an instrument display vehicle speed calculated value according to the actual vehicle speed value, performing negative feedback operation according to the instrument display vehicle speed calculated value and the cruising vehicle speed value when a jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value until no jump value exists between the instrument display vehicle speed calculated value and the cruising vehicle speed value, taking the final instrument display vehicle speed calculated value as a target instrument display vehicle speed calculated value, and the combined instrument 2 is used for displaying the vehicle speed according to the target instrument display vehicle speed calculated value.
It should be noted that, the specific implementation manner of the vehicle speed display system 10 according to the embodiment of the present invention is similar to the specific implementation manner of the vehicle speed display method according to any of the above embodiments of the present invention, and please refer to the description of the method section specifically, and in order to reduce redundancy, the description is omitted here.
According to the vehicle speed display system 10 of the embodiment of the invention, when the electronic control unit 1 determines that the jump value exists between the calculated value of the vehicle speed of the meter display and the cruising vehicle speed value, the calculated value of the vehicle speed of the meter display is recalculated in a negative feedback mode, so that the error between the calculated value of the vehicle speed of the meter display and the cruising vehicle speed value is reduced, the consistency between the vehicle speed value of the meter display and the cruising vehicle speed value displayed on the combined meter 2 is ensured, the problem that the jump value exists in the displayed vehicle speed value is avoided, and the use experience of the cruising mode is improved.
In some embodiments, as shown in fig. 3, the electronic control unit 1 comprises a first computing subunit 11, a second computing subunit 12, a third computing subunit 13, and a comparing subunit 14.
Wherein the first calculation subunit 11 is used for calculating a vehicle speed difference value between the vehicle speed calculated by the meter display and the cruising vehicle speed value, the second calculation subunit 12 is used for adjusting the current driving torque value according to the vehicle speed difference value to obtain a new actual vehicle speed value, the third calculation subunit 13 is used for obtaining the new vehicle speed calculated by the meter display according to the new actual vehicle speed value, and the comparison subunit 14 is used for taking the new vehicle speed calculated by the meter display as a target vehicle speed calculated by the meter display when no jump value exists between the new vehicle speed calculated by the meter display and the cruising vehicle speed value.
In some embodiments, the second calculating subunit 12 is a PID subunit, and the PID subunit is configured to perform PID operation on the current driving torque value according to the vehicle speed difference value, and obtain a new actual vehicle speed value according to the PID operation result value.
In some embodiments, when the comparing subunit 14 is further configured to, when it is determined that there is still a jump value between the new meter display vehicle speed calculated value and the cruise vehicle speed value, feed back the new meter display vehicle speed calculated value to the first calculating subunit 11, and perform operations by the first calculating subunit 11, the second calculating subunit 12, and the third calculating subunit 13, and loop sequentially until the comparing subunit 14 determines that there is no jump value between the new meter display vehicle speed calculated value and the cruise vehicle speed value, and take the final new meter display vehicle speed calculated value as the target meter display vehicle speed calculated value.
An embodiment of a third aspect of the present invention provides a vehicle, as shown in fig. 5, the vehicle 20 including the vehicle speed display system 10 provided in the above embodiment.
According to the vehicle 20 of the embodiment of the present invention, by adopting the vehicle speed display system 10 provided in the above embodiment, the problem that the vehicle speed value displayed on the combination meter has a jump value can be avoided.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.