Method and device for optimizing the profile of an automotive windshield

By fitting and optimizing the curved surface of the automobile windshield glass profile, the windshield glass assembly boundary and HUD imaging curvature are solved, and the successful assembly and HUD imaging effect of windshield glass and automobile sheet metal are achieved.

CN114792035BActive Publication Date: 2025-07-01CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210489574.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-06
Publication Date
2025-07-01
Estimated Expiration
2042-05-06

AI Technical Summary

Technical Problem

The prior art is difficult to meet the boundary requirements of automotive windshield glass and automotive sheet metal as well as the curvature requirements of the head-up display (HUD) imaging area at the same time, resulting in difficulties in HUD design and the imaging effect cannot be guaranteed.

Method used

By obtaining the automobile windshield glass profile to be optimized, determining the first type of reference points and the second type of reference points, performing surface fitting, obtaining the surface function, and optimizing based on the coordinate difference and curvature difference, adjusting the coefficients to meet the boundary and curvature requirements.

Benefits of technology

It achieves the meeting boundary requirements of windshield glass and the curvature requirements of HUD imaging area at the same time, ensuring the successful assembly of windshield glass and automotive sheet metal and the HUD imaging effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114792035B_ABST
    Figure CN114792035B_ABST
Patent Text Reader

Abstract

The present application discloses a method and a device for optimizing the profile of an automotive windshield, belonging to the technical field of automotive component design. The method includes: obtaining the profile of the automotive windshield to be optimized, and determining the first type of reference points and the second type of reference points; performing surface fitting on the first type of reference points and the second type of reference points to obtain a first surface function; calculating the coordinate difference and the curvature difference, and determining a first optimization reference value corresponding to the first surface function based on the coordinate difference and the curvature difference; setting a reference optimization reference value and a set of reference coefficients; adjusting a coefficient in the set of reference coefficients by a reference step size to determine a second surface function, and a second optimization reference value corresponding to the second surface function, and optimizing the surface function based on the second optimization reference value and the reference optimization reference value. By adopting this solution, it is possible to ensure that the curvature of the HUD imaging area on the profile of the automotive windshield is within a preset curvature range, thereby ensuring the HUD imaging effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automotive component design, and particularly relates to a method and device for optimizing the profile of an automotive windshield. Background Art

[0002] With the development of navigation technology and intelligent driving technology, in order to enable the driver to see driving information (such as vehicle speed, navigation, vehicle distance, etc.) without lowering the head or turning the head as much as possible, the Head Up Display (HUD) technology has emerged.

[0003] The HUD technology projects driving information onto the profile of the windshield (the side of the windshield facing the driver). To ensure the clarity of the image, it is required that the curvature of the area on the automotive windshield profile for HUD imaging be within a preset curvature range.

[0004] Currently, when optimizing the profile of an automotive windshield, it is necessary to consider the boundary requirements that need to be met when the windshield is assembled with the automotive sheet metal, as well as the curvature requirements that need to be met for the HUD imaging area. However, there is no design method that simultaneously considers these two design conditions. Therefore, the design of the HUD for many vehicle models is difficult, and the imaging effect of the HUD cannot be guaranteed. Summary of the Invention

[0005] Embodiments of the present application provide a method and device for optimizing the profile of an automotive windshield, which can solve the problem in the related art that it is impossible to simultaneously meet the boundary requirements during glass assembly and the curvature requirements of the HUD imaging area, resulting in difficulties in the design of the HUD and the inability to guarantee the imaging effect of the HUD. The technical solutions are as follows:

[0006] In a first aspect, a method for optimizing the profile of an automotive windshield is provided, characterized in that the method includes:

[0007] Obtain the profile of the automotive windshield to be optimized, and determine a first type of reference point and a second type of reference point within the profile of the automotive windshield to be optimized;

[0008] Based on the first reference coordinate information of the first type of reference point and the second reference coordinate information of the second type of reference point, perform surface fitting to obtain a first surface function corresponding to the profile of the automotive windshield to be optimized, where the first reference coordinate information includes a first reference coordinate, a second reference coordinate, and a third reference coordinate, the second reference coordinate information includes a fourth reference coordinate, a fifth reference coordinate, and a sixth reference coordinate, the first reference coordinate, the second reference coordinate, and the third reference coordinate are coordinate values under different coordinate axes respectively, and the fourth reference coordinate, the fifth reference coordinate, and the sixth reference coordinate are coordinate values under different coordinate axes respectively;

[0009] Substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain a first actual coordinate, and calculate a first coordinate difference between the first actual coordinate and the third reference coordinate;

[0010] Substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain a second actual coordinate, determine a corresponding first actual curvature based on the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate a first curvature difference between the first actual curvature and the reference curvature corresponding to the second reference point;

[0011] Determine a first optimization reference value corresponding to the first surface function based on the first coordinate difference and the first curvature difference;

[0012] Set the first optimization reference value as the reference optimization reference value, and set the first coefficient set corresponding to the first surface function as the reference coefficient set;

[0013] Adjust a reference step size for one coefficient in the reference coefficient set to obtain a second coefficient set, and determine a second surface function corresponding to the second coefficient set;

[0014] Substitute the first reference coordinate and the second reference coordinate into the second surface function to obtain a third actual coordinate, and calculate a second coordinate difference between the third actual coordinate and the third reference coordinate;

[0015] Substitute the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain a fourth actual coordinate, determine a corresponding second actual curvature based on the second surface function, the fourth reference coordinate, the fifth reference coordinate, and the fourth actual coordinate, and calculate a second curvature difference between the second actual curvature and the reference curvature;

[0016] Determine a second optimization reference value corresponding to the second surface function based on the second coordinate difference and the second curvature difference;

[0017] If the second optimization reference value is less than the reference optimization reference value, set the second optimization reference value as the reference optimization reference value and set the second coefficient set as the reference coefficient set. If the second optimization parameter value is greater than the reference optimization reference value, set the first optimization reference value as the reference optimization reference value and set the first coefficient set as the reference coefficient set;

[0018] If the loop end condition is satisfied, determine the surface function corresponding to the reference coefficient set as the surface function of the optimized automotive windshield profile. If the loop end condition is not satisfied, transpose and execute adjusting a reference step size for one coefficient in the reference coefficient set.

[0019] In a possible implementation, the first surface function is a polynomial function, and the degree of the polynomial function is an even number greater than 0.

[0020] In a possible implementation, the degree of the polynomial function is equal to 6 or 8.

