A method, apparatus, device, and storage medium for evaluating the height of vehicle lighting equipment.
By automatically extracting and comparing the vertical distance between the three-dimensional data feature points of the vehicle's lighting equipment and the reference line, the error problem caused by manual measurement is solved, and efficient and accurate low beam mounting height assessment is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TIANJIN FAW TOYOTA MOTOR CO LTD
- Filing Date
- 2026-03-17
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies, the manual measurement of the height of the low beam of automotive headlights relies on the accuracy of the operator, which is subject to human error, resulting in inaccurate measurement results and low efficiency.
By acquiring the 3D data of the vehicle target lighting equipment and the 3D data of multiple reference lines, feature points are automatically extracted, vertical distances are calculated, and compared with preset reference thresholds, replacing manual measurement and achieving automated evaluation.
This improved the accuracy and consistency of the assessment results, shortened the assessment time, reduced human error, and ensured that the assessment results met the standards.
Smart Images

Figure CN122306383A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive lighting testing technology, and more particularly to a method, apparatus, device, and storage medium for evaluating the height of vehicle lighting equipment. Background Technology
[0002] In the automotive design and manufacturing process, headlights, as safety components, must strictly comply with national standards regarding the mounting height of their low beams. This height directly affects the vehicle's visibility and driving safety, and is one of the key verification indicators in the overall vehicle lighting system design phase.
[0003] Currently, the industry typically uses manual measurement, where designers manually select the highest and lowest points of the headlight's luminous surface in a 3D model, then measure the distance between these points and the corresponding highest and lowest ground lines. The measured values are then compared with standard limits to determine whether they meet the standards.
[0004] However, the accuracy of measurement results obtained through manual measurement depends on the accuracy of the operator's point selection, and is subject to human error. Summary of the Invention
[0005] This application provides a method, apparatus, device, and storage medium for evaluating the height of vehicle lighting equipment, enabling automatic measurement of the mounting height of vehicle lighting equipment and reducing human error.
[0006] Firstly, this application provides a method for evaluating the height of a vehicle lighting device. This method is applied to an electronic device, and the subject executing the method can be an electronic device, a component or device applied to the electronic device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the electronic device, including: Acquire three-dimensional data of the luminous surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple predefined reference lines based on different states of the vehicle; Extract at least one feature point for height evaluation from the three-dimensional data of the luminescent surface; Calculate the vertical distance between at least one feature point and each reference line to obtain at least M sets of distance values; Determine N sets of distance values based on M sets of distance values, where N is less than M, and M and N are positive integers; The N sets of distance values are compared with the corresponding preset reference thresholds to determine the height assessment result of the target lighting equipment.
[0007] In the first aspect, by acquiring three-dimensional data of the luminous surface of the vehicle's target lighting equipment and three-dimensional data of multiple reference lines predefined based on different vehicle states, feature points for height assessment are extracted from the luminous surface. The vertical distance between each feature point and each reference line is calculated to obtain multiple sets of distance values. Then, fewer critical distance values are selected from these sets, and these critical distance values are compared with preset reference thresholds to determine the height assessment result. Since this method uses a three-dimensional digital model as input and utilizes a computer to automatically execute the entire process of feature point extraction, distance calculation, data filtering, and threshold comparison, it replaces the traditional method of manually finding measurement points on three-dimensional data, manually recording values, and comparing them one by one. Therefore, it significantly shortens the time required for assessment and improves work efficiency. Simultaneously, by adopting a unified filtering algorithm and comparison rules, it avoids random errors introduced by different operators' familiarity with the standards or differences in the selection of measurement points, thereby improving the accuracy and consistency of the assessment results.
[0008] In conjunction with the first aspect, in one possible implementation, at least one feature point for height evaluation includes: a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminescent surface.
[0009] In this implementation, by clearly defining the highest and lowest points of the luminous surface as evaluation benchmarks, it ensures that the evaluation directly corresponds to the highest and lowest installation positions of the lighting equipment in the vertical direction as specified in the standard document, achieving a high degree of consistency with the requirements. Therefore, the evaluation process can accurately capture the two extreme positions of the luminous surface in the height direction, providing clear measurement objects for subsequent distance calculations to the ground line, thus enhancing the relevance and standardization of the evaluation.
[0010] In conjunction with the first aspect, in one possible implementation, the N sets of distance values include: the maximum value among the vertical distances between the highest feature point coordinates and at least one reference line model, and the minimum value among the vertical distances between the lowest feature point coordinates and at least one reference line model.
[0011] In this implementation, the maximum vertical distance between the highest feature point and each reference line, and the minimum vertical distance between the lowest feature point and each reference line are selected. This extreme value selection mechanism automatically identifies the ground line that poses the highest risk to the highest point of the low beam optical surface and the ground line that poses the "lowest risk" to the lowest point, considering the multiple ground lines that the vehicle may present under different states. By focusing on the distance values under these two extreme conditions, the two most unfavorable key scenarios for compliance with standards can be effectively identified from all possible vehicle states. This allows for the assessment of the lighting equipment's high level of compliance with the most stringent judgment criteria, ensuring the sufficiency and reliability of the assessment conclusions.
[0012] In conjunction with the first aspect, in one possible implementation, N sets of distance values are compared with corresponding preset reference thresholds to determine the height assessment result of the target lighting device, including: The maximum value of the vertical distance between the highest feature point coordinates and at least one reference line model is compared with the first preset reference threshold to obtain the maximum value comparison result. The minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model is compared with the second preset reference threshold to obtain the minimum value comparison result. Based on the comparison results of the maximum and minimum values, the height assessment result of the target lighting equipment is determined.
[0013] In this implementation, the selected maximum and minimum values are compared with a first preset threshold and a second preset threshold, respectively, and the final evaluation conclusion is derived by combining the two comparison results. This makes the evaluation process clear and rigorous, enabling independent verification of whether the lighting equipment meets the standards in both the vertical and horizontal directions, ensuring that the evaluation results fully meet the standard requirements, and avoiding omissions that may be caused by judging based on a single indicator.
[0014] In conjunction with the first aspect, in one possible implementation, comparing N sets of distance values with corresponding preset reference thresholds to determine the height assessment result of the target lighting device further includes: Get the preset correction value; The maximum value among the vertical distances between the highest feature point coordinates and at least one reference line model is compared with a first preset reference threshold to obtain the maximum value comparison result, including: Add the maximum value of the vertical distances between the highest feature point coordinates and at least one reference line model to the correction value to obtain the corrected maximum value; The corrected maximum value is compared with the first preset reference threshold to obtain the corrected maximum value comparison result; The minimum value of the perpendicular distance between the coordinates of the lowest feature point and at least one reference line model is compared with a second preset reference threshold to obtain the minimum value comparison result, including: Subtract the correction value from the minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model; The corrected minimum value is compared with the second preset reference threshold to obtain the corrected minimum value comparison result.
[0015] In this implementation, a preset correction value is introduced to process the selected extreme distances. Specifically, the maximum distance value corresponding to the highest point is added to the correction value to obtain the corrected maximum value, and the minimum distance value corresponding to the lowest point is subtracted from the correction value to obtain the corrected minimum value. The corrected values are then compared with the first and second preset reference thresholds, respectively. By introducing a correction step between the theoretically calculated value and the standard threshold, the objective tolerance between the digital model measurement environment and the actual vehicle measurement environment is effectively taken into account. This makes the final value participating in the standard comparison closer to the actual situation that might be measured under real vehicle conditions, thereby eliminating misjudgments that may be caused by inherent deviations between theoretical design and physical conditions, and enhancing the engineering practicality and decision-making accuracy of the evaluation results.
[0016] In conjunction with the first aspect, in one possible implementation, the method further includes: In response to the maximum value after correction being greater than the first preset reference threshold, the second largest value after correction is obtained; the second largest value after correction is the sum of the second largest value among the vertical distances between the coordinates of the highest feature point and at least one reference line model and the correction value. The corrected second largest value is compared with the first preset reference threshold to generate the second largest value evaluation result.
[0017] In this implementation, when the corrected maximum value exceeds the first preset reference threshold, the second largest corrected value is further acquired and evaluated. A progressive evaluation logic is constructed, which automatically introduces the second most extreme condition for supplementary analysis after initially determining that the most extreme condition does not meet the standard document requirements. By providing the evaluation results of the second largest value, it is possible to reveal to users whether the next closest state to the limit has the potential for compliance when the most dangerous ground line condition cannot be passed. This provides richer data support for design optimization.
[0018] In conjunction with the first aspect, in one possible implementation, the method further includes: In response to the minimum value after correction being less than the second preset reference threshold, the second smallest value after correction is obtained; the second smallest value after correction is the second smallest value among the vertical distances between the lowest feature point coordinates and at least one reference line model, minus the correction value; The corrected second smallest value is compared with the second preset reference threshold to generate the second smallest value evaluation result.
[0019] In this implementation, when the corrected minimum value is less than the first preset reference threshold, the corrected second minimum value is further obtained and evaluated. A progressive evaluation logic is constructed, which automatically introduces the second extreme value for supplementary analysis after initially determining that the most extreme working condition does not meet the standard document requirements. By providing the evaluation results of the second minimum value, it is possible to reveal to users whether the next closest state to the limit has the possibility of compliance when the most dangerous ground line condition cannot be passed. This provides richer data support for design optimization.
[0020] Secondly, this application provides a vehicle lighting equipment height assessment device, comprising: The data acquisition module is used to acquire three-dimensional data of the luminous surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple predefined reference lines based on different states of the vehicle; The feature extraction module is used to extract at least one feature point for height evaluation from the three-dimensional data of the luminescent surface; Calculate the vertical distance between at least one feature point and each reference line to obtain at least M sets of distance values; The distance determination module is used to determine N sets of distance values based on M sets of distance values, where N is less than M, and M and N are positive integers. The distance comparison module is used to compare N sets of distance values with corresponding preset reference thresholds to determine the height assessment result of the target lighting device.
[0021] In conjunction with the second aspect, in one possible implementation, at least one feature point for height evaluation includes: a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminescent surface.
[0022] In conjunction with the second aspect, in one possible implementation, the N sets of distance values include: the maximum value among the vertical distances between the highest feature point coordinates and at least one reference line model, and the minimum value among the vertical distances between the lowest feature point coordinates and at least one reference line model.
[0023] In conjunction with the second aspect, in one possible implementation, the distance comparison module is also used to compare the maximum value of the vertical distance between the coordinates of the highest feature point and at least one reference line model with a first preset reference threshold to obtain the maximum value comparison result. The minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model is compared with the second preset reference threshold to obtain the minimum value comparison result. Based on the comparison results of the maximum and minimum values, the height assessment result of the target lighting equipment is determined.
[0024] In conjunction with the second aspect, in one possible implementation, the distance comparison module is also used to obtain a preset correction value; Add the maximum value of the vertical distances between the highest feature point coordinates and at least one reference line model to the correction value to obtain the corrected maximum value; The corrected maximum value is compared with the first preset reference threshold to obtain the maximum value comparison result; Subtract the correction value from the minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model; The corrected minimum value is compared with the second preset reference threshold to obtain the minimum value comparison result.
[0025] In conjunction with the second aspect, in one possible implementation, the distance comparison module is also used to obtain the second largest value after correction in response to the maximum value after correction being greater than the first preset reference threshold; the second largest value after correction is the sum of the second largest value among the vertical distances between the coordinates of the highest feature point and at least one reference line model and the correction value. The corrected second largest value is compared with the first preset reference threshold to generate the second largest value evaluation result.
[0026] In conjunction with the second aspect, in one possible implementation, the distance comparison module is also used to obtain the second smallest value after correction in response to the correction minimum value being less than the second preset reference threshold; the second smallest value after correction is the second smallest value among the vertical distances between the lowest feature point coordinates and at least one reference line model and the correction value. The corrected second smallest value is compared with the second preset reference threshold to generate the second smallest value evaluation result.
[0027] Thirdly, this application provides an electronic device comprising: a processor and a memory; the memory storing processor-executable instructions; when the processor is configured to execute the instructions, causing the electronic device to implement the method of the first aspect described above.
[0028] Fourthly, this application provides a computer-readable storage medium comprising: computer software instructions; which, when executed in an electronic device, cause the electronic device to implement the method described in the first aspect.
[0029] Fifthly, this application provides a computer program product comprising a computer program; when the computer program is run in an electronic device, it causes the electronic device to implement the method described in the first aspect.
[0030] The beneficial effects of the second to fifth aspects mentioned above are described in the corresponding description of the first aspect and will not be repeated here. Attached Figure Description
[0031] Figure 1 A schematic diagram illustrating the application environment of a vehicle lighting equipment height assessment method provided in this application embodiment; Figure 2 A schematic diagram of a vehicle lighting equipment height assessment system architecture is provided for an embodiment of this application; Figure 3 A flowchart illustrating a method for evaluating the height of a vehicle lighting device provided in an embodiment of this application; Figure 4 A flowchart illustrating a method for evaluating the mounting height of a vehicle's low beam headlights, provided in an embodiment of this application; Figure 5 This is a schematic diagram of a car headlight provided in an embodiment of this application; Figure 6 A schematic diagram showing the distance between the highest feature point of the near-light emitting surface and the ground line provided in an embodiment of this application; Figure 7 A schematic diagram showing the distance between the lowest feature point of the near-light emitting surface and the ground line provided in an embodiment of this application; Figure 8 This is a schematic diagram of the process for filtering the maximum height of the near-light emitting surface provided in an embodiment of this application; Figure 9 This is a schematic diagram of the minimum value screening process for the mounting height of the near-light emitting surface provided in an embodiment of this application; Figure 10 A schematic diagram illustrating the composition of a vehicle lighting equipment height assessment device provided in this application embodiment; Figure 11 This is a schematic diagram of the composition of an electronic device provided in an embodiment of this application. Detailed Implementation
[0032] In the embodiments of this application, the terms "first," "second," "third," "fourth," "fifth," and "sixth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," "third," "fourth," "fifth," and "sixth" may explicitly or implicitly include one or more of that feature.
[0033] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0034] "A and / or B" includes the following three combinations: A only, B only, and a combination of A and B.
[0035] In the embodiments of this application, "parallel," "perpendicular," and "equal" include the described situation and situations similar to the described situation, where the range of similarity is within an acceptable deviation range, which is determined by those skilled in the art taking into account the measurement under discussion and the error associated with the measurement of a particular quantity (i.e., the limitations of the measurement system). For example, "parallel" includes absolute parallelism and approximate parallelism, where the acceptable deviation range for approximate parallelism can be, for example, a deviation within 5°; "perpendicular" includes absolute perpendicularity and approximate perpendicularity, where the acceptable deviation range for approximate perpendicularity can also be, for example, a deviation within 5°. "Equal" includes absolute equality and approximate equality, where the acceptable deviation range for approximate equality can be, for example, a difference between the two equals being less than or equal to 5% of either one.
[0036] Automotive lighting systems are among the key components for safe vehicle operation, with the light distribution performance of headlights directly affecting driving safety at night and in adverse weather conditions. To regulate the installation and use of automotive lights, various countries have established strict legal standards. For example, my country's national standard GB4785-2019 clearly specifies the installation height range for low beam headlights. During vehicle development, it is essential to ensure that the relative height between the high and low beam luminous surfaces of the headlights and the ground line meets the standard requirements; this is a necessary prerequisite for vehicle type approval and mass production.
[0037] Currently, the automotive design field typically uses 3D digital models to verify the standard compliance of headlight mounting positions. Specifically, designers manually extract the highest and lowest points of the headlight's high and low beam emitting surfaces in 3D software. Then, based on multiple ground lines corresponding to different vehicle configurations, they measure the height distance between each point on the emitting surface and the corresponding ground line. The measured values are then compared with standard limits to determine whether the requirements are met. This manual measurement and calculation method heavily relies on the operator's experience and familiarity with the standard provisions. Subjective errors exist in the selection of measurement points, the correspondence of ground lines, and the data recording process. Furthermore, when dealing with multiple vehicle configurations and multiple ground lines, repetitive manual operations consume a significant amount of time, extending the design verification cycle and making it difficult to guarantee the accuracy and consistency of each calculation.
[0038] To address the aforementioned technical problems, this application provides a method, apparatus, device, and storage medium for assessing the height of vehicle lighting equipment. The approach involves acquiring three-dimensional data of the luminous surface of the target vehicle lighting equipment and three-dimensional data of multiple predefined reference lines based on different vehicle states. Feature points for height assessment are extracted from the luminous surface. The vertical distance between each feature point and each reference line is calculated to obtain multiple sets of distance values. From these sets, fewer critical distance values are selected, and these critical distance values are compared with preset reference thresholds to determine the height assessment result. Since this method uses a three-dimensional digital model as input and utilizes a computer to automatically execute the entire process of feature point extraction, distance calculation, data filtering, and threshold comparison, it replaces the traditional method of manually finding measurement points on three-dimensional data, manually recording values, and comparing them one by one. Therefore, it significantly shortens the time required for assessment and improves work efficiency. Simultaneously, by employing a unified filtering algorithm and comparison rules, it avoids random errors introduced by different operators' familiarity with the standards or differences in the selection of measurement points, thereby improving the accuracy and consistency of the assessment results.
[0039] The embodiments provided in this application will now be described in detail with reference to the accompanying drawings.
[0040] The vehicle lighting equipment height assessment method provided in this application can be applied to, for example... Figure 1 The application environment shown. For example... Figure 1 As shown, the application environment includes: a computing device 100, and an application 101 that supports the evaluation of vehicle lighting equipment height.
[0041] For example, computing device 100 can be a terminal device or a server.
[0042] The computing device 100 includes an application 101 that supports vehicle lighting equipment height assessment. The application 101 supports vehicle lighting equipment height assessment and is used to execute the vehicle lighting equipment height assessment method of this embodiment, specifically including: acquiring three-dimensional data of the luminous surface of the target lighting equipment of the vehicle, and three-dimensional data of multiple reference lines predefined based on different states of the vehicle; extracting at least one feature point for height assessment from the three-dimensional data of the luminous surface; calculating the vertical distance between the at least one feature point and each of the reference lines to obtain at least M sets of distance values; determining N sets of distance values based on the M sets of distance values, where N is less than M, and M and N are positive integers; and comparing the N sets of distance values with corresponding preset reference thresholds to determine the height assessment result of the target lighting equipment.
[0043] Optionally, the at least one feature point for height assessment includes a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminous surface. The N sets of distance values include: the maximum value among the vertical distances between the coordinates of the highest feature point and the at least one reference line model, and the minimum value among the vertical distances between the coordinates of the lowest feature point and the at least one reference line model. When comparing the N sets of distance values with corresponding preset reference thresholds, firstly, the maximum value is compared with a first preset reference threshold to obtain a maximum value comparison result, and the minimum value is compared with a second preset reference threshold to obtain a minimum value comparison result. Then, the height assessment result of the target lighting device is determined based on the maximum value comparison result and the minimum value comparison result. In one embodiment, the method further includes: obtaining a preset correction value; adding the maximum value and the correction value to obtain a corrected maximum value, subtracting the minimum value from the correction value to obtain a corrected minimum value; comparing the corrected maximum value with a first preset reference threshold to obtain a corrected maximum value comparison result, comparing the corrected minimum value with a second preset reference threshold to obtain a corrected minimum value comparison result, and then determining the height assessment result based on the two comparison results. In addition, in response to the maximum value after correction being greater than the first preset reference threshold, the second largest value after correction is obtained (the second largest value in the vertical distance between the highest feature point and the reference line is added to the correction value) and compared with the first preset reference threshold to generate the second largest value evaluation result; in response to the minimum value after correction being less than the second preset reference threshold, the second smallest value after correction is obtained (the second smallest value in the vertical distance between the lowest feature point and the reference line is subtracted from the correction value) and compared with the second preset reference threshold to generate the second smallest value evaluation result.
[0044] Based on the application 101 that supports vehicle lighting equipment height assessment, data acquisition, feature extraction, distance calculation, and threshold comparison are completed. The inputs, processes, and results of the vehicle lighting equipment height assessment method in this embodiment are also visualized. The application 101 can also output corresponding evaluation indicators based on the determined height assessment results. These evaluation indicators are used to quantitatively characterize the operational performance of the assessment method, including assessment accuracy indicators and reliability indicators.
[0045] Application 101, which supports height assessment of vehicle lighting equipment, provides users with a height assessment interface, which can be a World Wide Web page accessed through a browser or a native application that needs to be downloaded and installed.
[0046] The terminal device can specifically be user equipment (UE), including but not limited to smartphones, tablets, laptops, desktop computers, and Internet of Things (IoT) terminals; the terminal accesses the network and has the capability to carry data transmission and multimedia services. The server can include a first memory and a first processor. The first memory stores a vehicle lighting equipment height assessment program; this program is invoked and executed by the first processor to implement the vehicle lighting equipment height assessment method provided in this application. The first memory can include, but is not limited to, the following: random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), and electrically erasable read-only memory (EEPROM). The first processor can consist of one or more integrated circuit chips. Optionally, the first processor can be a general-purpose processor, such as a central processing unit (CPU) or a network processor (NP). Optionally, the first processor can implement the vehicle lighting device height evaluation method provided in this application by running a program or code.
[0047] This application embodiment also provides a vehicle lighting equipment height assessment system, which can be installed in... Figure 1 In the application environment shown, such as Figure 2 As shown, the vehicle lighting equipment height assessment system 200 may include: Vehicle lighting equipment height assessment system front end 201: It is used to provide a user interface, obtain vehicle information and target lighting equipment information input by the user, trigger height assessment tasks, and visualize the three-dimensional data, feature points, distance calculation results and final assessment results during the assessment process.
[0048] Vehicle lighting equipment height assessment system backend 202: This backend receives assessment requests from the frontend, invokes various functional engines to perform height assessments, and returns the assessment results to the frontend. Backend 202 is functionally divided into the following components: Data Acquisition Engine 2021: Used to acquire 3D data of the luminous surface of the target lighting device, as well as 3D data of multiple predefined reference lines based on different states of the vehicle; Feature Extraction Engine 2022: Used to extract feature points for height evaluation from 3D data of luminescent surfaces, where each feature point includes at least one highest feature point and one lowest feature point on the luminescent surface; Distance Calculation Engine 2023: Used to calculate the vertical distance between each feature point and each reference line, obtaining at least M sets of distance values; Distance Selection Engine 2024: Used to filter N sets of distance values from M sets of distance values, where N is less than M. The N sets of distance values include the maximum value of the perpendicular distance between the highest feature point and each reference line, and the minimum value of the perpendicular distance between the lowest feature point and each reference line. The result determination engine 2025 is used to compare the maximum value with a first preset reference threshold to obtain a maximum value comparison result, compare the minimum value with a second preset reference threshold to obtain a minimum value comparison result, and determine the height evaluation result based on the maximum value comparison result and the minimum value comparison result; optionally, it is also used to obtain a preset correction value, add the maximum value to the correction value to obtain a corrected maximum value, subtract the minimum value from the correction value to obtain a corrected minimum value, then compare the corrected maximum value with the first preset reference threshold to obtain a corrected maximum value comparison result, and compare the corrected minimum value with the second preset reference threshold to obtain a corrected minimum value comparison result. The system is used to determine the height assessment result based on this; it is also used to obtain the second largest value after correction when the maximum value after correction is greater than the first preset reference threshold. The second largest value after correction is the sum of the second largest value among the vertical distances between the highest feature point and each reference line and the correction value, and the second largest value after correction is compared with the first preset reference threshold to generate the second largest value assessment result; and to obtain the second smallest value after correction when the minimum value after correction is less than the second preset reference threshold. The second smallest value after correction is the subtraction of the second smallest value among the vertical distances between the lowest feature point and each reference line and the correction value, and the second smallest value after correction is compared with the second preset reference threshold to generate the second smallest value assessment result.
[0049] It should be noted that the system architecture described in the embodiments of this application is for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and does not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of system architecture, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0050] See Figure 3 This is a flowchart illustrating a method for evaluating the height of a vehicle lighting device according to an embodiment of this application. Figure 3 As shown, the vehicle lighting equipment height evaluation method provided in this application can be implemented by the aforementioned computing device, specifically including the following steps S300~S304.
[0051] S300: The computing device acquires three-dimensional data of the luminous surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple predefined reference lines based on different states of the vehicle.
[0052] A vehicle refers to a means of transportation capable of carrying people or goods and moving, including but not limited to automobiles, trains, and airplanes. Target lighting equipment refers to luminaires installed at the front of a vehicle to provide road illumination at night or in low visibility conditions. Examples of automotive lighting equipment include low beam headlights, high beam headlights, fog lights, and daytime running lights. Low beam headlights are a key focus of the standard, as their illumination height directly affects the visual comfort of oncoming vehicle drivers and the effectiveness of road lighting. The luminous surface of a target lighting device refers to the effective emission area of light emitted from the luminaire's optical system, which can be extracted from a three-dimensional digital model.
[0053] The three-dimensional data of the luminous surface refers to a set of data constructed using computer-aided design software, describing the geometry and spatial position of the luminous surface. This includes the coordinates of all boundary points and interior points of the luminous surface in a three-dimensional coordinate system. This data serves as the fundamental input for subsequent height calculations.
[0054] Reference lines are baselines used to simulate the road surface a vehicle is on when parked or moving, such as the ground lines on a car. A ground line is a straight line or curve extending longitudinally along the vehicle, used to represent the planar position determined by the tire contact points with the ground under different vehicle conditions. Ground lines are typically defined based on the contact points of the front and rear wheels, and are tangents connecting these points.
[0055] Different vehicle states, such as those of a car, cause variations in vehicle height due to factors like load distribution, passenger count, fuel load, and suspension compression. When a vehicle is unloaded, suspension compression is lower, resulting in a higher vehicle body; when fully loaded, suspension compression increases, lowering the vehicle body. Different vehicle configurations may also have varying vehicle heights, even when unloaded, due to differences in spring stiffness or shock absorber characteristics. These state changes alter the tire contact point relative to the vehicle body, thus changing the height and angle of the ground line. To ensure the target lighting equipment meets standards under all possible operating conditions, a corresponding ground line must be defined for each vehicle state, and all ground lines must be included in the calculation. For each possible vehicle height state, a separate ground line is constructed and stored as three-dimensional data. All ground line data together form a reference line set for subsequent distance calculations with feature points on the luminous surface.
[0056] Acquiring these two types of 3D data is a prerequisite for performing subsequent height assessments. The 3D data of the luminous surface provides the geometric features of the object being assessed, while the 3D data of the ground line provides the reference position under different vehicle conditions. By acquiring both types of data simultaneously, it is possible to ensure that subsequent calculations cover all usage scenarios of the vehicle, thereby comprehensively assessing the height compliance of the target lighting equipment.
[0057] S301. The computing device extracts at least one feature point for height evaluation from the three-dimensional data of the luminous surface.
[0058] Feature points are key locations on the luminous surface that represent its vertical range. Since the illumination height of vehicle lighting equipment largely depends on the positions of the upper and lower edges of the luminous surface, it is necessary to identify these feature points for subsequent calculations of their distances to reference lines. The extraction process can utilize the geometric measurement function of computer-aided design software to automatically analyze the height values of all points on the luminous surface. Extracted feature points can be single extreme points for rapid evaluation or multiple extreme points for comprehensive verification. By extracting feature points, the continuous geometric region of the luminous surface is transformed into discrete key points, providing specific measurement objects for subsequent distance calculations, thereby ensuring the accuracy and representativeness of the height assessment.
[0059] S302. The computing device calculates the vertical distance between at least one feature point and each reference line, and obtains at least M sets of distance values.
[0060] Vertical distance refers to the distance from a feature point to a reference line measured along the height direction in a three-dimensional coordinate system. Since the reference line is the ground line located below the vehicle, the vertical distance reflects the height of the feature point relative to this ground line. For each extracted feature point, the vertical distance between that point and each predefined reference line is calculated. For example, the feature point is projected along the height direction onto the plane containing the reference line, and the height difference between the projected point and the feature point is measured. Assuming there are p feature points and q reference lines, a total of p multiplied by q sets of distance values are obtained, denoted as M sets of distance values. These distance values comprehensively cover the height data of different feature points relative to the ground under different vehicle states, providing a foundation for subsequent selection of key data.
[0061] S303. The calculation device determines the N sets of distance values based on the M sets of distance values.
[0062] N is less than M, where M and N are positive integers. During the height assessment process, not all distance values have the same assessment value; some distance values may correspond to non-critical vehicle states or non-representative feature point locations. Therefore, it is necessary to filter out a smaller number of more representative N sets of distance values from the M sets, such as the maximum, minimum, median, or average, for subsequent comparison with a preset reference threshold. The filtering process is based on preset filtering rules or assessment requirements. These rules can target extreme values in the distance value set, distance values corresponding to specific vehicle states, or subsets of distance values that meet specific conditions. By reducing the M sets of distance values to N sets, redundant information can be removed, focusing on key data that decisively influences the height assessment conclusion, thereby improving assessment efficiency and ensuring the relevance of the assessment results. The N sets of distance values, as a simplified representation of the M sets of distance values, retain the core information most relevant to the standard compliance judgment in the original data.
[0063] S304. The calculation device compares the N sets of distance values with the corresponding preset reference thresholds to determine the height assessment result of the target lighting device.
[0064] A preset reference threshold is a pre-set numerical standard used to measure whether a distance value meets the standard or design requirements. Preset reference thresholds originate from mandatory standard requirements for vehicle lighting equipment, such as specific regulations on the installation height of lighting equipment in national standards. Preset reference thresholds can include upper and lower thresholds, used to limit situations where lighting equipment is installed too high or too low, respectively. Different preset reference thresholds can be configured for different types of distance values to ensure the specificity of the comparison process. The value of the preset reference threshold remains fixed and serves as a uniform judgment benchmark in each evaluation.
[0065] Comparison refers to the operation of comparing each set of distance values with a preset reference threshold assigned to it. The comparison process can employ numerical comparison algorithms to determine whether each distance value falls within the allowable range of the preset reference threshold. Since the N sets of distance values are representative data selected from the M sets of distance values, each set of distance values carries a specific evaluation meaning, and therefore needs to be independently compared with its corresponding preset reference threshold. The comparison results can be recorded as the satisfaction status of each distance value relative to the threshold, such as whether it meets or does not meet the threshold.
[0066] Determining the height assessment result of the target lighting equipment refers to forming a final conclusion on whether the installation height of the lighting equipment is qualified based on all comparison results. If all N sets of distance values meet the corresponding preset reference threshold requirements, the height assessment result is determined to be qualified, indicating that the lighting equipment can meet the standard requirements under the current design parameters. If any set of distance values does not meet the corresponding preset reference threshold, the height assessment result is determined to be unqualified, and the specific distance value causing the unqualified result and its corresponding reference line and feature point information can be further identified, providing a clear direction for design optimization. By comparing the selected representative distance values with the preset reference threshold, the automatic determination of the lighting equipment height standard compliance can be completed efficiently and accurately, avoiding the errors and inefficiencies caused by manual calculation and judgment.
[0067] In this embodiment, by acquiring three-dimensional data of the luminous surface of the vehicle's target lighting device and three-dimensional data of multiple reference lines predefined based on different vehicle states, feature points for height assessment are extracted from the luminous surface. The vertical distance between each feature point and each reference line is calculated to obtain multiple sets of distance values. Then, fewer critical distance values are selected from these sets, and these critical distance values are compared with a preset reference threshold to determine the height assessment result. Since this method uses a three-dimensional digital model as input and utilizes a computer to automatically execute the entire process of feature point extraction, distance calculation, data filtering, and threshold comparison, it replaces the traditional method of manually finding measurement points on three-dimensional data, manually recording values, and comparing them one by one. Therefore, it significantly shortens the time required for assessment and improves work efficiency. Simultaneously, by adopting a unified filtering algorithm and comparison rules, it avoids random errors introduced by different operators' familiarity with the standards or differences in the selection of measurement points, thereby improving the accuracy and consistency of the assessment results.
[0068] In one embodiment, at least one feature point for height evaluation includes a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminescent surface.
[0069] The computing device extracts a highest and a lowest feature point from the 3D data of the luminous surface for subsequent height assessment. The highest feature point is the point on the luminous surface with the largest vertical coordinate value, corresponding to the uppermost edge of the luminous surface's installation position on the vehicle; the lowest feature point is the point on the luminous surface with the smallest vertical coordinate value, corresponding to the lowermost edge of the luminous surface. Since the illumination height of the vehicle lighting equipment meets the standard mainly depends on the distance between the upper and lower edges of the luminous surface and the road surface, selecting the highest and lowest points as feature points directly covers the two key extreme positions that the standard focuses on. The extraction process utilizes the analysis function of computer-aided design software to automatically scan the vertical coordinates of all points on the luminous surface, obtaining the point corresponding to the maximum value as the highest feature point and the point corresponding to the minimum value as the lowest feature point. By clearly defining these two extreme feature points, a precise measurement benchmark is provided for subsequent distance calculations, ensuring that the height assessment can effectively control the upper and lower limits of the lighting equipment's risk.
[0070] In one possible implementation, the N sets of distance values include: the maximum value among the vertical distances between the highest feature point coordinates and at least one reference line model, and the minimum value among the vertical distances between the lowest feature point coordinates and at least one reference line model.
[0071] The maximum value refers to the largest of the multiple vertical distances calculated between the highest feature point and each reference line; the minimum value refers to the smallest of the multiple vertical distances calculated between the lowest feature point and each reference line. To determine whether the installation height of the vehicle lighting equipment is too high, the most extreme cases are considered: the maximum possible ground clearance of the highest feature point and the minimum possible ground clearance of the lowest feature point. Therefore, these two extreme values are selected as representative distance values. The maximum value reflects the highest possible position of the upper edge of the luminous surface under all vehicle conditions; the minimum value reflects the lowest possible position of the lower edge of the luminous surface under all vehicle conditions. By selecting the maximum and minimum values from the complete M sets of distance values, the evaluation focuses on the most likely non-compliant extreme conditions, ensuring that the height evaluation covers the most unfavorable scenarios under all vehicle conditions.
[0072] In one possible implementation, step S304 may include: S3041. The computing device compares the maximum value of the vertical distance between the coordinates of the highest feature point and at least one reference line model with the first preset reference threshold to obtain the maximum value comparison result.
[0073] The first preset reference threshold is a pre-defined upper limit judgment standard, representing the limit value of the highest installation position of the lighting equipment in the standard or design specification. By comparing the maximum distance value with the first preset reference threshold, it can be determined whether the highest position of the lighting equipment in the most extreme vehicle condition meets the upper limit requirement. The result of the maximum value comparison is the conclusion of whether it meets the standard or not.
[0074] S3042. The computing device compares the minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model with the second preset reference threshold to obtain the minimum value comparison result.
[0075] The second preset reference threshold is a pre-defined lower limit criterion, representing the numerical limit imposed by standards or design specifications on the lowest installation position of lighting equipment. By comparing the minimum distance value with the second preset reference threshold, it can be determined whether the lowest position of the lighting equipment under the most extreme vehicle conditions meets the lower limit requirement. The result of the minimum value comparison is the conclusion of whether the standard is met or not.
[0076] S3043. The calculation device determines the height assessment result of the target lighting equipment based on the maximum value comparison result and the minimum value comparison result.
[0077] The height assessment result is the final determination of whether the installation height of the lighting equipment fully complies with the standard. When both the maximum and minimum comparison results meet the standard, the height assessment result is qualified, indicating that the installation height of the lighting equipment meets the standard requirements in all vehicle configurations. When either comparison result does not meet the standard, the height assessment result is unqualified, and information indicating non-compliance can be provided based on the specific non-compliance item.
[0078] In one possible implementation, step S304 may further include: S3044. The computing device obtains the preset correction value.
[0079] The preset correction value refers to a pre-set value used to compensate for differences between the 3D digital model and the physical vehicle. During vehicle design, the installation height of the lighting equipment is calculated based on the 3D digital model. However, actual manufactured vehicles have manufacturing tolerances, assembly deviations, and differences between actual and theoretical compression states. These factors can cause the height of the lighting equipment on the actual vehicle to not perfectly match the measurement value on the digital model. The preset correction value is a safety margin introduced to offset these differences. The magnitude of the correction value is based on statistical analysis of a large amount of actual vehicle measurement data, covering typical manufacturing tolerance ranges and measurement error ranges. Obtaining the preset correction value means reading the value from a storage medium or receiving a value input by the user through an input interface as an input parameter for subsequent calculations. By introducing the preset correction value, the uncertainties of the actual vehicle state can be considered in advance during the digital model evaluation stage, ensuring that even with manufacturing and assembly deviations, the actual height of the lighting equipment still meets the standard requirements. The correction value will be applied to the subsequent distance value correction process, specifically by adding or subtracting selected distance values to form a final evaluation basis that more closely resembles the actual vehicle state.
[0080] In one possible implementation, step S3041 includes: S30411. The computing device adds the maximum value of the vertical distance between the coordinates of the highest feature point and at least one reference line model to the correction value to obtain the corrected maximum value.
[0081] Adding the maximum value to the correction value essentially simulates the worst-case vehicle condition by adding the maximum possible positive deviation from the actual vehicle, thus constructing the most stringent operating condition that encompasses both theoretical extremes and actual vehicle tolerances. The corrected maximum value obtained through addition serves as the actual basis for comparison with a preset reference threshold. This operation ensures that even if manufacturing tolerances or assembly deviations in the actual vehicle result in the lighting equipment being installed at a higher position, the corrected evaluation value can still cover this risk, avoiding misjudgments of standard compliance due to underestimating the actual height.
[0082] S30412. The computing device compares the corrected maximum value with the first preset reference threshold to obtain the corrected maximum value comparison result.
[0083] The modified maximum value is compared with the first preset reference threshold to verify whether the upper edge of the luminous surface still meets the upper limit standard requirements after considering the positive deviation of the actual vehicle. Comparing the modified maximum value with the first preset reference threshold can verify whether the highest possible position of the lighting equipment still meets the upper limit requirements after considering manufacturing tolerances and assembly deviations. The result of the modified maximum value comparison is the conclusion of whether the standard is met or not.
[0084] In one possible implementation, step S3042 includes: S30421. The computing device subtracts the minimum value of the lowest feature point coordinates and the vertical distance between at least one reference line model and the correction value to obtain the corrected minimum value.
[0085] Subtracting the minimum value from the corrected value essentially simulates the worst-case vehicle condition by adding the maximum possible negative deviation from the actual vehicle, thus constructing the most stringent operating condition that encompasses both theoretical extremes and actual vehicle tolerances. The corrected minimum value obtained through subtraction serves as the actual basis for comparison with a preset reference threshold. This operation ensures that even if manufacturing tolerances or assembly deviations in the actual vehicle result in the lighting equipment being installed too low, the corrected evaluation value still covers this risk, avoiding misjudgments of standard compliance due to underestimating the degree of actual height discrepancy.
[0086] S30422. The computing device compares the corrected minimum value with the second preset reference threshold to obtain the corrected minimum value comparison result.
[0087] The modified minimum value is compared with the second preset reference threshold to verify whether the lower edge of the luminous surface still meets the lower limit standard requirements after considering the negative deviation of the actual vehicle. Comparing the modified minimum value with the second preset reference threshold verifies whether the lowest possible position of the lighting equipment still meets the lower limit requirements after considering manufacturing tolerances and assembly deviations. The result of the modified minimum value comparison is the conclusion of whether the standard is met or not.
[0088] When the corrected maximum value does not exceed the first preset reference threshold and the corrected minimum value is not lower than the second preset reference threshold, the height assessment result is determined to be qualified, indicating that the installation height of the lighting equipment fully meets the standard requirements under all possible vehicle conditions and after taking into account manufacturing and assembly tolerances. When the corrected maximum value exceeds the first preset reference threshold, or the corrected minimum value is lower than the second preset reference threshold, the height assessment result is determined to be unqualified, and prompt information can be output according to the specific exceedance item, such as indicating whether the upper limit or lower limit is exceeded, providing data support for subsequent design adjustments. Through this method of separate comparison and comprehensive judgment, the two core dimensions of the lighting equipment height standard compliance assessment are fully covered, ensuring the reliability and completeness of the automatic judgment results.
[0089] In one possible implementation, the vehicle lighting equipment height assessment method may include: S305. In response to the maximum value after correction being greater than the first preset reference threshold, the computing device obtains the second largest value after correction. The second largest value after correction is the sum of the second largest value among the vertical distances between the coordinates of the highest feature point and at least one reference line model, and the correction value.
[0090] The calculation device responds when the corrected maximum value exceeds the first preset reference threshold, meaning that the subsequent analysis process is triggered when the corrected maximum value exceeds the upper limit standard requirement. The second largest value refers to the distance between the highest feature point and all reference lines that is second only to the maximum value in terms of vertical distance; it corresponds to the height of the upper edge of the luminous surface from the ground under another vehicle condition. The corrected second largest value is the result obtained by adding this second largest value to the corrected value, consistent with the calculation method of the corrected maximum value, both considering potential positive deviations in the actual vehicle. Obtaining the corrected second largest value is to further analyze whether other vehicle conditions cause the upper edge of the luminous surface to also exceed the standard when the maximum value exceeds the limit, or to determine whether the maximum value belongs to an isolated extreme condition. By introducing the analysis of the second largest value, a more comprehensive understanding of the height performance of the lighting equipment under different vehicle conditions can be achieved, avoiding direct judgment of overall non-compliance due to data anomalies in a single vehicle condition, and providing richer reference information for design optimization. The corrected second largest value will serve as input data for subsequent comparison operations to generate corresponding evaluation results.
[0091] S306. The computing device compares the corrected second largest value with the first preset reference threshold to generate the second largest value evaluation result.
[0092] The second-largest value assessment result refers to the conclusion drawn from this comparison operation, used to explain whether the height of the upper edge of the lighting device's luminous surface, after considering the positive deviation of the actual vehicle, meets the upper limit standard requirements under the vehicle state corresponding to the second-largest value. The process of generating the second-largest value assessment result is independent of the assessment process of the corrected maximum value, and the result can be recorded as either compliant or non-compliant. When the corrected second-largest value does not exceed the first preset reference threshold, the second-largest value assessment result is compliant, indicating that although the maximum value exceeds the standard, the height is still within the allowable range under the vehicle state corresponding to the second-largest value. When the corrected second-largest value also exceeds the first preset reference threshold, the second-largest value assessment result is non-compliant. In this case, the next smaller distance value is obtained and added to the corrected value, and the comparison process is repeated until a compliant distance value is found or all distance values have been evaluated. Generating the second-largest value assessment result is to supplement the comparison result information of the second-extreme working condition when the maximum value has exceeded the standard, helping designers to judge the prevalence of the exceeding phenomenon, thereby more accurately locating the problem and formulating optimization solutions.
[0093] In one possible implementation, the vehicle lighting equipment height assessment method may include: S307. The computing device responds to the fact that the corrected minimum value is less than the second preset reference threshold, and obtains the corrected second minimum value. The corrected second minimum value is the second minimum value among the lowest feature point coordinates and the perpendicular distances between the lowest feature point coordinates and at least one reference line model, minus the corrected value.
[0094] The response that the corrected minimum value is less than the second preset reference threshold means that the subsequent analysis process is triggered when the corrected minimum value is already below the lower limit standard requirement. The second smallest value refers to the distance between the lowest feature point and all reference lines that is second only to the minimum value in terms of vertical distance. It corresponds to the height of the lower edge of the luminous surface from the ground under another vehicle condition. The corrected second smallest value is the result of subtracting the corrected value from this second smallest value, and its calculation method is consistent with that of the corrected minimum value, both taking into account potential negative deviations in the actual vehicle. Obtaining the corrected second smallest value is to further analyze whether other vehicle conditions cause the lower edge of the luminous surface to also exceed the standard when the minimum value exceeds the standard, or to determine whether the minimum value belongs to an isolated extreme condition. By introducing the analysis of the second smallest value, a more comprehensive understanding of the height performance of the lighting equipment under different vehicle conditions can be achieved, avoiding direct judgment of overall non-compliance due to data anomalies in a single vehicle condition, and providing richer reference information for design optimization. The corrected second smallest value will be used as input data for subsequent comparison operations to generate corresponding evaluation results.
[0095] S308. The computing device compares the corrected second smallest value with the second preset reference threshold to generate the second smallest value evaluation result.
[0096] The second-lowest value evaluation result refers to the conclusion drawn from this comparison operation, used to explain whether the height of the lower edge of the lighting device's luminous surface, after considering the negative deviation of the actual vehicle, meets the lower limit standard requirements under the vehicle state corresponding to the second-lowest value. The process of generating the second-lowest value evaluation result is independent of the evaluation process of the corrected minimum value, and the result can be recorded as either compliant or non-compliant. When the corrected second-lowest value is not lower than the second preset reference threshold, the second-lowest value evaluation result is compliant, indicating that although the minimum value exceeds the standard, the height is still within the allowable range under the vehicle state corresponding to the second-lowest value; when the corrected second-lowest value is also lower than the second preset reference threshold, the second-lowest value evaluation result is non-compliant. In this case, the next larger distance value is obtained and subtracted from the corrected value, and the comparison process is repeated until a compliant distance value is found or all distance values have been evaluated. Generating the second-lowest value evaluation result is to supplement the comparison result information of the second-extreme working condition when the minimum value has exceeded the standard, helping designers to judge the prevalence of the exceeding phenomenon, thereby more accurately locating the problem and formulating optimization solutions.
[0097] In this embodiment, by clearly defining the highest and lowest points of the luminous surface as evaluation benchmarks, it is ensured that the evaluation directly corresponds to the highest and lowest installation positions of the lighting equipment in the vertical direction as specified in the standard document, thus highly conforming to the requirements. Therefore, the evaluation process can accurately capture the two extreme positions of the luminous surface in the height direction, providing clear measurement objects for subsequent distance calculations to the ground line, and enhancing the relevance and standardization of the evaluation.
[0098] The system filters out the maximum vertical distance between the highest feature point and each reference line, and the minimum vertical distance between the lowest feature point and each reference line. This extreme value filtering mechanism automatically identifies the ground line that poses the highest risk to the highest point of the low beam optical surface and the ground line that poses the "lowest risk" to the lowest point, considering the multiple ground lines that the vehicle may present under different states. By focusing on the distance values under these two extreme conditions, the system can effectively capture the two key scenarios most unfavorable to compliance with standards in all possible vehicle states. This allows for the assessment of the lighting equipment's high level of compliance with the most stringent judgment criteria, ensuring the sufficiency and reliability of the assessment conclusions.
[0099] The maximum and minimum values selected are compared with the first and second preset thresholds, respectively, and the final evaluation conclusion is derived by combining the two comparison results. This makes the evaluation process clear and rigorous, and can independently verify whether the lighting equipment meets the standards in both the vertical and horizontal directions, ensuring that the evaluation results fully meet the standard requirements and avoiding omissions that may be caused by judging a single indicator.
[0100] A preset correction value is introduced to process the selected extreme distances. Specifically, the maximum distance value corresponding to the highest point is added to the correction value to obtain the corrected maximum value, and the minimum distance value corresponding to the lowest point is subtracted from the correction value to obtain the corrected minimum value. The corrected values are then compared with the first and second preset reference thresholds, respectively. By introducing a correction step between the theoretically calculated value and the standard threshold, the objective tolerance between the digital model measurement environment and the actual vehicle measurement environment is effectively taken into account. This makes the final value participating in the standard comparison closer to the actual situation that might be measured under real vehicle conditions, thereby eliminating misjudgments that may be caused by inherent deviations between theoretical design and physical conditions, and enhancing the engineering practicality and decision-making accuracy of the evaluation results.
[0101] When the corrected maximum value exceeds the first preset reference threshold, the second largest corrected value is further acquired and evaluated. A progressive evaluation logic is constructed, which automatically introduces the second most extreme condition for supplementary analysis after initially determining that the most extreme condition does not meet the standard document requirements. By providing the evaluation results of the second largest value, it is possible to reveal to users whether the next closest state to the limit has the potential to meet the standard when the most dangerous ground line condition cannot be passed. This provides richer data support for design optimization.
[0102] When the corrected minimum value is less than the first preset reference threshold, the next corrected minimum value is further obtained and evaluated. A progressive evaluation logic is constructed, which automatically introduces the next extreme value for supplementary analysis after the most extreme condition is initially determined to be non-compliant with the standard document requirements. By providing the evaluation results of the next minimum value, it is possible to reveal to users whether the next closest state to the limit has the potential to meet the standard when the most dangerous ground line condition cannot be passed. This provides richer data support for design optimization.
[0103] The following section, using a specific example and a user as an example, further introduces the vehicle lighting equipment height assessment method of this application. Figure 4 A flowchart illustrating a method for evaluating the mounting height of a vehicle's low beam headlights, as shown below. Figure 4 As shown: The S400 computing device acquires three-dimensional data of the vehicle's low beam emitting surface, as well as three-dimensional data of multiple predefined ground lines based on different vehicle loading states.
[0104] like Figure 5 As shown, the front and side views of the car headlights are displayed respectively. The low beam emitting surface is the effective optical surface area for emitting low beams extracted from the 3D model of the car headlights. The ground line is a baseline determined by connecting the front and rear wheel contact points according to different states of the car, such as unloaded, half-loaded, and fully loaded. Each ground line corresponds to a vehicle height posture.
[0105] S401. The computing device extracts a highest feature point and a lowest feature point from the three-dimensional data of the near-light emitting surface.
[0106] The computing device automatically analyzes the vertical coordinates of all points on the luminous surface, identifying the point with the highest height coordinate as the highest feature point and the point with the lowest height coordinate as the lowest feature point. These two points represent the upper and lower edges of the luminous surface, respectively. Feature point extraction can be achieved using CATIA commands.
[0107] S402. The calculation device calculates the vertical distance between the feature point and each ground line, and obtains a set of distance values.
[0108] Calculate the vertical distance between the highest feature point and each ground line, obtaining one set of distance values; simultaneously calculate the vertical distance between the lowest feature point and each ground line, obtaining another set of distance values. Each distance value represents the height of the highest or lowest feature point above the ground in the corresponding vehicle state at that ground line. For example... Figure 6 , Figure 7 As shown, different load configurations correspond to three ground lines a1, a2, and a3. The distances from the highest feature point to the ground line are ba1, ba2, and ba3, respectively. The distances from the lowest feature point to the ground line are ca1, ca2, and ca3, respectively.
[0109] S403. The computing device selects the maximum value from all distance values corresponding to the highest feature point and the minimum value from all distance values corresponding to the lowest feature point.
[0110] The maximum value represents the highest position that the upper edge of the luminous surface can reach under all vehicle conditions, and the minimum value represents the lowest position that the lower edge of the luminous surface can reach under all vehicle conditions. Figure 8 This is a schematic diagram of the maximum height screening process for the near-light emitting surface provided in an embodiment of this application, as shown below. Figure 8 As shown: S4031. Input ba1, ba2 and ba3, n=2.
[0111] The distances from the three highest feature points obtained in step S402 to the ground line are judged, and the initial value of the loop is set to n=2.
[0112] S4032, ban>b(an-1).
[0113] Loop through and compare the size of ban and ba(n-1). If the comparison is correct, trigger S4033; if the comparison is incorrect, trigger S4034.
[0114] S4033, n=n+1.
[0115] When it is determined that ban is greater than ba(n-1), increment the loop value n by 1.
[0116] S4034, ban = ba(n-1).
[0117] When it is determined that ban is not greater than ba(n-1), ba(n-1) is assigned to ban. Then S4033 is triggered, and the loop value n is incremented by 1.
[0118] S4035, n>3.
[0119] Check if the loop number n is greater than 3. If the result is yes, trigger S4036. Otherwise, continue triggering the loop.
[0120] S4036, Output ban.
[0121] After a series of filtering steps, the largest value, ba2, is selected.
[0122] Figure 9 This is a schematic diagram of the minimum height selection process for the near-light emitting surface provided in an embodiment of this application, as shown below. Figure 9 As shown: S4037. Input ca1, ca2 and ca3, n=2.
[0123] The distances from the three lowest feature points obtained in step S402 to the ground line are judged, and the initial value of the loop is set to n=2.
[0124] S4038, can>ca(n-1).
[0125] Loop through and compare can with ca(n-1). If the comparison is correct, trigger S4040; if the comparison is incorrect, trigger S4039.
[0126] S4039, n=n+1.
[0127] When it is determined that can is not greater than ca(n-1), the loop value n is incremented by 1.
[0128] S4040, can = ca(n-1).
[0129] When it is determined that can is greater than ca(n-1), ca(n-1) is assigned to can. Then S4039 is triggered, and the loop value n is incremented by 1.
[0130] S4041、n>3.
[0131] Check if the loop number n is greater than 3. If the result is yes, trigger S4042. Otherwise, continue triggering the loop.
[0132] S4042, Output CAN.
[0133] After a series of filtering steps, the largest ca1 is selected.
[0134] S404. The computing device adds the maximum value to the correction value to obtain the corrected maximum value; and subtracts the minimum value from the correction value to obtain the corrected minimum value.
[0135] This correction value is a manufacturing and assembly tolerance compensation amount obtained from a large number of actual vehicle measurements and statistics, used to compensate for the differences between the digital model and the actual vehicle. The corrected maximum value simulates the height of the upper edge of the luminous surface after considering tolerances under the most unfavorable condition, and the corrected minimum value simulates the height of the lower edge of the luminous surface after considering tolerances under the most unfavorable condition.
[0136] S405. The computing device compares the corrected maximum value with the first preset reference threshold and compares the corrected minimum value with the second preset reference threshold.
[0137] The first preset reference threshold is derived from the upper limit requirement of GB4785-2019 for the installation height of low beam headlights, and the second preset reference threshold is derived from the lower limit requirement of GB4785-2019 for the installation height of low beam headlights. That is, "the height of the low beam headlight from the ground shall not be less than 500mm and not more than 1200mm. For N3G category (off-road) vehicles, the maximum height can be increased to 1500mm."
[0138] If the corrected maximum value does not exceed the first preset reference threshold and the corrected minimum value is not lower than the second preset reference threshold, the low beam headlight mounting height assessment result is deemed acceptable, and the calculation device outputs "OK," indicating that the low beam headlight meets the standard requirements under all considered vehicle body conditions and after accounting for manufacturing tolerances. If the corrected maximum value exceeds the first preset reference threshold, an "NG" output is generated, triggering a subsequent assessment process for the upper limit: the second largest value, third largest value, etc., are obtained sequentially, added to the corrected value, and compared with the first preset reference threshold until a suitable distance value is found or all distance values have been assessed, generating a corresponding assessment report. If the corrected minimum value is lower than the second preset reference threshold, a subsequent assessment process for the lower limit is triggered: the second smallest value, third smallest value, etc., are obtained sequentially, subtracted from the corrected value, and compared with the second preset reference threshold until a suitable distance value is found or all distance values have been assessed, generating a corresponding assessment report. Through this step-by-step assessment, the specific degree and prevalence of low beam headlight height exceeding the standard can be comprehensively analyzed, providing precise guidance for design optimization.
[0139] As can be seen, the above mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the embodiments of this application provide corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0140] This application embodiment can divide the vehicle lighting equipment height assessment device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0141] In some embodiments, this application also provides a vehicle lighting equipment height assessment apparatus. This vehicle lighting equipment height assessment apparatus may include one or more functional modules for implementing the vehicle lighting equipment height assessment method of the above method embodiments.
[0142] For example, Figure 10This is a schematic diagram illustrating the composition of a vehicle lighting equipment height assessment device provided in an embodiment of this application. Figure 10 As shown, the vehicle lighting equipment height assessment device 500 includes: a data acquisition module 501, a feature extraction module 502, a distance determination module 503, and a distance comparison module 504.
[0143] The data acquisition module 501 is used to acquire three-dimensional data of the light-emitting surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple reference lines predefined based on different states of the vehicle; The feature extraction module 502 is used to extract at least one feature point for height evaluation from the three-dimensional data of the luminescent surface; Calculate the vertical distance between at least one feature point and each reference line to obtain at least M sets of distance values; The distance determination module 503 is used to determine N sets of distance values based on M sets of distance values, where N is less than M, and M and N are positive integers. The distance comparison module 504 is used to compare N sets of distance values with corresponding preset reference thresholds to determine the height evaluation result of the target lighting device.
[0144] In one embodiment, at least one feature point for height evaluation includes a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminescent surface.
[0145] In one embodiment, the N sets of distance values include: the maximum value among the vertical distances between the highest feature point coordinates and at least one reference line model, and the minimum value among the vertical distances between the lowest feature point coordinates and at least one reference line model.
[0146] In one embodiment, the distance comparison module 504 is further configured to compare the maximum value of the vertical distance between the coordinates of the highest feature point and at least one reference line model with a first preset reference threshold to obtain a maximum value comparison result. The minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model is compared with the second preset reference threshold to obtain the minimum value comparison result. Based on the comparison results of the maximum and minimum values, the height assessment result of the target lighting equipment is determined.
[0147] In one embodiment, the distance comparison module 504 is further configured to obtain a preset correction value; Add the maximum value of the vertical distances between the highest feature point coordinates and at least one reference line model to the correction value to obtain the corrected maximum value; The corrected maximum value is compared with the first preset reference threshold to obtain the corrected maximum value comparison result; Subtract the correction value from the minimum value of the vertical distance between the coordinates of the lowest feature point and at least one reference line model; The corrected minimum value is compared with the second preset reference threshold to obtain the corrected minimum value comparison result.
[0148] In one embodiment, the distance comparison module 504 is further configured to obtain the second largest value after correction in response to the correction value being greater than the first preset reference threshold; the second largest value after correction is the sum of the second largest value among the vertical distances between the coordinates of the highest feature point and at least one reference line model and the correction value. The corrected second largest value is compared with the first preset reference threshold to generate the second largest value evaluation result.
[0149] In one embodiment, the distance comparison module 504 is further configured to obtain the second smallest value after correction in response to the minimum value after correction being less than a second preset reference threshold; the second smallest value after correction is the second smallest value among the vertical distances between the lowest feature point coordinates and at least one reference line model and the correction value. The corrected second smallest value is compared with the second preset reference threshold to generate the second smallest value evaluation result.
[0150] When implementing the functions of the integrated modules described above in hardware, this embodiment of the invention provides a possible schematic diagram of the electronic device involved in the above embodiments. For example... Figure 11 As shown, the electronic device 600 includes: a processor 602, a communication interface 603, and a bus 604. Optionally, the electronic device 600 may also include a memory 601.
[0151] Processor 602 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 602 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 602 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0152] Communication interface 603 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
[0153] The memory 601 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0154] In one possible implementation, the memory 601 can exist independently of the processor 602. The memory 601 can be connected to the processor 602 via a bus 604 and is used to store instructions or program code. When the processor 602 calls and executes the instructions or program code stored in the memory 601, it can implement the vehicle lighting device height evaluation method provided in this embodiment of the invention.
[0155] In another possible implementation, the memory 601 can also be integrated with the processor 602.
[0156] Bus 604 can be an extended industry standard architecture (EISA) bus, etc. Bus 604 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0157] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the service calling device can be divided into different functional modules to complete all or part of the functions described above.
[0158] This application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be executed by computer instructions instructing related hardware. The program can be stored in the aforementioned computer-readable storage medium, and when executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be any of the foregoing embodiments or memory. The aforementioned computer-readable storage medium can also be an external storage device of the aforementioned service invocation device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the aforementioned service invocation device. Further, the aforementioned computer-readable storage medium can include both internal storage units of the aforementioned service invocation device and external storage devices. The aforementioned computer-readable storage medium is used to store the aforementioned computer program and other programs and data required by the aforementioned service invocation device. The aforementioned computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0159] This application also provides computer instructions. All or part of the processes in the above method embodiments can be executed by computer instructions to instruct related hardware (such as computers, processors, network devices, and terminals). The program can be stored in the aforementioned computer-readable storage medium.
[0160] This application also provides a computer program product that, when run on a computer, causes the above-described method embodiments to be executed.
[0161] This application also provides a chip system. The chip system may be composed of chips or may include chips and other discrete devices, without limitation. The chip system includes a processor and a transceiver. All or part of the processes in the above method embodiments can be completed by this chip system, such as the chip system being used to implement the functions performed by the network devices or terminals in the above method embodiments.
[0162] In one possible design, the chip system further includes a memory for storing program instructions and / or data. When the chip system is running, the processor executes the program instructions stored in the memory to enable the chip system to perform the functions performed by the network device or terminal in the above method embodiments.
[0163] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for evaluating the height of vehicle lighting equipment, characterized in that, Includes the following steps: Acquire three-dimensional data of the luminous surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple reference lines predefined based on different states of the vehicle; Extract at least one feature point for height evaluation from the three-dimensional data of the luminescent surface; Calculate the vertical distance between the at least one feature point and each of the reference lines to obtain at least M sets of distance values; Based on the M sets of distance values, determine N sets of distance values, where N is less than M, and M and N are positive integers; The N sets of distance values are compared with their corresponding preset reference thresholds to determine the height assessment result of the target lighting device.
2. The method according to claim 1, characterized in that, The at least one feature point used for height evaluation includes: a highest feature point and a lowest feature point extracted from the three-dimensional data of the luminescent surface.
3. The method according to claim 2, characterized in that, The N sets of distance values include: the maximum value among the vertical distances between the highest feature point coordinates and the at least one reference line model, and the minimum value among the vertical distances between the lowest feature point coordinates and the at least one reference line model.
4. The method according to claim 3, characterized in that, The step of comparing the N sets of distance values with corresponding preset reference thresholds to determine the height assessment result of the target lighting device includes: The maximum value of the vertical distance between the coordinates of the highest feature point and the vertical distance between the at least one reference line model is compared with the first preset reference threshold to obtain the maximum value comparison result; The minimum value of the vertical distance between the coordinates of the lowest feature point and the at least one reference line model is compared with the second preset reference threshold to obtain the minimum value comparison result. Based on the maximum value comparison result and the minimum value comparison result, the height assessment result of the target lighting device is determined.
5. The method according to claim 4, characterized in that, The step of comparing the N sets of distance values with corresponding preset reference thresholds to determine the height assessment result of the target lighting device further includes: Get the preset correction value; The step of comparing the maximum value of the vertical distance between the coordinates of the highest feature point and the at least one reference line model with a first preset reference threshold to obtain the maximum value comparison result includes: Add the maximum value of the vertical distances between the coordinates of the highest feature point and the at least one reference line model to the correction value to obtain the corrected maximum value; The corrected maximum value is compared with the first preset reference threshold to obtain the corrected maximum value comparison result; The step of comparing the minimum value of the vertical distance between the coordinates of the lowest feature point and the vertical distance between the at least one reference line model and the second preset reference threshold to obtain the minimum value comparison result includes: subtracting the correction value from the minimum value of the vertical distance between the coordinates of the lowest feature point and the vertical distance between the at least one reference line model to obtain the corrected minimum value; The corrected minimum value is compared with the second preset reference threshold to obtain the corrected minimum value comparison result.
6. The method according to claim 5, characterized in that, The method further includes: In response to the maximum value after correction being greater than a first preset reference threshold, the second largest value after correction is obtained; the second largest value after correction is the sum of the second largest value among the vertical distances between the coordinates of the highest feature point and the at least one reference line model and the correction value; The corrected second largest value is compared with the first preset reference threshold to generate the second largest value evaluation result.
7. The method according to claim 5, characterized in that, The method further includes: In response to the fact that the minimum value after correction is less than the second preset reference threshold, the second smallest value after correction is obtained; the second smallest value after correction is the second smallest value among the vertical distances between the coordinates of the lowest feature point and the at least one reference line model and the correction value. The corrected second smallest value is compared with the second preset reference threshold to generate the second smallest value evaluation result.
8. A vehicle lighting equipment height assessment device, characterized in that, include: The data acquisition module is used to acquire three-dimensional data of the luminous surface of the target lighting device of the vehicle, as well as three-dimensional data of multiple reference lines predefined based on different states of the vehicle; The feature extraction module is used to extract at least one feature point for height evaluation from the three-dimensional data of the luminescent surface; Calculate the vertical distance between the at least one feature point and each of the reference lines to obtain at least M sets of distance values; The distance determination module is used to determine N sets of distance values based on the M sets of distance values, where N is less than M, and M and N are positive integers. The distance comparison module is used to compare the N sets of distance values with the corresponding preset reference thresholds to determine the height evaluation result of the target lighting device.
9. An electronic device, characterized in that, The device includes a processor and a memory, the processor being coupled to the memory; the memory is used to store computer instructions, which are loaded and executed by the processor to enable the computer device to implement the vehicle lighting equipment height assessment method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer-executable instructions that, when executed on a computer, cause the computer to perform the vehicle lighting equipment height assessment method as described in any one of claims 1 to 7.
11. A computer program product, characterized in that, The computer program product includes a computer program that, when run on an electronic device, causes the electronic device to perform the vehicle lighting equipment height assessment method as described in any one of claims 1 to 7.