Vehicle speed display method, device, electronic device and storage medium

By detecting the vehicle's offline status and using historical displayed speed and distance information to calculate the current displayed speed, the problem of inaccurate speed display caused by CAN signal loss is solved, ensuring accurate display on the head-up display and improving driving safety.

CN115122914BActive Publication Date: 2025-09-09ZEJING (XIAN) AUTOMOTIVE ELECTRONICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210824783.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-13
Publication Date
2025-09-09
Estimated Expiration
2042-07-13

AI Technical Summary

Technical Problem

In the event of a CAN signal loss, the head-up display cannot display the vehicle speed normally, resulting in a huge safety hazard when driving at high speeds.

Method used

By detecting whether the vehicle is in an offline speed state, if it is in an offline state, the historical displayed speed and distance information are obtained to calculate the current displayed speed; if it is not in an offline state, the current instrument speed and historical distance information are obtained to calculate the current displayed speed, and the calculated speed is displayed on the head-up display.

Benefits of technology

In the event of CAN signal loss, the accurate vehicle speed can be displayed normally on the head-up display, improving the accuracy of the vehicle speed and ensuring driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115122914B_ABST
    Figure CN115122914B_ABST
Patent Text Reader

Abstract

The present application discloses a vehicle speed display method, device, electronic device, and storage medium, relating to the field of computer technology. The method comprises: detecting whether the vehicle is in an offline speed state at the current moment; if the vehicle is in an offline speed state, obtaining historical displayed vehicle speed and historical distance information, and determining the current displayed vehicle speed based on the historical displayed vehicle speed and historical distance information; if the vehicle is not in an offline speed state, obtaining the current instrument speed and historical distance information, and determining the current displayed vehicle speed based on the current instrument speed and historical distance information; and displaying the current displayed vehicle speed on a head-up display. The technical solution provided by the present application can display the correct vehicle speed on a head-up display normally even when the CAN signal is lost, thereby improving the accuracy of the vehicle speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a vehicle speed display method, device, electronic device, and storage medium. Background Art

[0002] In recent years, head-up display (HUD) technology has been gradually adopted in automobiles. Displaying vehicle speed on a HUD is a crucial and essential feature, and its role in improving driving safety has been recognized by both the industry and users. However, due to limitations in the technical capabilities of automotive suppliers' electronic controllers and the driving environment, CAN signals are inevitably lost during operation, resulting in incorrect speed display. This poses a significant safety hazard, especially at high speeds. Therefore, how to properly display vehicle speed when the HUD cannot obtain a speed signal has become a pressing issue. Summary of the Invention

[0003] The present application provides a vehicle speed display method, device, electronic device and storage medium, which can normally display the accurate vehicle speed on a head-up display when the CAN signal is lost, thereby improving the accuracy of the vehicle speed.

[0004] In a first aspect, the present application provides a vehicle speed display method, which can be applied to a head-up display, comprising:

[0005] Detect whether the vehicle is in the speed offline state at the current moment;

[0006] If the vehicle speed is in an offline state, obtaining historical displayed vehicle speed and historical distance information, and determining the current displayed vehicle speed based on the historical displayed vehicle speed and the historical distance information;

[0007] If the vehicle speed is not in an offline state, obtaining the current instrument speed and historical distance information, and determining the current displayed vehicle speed based on the current instrument speed and the historical distance information;

[0008] The vehicle speed at the current moment is displayed on the head-up display.

[0009] The vehicle speed display method provided in an embodiment of the present application detects whether the vehicle is in an offline speed state at the current moment; if so, obtains historical displayed vehicle speed and historical distance information, and determines the current displayed vehicle speed based on the historical displayed vehicle speed and historical distance information; if not, obtains the current instrument speed and historical distance information, and determines the current displayed vehicle speed based on the current instrument speed and historical distance information; and displays the current displayed vehicle speed on a head-up display. This application can display the correct vehicle speed on a head-up display even when the CAN signal is lost, thereby improving vehicle speed accuracy.

[0010] Furthermore, the determining the current displayed vehicle speed based on the historical displayed vehicle speed and the historical distance information includes:

[0011] determining a first acceleration at a last moment based on the historically displayed vehicle speed, wherein the last moment is a moment corresponding to the last displayed vehicle speed in the historically displayed vehicle speed;