[0021] In a possible implementation, after determining the first optimization reference value corresponding to the first fitting function based on the first coordinate difference and the first curvature difference, the method further includes: setting N = 1;

[0022] Adjusting a coefficient in the reference coefficient set by a reference step size to obtain a second coefficient set includes: adjusting the coefficient of the Nth item in the reference coefficient set by the reference step size to obtain a second coefficient set;

[0023] Before transposing and performing adjusting a coefficient in the reference coefficient set by a reference step size, the method further includes: if N is equal to the number of terms of the first surface function, setting N = 1; if N is less than the number of terms of the first surface function, setting N = N + 1.

[0024] In a possible implementation, before adjusting a coefficient in the reference coefficient set by a reference step size, the method further includes: if the optimization state corresponding to the coefficient of the Nth item is empty, determining the first step size as the reference step size; if the optimization state corresponding to the coefficient of the Nth item is not empty, determining the second step size according to the reference step size and the optimization state corresponding to the coefficient of the Nth item, and determining the second step size as the reference step size;

[0025] If the second optimization reference value is less than the reference optimization reference value, the method further includes: recording the optimization state corresponding to the coefficient of the Nth item as adjusted;

[0026] If the second optimization parameter value is greater than the reference optimization reference value, the method further includes: recording the optimization state corresponding to the coefficient of the Nth item as unadjusted.

[0027] In a second aspect, an apparatus for optimizing the shape of an automotive windshield is provided, and the apparatus includes:

[0028] An acquisition module, configured to acquire the shape of an automotive windshield to be optimized, and determine a first type of reference point and a second type of reference point in the shape of the automotive windshield to be optimized;

[0029] A fitting module, configured to perform surface fitting based on the first reference coordinate information of the first type of reference points and the second reference coordinate information of the second type of reference points, so as to obtain a first surface function corresponding to the automotive windshield surface to be optimized, wherein the first reference coordinate information includes a first reference coordinate, a second reference coordinate, and a third reference coordinate, the second reference coordinate information includes a fourth reference coordinate, a fifth reference coordinate, and a sixth reference coordinate, the first reference coordinate, the second reference coordinate, and the third reference coordinate are respectively coordinate values under different coordinate axes, and the fourth reference coordinate, the fifth reference coordinate, and the sixth reference coordinate are respectively coordinate values under different coordinate axes;

[0030] A first determination module, configured to:

[0031] Substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain a first actual coordinate, and calculate a first coordinate difference between the first actual coordinate and the third reference coordinate;

[0032] Substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain a second actual coordinate, determine a corresponding first actual curvature based on the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate a first curvature difference between the first actual curvature and the reference curvature corresponding to the second reference point;

[0033] Based on the first coordinate difference and the first curvature difference, determine a first optimization reference value corresponding to the first surface function;

[0034] A setting module, configured to set the first optimization reference value as a reference optimization reference value, and set a first coefficient set corresponding to the first surface function as a reference coefficient set;

[0035] A second determination module, configured to:

[0036] Adjust a reference step size for one coefficient in the reference coefficient set to obtain a second coefficient set, and determine a second surface function corresponding to the second coefficient set;

[0037] Substitute the first reference coordinate and the second reference coordinate into the second surface function to obtain a third actual coordinate, and calculate a second coordinate difference between the third actual coordinate and the third reference coordinate;

[0038] Substitute the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain a fourth actual coordinate, determine a corresponding second actual curvature based on the second surface function, the fourth reference coordinate, the fifth reference coordinate, and the fourth actual coordinate, and calculate a second curvature difference between the second actual curvature and the reference curvature;

[0039] Determine a second optimization reference value corresponding to the second surface function based on the second coordinate difference and the second curvature difference;

[0040] A loop module for:

[0041] If the second optimization reference value is less than the benchmark optimization reference value, set the second optimization reference value to the benchmark optimization reference value and set the second coefficient set to the benchmark coefficient set. If the second optimization parameter value is greater than the benchmark optimization reference value, set the first optimization reference value to the benchmark optimization reference value and set the first coefficient set to the benchmark coefficient set;

[0042] If the loop end condition is satisfied, determine the surface function corresponding to the benchmark coefficient set as the surface function of the optimized automotive windshield profile. If the loop end condition is not satisfied, transpose and execute adjusting a coefficient in the benchmark coefficient set by a benchmark step size.

[0043] In a possible implementation, the first surface function is a polynomial function, and the degree of the polynomial function is an even number greater than 0.

[0044] In a possible implementation, the degree of the polynomial function is equal to 6 or 8.

[0045] In a possible implementation, the setting module is further configured to: set N = 1;

[0046] A second determination module for: adjusting a coefficient of the Nth term in the benchmark coefficient set by a benchmark step size to obtain a second coefficient set;

[0047] The setting module is further configured to: if N is equal to the number of terms of the first surface function, set N = 1, and if N is less than the number of terms of the first surface function, set N = N + 1.

[0048] In a possible implementation, the loop module is further configured to:

[0049] If the optimization status corresponding to the coefficient of the Nth term is empty, determine the first step size as the benchmark step size. If the optimization status corresponding to the coefficient of the Nth term is not empty, determine a second step size according to the benchmark step size and the optimization status corresponding to the coefficient of the Nth term, and determine the second step size as the benchmark step size;

[0050] Record the optimization status corresponding to the coefficient of the Nth term as adjusted;

[0051] Record the optimization status corresponding to the coefficient of the Nth term as unadjusted.

[0052] In a third aspect, a computer device is provided, which includes a processor and a memory. At least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the operations performed by the method for optimizing the profile of an automotive windshield.

[0053] In a fourth aspect, a computer-readable storage medium is provided. At least one instruction is stored in the storage medium, and the instruction is loaded and executed by the processor to implement the operations performed by the method for optimizing the profile of an automotive windshield.

[0054] In a fifth aspect, a computer program product is provided. The computer program product includes computer program code. When the computer program code is executed by a computer device, the computer device executes the method according to the first aspect and its possible implementation manners.

[0055] The beneficial effects brought by the technical solutions provided in the embodiments of the present application are as follows:

