Head-up display device and method of rotational offset testing and correction thereof, medium
Patent Information
- Application Number
- CN202510904580.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2045-07-01
AI Technical Summary
[0004]有鉴于此,本公开实施例期望提供一种抬头显示设备及其转动偏移测试、校正方法、介质;能够解决现有技术中对HUD的跑飞检测的精度不足,且效率较低的技术问题
[0009] This disclosure provides a head-up display (HUD) device and its rotational offset testing and correction method and medium. First, by comparing the reference rotation angle with the actual rotation angle after a reset operation, direct quantitative detection of the offset of the internal mechanical structure of the HUD is achieved. This avoids measurement errors introduced by external equipment in traditional optical testing, improving the offset detection accuracy to the level of a single step of a stepper motor, and accurately capturing microscopic offsets caused by test conditions. The linkage mechanism between the reset operation and the reference position ensures the determinism of the measurement reference. Second, the design of the test condition injection and reset operation achieves applicability to all scenarios. Executing the reset operation after injecting test conditions such as temperature changes or power on/off effectively simulates the impact of sudden operating conditions on the HUD during actual vehicle operation, enabling the test results to truly reflect the offset characteristics under complex environments such as vibration and temperature changes. This timing control, combined with angle difference calculation, constitutes a closed-loop detection logic, providing a highly reliable data foundation for subsequent offset correction.
Smart Images