[0012] Determining, based on the historical distance information, the average speed at the last moment, the second acceleration at the last moment, the average speed at the moment before the current moment, and the third acceleration at the moment before the current moment;

[0013] Calculating a vehicle speed deviation based on a displayed vehicle speed at a last moment in the historical displayed vehicle speeds and an average speed at the last moment, and calculating an acceleration deviation based on the first acceleration and the second acceleration;

[0014] The displayed vehicle speed at the current moment is determined based on the vehicle speed deviation, the acceleration deviation, the average speed at a previous moment before the current moment, and the third acceleration.

[0015] Furthermore, based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration, the displayed vehicle speed at the current moment is determined by the following formula:

[0016] V show =(V avg上1 +ΔV)+(a3+Δa)*T

[0017] Where V show V represents the vehicle speed displayed at the current moment; avg上1 represents the average speed at the previous moment before the current moment; ΔV represents the vehicle speed deviation; a3 represents the third acceleration at the previous moment before the current moment; Δa represents the acceleration deviation; T represents the time interval between the previous moment and the current moment.

[0018] Furthermore, before determining the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the third acceleration, the method further includes:

[0019] Obtaining a correlation record table between the displayed vehicle speed, the vehicle speed deviation, and the acceleration deviation, wherein the correlation record table records the displayed vehicle speed, the vehicle speed deviation, and the acceleration deviation at each moment;

[0020] A calibration factor is determined based on the association record table, and the vehicle speed deviation and the acceleration deviation are respectively calibrated based on the calibration factor to obtain a calibrated vehicle speed deviation and a calibrated acceleration deviation.

[0021] Furthermore, the vehicle is detected to be in a speed offline state at the current moment by the following methods, including:

[0022] receiving the instrument vehicle speed sent by the instrument of the vehicle;

[0023] If the instrument speed is an invalid value, the vehicle is in a speed offline state.

[0024] Furthermore, the vehicle is detected to be in a speed offline state at the current moment by the following methods, including:

[0025] If the vehicle speed meter sent by the vehicle meter is not received within a continuous preset period, the vehicle is in a speed offline state.

[0026] Furthermore, the determining of the displayed vehicle speed at the current moment based on the current instrument vehicle speed and the historical distance information includes:

[0027] Determining the average speed at the current moment based on the historical distance information;

[0028] If the difference between the current instrument speed and the current average speed is within a preset range, the current instrument speed is used as the current displayed speed.

[0029] In a second aspect, the present application provides a vehicle speed display device that can be integrated into a head-up display, the device comprising:

[0030] A state determination module is used to detect whether the vehicle is in a speed offline state at the current moment;

[0031] a first determining module, configured to obtain historical displayed vehicle speed and historical distance information if the vehicle is in an offline speed state, and determine the current displayed vehicle speed based on the historical displayed vehicle speed and the historical distance information;

[0032] a second determining module, configured to obtain the current instrument vehicle speed and historical distance information if the vehicle speed is not in an offline state, and determine the current displayed vehicle speed based on the current instrument vehicle speed and the historical distance information;

[0033] The vehicle speed display module is used to display the vehicle speed at the current moment on the head-up display.

[0034] In a third aspect, the present application provides an electronic device, comprising:

[0035] at least one processor; and

[0036] a memory communicatively connected to the at least one processor; wherein,

[0037] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle speed display method described in any embodiment of the present application.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle speed display method described in any embodiment of the present application when executed.

[0039] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the vehicle speed display device or separately from the processor of the vehicle speed display device, and this application does not limit this.

[0040] The description of the second, third and fourth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third and fourth aspects can refer to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0041] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 A schematic diagram of a first flow chart of a vehicle speed display method provided in an embodiment of the present application;

[0044] Figure 2 A second flow chart of a vehicle speed display method provided in an embodiment of the present application;

[0045] Figure 3 A schematic structural diagram of a vehicle speed display device provided in an embodiment of the present application;