[0056] In the solution provided in the embodiments of the present application, first, the profile of the automotive windshield to be optimized is obtained, and first-type reference points and second-type reference points are determined on the profile of the automotive windshield. Among them, the first-type reference points are the points fixed to the automotive sheet metal, and the second-type reference points are the points within the HUD imaging range. Then, surface fitting is performed on these two types of points to obtain a surface function, and the surface function is optimized. When optimizing the surface function, the coordinate information of the first-type points is ensured not to change as much as possible, and the curvature corresponding to the second-type points is within the preset curvature range. After multiple iterations, the surface function of the optimized profile of the automotive windshield is finally obtained. By adopting this solution, both the boundary requirements that need to be satisfied when the windshield is assembled with the automotive sheet metal and the curvature requirements that need to be satisfied in the HUD imaging area are considered. In this way, both the successful assembly of the automotive windshield and the automotive sheet metal can be ensured, and the curvature in the HUD imaging area can be ensured to be within the preset curvature range, thereby ensuring the HUD imaging effect. Description of the Drawings

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0058] Figure 1 is a schematic structural diagram of a server provided by an embodiment of the present application;

[0059] Figure 2 is a flowchart of a method for optimizing the profile of an automotive windshield provided by an embodiment of the present application;

[0060] Figure 3 It is a flowchart of a method for optimizing the profile of an automotive windshield provided by an embodiment of the present application;

[0061] Figure 4 It is a schematic structural diagram of the profile of an automotive windshield provided by an embodiment of the present application;

[0062] Figure 5 It is a schematic diagram of the boundary of the profile of an automotive windshield provided by an embodiment of the present application;

[0063] Figure 6 It is a schematic diagram of a reference coordinate system provided by an embodiment of the present application;

[0064] Figure 7 It is a schematic structural diagram of a device for optimizing the profile of an automotive windshield provided by an embodiment of the present application;

[0065] Figure 8 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0066] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0067] Head Up Display (HUD) technology projects driving information (such as vehicle speed, navigation, vehicle distance, etc.) onto the profile of the windshield (the side of the windshield facing the driver), enabling the driver to view the driving information without having to lower their head or turn their head as much as possible, ensuring that the driver's line of sight always remains focused straight ahead of the vehicle. To ensure the clarity of the imaging, it is required that the curvature of the area on the automotive windshield profile for HUD imaging be within a preset curvature range.

[0068] The embodiment of the present application provides a method for optimizing the profile of an automotive windshield, which can ensure that the curvature of the HUD imaging area is within a preset curvature range, guarantee the accuracy and clarity of HUD imaging, and thus provide a guarantee for the safe driving of the driver.

[0069] The embodiment of the present application provides a method for optimizing the profile of an automotive windshield. The execution subject of this method can be a server. From the perspective of hardware composition, the structure of the server can be as Figure 1 shown, including a processor 110, a memory 120, and a communication component 130.

[0070] The processor 110 can be a Central Processing Unit (CPU) or a System on Chip (SoC), etc. The processor 110 can be used to obtain the profile of the automotive windshield to be optimized, to determine the first surface function corresponding to the profile of the automotive windshield to be optimized, to determine the first optimization reference value corresponding to the first surface function, and so on.

[0071] The memory 120 can be various volatile memories or non-volatile memories, such as a Solid State Disk (SSD), a Dynamic Random Access Memory (DRAM), etc. The memory 120 can be used to store the pre-stored data, intermediate data, and result data during the process of optimizing the profile of the automotive windshield. For example, the first reference coordinate information, the second reference coordinate information, the first surface function, the first optimization reference value, the second surface function, the second optimization reference value, the first preset step size, and so on.

[0072] The communication component 130 can be a wired network connector, a Wireless Fidelity (WiFi) module, a Bluetooth module, a cellular network communication module, etc. The communication component 130 can be used to transmit data with other devices, and the other devices can be other servers or operation terminals, etc. For example, the communication component 130 can be used to receive the profile of the automotive windshield to be optimized sent by the operation terminal, and so on.

[0073] Next, the process of the method for optimizing the profile of the automotive windshield provided by the embodiments of the present application will be introduced. The processing flow of this method is as Figure 2 and Figure 3 shown, including the following processing steps:

[0074] S201. Obtain the profile of the automotive windshield to be optimized, and determine the first type of reference points and the second type of reference points within the profile of the automotive windshield to be optimized.

[0075] For an automotive model whose windshield has not been optimized, the server can extract the three-dimensional model of the windshield from the automotive model. For the three-dimensional model of a windshield, it can usually be simplified into a symmetric surface, as Figure 4 shown. This surface can be regarded as the profile of the automotive windshield (hereinafter referred to as the glass surface). The extraction of the three-dimensional model of the windshield and the simplification of the three-dimensional model of the windshield can be implemented by three-dimensional drawing software, which will not be elaborated here.

[0076] The windshield has an outer boundary and an inner boundary, just as Figure 5As shown, the area formed between the outer boundary and the inner boundary (referred to as the first area) is used to connect with the automotive sheet metal parts, so as to fix the automotive windshield to the vehicle body and ensure the stability of the automotive windshield. The windshield also has an area for displaying driving information (referred to as the second area), as Figure 5 shown, the second area is the HUD imaging area.

[0077] After the server obtains the glass surface, it can display the glass surface to the technician, and the technician can select the first type of reference points and the second type of reference points within the glass surface. Among them, the first type of reference points are located within the above-mentioned first area (including the inner boundary and the outer boundary), and the second type of reference points are located within the above-mentioned second area (including the boundary of the second area).

[0078] S202. Based on the first reference coordinate information of the first type of reference points and the second reference coordinate information of the second type of reference points, perform surface fitting to obtain the first surface function corresponding to the automotive windshield surface to be optimized.

[0079] After the server determines the glass surface, it can establish a reference coordinate system. Exemplarily, as Figure 6 shown, the method for establishing the reference coordinate system can be as follows:

[0080] First, the server can determine the two endpoints A and B of the intersection line m of the glass surface and the symmetry plane, connect the two endpoints, and determine the midpoint of the line segment AB as the coordinate origin O; second, it can determine the straight line where the line segment AB is located as the x-axis of the reference coordinate system, and determine the direction where point A is located as the positive direction of the x-axis; then, it can determine the straight line passing through the coordinate origin O and perpendicular to the symmetry plane as the y-axis of the reference coordinate system, and determine a certain direction as the positive direction of the y-axis; finally, according to the positive direction of the x-axis, the positive direction of the y-axis and the right-hand screw rule, determine the z-axis of the reference coordinate system.