Figure CN120820058B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of head-up display technology, and more particularly to a head-up display device and its rotation offset testing, correction method, and medium. Background Technology
[0002] In the field of head-up display (HUD) misalignment detection, traditional methods generally rely on external optical equipment to measure the offset. A typical approach is to use a camera to capture the projected image or a laser to locate the position of the reflector, and then calculate the display offset.
[0003] The existing technology has obvious shortcomings. First, the testing process must be completed in a constant temperature laboratory, which cannot be carried out in the high and low temperature environment or driving vibration scenario of the actual vehicle operation. Second, the measurement accuracy is affected by the accuracy of optical equipment, installation error and environmental interference, making it difficult to accurately capture subtle deviations. Finally, the testing process is complex and depends on manual operation, making it difficult to achieve automated and efficient testing. Summary of the Invention
[0004] In view of this, the present disclosure aims to provide a head-up display device and a method and medium for testing and correcting its rotational offset; which can solve the technical problems of insufficient accuracy and low efficiency in the prior art for detecting HUD misalignment.
[0005] The technical solution of this disclosure embodiment is implemented as follows: In a first aspect, embodiments of this disclosure provide a method for testing the rotational offset of a head-up display device, including: After injecting test conditions into the head-up display device, the large reflector of the head-up display device is reset from the reference position to the test position; After performing the reset operation, the large reflector is rotated to the reference position to obtain the actual rotation angle; The difference between the reference rotation angle between the test gear and the reference position and the actual rotation angle is taken as the rotation offset.
[0006] Secondly, embodiments of this disclosure provide a method for correcting the rotational offset of a head-up display device, including: Based on the rotation offset test method for head-up display devices described in the first aspect, a mapping relationship between test conditions and rotation offset is established. The rotation correction parameters of the large reflector are determined based on the current environmental conditions, current gear position, and mapping relationship of the head-up display device, so as to correct the rotation of the large reflector.
[0007] Thirdly, embodiments of this disclosure provide a head-up display device, the head-up display device including: a processor and a memory; the processor is configured to execute instructions stored in the memory to implement the rotation offset correction method of the head-up display device described in the second aspect.
[0008] Fourthly, embodiments of this disclosure provide a computer storage medium storing at least one instruction, which is executed by a processor to implement the rotation offset correction method for a head-up display device as described in the second aspect.
[0009] This disclosure provides a head-up display (HUD) device and its rotational offset testing and correction method and medium. First, by comparing the reference rotation angle with the actual rotation angle after a reset operation, direct quantitative detection of the offset of the internal mechanical structure of the HUD is achieved. This avoids measurement errors introduced by external equipment in traditional optical testing, improving the offset detection accuracy to the level of a single step of a stepper motor, and accurately capturing microscopic offsets caused by test conditions. The linkage mechanism between the reset operation and the reference position ensures the determinism of the measurement reference. Second, the design of the test condition injection and reset operation achieves applicability to all scenarios. Executing the reset operation after injecting test conditions such as temperature changes or power on / off effectively simulates the impact of sudden operating conditions on the HUD during actual vehicle operation, enabling the test results to truly reflect the offset characteristics under complex environments such as vibration and temperature changes. This timing control, combined with angle difference calculation, constitutes a closed-loop detection logic, providing a highly reliable data foundation for subsequent offset correction. Attached Figure Description
[0010] Figure 1 This is a schematic diagram of a HUD system architecture provided in an embodiment of the present disclosure.
[0011] Figure 2 This is a schematic diagram of the optical path structure of a HUD provided in an embodiment of the present disclosure.
[0012] Figure 3 A flowchart of a rotation offset test method for a head-up display device provided in an embodiment of this disclosure.
[0013] Figure 4 This is a schematic diagram of a system architecture for a rotation offset testing method for a head-up display device, provided in an embodiment of this disclosure.
[0014] Figure 5 A flowchart of a rotation offset correction method for a head-up display device provided in an embodiment of this disclosure.
[0015] Figure 6 This is a schematic diagram showing a comparison of display effects before and after correction, provided as an embodiment of the present disclosure.
[0016] Figure 7 This is a schematic diagram of the structure of a head-up display device provided in an embodiment of this disclosure.
[0017] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0018] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0019] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0020] Reference Figure 1 The head-up display device 1 projects display information onto a portion of the windshield 14 through one or more holes in the dashboard. Although Figure 1 The example size of the displayed information is shown, but the information can be presented in a larger or smaller area. Examples of displayed information include various vehicle information such as current vehicle speed, current gear of the vehicle's transmission, engine speed, vehicle direction, current infotainment system settings, and / or other vehicle information. The head-up display device 1 provides information to the vehicle driver without requiring the driver to take their eyes off objects in front of the vehicle.
[0021] See Figure 1 The exemplary implementation architecture of the head-up display device 1 shown includes a display control unit 12 that generates signals based on data processed by the data processing unit 11. The communication control circuit is located in the data processing unit 11 and transmits display information to the display control unit 12.
[0022] The display unit 13 may include a light source 131 and an optical path assembly 132. The light source 131 outputs light (e.g., a virtual image) based on a signal from the display control unit 12 to display on the windshield 14. For example, the light source 131 may include one or more lasers and output red, green, and blue light; that is, the light source 131 may include an image source display screen, i.e., a projection component.
[0023] The optical path assembly 132 can reflect the output of the light source 131 onto the windshield 14 through the aperture. A viewer (e.g., a driver) can view the displayed information in the display area projected onto the windshield 14. In some examples, see... Figure 1 and Figure 2 The optical path assembly 132 may include an optical lens group, which may include one or more optical lenses. For example, the optical lens may include a small reflector (primary reflector) 22 and a large reflector (magnifying lens) 21. The output of the light source 131 is reflected back by the small reflector (primary reflector) 22 and magnified by the large reflector (magnifying lens) 21 before being reflected to the windshield 14 to form a virtual image 15 that can be observed by the driver's vision and presented to the human eye 23. The visual effect presented by the virtual image 15 is that the virtual image 15 is projected onto a projection surface 16 at a set distance in front of the vehicle, but the real environment remains visible through the projection surface 16.
[0024] In the optical system of a head-up display (HUD), the large reflector 21, as the core amplification element at the end of the optical path, directly determines the accuracy of the virtual image projection due to its physical positional accuracy. The "runaway" phenomenon is essentially a technical problem caused by environmental interference leading to the actual position of the large reflector 21 deviating from its theoretical design position, thus causing an angular shift in the reflected light path. Specifically, because the large reflector 21 performs beam amplification and final deflection, its lens area is significantly larger than other optical elements, and its large moment of inertia makes it extremely sensitive to temperature changes and mechanical vibrations. Within the temperature range of -40℃ to 85℃ covered by the vehicle's operating environment, the difference in thermal expansion coefficients between the metal bracket and the glass lens causes the frame to twist; simultaneously, the high-frequency vibrations during vehicle movement can cause micro-step slippage of the stepper motor.
[0025] This offset, amplified by the optical system, has serious consequences. According to the law of light reflection, the angular offset of the large reflector 21 will cause a displacement of the virtual image on the windshield. The technical consequence is that the virtual image exceeds the visible area of the human eye, preventing the driver from fully obtaining crucial driving information such as vehicle speed and navigation, significantly increasing the risk of driving decisions. Furthermore, the open-loop architecture of existing control systems cannot detect this offset; the display control unit 12 only drives the large reflector 21 at a preset angle, and the data processing unit 11 lacks a real-time position feedback mechanism. Traditional solutions rely on limit switch calibration at room temperature, but at high temperatures, metal expansion causes the limit switch reference point to drift, and at low temperatures, grease solidification causes motor stall, rendering the calibration operation itself ineffective. This contradiction between environmental adaptability and control accuracy constitutes the fundamental technical problem of the unresolved large reflector 21 "runaway" phenomenon.
[0026] Based on this, this disclosure first provides a method for testing the rotational offset of a head-up display device. Figure 3 A flowchart of a rotation offset test method for a head-up display device is shown, which can be applied to the head-up display device described above. The rotation offset test method for the head-up display device may include steps S310 to S330.
[0027] In step S310, after injecting test conditions into the head-up display device, the large reflector of the head-up display device is reset from the reference position to the test position.
[0028] In some exemplary embodiments of this disclosure, test conditions refer to physical or electrical disturbances applied to simulate actual in-vehicle environments, mainly including two categories: temperature cycling tests and power state abrupt changes. Temperature cycling tests require placing the equipment in a temperature chamber ranging from -40°C to 85°C for at least 30 minutes to ensure the internal structure of the large reflector reaches a temperature steady state. It should be noted that the temperature range and the holding time can be adjusted as needed; the above are merely illustrative examples, and specific values are not limited.
[0029] A sudden change in power supply status is triggered by executing a power interruption at KL15 via a programmable power supply to simulate vehicle hibernation, or a complete power outage at KL30 to simulate battery disconnection, thereby stimulating a transient response in the drive circuit. It should be noted that the specific types of the above test conditions can be customized according to user needs, which will not be elaborated upon in this example implementation.
[0030] It should be noted that KL15 and KL30 are standard power supply terms in automotive electronic systems. KL30 is a constant power supply line directly connected to the positive terminal of the battery and is not controlled by the ignition switch. KL15 is a power supply line controlled by the ignition switch and only supplies power when the vehicle is "on" or "running".
[0031] The reference position refers to the mechanical zero point of the large reflector, which is physically determined by the limit switch built into the device. When the stepper motor drives the large reflector to rotate until it touches the limit switch trigger mechanism, the switch outputs a level transition signal. At this point, the position where the normal line of the large reflector coincides with the optical axis reference line is defined as the absolute reference. This position is non-adjustable and serves as the original reference point for all angle measurements.
[0032] It should be noted that the reference position can be set to different positions based on user needs. The mechanical zero point position is used only to determine the reference position more accurately. For illustrative purposes, the setting area of the reference position is not specifically limited in this example implementation.
[0033] The test gear refers to the target working position set through the human-machine interface, which is essentially the preset control parameter of the stepper motor. Each gear corresponds to a unique rotation angle code value, which is written to the motor controller via the 2F service of the UDS diagnostic protocol. During the reset operation, the controller will drive the large reflector to rotate from the reference position to the gear code value.
[0034] It should be noted that the Unified Diagnostic Services (UDS) protocol is a communication specification for vehicle electronic control units defined by the ISO 14229 standard. This protocol enables command interaction between the diagnostic tool and the HUD controller via the CAN / CAN FD bus. Its core services are specifically applied to rotational offset testing as follows: Service 2F is used to directly control the hardware actuators of the HUD. In rotational offset testing, this service achieves precise control of the large reflector through a standardized command format; Service 22 is used to acquire real-time internal status data of the HUD. In offset testing, this service synchronously captures the mechanical displacement.
[0035] In step S320, after performing the reset operation, the large reflector is rotated to the reference position to obtain the actual rotation angle.
[0036] In this example embodiment, after the reset operation is completed, the large reflector can be rotated to the reference position. The rotation can be driven by the controller or manually rotated by the user. The specific rotation method will not be described in this example embodiment.
[0037] The actual rotation angle can be obtained based on an angle measuring device, or it can be determined based on the number of steps corresponding to the motor driving the rotation. Alternatively, it can be obtained using other structures in the head-up display device or other external devices linked to it. In this example implementation, no specific limitation is made.
[0038] Optionally, a rotation command can be sent first via the 2F service of the UDS diagnostic protocol to drive the stepper motor to rotate the large reflector toward the limit switch position. During rotation, the controller collects the pulse signal generated by the rotary encoder in real time, which corresponds precisely to the angular displacement of the motor output shaft. When the robotic arm of the large reflector contacts the limit switch trigger mechanism, the switch generates a level transition signal. At this time, the controller immediately freezes the current pulse counter value, which is the actual number of rotation steps.
[0039] The conversion from steps to angle is then performed by calling the step-angle conversion coefficient pre-stored in the device's non-volatile memory. This coefficient is multiplied by the actual number of rotation steps to obtain the angle value. This conversion coefficient is calibrated at the factory using a laser interferometer and dynamically compensated for at different temperatures to ensure conversion accuracy across the entire operating temperature range. Finally, the angle data is transmitted to the central processing unit via the vehicle bus as the reference input value for rotational offset analysis.
[0040] By using the physical trigger signal of the limit switch as a synchronous marker for the end point of rotation, the cumulative error that may be generated by the traditional time threshold method is eliminated; at the same time, the influence of thermal deformation is dynamically corrected by the temperature-adaptive conversion coefficient, so as to achieve highly reliable angle acquisition.
[0041] In step S330, the difference between the reference rotation angle between the test gear and the reference position and the actual rotation angle is used as the rotation offset.
[0042] In some exemplary embodiments of this disclosure, the calculation of rotational offset is based on a precise comparison of three core position parameters. The reference rotation angle represents the ideal displacement under theoretical conditions, and its value is derived from a preset motion path between the test position and the reference position. This path can be determined during the initial calibration of the equipment: when the large reflector moves from the fixed coordinate point corresponding to the test position (i.e., the test position) to the limit switch contact point (reference position), the controller records the total number of step pulses required for motor drive and multiplies it by the calibrated step angle coefficient to form a standard angle reference value. This process is completed in a constant temperature and interference-free environment to ensure the absolute reliability of the reference value.
[0043] The actual rotation angle reflects the displacement under real-world conditions. After the test conditions are applied, the large reflector is driven to reset from the reference position to the test position. After resetting, the large reflector can be driven again along the same path from the test position to the reference position. The number of motion steps can be captured in real time by a rotary encoder, and the actual angle value is obtained by converting the step angle coefficient with temperature compensation. The rotation offset is calculated as the algebraic difference between the two angles. This difference directly quantifies the mechanical deviation caused by environmental interference: a positive value indicates that the actual motion angle exceeds the theoretical range, while a negative value indicates insufficient motion. For example, when the reference value is 15.0° and the actual value is 15.3°, an offset of +0.3° indicates that the temperature rise has caused excessive expansion of the mechanical transmission mechanism.
[0044] The rotational offset testing method for head-up display (HUD) devices disclosed herein firstly achieves direct quantitative detection of the offset of the internal mechanical structure of the HUD by comparing the reference rotation angle with the actual rotation angle after performing a reset operation. This avoids measurement errors introduced by external equipment in traditional optical testing, improving the offset detection accuracy to the level of a single step of a stepper motor, and accurately capturing microscopic offsets caused by test conditions. The linkage mechanism between the reset operation and the reference position ensures the determinism of the measurement reference. Secondly, the design of the test condition injection and reset operation achieves applicability to all scenarios. Executing the reset operation after injecting test conditions such as temperature changes or power on / off effectively simulates the impact of sudden operating conditions on the HUD during actual vehicle operation, enabling the test results to truly reflect the offset characteristics under complex environments such as vibration and temperature changes. This timing control, combined with angle difference calculation, constitutes a closed-loop detection logic, providing a highly reliable data foundation for subsequent offset correction.
[0045] In some examples, when testing the rotational offset of a large reflector in a head-up display (HUD), the host computer can send a first rotation command to the HUD via the 2F service of the UDS diagnostic protocol. This command drives a stepper motor to rotate the large reflector from the test position to a reference position. The reference position is determined by the mechanical arm of the large reflector contacting a limit switch. When the limit switch triggers a level transition signal, the system determines that the reference position has been reached. During this rotation, the controller collects the first rotation step count (denoted as S1) of the stepper motor in real time via the 22 service of the UDS protocol. This step count includes the complete step pulse count from the starting point of the test position to the trigger point of the limit switch. The step angle parameter (e.g., 0.1° / step) pre-stored in non-volatile memory is called, and the first rotation step count S1 is multiplied by the step angle to calculate the reference rotation angle.
[0046] Test conditions are injected into the head-up display device using a programmable power supply. The specific types of test conditions have been described in detail above and will not be repeated here.
[0047] For example, the head-up display device can be placed in a high-low temperature chamber, with a target temperature set within the range of -40℃ to 85℃ and maintained at that temperature for 30 minutes; and / or the power supply to the KL30 can be controlled to simulate a vehicle restart or the KL15 can be controlled to simulate a vehicle hibernation. It should be noted that during the test, the test conditions are injected in a single variable to more clearly identify the cause of the deviation.
[0048] After the test conditions are injected, the host computer sends a second rotation command through the 2F service. The stepper motor drives the large reflector to move from the reference position to the original test position to reset. The endpoint of the reset operation is determined by the internal software of the device to reach the target position (not dependent on the limit switch).
[0049] After the reset operation is completed, offset detection can be performed. The host computer sends a third rotation command again through the 2F service to drive the large reflector to return from the reset position to the reference position. During the return process, the controller collects the second rotation step count (denoted as S2) through the 22 service. This step count includes the actual step pulse count from the reset position to the limit switch trigger point. The second rotation step count S2 is multiplied by the same pre-stored step angle parameter to calculate the actual rotation angle.
[0050] The rotational offset calculation stage determines the rotational offset in the following ways: the step-level offset ΔS is equal to the absolute difference between the first rotational step S1 and the second rotational step S2. For example, when S1 is 150 steps and S2 is 153 steps, ΔS is 3 steps. The angle-level offset is obtained by multiplying ΔS by a pre-calibrated step angle parameter. For example, when using a step angle of 0.1 degrees / step, 3 steps correspond to a rotational offset of 0.3 degrees. All rotational operations are triggered by the 2F service command of the UDS diagnostic protocol to ensure the timing controllability and data traceability of the reset operation and the return to the reference position. The inherent step angle characteristics of the stepper motor are used to directly convert the mechanical displacement into an angle parameter usable by the optical system. The limit switch trigger point is used as the reference position for angle calculation to eliminate the cumulative zero-point error caused by temperature drift or mechanical wear.
[0051] The power supply variation conditions of KL30 / KL15 can be simulated by a programmable power supply, enabling standardized testing procedures to be performed in high and low temperature chambers and real vehicle environments, without relying on external optical equipment throughout the process.
[0052] In some examples, refer to Figure 4The host computer 41 can control the programmable power supply 42 to power on and off the HUD 44. The host computer can control the rotation, reset and read the rotation steps of the large reflector through the communication device 43, and then calculate the running degree. Optionally, the host computer 41 can be a vehicle system installed inside the vehicle, or it can be an external electronic device with data processing and control capabilities. In this example embodiment, it will not be described in detail.
[0053] The rotation offset testing method for head-up display devices provided in this disclosure has three main aspects. First, it converts the difference in the number of rotation steps into a precise angular offset based on step angle parameters, achieving detection accuracy at the single-step resolution level of the stepper motor. Utilizing the inherent mechanical characteristics of the stepper motor, by obtaining the absolute difference between the first and second rotation steps and combining it with pre-calibrated step angle parameters, a lossless conversion from mechanical displacement to optical offset is completed, breaking through the accuracy limits of traditional optical detection. Second, it relies on the UDS diagnostic protocol to achieve full-process command-based control. All rotation operations are triggered by standardized 2F service commands, and the timing of reset operations and reference position return strictly follows the vehicle bus communication protocol, ensuring operational consistency in both real-vehicle and laboratory environments. The synchronous acquisition mechanism of the 2F service for the number of rotation steps further ensures the real-time performance and reliability of data acquisition. Third, the anchoring effect of the physical reference of the limit switch eliminates systematic errors. The position of the large reflector contacting the limit switch is used as the absolute reference point, ensuring that the calculation of the reference rotation angle and the actual rotation angle both originate from the same physical origin. This design blocks the interference of temperature drift and mechanical wear on the reference position, establishing an immutable reference system for rotational offset. The test condition injection mechanism fully covers vehicle operating conditions. The simulation of temperature changes and power on / off (KL30 / KL15) strictly corresponds to the test condition types defined in the claims, ensuring that the offset detection during the reset operation truly reflects the impact of sudden operating conditions on the actual vehicle. The resulting rotational offset parameters provide a physically interpretable data foundation for the dynamic compensation of the head-up display device, eliminating the risk of virtual image offset caused by the reset operation at its source.
[0054] Furthermore, this disclosure also provides a method for correcting the rotational offset of a head-up display device, referring to... Figure 5 The rotation offset correction method for the head-up display device may include steps S510 to S520.
[0055] In step S510, a mapping relationship between test conditions and rotational offset is established according to the rotational offset test method for head-up display devices.
[0056] In some example implementations of this disclosure, a multi-dimensional test matrix can first be created in the programmable temperature chamber based on the test condition type (temperature change, power on / off of KL30 / KL15). For example, the temperature axis can be set with 6 reference points: -40℃, -20℃, 0℃, 25℃, 60℃, and 85℃. The power event axis can be set with three scenarios: KL30 completely powered off (simulating battery disconnection), KL15 sleep wake-up (simulating vehicle shutdown), and mixed operating conditions.
[0057] Secondly, at each test node, the rotation offset test procedure of the head-up display device rotation offset test method is executed to obtain standardized rotation offset data (including step-level ΔS and angle values); finally, the discrete test data are integrated into a structured database, whose data model follows the mapping relationship of "temperature value T + power event type P + test gear G" to rotation offset θ.
[0058] In step S520, the rotation correction parameters of the large reflector are determined based on the current environmental conditions, current gear position, and mapping relationship of the head-up display device, so as to correct the rotation of the large reflector.
[0059] In some examples, the above mapping relationship can be encapsulated at the physical level as a three-dimensional lookup table (LUT), namely a temperature-gear-offset three-dimensional mapping table; where temperature T and gear G are continuous independent variables, power event P is a discrete event marker, and rotational offset θ is the dependent variable. For example, in a specific entry of the mapping table, when T=-20℃, P=KL30 power off, and G=10 gear, the corresponding calibration offset of θ=0.9° is stored. This design allows compensation parameters to be obtained in real time by querying this mapping relationship during subsequent actual vehicle operation.
[0060] For example, the core function of establishing a three-dimensional mapping table of temperature, gear position, and offset is to construct an environmental-mechanical response model covering the entire working domain of the head-up display device. This mapping table uses temperature and gear position values as independent variables and rotational offset as the dependent variable, forming a structured data storage system.
[0061] The temperature dimension can be divided into discrete nodes in 5°C intervals according to the automotive-grade range (-40°C to 85°C) (e.g., -40°C, -35°C...85°C). The gear dimension covers all adjustable gears of the equipment (e.g., gears 1 to 15). Each temperature-gear coordinate point stores the rotational offset obtained through standardized testing under the corresponding operating condition (e.g., at -20°C and gear 10, the offset is recorded as 0.9°). When the equipment is running in a real vehicle, the system collects the current ambient temperature and target gear in real time as query input. If the current parameter combination (e.g., at -17°C and gear 12) matches the mapping table node perfectly, the stored rotational offset is directly called as the rotational correction parameter.
[0062] When the actual operating conditions exceed the preset discrete nodes (e.g., temperature -17.5℃, gear 12.5), a bilinear interpolation algorithm is used to dynamically generate correction parameters. This algorithm locates the rectangular region where the current parameter is located in the temperature-gear plane.
[0063] Specifically, the two nearest nodes along the temperature axis (e.g., -20℃ and -15℃) and the two nearest nodes along the gear axis (e.g., 12th gear and 13th gear) are selected. Then, a two-stage interpolation calculation is performed: first, linear interpolation is performed on the gear boundary points in the temperature direction (calculating the transitional offset values between 12th and 13th gears at -17.5℃); then, a second interpolation is performed on the temperature interpolation results in the gear direction (calculating the final offset of gear 12.5). The interpolation calculation process can be found in relevant techniques and will not be elaborated upon here.
[0064] Reference Figure 6 Before the above correction method is used, some areas of the displayed content may be incomplete or even not displayed due to the effect of "runaway". After the above correction method is used, the displayed information can be displayed according to the preset display area, thus improving the display control accuracy of the displayed information.
[0065] This rotational offset correction method achieves accurate compensation under all operating conditions through the synergy of a three-dimensional mapping table and a bilinear interpolation algorithm. Based on a temperature-gear-offset three-dimensional mapping table established using the rotational offset testing method, a structured database is constructed with test conditions and gear parameters as independent variables and rotational offset as the dependent variable. This mapping table covers the automotive-grade temperature range and the entire gear space of the equipment, with each discrete node storing offset data obtained from standardized tests. During actual vehicle operation, the system collects the current ambient temperature and target gear as query inputs in real time: when the parameter combination perfectly matches a node in the mapping table, the stored offset is directly called as the rotational correction parameter; when in non-standard operating conditions, a rectangular region is located in the temperature-gear plane using a bilinear interpolation algorithm, and the nearest node along the temperature axis and gear axis is selected for two-stage linear interpolation calculation to dynamically generate smooth and continuous rotational correction parameters. This ensures that compensation values that strictly match the mechanical deformation characteristics can be output at any operating point, completely eliminating the risk of virtual image offset caused by reset operations.
[0066] Please refer to Figure 7This illustration shows a structural block diagram of a head-up display (HUD) device provided in an exemplary embodiment of this disclosure. In some examples, the HUD device can be at least one of devices such as a smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. The HUD device has communication capabilities and can access wired or wireless networks. The term "HUD device" can refer to one of multiple terminals; those skilled in the art will understand that the number of terminals can be more or less. It is understood that the HUD device undertakes the computation and processing work of the technical solutions of this disclosure, and this disclosure does not limit this aspect.
[0067] Furthermore, such as Figure 7 As shown, the head-up display device 700 may include at least one processor 710, a memory 720, and a communication interface 730.
[0068] The memory 720 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0069] The memory 720 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0070] The processor 710 executes computer execution instructions stored in the memory 720 to implement the rotation offset correction method for the head-up display device described in the foregoing method embodiments. The processor 710 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this disclosure.
[0071] The head-up display device 700 may also include a communication interface 730 for communication and interaction with external devices. In specific implementations, if the communication interface 730, memory 720, and processor 710 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply a single bus or only one type of bus.
[0072] Optionally, in a specific implementation, if the communication interface 730, memory 720 and processor 710 are integrated on a single chip, then the communication interface 730, memory 720 and processor 710 can communicate through an internal interface.
[0073] This disclosure also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory, a random access memory, a disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions for the rotation offset correction method of the head-up display device in the above embodiments.
[0074] This disclosure also provides a computer program product including computer instructions stored in a computer-readable storage medium; a processor of a head-up display device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the head-up display device to perform the rotation offset correction method of the head-up display device described in the above embodiments.
[0075] Those skilled in the art will recognize that the functions described in the embodiments of this disclosure in one or more of the foregoing examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0076] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0077] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention applied herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not claimed herein.
[0078] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for correcting rotational offset of a head-up display device, characterized in that, include: After injecting test conditions into the head-up display device, the large reflector of the head-up display device is reset from the reference position to the test position. The test conditions are physical or electrical disturbances applied to simulate the actual vehicle environment, including temperature cycling tests and power state sudden changes. After performing the reset operation, the large reflector is rotated to the reference position to obtain the actual rotation angle; The difference between the reference rotation angle between the test gear and the reference position and the actual rotation angle is taken as the rotation offset. Establish a mapping relationship between test conditions and the rotational offset, the mapping relationship including a three-dimensional mapping table of temperature-gear-offset; The rotation correction parameters of the large reflector are determined based on the current environmental conditions, current gear position, and mapping relationship of the head-up display device, so as to correct the rotation of the large reflector. The step of determining the rotation correction parameters of the large reflector based on the current environmental conditions, current gear position, and mapping relationship of the head-up display device includes: If there is no mapping table entry in the three-dimensional mapping table that is completely compatible with the current environmental conditions and / or the current gear, a bilinear interpolation algorithm is used to determine the rotation correction parameters corresponding to the current environmental conditions and the current gear.
2. The method according to claim 1, characterized in that, Before resetting the large reflector from the reference position to the test position, the method further includes: The angle at which the large reflector rotates from the test position to the reference position is obtained and used as the reference rotation angle.
3. The method according to claim 2, characterized in that, The step of obtaining the angle at which the large reflector rotates from the test position to the reference position, and using it as the reference rotation angle, includes: The first rotation number of the large reflector from the test position to the reference position is obtained, and the reference rotation angle is determined based on the first rotation number and the step angle. The process of obtaining the actual rotation angle includes: Obtain the second rotation angle corresponding to the reset operation, and determine the actual rotation angle based on the second rotation angle and the step angle.
4. The method according to claim 1, characterized in that, The test conditions include temperature changes and / or power-on / off changes of the head-up display device.
5. The method according to claim 1, characterized in that, The reference position includes the position where the large reflector contacts the limit switch.
6. The method according to claim 1, characterized in that, The operation of resetting the large reflector of the head-up display device from the reference position to the test position includes: Receive rotation command; The rotation command is executed to reset the large reflector of the head-up display device from the reference position to the test position.
7. A head-up display device, characterized in that, The head-up display device includes a processor and a memory; the processor is configured to execute instructions stored in the memory to implement the rotation offset correction method of the head-up display device as described in any one of claims 1 to 6.
8. A computer storage medium, characterized in that, The storage medium stores at least one instruction, which is executed by a processor to implement the rotation offset correction method for the head-up display device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
HUD lens adjusting method and related equipment
CN115343851A