[0046] Figure 4 This is a block diagram of an electronic device used to implement a vehicle speed display method according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0048] It should be noted that the terms "first", "second", "target" and "original" in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0049] Before introducing the embodiments of the present application, a brief introduction to the head-up display is first given. The head-up display mainly includes an image generator, a controller and an image display component. Among them, the image generator is used to convert the image digital signal into light carrying image information. The image generator can be an optical machine made using digital light processing technology (Digital Light Processing, DLP) or silicon-based liquid crystal technology (Liquid Crystal On Silicon, LCOS), including a lighting component and a projection component, and the projection component can be a micro-projection lens. The controller is used to implement functions such as adjusting the position of the reflective mirror surface. The image display component is used for reflective projection of the virtual image. The image display component will be different depending on the application scenario of the head-up display. When the application scenario of the head-up display is to show movies in a theater, the image display component is a projection screen or a display screen; when the application scenario of the head-up display is to display driving information on the windshield of a vehicle, the image display component is the windshield of the vehicle.

[0050] Figure 1 This is a schematic diagram of the first flow chart of a vehicle speed display method provided in an embodiment of the present application. This embodiment is applicable to situations where the vehicle speed is determined based on whether the vehicle is in an offline speed state and displayed on a head-up display. The vehicle speed display method provided in this embodiment can be performed by a vehicle speed display device provided in an embodiment of the present application. This device can be implemented in software and / or hardware and integrated into an electronic device that performs this method. Preferably, the electronic device in this embodiment of the present application can be a head-up display.

[0051] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:

[0052] S110: Detect whether the vehicle is in a speed offline state at the current moment.

[0053] In an embodiment of the present application, a head-up display is communicated with a vehicle instrument to obtain the status value of each required signal from the vehicle instrument in real time, or the vehicle instrument actively sends the status value of each required signal to the head-up display in real time. The head-up display determines the current working condition of the vehicle based on the status value of each required signal, thereby being able to detect in real time whether the vehicle is in an offline state.

[0054] In an optional embodiment, the vehicle's speed meter speedometer can be used to detect whether the vehicle is in a speed offline state. Specifically, the speed meter speedometer is received from the vehicle's instrument panel or obtained from the vehicle's instrument panel; and a determination is made as to whether the obtained speed meter speedometer is an invalid value, such as hexadecimal 0xFFFF. If the speed meter speedometer is an invalid value, indicating that the head-up display cannot obtain the correct speed meter speed, the vehicle is in a speed offline state, and step S120 is executed. If the speed meter speedometer is not an invalid value, indicating that the head-up display can obtain the correct speed meter speed, the vehicle is not in a speed offline state, and step S130 is executed.

[0055] In another optional embodiment, whether the vehicle is in the speed offline state can be detected in the following manner: specifically, the head-up display obtains the instrument speed from the vehicle instrument at a fixed time interval T. If the instrument speed sent by the vehicle instrument is not received within a continuous preset period (for example), the vehicle is in the speed offline state and step S120 is executed. For example, if the preset period is four periods, when the time T for obtaining the instrument speed is timeout When it is equal to 4T, it is judged as timeout, and the vehicle is considered to be in the speed offline state.

[0056] S120: If the vehicle speed is in an offline state, obtain historical displayed vehicle speed and historical distance information, and determine the current displayed vehicle speed based on the historical displayed vehicle speed and historical distance information.

[0057] In an embodiment of the present application, a head-up display (HUD) is configured with a positioning component that acquires historical distance information. The positioning component can be a Global Positioning System (GPS), a Galileo satellite navigation system, Russia's GLONASS system, or a BeiDou satellite navigation system, though this application does not limit this. The HUD includes an image display component that can be used to display the vehicle's speed at any given moment.

[0058] In this embodiment of the present application, when the head-up display cannot obtain the correct instrument speed and the vehicle is in the speed offline state, the head-up display obtains historical distance information from the positioning component and historical displayed speed from the image display component. Then, based on the historical displayed speed and historical distance information, the head-up display determines the current displayed speed, specifically:

[0059] Obtaining the vehicle speed displayed at the last moment and the vehicle speed displayed at the moment before the last moment from the historical displayed vehicle speeds, thereby determining the acceleration at the last moment, wherein the last moment is the moment corresponding to the last displayed vehicle speed in the historical displayed vehicle speeds;