[0081] After the server determines the reference coordinate system, it can determine the first reference coordinate information corresponding to each first type of reference point and the second reference coordinate information corresponding to each second type of reference point. Among them, the first reference coordinate information includes the first reference coordinate, the second reference coordinate and the third reference coordinate, and the second reference coordinate information includes the fourth reference coordinate, the fifth reference coordinate and the sixth reference coordinate. The first reference coordinate, the second reference coordinate and the third reference coordinate are respectively the coordinate values of the first type of reference point under different coordinate axes, and the fourth reference coordinate, the fifth reference coordinate and the sixth reference coordinate are respectively the coordinate values of the second type of reference point under different coordinate axes. For example, the first reference coordinate information of a certain first type of reference point is (x 11 , y 11 , z 11 ), x 11 is the first reference coordinate, y 11 is the second reference coordinate, z11 is the third reference coordinate; the second reference coordinate information of a certain second type of reference point is (x 21 , y 21 , z 21 ), x 21 is the fourth reference coordinate, y 21 is the fifth reference coordinate, z 21 is the sixth reference coordinate, and so on.

[0082] Furthermore, the server can perform surface fitting on multiple first type of reference points and multiple second type of reference points to obtain a first surface function corresponding to the windshield of the vehicle to be optimized. The first surface function can be a polynomial function, and the degree of the polynomial function is an even number greater than 0. Exemplarily, the technician can preset the degree of the polynomial function. For example, the technician sets the degree of the polynomial function to 6, 8, and so on.

[0083] Optionally, the server can also obtain a first surface function corresponding to the windshield of the vehicle to be optimized through Fourier transform based on multiple first type of reference points and multiple second type of reference points.

[0084] S203. Determine the first coordinate difference and the first curvature difference, and based on the first coordinate difference and the first curvature difference, determine the first optimization reference value corresponding to the first surface function.

[0085] For each first type of reference point, the server can substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain the first actual coordinate, and calculate the first coordinate difference between the first actual coordinate and the third reference coordinate. For example, the server substitutes x 11 , y 11 into the first surface function to obtain z 11 ’, and then calculates the difference between z 11 ’ and z 11 , and records (z 11 ’ - z 11 ) as the first coordinate difference.

[0086] The technician can preset a preset curvature value corresponding to the HUD imaging area. After the technician determines the second type of reference points, the server can set a reference curvature for each second type of reference point to ensure the continuity and flatness of the HUD imaging area.