[0060] Obtaining, based on historical distance information, the distance traveled at the last moment and the distance traveled at a moment before the last moment, calculating the average speed at the last moment based on the distance traveled at the last moment, calculating the average speed at a moment before the last moment based on the distance traveled at a moment before the last moment, and calculating the acceleration at the last moment based on the average speed at the last moment and the average speed at a moment before the last moment;

[0061] Obtaining, based on historical distance information, a distance traveled at a moment before the current moment and a distance traveled at a moment before the previous moment, calculating an average speed at a moment before the previous moment based on the distance traveled at the moment before the previous moment, calculating an average speed at a moment before the previous moment based on the distance traveled at a moment before the previous moment, and calculating an acceleration at the moment before the previous moment based on the average speed at the moment before the previous moment and the average speed at a moment before the previous moment;

[0062] Calculating a vehicle speed deviation based on the last displayed vehicle speed in the historical displayed vehicle speed and the average speed at the last moment; calculating an acceleration deviation based on the last acceleration determined based on the historical displayed vehicle speed and the last acceleration determined based on the historical distance information;

[0063] The displayed vehicle speed at the current moment is determined based on the vehicle speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the acceleration at the last moment before the current moment.

[0064] In a specific embodiment, when the last moment before the current moment is not in the vehicle speed offline state, that is, the last moment is the last moment before the current moment, correspondingly, determining the current moment's displayed vehicle speed based on the historical displayed vehicle speed and historical distance information can be simplified as follows:

[0065] Obtain the displayed vehicle speed at the previous moment before the current moment and the displayed vehicle speed at the moment before the previous moment from the historical displayed vehicle speed, thereby determining the acceleration at the previous moment;

[0066] Obtaining, based on historical distance information, the distance traveled at the last moment and the distance traveled at a moment before the last moment, calculating the average speed at the last moment based on the distance traveled at the last moment, calculating the average speed at a moment before the last moment based on the distance traveled at a moment before the last moment, and calculating the acceleration at the last moment based on the average speed at the last moment and the average speed at a moment before the last moment;

[0067] Calculating a vehicle speed deviation based on the displayed vehicle speed at the last moment in the historical displayed vehicle speed and the average speed at the last moment; calculating an acceleration deviation based on the acceleration at the last moment determined based on the historical displayed vehicle speed and the acceleration at the last moment determined based on the historical distance information;

[0068] The displayed vehicle speed at the current moment is determined based on the vehicle speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the acceleration at the last moment before the current moment.

[0069] S130: If the vehicle speed is not in an offline state, obtain the current instrument vehicle speed and historical distance information, and determine the current displayed vehicle speed based on the current instrument vehicle speed and historical distance information.

[0070] In an embodiment of the present application, when the head-up display can obtain the correct instrument speed and the vehicle is not in the speed offline state, the head-up display obtains the current displayed speed from the image display component and obtains historical distance information from the positioning component.

[0071] In a specific embodiment, the displayed vehicle speed at the current moment is determined based on the current instrument speed and historical distance information, including: obtaining the distance value traveled at the current moment based on the historical distance information, and calculating the average speed at the current moment based on the distance value; if the difference between the current instrument speed and the current average speed is within a preset range (such as ±2 meters per second), the current instrument speed is used as the displayed vehicle speed at the current moment.

[0072] Optionally, if the difference between the current instrument speed and the current average speed is not within a preset range (such as ±2 meters per second), it may be that there is a defect in the electronic control unit that measures the vehicle speed, resulting in inaccurate instrument speed. Step S120 can be executed to calculate the current displayed vehicle speed.

[0073] S140: Display the current vehicle speed on the head-up display.

[0074] In the embodiment of the present application, after the current displayed vehicle speed is calculated in step S120 or step S130, the head-up display displays the current displayed vehicle speed on the image display component to present it to the driver. The displayed vehicle speed may be displayed on the image display component using current image display technology.

[0075] The technical solution provided by this embodiment detects whether the vehicle is in a speed offline state at the current moment; if so, obtains historical displayed speed and historical distance information, and determines the current displayed speed based on the historical displayed speed and historical distance information; if not, obtains the current instrument speed and historical distance information, and determines the current displayed speed based on the current instrument speed and historical distance information; and displays the current displayed speed on a head-up display. The head-up display of this application detects whether the vehicle is in a speed offline state. If so, the current displayed speed is calculated based on the historical displayed speed and historical distance information, thereby resolving the issue of improper speed display due to CAN signal loss. If not, the accuracy of the instrument speed is determined based on the average speed, thereby improving the accuracy of the speed. The current displayed speed is then displayed on the image display component for presentation to the driver. The technical solution of this application allows the head-up display to display the correct speed even when the CAN signal is lost, thereby improving the accuracy of the speed.