[0087] For each second - type reference point, the server can substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain the second actual coordinate, and determine the first actual curvature corresponding to this second - type reference point according to the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate the first curvature difference between the first actual curvature and the reference curvature corresponding to this second reference point. For example, the server substitutes x 21 and y 21 into the first surface function to obtain z 21 ', and then determines the first actual curvature corresponding to this point, denoted as q1', according to the first surface function, x 21 , y 21 , and z 21 '. Then, calculate the difference between q1' and the reference curvature q1 corresponding to this second reference point, and denote (q1' - q1) as the first curvature difference.

[0088] When technicians select the first - type reference points and the second - type reference points, they can number each first - type reference point and each second - type reference point, and at the same time, they can set a weight for each point according to experience. For example, the weight w a1 of the first first - type reference point is 0.04, the weight w a2 of the second first - type reference point is 0.02, the weight w b1 of the first second - type reference point is 0.06, the weight w b2 of the second second - type reference point is 0.01, and so on.

[0089] The server can calculate the first optimization reference value K1 corresponding to the first surface function according to the optimization reference value formula . Where K is the optimization reference value, n is the number of first - type reference points, w ai is the weight of the i - th first - type reference point, z 1i ' is the actual coordinate of the i - th first - type reference point calculated by the first surface function, z 1i is the third reference coordinate of the i - th first - type reference point, m is the number of second - type reference points, w bj is the weight of the j - th second - type reference point, q j ' is the actual curvature of the j - th second - type reference point, and q j is the reference curvature corresponding to the j - th second - type reference point.

[0090] S204. Set the first optimization reference value as the reference optimization reference value, set the first coefficient set corresponding to the first surface function as the reference coefficient set, and set N = 1.

[0091] Among them, the first coefficient set is composed of the coefficients of each term in the first surface function, and the position of the coefficient in the set corresponds to the position of the term corresponding to the coefficient in the first surface function.

[0092] Optionally, a technician can set, according to experience, which coefficients in the first surface function need to be optimized and which coefficients do not need to be optimized. In this case, the first coefficient set is the set of coefficients that need to be optimized.

[0093] S205: Adjust a coefficient in the reference coefficient set by a reference step size to obtain a second coefficient set, and determine the second surface function corresponding to the second coefficient set.

[0094] The server may record the optimization status corresponding to each coefficient in the reference coefficient set. The optimization status corresponding to a certain coefficient is used to indicate whether the coefficient is an optimized coefficient. The optimization status can be empty, can be adjusted, or can be unadjusted.

[0095] For a coefficient, if the corresponding optimization status is empty, it means that the server has not performed optimization processing on this coefficient; if the corresponding optimization status is adjusted, it means that the server has performed optimization processing on this coefficient and adjusted the value of this coefficient; if the corresponding optimization status is unadjusted, it means that the server has performed optimization processing on this coefficient and has not adjusted the value of this coefficient.

[0096] When the server optimizes the coefficient of the Nth term, it first judges the optimization status corresponding to the coefficient of the Nth term.

[0097] If the optimization status is empty, set the first step size to the reference step size. For example, the preset first step size is 2, and the optimization status corresponding to the coefficient a1 of the first term is empty. Before optimizing a1, set the reference step size to 2 and perform subsequent processing, and so on.

[0098] If the optimization status is not empty, determine the second step size according to the preset step size adjustment rule, the reference step size corresponding to the coefficient of the Nth term, and the optimization status, and set the second step size to the reference step size.

[0099] For example, the step size adjustment rule is "when the optimization state becomes adjustment, the first step size is determined as the benchmark step size; when the optimization state has always been adjustment, the second step size is determined to be twice the current benchmark step size; when the optimization state becomes unadjusted, the opposite of the first step size is determined as the benchmark step size; when the optimization state is consistently unadjusted, the second step size is determined to be 0.5 times the current benchmark step size". The preset first step size is 2, and the optimization state corresponding to the coefficient a1 of the first item is adjustment. The second step size is determined to be 2, and the benchmark step size is set to 2 for subsequent processing. If the optimization state corresponding to the coefficient a1 of the first item next time is still adjustment, the benchmark step size is set to 4 for subsequent processing. If the optimization state corresponding to the coefficient a1 of the first item next time is still adjustment, the benchmark step size is set to 8 for subsequent processing. If the optimization state corresponding to the coefficient a1 of the first item next time is still unadjusted, the second step size is determined to be -2, and the benchmark step size is set to -2 for subsequent processing. If the optimization state corresponding to the coefficient a1 of the first item next time is still unadjusted, the benchmark step size is determined to be -0.4, and so on.

[0100] Optionally, technicians can pre-set the first step length and the second step length based on experience, and the first step length and the second step length will not change during the entire optimization process. The determination process of the second step length in the embodiment of the present application is only illustrative and does not impose any limitation.

[0101] After determining the reference step size, the server adjusts the reference step size for the coefficient of the Nth item in the reference coefficient set to obtain a second coefficient set, thereby obtaining a second surface function according to the second coefficient set.

[0102] S206: Determine a second coordinate difference and a second curvature difference, and determine a second optimization reference value corresponding to the second surface function based on the second coordinate difference and the second curvature difference.

[0103] For each first-category reference point, the server substitutes the first reference coordinate and the second reference coordinate into the second surface function to obtain a third actual coordinate, and calculates a second coordinate difference between the third actual coordinate and the third reference coordinate.

[0104] For each second-type reference point, the server substitutes the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain the fourth actual coordinate, determines the corresponding second actual curvature according to the second surface function, the fourth reference coordinate, the fifth reference coordinate and the fourth actual coordinate, and calculates the second curvature difference between the second actual curvature and the reference curvature corresponding to the second reference point.

[0105] The server calculates the second optimization reference value corresponding to the second surface function according to the optimization reference value calculation formula, the second coordinate difference, and the second curvature difference in step S202. The specific processing process is the same as step S102 and will not be repeated here.

[0106] S207. Transpose and perform an adjustment of the reference step for one coefficient in the set of reference coefficients.

[0107] After the server obtains the second optimized reference value, it will compare the second optimized reference value with the reference optimized reference value, and determine whether to update the coefficient of the Nth item according to the comparison result.

[0108] If the second optimized reference value is less than the reference optimized reference value, determine that the coefficient of the Nth item after adjusting the reference step is the coefficient of the Nth item. At the same time, set the second optimized reference value as the reference optimized reference value, set the second coefficient set as the reference coefficient set, and record the optimization status corresponding to the coefficient of the Nth item as adjusted.

[0109] For example, the coefficient of the first item is a1, the corresponding reference optimized reference value is K1, the coefficient of the first item after adjusting the reference step is a1 + 2, and the corresponding second optimized reference value is K2. If K2 is less than K1, determine that a1 + 2 is the coefficient of the first item, determine that K2 is the reference optimized reference value, set the second coefficient set where a1 + 2 is located as the reference coefficient set, and record the optimization status corresponding to the coefficient of the first item as adjusted, and so on.

[0110] If the second optimized parameter value is greater than the reference optimized reference value, determine that the coefficient of the Nth item before adjusting the reference step is the coefficient of the Nth item. At the same time, set the first optimized reference value as the reference optimized reference value, set the first coefficient set as the reference coefficient set, and record the optimization status corresponding to the coefficient of the Nth item as unadjusted.

[0111] For example, the coefficient of the first item is a1, the corresponding reference optimized reference value is K1, the coefficient of the first item after adjusting the reference step is a1 + 2, and the corresponding second optimized reference value is K2. If K2 is greater than K1, determine that a1 is the coefficient of the first item, determine that K1 is the reference optimized reference value, set the second coefficient set where a1 is located as the reference coefficient set, and record the optimization status corresponding to the coefficient of the first item as unadjusted, and so on.

[0112] The server will also determine whether the current optimization process being performed meets the loop end condition. Technicians can preset an optimization times threshold as the loop end condition. In this case, after the server performs an optimization on any coefficient once, it increments the optimization times by 1. If the optimization times reach the optimization times threshold, it means that the loop end condition is met; otherwise, it is not met.

[0113] If the loop end condition is not met, the server can further judge N. If N is equal to the number of terms of the first surface function, then set N = 1. If N is less than the number of terms of the first surface function, then set N = N + 1. Then, transpose and execute the coefficient adjustment reference step for the Nth term in the reference coefficient set (i.e., step S205). The subsequent steps are not elaborated here.

[0114] For example, if the number of terms of the first surface function is 10, and if N = 10, then the server sets N = 1, and then adjusts the coefficient adjustment reference step for the first term in the reference coefficient set; if N = 5, then the server sets N = 6 (i.e., 5 + 1), and then adjusts the coefficient adjustment reference step for the sixth term in the reference coefficient set, and so on.

[0115] If the loop end condition is met, determine the surface function corresponding to the reference coefficient set, and use this surface function as the surface function of the optimized automotive windshield profile, and send this surface function to the terminal device used by the technician, and the technician arranges the subsequent processing. The technician can perform production operations according to the received surface function, or can optimize this surface function again, which is not limited here.

[0116] Optionally, the technician can preset an optimization reference value threshold. If the reference optimization value is less than or equal to the optimization reference value threshold, it is considered that the loop end condition is met, otherwise it is not met. The technician can also preset a difference threshold between the second optimization reference value and the reference optimization value. If the difference between the second optimization reference value and the reference optimization value is less than or equal to the difference threshold, it is considered that the loop end condition is met, otherwise it is not met. The technician can set the loop end condition according to experience, which is not limited here.

[0117] In the solution provided in the embodiments of the present application, first, the profile of the automotive windshield to be optimized is obtained, and it is assumed that the result of the finally optimized glass profile can be represented by a surface function including undetermined reference coefficients, and the first type of reference points and the second type of reference points are determined. Then, the initial values of the undetermined reference coefficients are set, and surface fitting is performed on the first type of reference points and the second type of reference points to obtain the initial surface function. After that, the coordinate differences and curvature differences between the first type of reference points and the second type of reference points in the initial surface function and the actual glass data are calculated, and the initial optimization reference value corresponding to the initial surface function is determined based on the coordinate differences and curvature differences, and the initial optimization reference value is used as the reference optimization reference value. Then, each coefficient in the set of reference coefficients is adjusted by a reference step length in the direction that can improve the optimization reference value to become a temporary optimization coefficient, and the temporary optimization surface function corresponding to the temporary optimization coefficient is recalculated, and the temporary optimization reference value corresponding to the temporary optimization surface function is calculated as the new reference optimization reference value, and based on this, the process of changing the temporary optimization coefficient and the temporary optimization reference value is repeated until the preset number of changes is completed. By adopting this solution, when optimizing the surface function, it is ensured as much as possible that the coordinate information of the first type of points does not change, and the curvature corresponding to the second type of points is within the preset curvature range. After multiple iterations, the surface function of the optimized automotive windshield profile is finally obtained. In this way, both the boundary requirements that need to be satisfied when the windshield is assembled with the automotive sheet metal and the curvature requirements that need to be satisfied in the HUD imaging area are considered. In this way, it can not only ensure the successful assembly of the automotive windshield and the automotive sheet metal, but also ensure that the curvature of the HUD imaging area is within the preset curvature range, thereby ensuring the HUD imaging effect.

[0118] The embodiments of the present application provide a device for optimizing the profile of an automotive windshield. The device may be the server in the above embodiments, such as Figure 7 shown, the device includes:

[0119] An acquisition module 710, configured to acquire the profile of the automotive windshield to be optimized, and determine the first type of reference points and the second type of reference points within the profile of the automotive windshield to be optimized;

[0120] A fitting module 720, configured to perform surface fitting based on the first reference coordinate information of the first type of reference points and the second reference coordinate information of the second type of reference points to obtain a first surface function corresponding to the profile of the automotive windshield to be optimized, where the first reference coordinate information includes a first reference coordinate, a second reference coordinate, and a third reference coordinate, the second reference coordinate information includes a fourth reference coordinate, a fifth reference coordinate, and a sixth reference coordinate, the first reference coordinate, the second reference coordinate, and the third reference coordinate are coordinate values under different coordinate axes respectively, and the fourth reference coordinate, the fifth reference coordinate, and the sixth reference coordinate are coordinate values under different coordinate axes respectively;

[0121] The first determination module 730 is configured to:

[0122] Substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain a first actual coordinate, and calculate a first coordinate difference between the first actual coordinate and the third reference coordinate;

[0123] Substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain a second actual coordinate, determine a corresponding first actual curvature based on the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate a first curvature difference between the first actual curvature and the reference curvature corresponding to the second reference point;

[0124] Determine a first optimization reference value corresponding to the first surface function based on the first coordinate difference and the first curvature difference;

[0125] The setting module 740 is configured to set the first optimization reference value as a reference optimization reference value, and set the first coefficient set corresponding to the first surface function as a reference coefficient set;

[0126] The second determination module 750 is configured to:

[0127] Adjust a reference step for one coefficient in the reference coefficient set to obtain a second coefficient set, and determine a second surface function corresponding to the second coefficient set;

[0128] Substitute the first reference coordinate and the second reference coordinate into the second surface function to obtain a third actual coordinate, and calculate a second coordinate difference between the third actual coordinate and the third reference coordinate;

[0129] Substitute the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain a fourth actual coordinate, determine a corresponding second actual curvature based on the second surface function, the fourth reference coordinate, the fifth reference coordinate, and the fourth actual coordinate, and calculate a second curvature difference between the second actual curvature and the reference curvature;

[0130] Determine a second optimization reference value corresponding to the second surface function based on the second coordinate difference and the second curvature difference;

[0131] The loop module 760 is configured to:

[0132] If the second optimized reference value is less than the reference optimized reference value, set the second optimized reference value to the reference optimized reference value, and set the second coefficient set to the reference coefficient set. If the second optimized parameter value is greater than the reference optimized reference value, set the first optimized reference value to the reference optimized reference value, and set the first coefficient set to the reference coefficient set;

[0133] If the loop end condition is satisfied, determine the surface function corresponding to the reference coefficient set as the surface function of the optimized automotive windshield profile. If the loop end condition is not satisfied, transpose and execute adjusting a coefficient in the reference coefficient set by a reference step size.

[0134] In a possible implementation, the first surface function is a polynomial function, and the degree of the polynomial function is an even number greater than 0.

[0135] In a possible implementation, the degree of the polynomial function is equal to 6 or 8.

[0136] In a possible implementation, the setting module 740 is further configured to: set N = 1;

[0137] The second determination module is configured to: adjust the coefficient of the Nth item in the reference coefficient set by a reference step size to obtain a second coefficient set;

[0138] The setting module 740 is further configured to: if N is equal to the number of items of the first surface function, set N = 1; if N is less than the number of items of the first surface function, set N = N + 1.

[0139] In a possible implementation, the loop module 760 is further configured to:

[0140] If the optimization status corresponding to the coefficient of the Nth item is empty, determine the first step size as the reference step size. If the optimization status corresponding to the coefficient of the Nth item is not empty, determine the second step size according to the reference step size and the optimization status corresponding to the coefficient of the Nth item, and determine the second step size as the reference step size;

[0141] Record the optimization status corresponding to the coefficient of the Nth item as adjusted;

[0142] Record the optimization status corresponding to the coefficient of the Nth item as unadjusted.

[0143] In the solution provided in the embodiments of the present application, first, the profile of the automotive windshield to be optimized is obtained, and it is assumed that the final optimized profile result of the glass can be represented by a surface function including undetermined reference coefficients, and the first type of reference points and the second type of reference points are determined. Then, the initial values of the undetermined reference coefficients are set, and surface fitting is performed on the first type of reference points and the second type of reference points to obtain the initial surface function. After that, the coordinate differences and curvature differences between the first type of reference points and the second type of reference points in the initial surface function and the actual glass data are calculated, and the initial optimization reference value corresponding to the initial surface function is determined based on the coordinate differences and curvature differences, and the initial optimization reference value is used as the reference optimization reference value. Then, each coefficient in the set of reference coefficients is adjusted by a reference step length in the direction that can improve the optimization reference value to become a temporary optimization coefficient, and the temporary optimization surface function corresponding to the temporary optimization coefficient is recalculated, and the temporary optimization reference value corresponding to the temporary optimization surface function is calculated as the new reference optimization reference value, and based on this, the process of changing the temporary optimization coefficient and the temporary optimization reference value is repeated until the preset number of changes is completed. By adopting this solution, when optimizing the surface function, it is ensured as much as possible that the coordinate information of the first type of points does not change, and the curvature corresponding to the second type of points is within the preset curvature range. After multiple iterations, the surface function of the optimized automotive windshield profile is finally obtained. In this way, both the boundary requirements that need to be met when the windshield is assembled with the automotive sheet metal and the curvature requirements that need to be met in the HUD imaging area are considered. In this way, it can not only ensure the successful assembly of the automotive windshield and the automotive sheet metal, but also ensure that the curvature of the HUD imaging area is within the preset curvature range, thereby ensuring the HUD imaging effect.

[0144] It should be noted that when the device for optimizing the profile of the automotive windshield provided in the above embodiments optimizes the profile of the automotive windshield, only the above division of each functional module is used as an example for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for optimizing the profile of the automotive windshield provided in the above embodiments and the method embodiments for optimizing the profile of the automotive windshield belong to the same concept, and the specific implementation process is detailed in the method embodiments and will not be repeated here.

[0145] A computer device provided in an embodiment of the present application, and the computer device may be the server in the above embodiments. Figure 8It is a schematic structural diagram of the computer device. The computer device 800 may vary greatly due to different configurations or performances, and may include one or more processors (Central Processing Units, CPUs) 810 and one or more memories 820. Among them, at least one instruction is stored in the memory 820, and the at least one instruction is loaded and executed by the processor 810 to implement the methods provided in the above various method embodiments. Of course, the computer device may also have components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input / output. The computer device may also include other components for implementing device functions, which will not be elaborated here.

[0146] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions. The above instructions can be executed by a processor in a terminal to complete the method of information display in the above embodiment. The computer-readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0147] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware or by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, or an optical disc, etc.