[0076] The vehicle speed display method provided by the embodiment of the present invention is further described below. Figure 2 This is a second flow chart of a vehicle speed display method provided by an embodiment of the present application. The embodiment of the present application is optimized based on the above embodiment, and the specific optimization is as follows: This embodiment provides a detailed explanation of the process of determining the displayed speed. Figure 2 In the embodiment of the present invention, the previous moment before the current moment is also the vehicle speed offline state.

[0077] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:

[0078] S210: When it is detected that the vehicle is in a speed offline state at the current moment, historical display speed and historical distance information are obtained.

[0079] In an embodiment of the present application, when the head-up display detects that it cannot obtain the correct instrument speed from the vehicle instrument, indicating that the vehicle is in a speed offline state, the head-up display obtains historical distance information from the positioning component and obtains historical display speed from the image display component.

[0080] S220: Determine a first acceleration at the last moment based on the historical displayed vehicle speed.

[0081] In the embodiment of the present application, the last moment is the moment corresponding to the last displayed speed in the historical displayed speed; the displayed speed at the last moment (denoted as V) is obtained from the historical displayed speed. show1 ) and the displayed vehicle speed at the moment before the last moment (denoted as V show2), and then use the acceleration formula to calculate the acceleration at the last moment, which is recorded as the first acceleration a1. The acceleration formula is: a1=(V show1 -V show2 ) / T, where T represents the time interval between two moments.

[0082] S230: Determine the average speed at the last moment and the second acceleration at the last moment based on the historical distance information.

[0083] In the embodiment of the present application, first, the distance traveled at the last moment is obtained based on the historical distance information (denoted as ΔS1), and the average speed at the last moment is calculated using the average speed formula according to the distance value, which is recorded as the first average speed V avg1 , the average speed formula is: V avg1 =ΔS1 / T, where T represents the time interval between two moments.

[0084] Then, based on the historical distance information, the distance traveled at the moment before the last moment is obtained (denoted as ΔS2). According to the distance value, the average speed at the moment before the last moment is calculated using the average speed formula, which is recorded as the second average speed V avg2 , the average speed formula is: V avg2 =ΔS2 / T, where T represents the time interval between two moments.

[0085] Finally, based on the first average speed V avg1 and the second average velocity V avg2 The acceleration at the last moment is calculated using the acceleration formula, which is recorded as the second acceleration a2. The acceleration formula is: a2 = (V avg1 -V avg2 ) / T, where T represents the time interval between two moments.

[0086] S240: Calculate a vehicle speed deviation based on the last displayed vehicle speed in the historical displayed vehicle speeds and the average speed at the last moment, and calculate an acceleration deviation based on the first acceleration and the second acceleration.

[0087] In an embodiment of the present application, after calculating the average speed, the first acceleration, and the second acceleration at the last moment, the displayed vehicle speed at the last moment is subtracted from the average speed at the last moment to obtain the vehicle speed deviation, and the first acceleration and the second acceleration are subtracted to obtain the acceleration deviation.

[0088] S250: Determine an average speed at a previous moment before the current moment and a third acceleration at the previous moment based on the historical distance information.

[0089] In the embodiment of the present application, first, the distance traveled at the last moment (denoted as ΔS3) is obtained based on the historical distance information, and the average speed V at the last moment is calculated using the average speed formula according to the distance value. avg上1 , the average speed formula is: V avg上1 =ΔS3 / T, where T represents the time interval between two moments.

[0090] Then, based on the historical distance information, the distance traveled at the moment before the last moment is obtained (denoted as ΔS4), and the average speed formula is used to calculate the average speed V at the moment before the last moment based on the distance value. avg上2 , the average speed formula is: V avg上2 =ΔS4 / T, where T represents the time interval between two moments.