[0148] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for optimizing the profile of an automotive windshield, characterized in that, The method includes: Obtain the profile of the automotive windshield to be optimized, and determine the first type of reference points and the second type of reference points within the profile of the automotive windshield to be optimized. Among them, the first type of reference points are located in the first region, and the first region is the region formed between the outer boundary and the inner boundary of the automotive windshield and is used to connect with the automotive sheet metal parts. The second type of reference points are located in the region of the automotive windshield that displays driving information; Based on the first reference coordinate information of the first type of reference points and the second reference coordinate information of the second type of reference points, perform surface fitting to obtain the first surface function corresponding to the profile of the automotive windshield to be optimized. Among them, the midpoint of the two endpoints A and B of the intersection line m of the glass surface of the automotive windshield and the symmetry plane is the coordinate origin O of the reference coordinate system. The straight line where the line segment AB is located is the x-axis of the reference coordinate system, the direction where the A point is located is the positive direction of the x-axis, the straight line passing through the coordinate origin O and perpendicular to the symmetry plane is the y-axis of the reference coordinate system, and a certain direction is the positive direction of the y-axis. According to the positive direction of the x-axis, the positive direction of the y-axis, and the right-hand screw rule, determine the z-axis of the reference coordinate system. The first reference coordinate information includes the first reference coordinate, the second reference coordinate, and the third reference coordinate. The second reference coordinate information includes the fourth reference coordinate, the fifth reference coordinate, and the sixth reference coordinate. The first reference coordinate is the coordinate value corresponding to the x-axis of the reference coordinate system, the second reference coordinate is the coordinate value corresponding to the y-axis of the reference coordinate system, the third reference coordinate is the coordinate value corresponding to the z-axis of the reference coordinate system, the fourth reference coordinate is the coordinate value corresponding to the x-axis of the reference coordinate system, the fifth reference coordinate is the coordinate value corresponding to the y-axis of the reference coordinate system, and the sixth reference coordinate is the coordinate value corresponding to the z-axis of the reference coordinate system; Substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain the first actual coordinate, and calculate the first coordinate difference between the first actual coordinate and the third reference coordinate; Substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain the second actual coordinate, determine the corresponding first actual curvature based on the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate the first curvature difference between the first actual curvature and the reference curvature corresponding to the second type of reference points; Based on the first coordinate difference and the first curvature difference, determine a first optimization reference value corresponding to the first surface function, where the formula for the first optimization reference value is K is the first optimization reference value, n is the number of first - type reference points, w ai is the weight of the i - th first - type reference point, z 1i ’ is the actual coordinate of the i - th first - type reference point calculated by the first surface function, z 1i is the third reference coordinate of the i - th first - type reference point, m is the number of second - type reference points, w bj is the weight of the j - th second - type reference point, q j ’ is the actual curvature of the j - th second - type reference point, q j is the reference curvature corresponding to the j - th second - type reference point; Set the first optimization reference value as the reference optimization reference value, and set the first coefficient set corresponding to the first surface function as the reference coefficient set; Adjust the reference step size for one coefficient in the reference coefficient set to obtain a second coefficient set, and determine the second surface function corresponding to the second coefficient set; Substitute the first reference coordinate and the second reference coordinate into the second surface function to obtain the third actual coordinate, and calculate the second coordinate difference between the third actual coordinate and the third reference coordinate; Substitute the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain the fourth actual coordinate. Based on the second surface function, the fourth reference coordinate, the fifth reference coordinate, and the fourth actual coordinate, determine the corresponding second actual curvature, and calculate the second curvature difference between the second actual curvature and the reference curvature; Based on the second coordinate difference and the second curvature difference, determine the second optimization reference value corresponding to the second surface function; If the second optimization reference value is less than the reference optimization reference value, set the second optimization reference value as the reference optimization reference value and set the second coefficient set as the reference coefficient set. If the second optimization reference value is greater than the reference optimization reference value, set the first optimization reference value as the reference optimization reference value and set the first coefficient set as the reference coefficient set; If the loop end condition is satisfied, determine the surface function corresponding to the reference coefficient set as the surface function of the optimized automotive windshield profile. If the loop end condition is not satisfied, transpose and execute adjusting a coefficient in the reference coefficient set by a reference step size, where the loop end condition is that a judgment value is less than or equal to a threshold, and the judgment value is the reference optimization reference value or the difference between the second optimization reference value and the reference optimization reference value.