[0091] Finally, based on V avg上1 and V avg上2 The acceleration at the previous moment is calculated using the acceleration formula and recorded as the third acceleration a3. The acceleration formula is: a3 = (V avg上1 -V avg上2 ) / T, where T represents the time interval between two moments.

[0092] S260: Determine the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration.

[0093] In a specific embodiment, based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration, the displayed vehicle speed at the current moment is determined by the following formula:

[0094] V show =(V avg上1 +ΔV)+(a3+Δa)*T

[0095] Where V show Indicates the current vehicle speed; V avg上1 represents the average speed at the previous moment before the current moment; ΔV represents the vehicle speed deviation; a3 represents the third acceleration at the previous moment before the current moment; Δa represents the acceleration deviation; and T represents the time interval between the previous moment and the current moment.

[0096] In an optional embodiment, before determining the current displayed vehicle speed based on the vehicle speed deviation, acceleration deviation, the average speed at the previous moment, and the third acceleration at the previous moment, the vehicle speed deviation and acceleration deviation need to be verified to ensure their accuracy. Specifically, after calculating the vehicle speed deviation and acceleration deviation, a correlation record table between the displayed vehicle speed, vehicle speed deviation, and acceleration deviation is obtained; wherein the correlation record table is a table that records the displayed vehicle speed, vehicle speed deviation, and acceleration deviation at each moment; a calibration factor is determined based on the correlation record table, and the vehicle speed deviation and acceleration deviation are respectively verified based on the calibration factor to obtain the verified vehicle speed deviation and the verified acceleration deviation.

[0097] The calibration factor can be determined by: finding multiple displayed speeds from historical displayed speeds and calculating the speed deviations corresponding to the multiple displayed speeds, thereby obtaining multiple displayed speed and speed deviation relationship pairs; using a mathematical statistical method (e.g., fitting) to determine the relationship between the displayed speed and the speed deviation from the multiple displayed speed and speed deviation relationship pairs, thereby obtaining the calibration factor for the speed deviation. Using the same method as above, calculating the acceleration deviations corresponding to the multiple displayed speeds, thereby obtaining multiple displayed speed and acceleration deviation relationship pairs; using a mathematical statistical method (e.g., fitting) to determine the relationship between the displayed speed and the acceleration deviation from the multiple displayed speed and acceleration deviation relationship pairs, thereby obtaining the calibration factor for the acceleration deviation.

[0098] Among them, the verification process of vehicle speed deviation and acceleration deviation can be: multiplying the vehicle speed deviation by (or adding) the vehicle speed deviation correction factor to obtain the vehicle speed deviation after verification; multiplying the acceleration deviation by (or adding) the acceleration deviation correction factor to obtain the acceleration deviation after verification.

[0099] S270: Display the current vehicle speed on the head-up display.

[0100] For details about this step, see Figure 1 Optionally, after determining the current displayed vehicle speed in step S260, the current displayed vehicle speed can be compared with the current average speed. If the difference between the two is within a preset range, the determined current displayed vehicle speed is displayed on the head-up display.

[0101] The technical solution provided by this embodiment, when it is detected that the vehicle is in a speed offline state at the current moment, obtains historical display speed and historical distance information; determines the first acceleration at the last moment based on the historical display speed; determines the average speed at the last moment, the second acceleration at the last moment, the average speed at the last moment before the current moment, and the third acceleration at the last moment based on the historical distance information; calculates the speed deviation based on the display speed at the last moment and the average speed at the last moment, and calculates the acceleration deviation based on the first acceleration and the second acceleration; determines the display speed at the current moment based on the speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the third acceleration; and displays the display speed at the current moment on the head-up display. When the head-up display of the present application detects that the vehicle is in a speed offline state, it calculates the display speed at the current moment based on the historical display speed and historical distance information, and then displays the display speed at the current moment on the image display component. This can solve the problem of the vehicle speed not being displayed normally due to the loss of the CAN signal, and can improve the accuracy of the vehicle speed for presentation to the driver. By implementing the technical solution of the present application, the accurate vehicle speed can be normally displayed on the head-up display when the CAN signal is lost, thereby improving the accuracy of the vehicle speed.

[0102] Figure 3 This is a schematic diagram of the structure of a vehicle speed display device provided in an embodiment of the present application. The device is integrated into a head-up display, such as Figure 3 As shown, the apparatus 300 may include:

[0103] A state determination module 310 is used to detect whether the vehicle is in a speed offline state at the current moment;

[0104] A first determining module 320 is configured to obtain historical displayed vehicle speed and historical distance information if the vehicle is in an offline speed state, and determine the current displayed vehicle speed based on the historical displayed vehicle speed and the historical distance information;

[0105] A second determining module 330 is configured to obtain the current instrument speed and historical distance information if the vehicle is not in the speed offline state, and determine the current displayed vehicle speed based on the current instrument speed and the historical distance information;

[0106] The vehicle speed display module 340 is configured to display the current vehicle speed on a head-up display.

[0107] Furthermore, the above-mentioned first determination module 320 can be specifically used to: determine the first acceleration at the last moment based on the historical displayed vehicle speed, the last moment being the moment corresponding to the last displayed vehicle speed in the historical displayed vehicle speed; determine the average speed at the last moment, the second acceleration at the last moment, the average speed at the previous moment before the current moment, and the third acceleration at the previous moment before the current moment based on the historical distance information; calculate the vehicle speed deviation based on the displayed vehicle speed at the last moment in the historical displayed vehicle speed and the average speed at the last moment, and calculate the acceleration deviation based on the first acceleration and the second acceleration; determine the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration.

[0108] Furthermore, the first determining module 320 may be further configured to determine the displayed vehicle speed at the current moment using the following formula based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration:

[0109] V show =(V avg上1 +ΔV)+(a3+Δa)*T

[0110] Where V show V represents the vehicle speed displayed at the current moment; avg上1 represents the average speed at the previous moment before the current moment; ΔV represents the vehicle speed deviation; a3 represents the third acceleration at the previous moment before the current moment; Δa represents the acceleration deviation; T represents the time interval between the previous moment before the current moment and the current moment.

[0111] Furthermore, the vehicle speed display device may further include: a deviation correction module;

[0112] The deviation calibration module is used to obtain an association record table between the displayed vehicle speed, the vehicle speed deviation and the acceleration deviation before determining the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment and the third acceleration. The association record table is a table that records the displayed vehicle speed, the vehicle speed deviation and the acceleration deviation at each moment; determine a calibration factor based on the association record table, and calibrate the vehicle speed deviation and the acceleration deviation based on the calibration factor to obtain a vehicle speed deviation and an acceleration deviation after calibration.

[0113] Furthermore, the state determination module 310 may be specifically configured to: receive the instrument vehicle speed sent by the vehicle's instrument; if the instrument vehicle speed is an invalid value, the vehicle is in a speed offline state.

[0114] Furthermore, the state determination module 310 may be specifically configured to determine that the vehicle is in a speed offline state if the vehicle speed meter sent by the vehicle meter is not received within a continuous preset period.

[0115] Furthermore, the above-mentioned second determination module 330 can be specifically used to: determine the average speed at the current moment based on the historical distance information; if the difference between the instrument speed at the current moment and the average speed at the current moment is within a preset range, then the instrument speed at the current moment will be used as the displayed speed at the current moment.

[0116] The vehicle speed display device provided in this embodiment can be applied to the vehicle speed display method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0117] Figure 4 It is a block diagram of an electronic device for implementing a display method of an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0118] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0119] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0120] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the vehicle speed display method.

[0121] In some embodiments, the vehicle speed display method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the vehicle speed display method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the vehicle speed display method in any other suitable manner (e.g., via firmware).

[0122] Various embodiments of the systems and techniques described 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), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0123] Computer programs for implementing the methods of the present application 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 the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0124] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0125] 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 can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the 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 acoustic input, voice input, or tactile input).

[0126] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0127] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0128] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.

[0129] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.

Claims