2. The method according to claim 1, wherein The first surface function is a polynomial function, and the degree of the polynomial function is an even number greater than 0.

3. The method according to claim 2, wherein The degree of the polynomial function is equal to 6 or 8.

4. The method according to claim 2, wherein After determining the first optimization reference value corresponding to the first surface function based on the first coordinate difference and the first curvature difference, the method further includes: setting N = 1; Adjusting a coefficient in the reference coefficient set by a reference step size to obtain a second coefficient set includes: adjusting the coefficient of the Nth item in the reference coefficient set by a reference step size to obtain a second coefficient set; Before transposing and executing adjusting a coefficient in the reference coefficient set by a reference step size, the method further includes: if N is equal to the number of items of the first surface function, set N = 1, if N is less than the number of items of the first surface function, set N = N + 1.

5. The method according to claim 4, wherein Before adjusting a coefficient in the reference coefficient set by a reference step size, the method further includes: if the optimization state corresponding to the coefficient of the Nth item is empty, determine the first step size as the reference step size. If the optimization state corresponding to the coefficient of the Nth item is not empty, determine the second step size according to the reference step size and the optimization state corresponding to the coefficient of the Nth item, and determine the second step size as the reference step size; If the second optimization reference value is less than the reference optimization reference value, the method further includes: recording the optimization state corresponding to the coefficient of the Nth item as adjusted; If the second optimization reference value is greater than the reference optimization reference value, the method further includes: recording the optimization state corresponding to the coefficient of the Nth item as unadjusted.