1. A vehicle speed display method, characterized in that: The method comprises: Detect whether the vehicle is in the speed offline state at the current moment; If the vehicle speed is in an offline state, historical displayed vehicle speed and historical distance information are obtained, and the displayed vehicle speed at the current moment is determined based on the historical displayed vehicle speed and the historical distance information, including: determining a first acceleration at the last moment based on the historical displayed vehicle speed, the last moment being the moment corresponding to the last displayed vehicle speed in the historical displayed vehicle speed; determining an average speed at the last moment, a second acceleration at the last moment, an average speed at the last moment before the current moment, and a third acceleration at the last moment before the current moment based on the historical distance information; calculating a vehicle speed deviation based on the displayed vehicle speed at the last moment in the historical displayed vehicle speed and the average speed at the last moment, and calculating an acceleration deviation based on the first acceleration and the second acceleration; determining the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the third acceleration; If the vehicle speed is not in an offline state, obtaining the current instrument speed and historical distance information, and determining the current displayed vehicle speed based on the current instrument speed and the historical distance information; The vehicle speed at the current moment is displayed on the head-up display.

2. The vehicle speed display method according to claim 1, characterized in that: The displayed vehicle speed at the current moment is determined by the following formula based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration: V show =(V avg上1 +ΔV)+(a3+Δa)*T Where V show Indicates the displayed vehicle speed at the current moment; V avg上1 represents the average speed at the previous moment before the current moment; ΔV represents the vehicle speed deviation; a3 represents the third acceleration at the previous moment before the current moment; Δa represents the acceleration deviation; and T represents the time interval between the previous moment and the current moment.

3. The vehicle speed display method according to claim 1, characterized in that: Before determining the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the last moment before the current moment, and the third acceleration, the method further includes: Obtaining a correlation record table between the displayed vehicle speed, the vehicle speed deviation, and the acceleration deviation, wherein the correlation record table records the displayed vehicle speed, the vehicle speed deviation, and the acceleration deviation at each moment; A calibration factor is determined based on the association record table, and the vehicle speed deviation and the acceleration deviation are respectively calibrated based on the calibration factor to obtain a calibrated vehicle speed deviation and a calibrated acceleration deviation.

4. The vehicle speed display method according to claim 1, characterized in that: The vehicle is detected to be in the speed offline state at the current moment by the following methods, including: receiving the instrument vehicle speed sent by the instrument of the vehicle; If the instrument speed is an invalid value, the vehicle is in a speed offline state.

5. The vehicle speed display method according to claim 1, characterized in that: The vehicle is detected to be in the speed offline state at the current moment by the following methods, including: If the vehicle speed meter sent by the vehicle meter is not received within a continuous preset period, the vehicle is in a speed offline state.

6. The vehicle speed display method according to claim 1, characterized in that: The determining the displayed vehicle speed at the current moment based on the instrument vehicle speed at the current moment and the historical distance information includes: Determining the average speed at the current moment based on the historical distance information; If the difference between the current instrument speed and the current average speed is within a preset range, the current instrument speed is used as the displayed speed.

7. A vehicle speed display device, characterized in that: The device comprises: A state determination module is used to detect whether the vehicle is in a speed offline state at the current moment; a first determining module, configured to obtain historical displayed vehicle speed and historical distance information if the vehicle is in an offline speed state, and determine the current displayed vehicle speed based on the historical displayed vehicle speed and the historical distance information; a second determining module, configured to obtain the current instrument vehicle speed and historical distance information if the vehicle speed is not in an offline state, and determine the current displayed vehicle speed based on the current instrument vehicle speed and the historical distance information; A vehicle speed display module, configured to display the vehicle speed at the current moment on a head-up display; Among them, the first determination module is specifically used to determine the first acceleration at the last moment based on the historical displayed vehicle speed, where the last moment is the moment corresponding to the last displayed vehicle speed in the historical displayed vehicle speed; determine the average speed at the last moment, the second acceleration at the last moment, the average speed at the previous moment before the current moment, and the third acceleration at the previous moment before the current moment based on the historical distance information; calculate the vehicle speed deviation based on the displayed vehicle speed at the last moment in the historical displayed vehicle speed and the average speed at the last moment, and calculate the acceleration deviation based on the first acceleration and the second acceleration; determine the displayed vehicle speed at the current moment based on the vehicle speed deviation, the acceleration deviation, the average speed at the previous moment before the current moment, and the third acceleration.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle speed display method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle speed display method according to any one of claims 1 to 6 when executed.

Citation Information

Patent Citations

  • System and method for correcting speed display of vehicle-mounted HUD equipment

    CN105946717A

  • Automobile black box instrument and working method thereof

    CN106696700A

  • Vehicle, vehicle speed determination method and device thereof, storage medium and terminal

    CN113808413A