6. An apparatus for optimizing the profile of an automotive windshield, characterized in that, The device includes: An acquisition module, configured to acquire the profile of an automotive windshield to be optimized, and determine a first type of reference points and a second type of reference points within the profile of the automotive windshield to be optimized, wherein the first type of reference points are located in a first region, and the first region is a region formed between the outer boundary and the inner boundary of the automotive windshield and is used for connection with an automotive sheet metal part, and the second type of reference points are located in a region of the automotive windshield that displays driving information; A fitting module, configured to perform surface fitting based on first reference coordinate information of the first type of reference points and second reference coordinate information of the second type of reference points to obtain a first surface function corresponding to the profile of the automotive windshield to be optimized, wherein the midpoint of two endpoints A and B of an intersection line m between the glass surface of the automotive windshield and a symmetry plane is the coordinate origin O of a reference coordinate system, the straight line where the line segment AB is located is the x-axis of the reference coordinate system, the direction where the point A is located is the positive direction of the x-axis, the straight line passing through the coordinate origin O and perpendicular to the symmetry plane is the y-axis of the reference coordinate system, a certain direction is the positive direction of the y-axis, and according to the positive direction of the x-axis, the positive direction of the y-axis, and the right-hand screw rule, the z-axis of the reference coordinate system is determined. The first reference coordinate information includes a first reference coordinate, a second reference coordinate, and a third reference coordinate. The second reference coordinate information includes a fourth reference coordinate, a fifth reference coordinate, and a sixth reference coordinate. The first reference coordinate is the coordinate value corresponding to the x-axis of the reference coordinate system, the second reference coordinate is the coordinate value corresponding to the y-axis of the reference coordinate system, the third reference coordinate is the coordinate value corresponding to the z-axis of the reference coordinate system, the fourth reference coordinate is the coordinate value corresponding to the x-axis of the reference coordinate system, the fifth reference coordinate is the coordinate value corresponding to the y-axis of the reference coordinate system, and the sixth reference coordinate is the coordinate value corresponding to the z-axis of the reference coordinate system; A first determination module, configured to: Substitute the first reference coordinate and the second reference coordinate into the first surface function to obtain a first actual coordinate, and calculate a first coordinate difference between the first actual coordinate and the third reference coordinate; Substitute the fourth reference coordinate and the fifth reference coordinate into the first surface function to obtain a second actual coordinate, determine a corresponding first actual curvature based on the first surface function, the fourth reference coordinate, the fifth reference coordinate, and the second actual coordinate, and calculate a first curvature difference between the first actual curvature and the reference curvature corresponding to the second type of reference points; Determine a first optimization reference value corresponding to the first surface function based on the first coordinate difference and the first curvature difference, where the formula for the first optimization reference value is K is the first optimization reference value, n is the number of first - type reference points, w ai is the weight of the i - th first - type reference point, z 1i ’ is the actual coordinate of the i - th first - type reference point calculated by the first surface function, z 1i is the third reference coordinate of the i - th first - type reference point, m is the number of second - type reference points, w bj is the weight of the j - th second - type reference point, q j ’ is the actual curvature of the j - th second - type reference point, q j is the reference curvature corresponding to the j - th second - type reference point; A setting module, configured to set a first optimization reference value as a reference optimization reference value, and set a first coefficient set corresponding to the first surface function as a reference coefficient set; A second determination module, configured to: Adjust a reference step size for a coefficient in the reference coefficient set to obtain a second coefficient set, and determine a second surface function corresponding to the second coefficient set; Substitute the first reference coordinate and the second reference coordinate into the second surface function to obtain a third actual coordinate, and calculate a second coordinate difference between the third actual coordinate and the third reference coordinate; Substitute the fourth reference coordinate and the fifth reference coordinate into the second surface function to obtain the fourth actual coordinate. Based on the second surface function, the fourth reference coordinate, the fifth reference coordinate, and the fourth actual coordinate, determine the corresponding second actual curvature, and calculate the second curvature difference between the second actual curvature and the reference curvature; Based on the second coordinate difference and the second curvature difference, determine the second optimization reference value corresponding to the second surface function; A loop module for: If the second optimization reference value is less than the reference optimization reference value, set the second optimization reference value to the reference optimization reference value and set the second coefficient set to the reference coefficient set. If the second optimization reference value is greater than the reference optimization reference value, set the first optimization reference value to the reference optimization reference value and set the first coefficient set to the reference coefficient set; If the loop end condition is satisfied, determine the surface function corresponding to the reference coefficient set as the surface function of the optimized automotive windshield profile. If the loop end condition is not satisfied, transpose and execute adjusting a coefficient in the reference coefficient set by a reference step size, where the loop end condition is that a judgment value is less than or equal to a threshold, and the judgment value is the reference optimization reference value or the difference between the second optimization reference value and the reference optimization reference value.

7. The device according to claim 6, characterized in that, The first surface function is a polynomial function, and the degree of the polynomial function is an even number greater than 0.

8. A computer device, characterized in that, The computer device includes a processor and a memory. At least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the operations performed by the method for optimizing the automotive windshield profile according to any one of claims 1 to 5.

9. A computer-readable storage medium, characterized in that, At least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the operations performed by the method for optimizing the automotive windshield profile according to any one of claims 1 to 5.

10. A computer program product, characterized in that, The computer program product includes computer program code. When the computer program code is executed by a computer device, the computer device executes the method for optimizing the automotive windshield profile according to any one of claims 1 to 5 above.

Citation Information

Patent Citations

  • Information display system of automobile glass and imaging method thereof

    CN101697036A

  • A vehicle-mounted AR-HUD design method based on windshield reconstruction is presented

    CN109522597A