Methods for evaluating the accuracy of height sensors, electronic devices, storage media, and products.
By acquiring the standard dimensions and tolerances of suspension components and simulating measurement results at different test heights, the linear accuracy of the height sensor is evaluated, thus solving the accuracy problem of the linearity of the height sensor and ensuring the reliability of the suspension system.
Patent Information
- Application Number
- CN202611475544.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-11-17
AI Technical Summary
How to accurately determine the linearity accuracy of the height sensor to ensure the reliability of the core functions of the suspension system, including the synchronization of suspension lifting, adaptive damping dynamic adjustment, braking safety assistance, and load identification.
By acquiring the standard dimensions and tolerance information of vehicle suspension components, selecting simulation tolerances, and simulating the measurement results of the height sensor at different test heights, the linear accuracy of the suspension is evaluated.
This method enables accurate evaluation of the linearity of the height sensor throughout its entire stroke, avoiding the problem of low simulation results caused by multiple simulations and ensuring that the evaluation results are consistent with actual performance.
Smart Images

Figure CN123111160A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method for evaluating the accuracy of a height sensor, an electronic device, a storage medium, and a product. Background Technology
[0002] As automotive intelligence places increasingly higher demands on chassis handling and safety, the height sensor, a key sensing element of the suspension system, directly impacts the linearity accuracy of its measurement angle (the degree of linearity between the angle measured by the height sensor and the vehicle height after it is installed on the vehicle). This directly affects the reliability of core functions such as the synchronicity of suspension height adjustment, adaptive damping dynamic adjustment, brake safety assistance, and load recognition. Therefore, accurately determining the linearity accuracy of the height sensor before actual production is a pressing issue that needs to be addressed. Summary of the Invention
[0003] The main objective of this application is to provide a method, electronic device, storage medium, and product for evaluating the accuracy of a height sensor, aiming to solve the technical problem of how to accurately determine the linearity accuracy of a height sensor.
[0004] To achieve the above objectives, this application proposes a method for evaluating the accuracy of a height sensor, wherein the height sensor is used to measure the height of a vehicle suspension. The accuracy evaluation method for the height sensor includes: Obtain the standard dimensions and tolerance information of the vehicle suspension components; Simulation tolerances are selected from the component tolerance information, and based on the component standard dimensions and the simulation tolerances, the measurement results of the vehicle suspension measured by the height sensor at different test heights are simulated. The linear accuracy of the height sensor is evaluated based on the measurement results.
[0005] Optionally, the step of simulating the measurement results of the vehicle suspension measured by the height sensor at different test heights based on the standard dimensions of the component and the simulation tolerance includes: Configure the simulation tolerances for the standard dimensions of the component to obtain the simulation dimensions of the component; Construct virtual components that match the simulated dimensions of the aforementioned components; Based on the current test height of the vehicle suspension and each of the virtual components, simulate the measurement result of the height sensor on the current test height; Select a new current test height, and based on the new current test height, return to the step of simulating the measurement results of the height sensor on the current test height based on the current test height of the vehicle suspension and each of the virtual components, until each test height is traversed.
[0006] Optionally, the step of simulating the measurement result of the height sensor on the current test height based on the current test height of the vehicle suspension and each of the virtual components includes: Under the constraints of the preset assembly conditions of each virtual component, and based on the current test height of the vehicle suspension, the virtual components are assembled to obtain the suspension simulation model of the vehicle suspension. The measurement result is obtained by simulating the height sensor's measurement operation of the current test height using the suspension simulation model.
[0007] Optionally, the accuracy evaluation method for the height sensor further includes: After traversing each test height, return to the step of selecting simulation tolerances from the component tolerance information and subsequent steps until the number of different simulation tolerances selected reaches the preset simulation conditions.
[0008] Optionally, the simulation tolerance includes simulation dimensional tolerance and pin float; The step of configuring the simulation tolerance for the standard dimensions of the component to obtain the simulation dimensions of the component includes: Configure simulated dimensional tolerances for the standard dimensions of the components to obtain candidate dimensions for the components; The candidate dimensions of the component are corrected by floating the pin to obtain the simulated dimensions of the component.
[0009] Optionally, the step of evaluating the linear accuracy of the height sensor based on each of the measurement results includes: For any of the simulation tolerances, the measurement results based on the simulation tolerances are obtained from each of the measurement results to form a target measurement result sequence; The reference accuracy of the height sensor under the simulation tolerance is determined based on the target measurement result sequence. The reference accuracy of the height sensor under different simulation tolerances is statistically analyzed to obtain the linear accuracy of the height sensor.
[0010] Optionally, the step of determining the reference accuracy of the height sensor under the simulation tolerance based on the target measurement result sequence includes: Determine the measurement difference between adjacent target measurement results in the target measurement result sequence to obtain a set of measurement difference values; The difference between the maximum and minimum values in the set of measurement differences is determined to obtain the reference accuracy of the height sensor under the simulation tolerance.
[0011] In addition, to achieve the above objectives, this application also proposes an electronic device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the electronic device, when executed, implements the steps of the accuracy evaluation method for the height sensor as described above.
[0012] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the accuracy evaluation method for the height sensor or the steps of the model building method described above.
[0013] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the accuracy evaluation method for a height sensor or the steps of the model building method described above.
[0014] One or more technical solutions proposed in this application have at least the following technical effects: In this embodiment, standard dimensions and tolerance information of vehicle suspension components are obtained; simulation tolerances are selected from the component tolerance information, and based on the standard dimensions and simulation tolerances, the measurement results of the vehicle suspension measured by the height sensor at different test heights are simulated; the linear accuracy of the height sensor is evaluated based on each measurement result. That is, this embodiment obtains standard dimensions and tolerance information of components, and on this basis, first selects simulation tolerances, and then uses the standard dimensions and simulation tolerances to continuously measure at different test heights to complete the evaluation. Compared to the method of independently performing tolerance random sampling simulation at different suspension heights, this embodiment can ensure that the simulation logic is the same as the application process of the height sensor, avoiding the problem of low simulation results caused by resetting tolerances to complete multiple simulations at different suspension heights. Therefore, the simulation method of this embodiment can truly reflect the actual performance of a single vehicle after assembly, thereby accurately evaluating the linearity accuracy of the height sensor throughout its entire stroke. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of the principle of the height sensor used in the accuracy evaluation method of the height sensor in this application; Figure 2 This is a flowchart illustrating the first embodiment of the accuracy evaluation method for the height sensor of this application; Figure 3 This is a flowchart illustrating the second embodiment of the accuracy evaluation method for the height sensor in this application; Figure 4 This is a schematic diagram illustrating the accuracy evaluation method for the height sensor in this application. Figure 5 This is a schematic diagram of the overall process for evaluating the accuracy of the height sensor in this application; Figure 6 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the accuracy evaluation method of the height sensor in this application.
[0018] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0019] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0020] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0021] As automotive intelligence places increasingly higher demands on chassis handling and safety, the height sensor, a key sensing element of the suspension system, directly impacts the linearity accuracy of its measurement angle (the degree of linearity between the angle measured by the height sensor and the vehicle height after it is installed on the vehicle). This directly affects the reliability of core functions such as the synchronicity of suspension height adjustment, adaptive damping dynamic adjustment, brake safety assistance, and load recognition. Therefore, accurately determining the linearity accuracy of the height sensor before actual product manufacturing is a pressing issue that needs to be addressed.
[0022] It should be noted that the height sensor can be fixed to the vehicle's suspension using tension bolts. When the vehicle height changes, it causes the height sensor's shaft to rotate, resulting in the sensor measuring different angles. (See reference...) Figure 1 This is a schematic diagram of the principle of a height sensor, as shown below. Figure 1As shown in the figure, the two states of "vehicle height too high" and "vehicle height too low" correspond to the high and low positions of the height sensor, respectively, reflecting the physical principle that the suspension extension and retraction drive the shaft of the height sensor to rotate, thereby measuring the change in vehicle height.
[0023] During the manufacturing process, the linear relationship between the angle measured by the height sensor and the actual height is pre-calibrated. Therefore, ideally, when the angles measured by the height sensors are the same, the height of the vehicle suspension should also be considered the same. However, the suspension is composed of multiple components, and each component typically has tolerances. The dimensions of the actually manufactured components will have some error compared to the standard design dimensions. Therefore, even for the same model of vehicle, the actual dimensions of the suspension after assembly may differ from the design standard. Furthermore, assuming that the angle measured by each height sensor is accurate, slight dimensional differences in different suspensions of the same model mean that the same angle measured by the height sensor on different suspensions may correspond to different actual heights. Therefore, the tolerances of the components directly affect the linearity accuracy of the height sensor's angle measurement.
[0024] If the linearity accuracy of the height sensor is affected, it may cause the air springs to raise or lower the vehicle's height, resulting in inconsistencies in left-right and front-rear height. In severe cases, it can prevent the vehicle from completing its calibration and cause false fault codes indicating that the sensor's calibration range has been exceeded. Furthermore, when using changes in vehicle height to assess road bumps, inaccurate height signals can lead to inaccurate dynamic adjustments to damping stiffness. Additionally, braking safety assist and load detection scenarios also rely on the linearity accuracy of the height sensor's measurement angle. Therefore, ensuring the linearity accuracy of the height sensor before vehicle manufacturing is crucial.
[0025] The main solution of this application embodiment is: to obtain the standard dimensions and tolerance information of the vehicle suspension components; to select simulation tolerances from the component tolerance information, and based on the standard dimensions and simulation tolerances, to simulate the measurement results of the vehicle suspension at different test heights measured by the height sensor; and to evaluate the linear accuracy of the height sensor based on each measurement result. This embodiment obtains the standard dimensions and tolerance information of the components, and based on this, first selects the simulation tolerance, then continuously measures at different test heights using the standard dimensions and simulation tolerances to complete the evaluation. Compared to the method of independently performing tolerance random sampling simulation at different suspension heights, this embodiment ensures that the simulation logic is the same as the application process of the height sensor, avoiding the problem of low simulation results caused by resetting tolerances to complete multiple simulations at different suspension heights. Therefore, the simulation method of this embodiment can truly reflect the actual performance of a single vehicle after assembly, thereby accurately evaluating the linearity accuracy of the height sensor throughout its entire travel.
[0026] It should be noted that the executing entity of this embodiment can be a computer, server, cloud platform, or any electronic device that can perform the above functions.
[0027] Reference Figure 2 This is a flowchart illustrating the first embodiment of the height sensor accuracy evaluation method of this application. In this embodiment, the height sensor is used to measure the height of the vehicle suspension; the height sensor accuracy evaluation method includes steps S10~S30: Step S10: Obtain the standard dimensions and tolerance information of the vehicle suspension components; It should be noted that the height sensor can be installed between the vehicle frame and the suspension arms to convert the mechanical displacement of the suspension's vertical movement into an angle of rotation around its own axis, thereby outputting an electrical signal to indicate the vehicle's height. The vehicle suspension is an elastic motion assembly connecting the vehicle wheels and the body, such as a multi-link or torsion beam suspension. It transmits changes in vehicle height to the height sensor's axis of rotation through the geometric swing of various control arms and linkages. The geometrical positional relationship of all its hinge points determines the mapping curve between the height sensor's input angle and the vehicle's height. Standard dimensions of components are ideal theoretical values that do not include any manufacturing deviations. Component tolerance information defines the range of variation allowed for the actual dimensions and geometry of various automotive components to deviate from their standard dimensions. It defines the boundaries of manufacturing and assembly uncertainties and includes dimensional tolerances (such as ±0.2mm) and geometric tolerances (such as the positional accuracy of holes Φ0.1, the perpendicularity of surfaces, etc.).
[0028] Optionally, the standard dimensions of the components are theoretical target values output during the product engineering design phase. They are derived from the hard point coordinates set in the overall vehicle layout and can be directly obtained by reading 3D design models, product engineering drawings, etc.
[0029] Optionally, component tolerance information refers to the allowable range of dimensional and shape variations for each component in the engineering design drawings. This information can be directly read from the engineering drawings or 3D models of the product design, or obtained by referring to tables based on the unspecified tolerance grades (precision / medium) in national standards or enterprise general technical specifications.
[0030] Understandably, by obtaining the theoretical design values of all relevant components and their allowable manufacturing fluctuation ranges, data support is provided for subsequent simulations.
[0031] Step S20: Select simulation tolerance from the component tolerance information, and based on the component standard dimensions and simulation tolerance, simulate the measurement results of the vehicle suspension measured by the height sensor at different test heights; It should be noted that the simulation tolerance can be the result of a random sample taken once during the simulation cycle based on the probability distribution of the component tolerance information. This allows a specific tolerance value to be assigned to a component. Since there are usually multiple components in a vehicle suspension, a tolerance value can be selected from the tolerance range of each component to form the simulation tolerance. Different vehicle suspensions have different tolerances, so multiple sets of simulation tolerances will be selected cyclically during the simulation process, and each set will have a different tolerance value. For ease of explanation, this embodiment will use a single simulation tolerance as an example. For instance, if a simulation tolerance is selected in a single simulation, it is locked and can represent the inherent error of a specific real vehicle. The test height is the vertical displacement of the vehicle suspension relative to its design standard posture (zero position), covering the complete working stroke of the vehicle's air suspension or coil springs. The measurement result is the physical quantity actually output by the height sensor at a specific test height, after considering the transmission of all locked simulation tolerances.
[0032] It is understandable that by first locking a set of random tolerances (i.e., extracting a simulation tolerance), and then simulating the vehicle suspension at different test heights, this process is consistent with the actual application process of a height sensor. That is, the vehicle suspension is manufactured first (with the tolerances fixed), and then a height sensor is installed to collect data. The height of the vehicle suspension changes based on the driving environment or active control commands (simulating different test heights of the vehicle suspension). Therefore, compared to the method of independently performing tolerance random sampling simulations at different suspension heights, this embodiment can ensure that the simulation logic is the same as the application process of the height sensor, avoiding the problem of low simulation results caused by resetting tolerances to complete multiple simulations at different suspension heights. In other words, the simulation method of this embodiment can simulate and reflect the influence of suspension component tolerances on the measurement results of the height sensor in a single vehicle.
[0033] Step S30: Evaluate the linearity of the height sensor based on the measurement results.
[0034] It should be noted that the above measurement results can be obtained by selecting a single simulation tolerance and simulating the vehicle suspension at different test heights. Alternatively, they can be obtained by selecting multiple simulation tolerances and simulating the vehicle suspension at different test heights under each simulation tolerance.
[0035] Optionally, if each measurement result is based on a selected simulation tolerance, then each measurement result may include the angle measured by the height sensor at each test height after selecting the simulation tolerance, and the simulation linear relationship between the measured angle and the test height is statistically analyzed. Then, the difference between the simulation linear relationship and the preset standard linear relationship is compared to obtain the linear accuracy of the height sensor under the simulation tolerance.
[0036] Optionally, if each measurement result is based on multiple simulated tolerances, then each measurement result may include the angle measured by the height sensor at each test height under each simulated tolerance. Correspondingly, the simulated linear relationship between the angle measured under each simulated tolerance and the test height can be statistically determined. Then, based on the distribution of the differences between each simulated linear relationship and the preset standard linear relationship, the linear accuracy of the height sensor under the designed component tolerance information can be obtained.
[0037] In this embodiment, standard dimensions and tolerance information of vehicle suspension components are obtained; simulation tolerances are selected from the component tolerance information, and based on the standard dimensions and simulation tolerances, the measurement results of the vehicle suspension measured by the height sensor at different test heights are simulated; the linear accuracy of the height sensor is evaluated based on each measurement result. That is, this embodiment obtains standard dimensions and tolerance information of components, and on this basis, first selects simulation tolerances, and then uses the standard dimensions and simulation tolerances to continuously measure at different test heights to complete the evaluation. Compared to the method of independently performing tolerance random sampling simulation at different suspension heights, this embodiment can ensure that the simulation logic is the same as the application process of the height sensor, avoiding the problem of low simulation results caused by resetting tolerances to complete multiple simulations at different suspension heights. Therefore, the simulation method of this embodiment can truly reflect the actual performance of a single vehicle after assembly, thereby accurately evaluating the linearity accuracy of the height sensor throughout its entire stroke.
[0038] In one feasible implementation, step S30 further includes steps S31 to S33: Step S31: For any simulation tolerance, obtain the measurement results based on the simulation tolerance from each measurement result to form a target measurement result sequence; For example, for any given simulation tolerance, measurement results based on that simulation tolerance are obtained from various measurement results to form a target measurement result sequence. Optionally, the target measurement result sequence is an ordered array formed by sequentially recording the output values of the height sensor as the test height is traversed from the lowest to the highest under the same simulation tolerance.
[0039] Step S32: Determine the reference accuracy of the height sensor under the simulation tolerance based on the target measurement result sequence; It should be noted that in the actual evaluation process, the simulated test heights under each simulation tolerance can be fixed. For example, the different test heights can be fixed as: -40mm, -30mm, -20mm, -10mm, 0mm, 10mm, 20mm, 30mm, and 40mm. Therefore, when evaluating the linear accuracy of the height sensor, only the variation of the target measurement result sequence itself needs to be considered. Optionally, the differences between adjacent target measurement results in the target measurement result sequence can be statistically analyzed to obtain the reference accuracy under that simulation tolerance.
[0040] In one feasible implementation, step S32 further includes steps S321 to S322: Step S321: Determine the measurement difference between adjacent target measurement results in the target measurement result sequence to obtain a set of measurement difference values; Step S322: Determine the difference between the maximum and minimum values in the measurement difference set to obtain the reference accuracy of the height sensor under the simulation tolerance.
[0041] For example, the measurement difference between adjacent target measurement results in the target measurement result sequence is calculated. The set of measurement difference values reflects the actual increment of the sensor's rotation angle when the suspension changes by one unit height step. To further simplify the quantification of linear accuracy, the maximum and minimum values can be selected from the set of measurement difference values and the difference obtained can be used as the reference accuracy of the height sensor under the simulation tolerance.
[0042] For example, assuming a certain simulation tolerance, the sensor angles measured at test heights of -10mm, 0mm, and +10mm are -2.3°, 0.1°, and 2.4°, respectively. First, the measurement difference between adjacent heights is calculated: -2.3 to 0.1 results in a difference of +2.4° (actually 2.4), and 0.1 to 2.4 results in a difference of +2.3°, yielding a set of measurement differences [+2.4, +2.3]. Then, the difference between the maximum (+2.4) and minimum (+2.3) values in the set is taken, and the reference accuracy is calculated as 2.4 - 2.3 = 0.1°. The smaller this value, the more uniform the sensor angle change within adjacent steps, indicating better linearity.
[0043] Step S33: Statistically calculate the reference accuracy of the height sensor under different simulation tolerances to obtain the linear accuracy of the height sensor.
[0044] For example, the distribution of reference accuracy of the height sensor under different simulation tolerances can be statistically analyzed, and the linear accuracy of the height sensor can be determined by the distribution of reference accuracy. Optionally, the maximum reference accuracy can be directly used as the linear accuracy of the height sensor, or the percentage of reference accuracy exceeding a preset accuracy range can be used as the linear accuracy of the height sensor.
[0045] It is understood that this embodiment provides a method for quantifying the linear accuracy of the height sensor based on measurement results, which can quickly evaluate the linear accuracy of the height sensor and thus determine whether the vehicle suspension obtained by the height sensor is accurate and usable under given component tolerance information.
[0046] Reference Figure 3 This is the second embodiment of the accuracy evaluation method for the height sensor in this application. Contents identical or similar to those in the above embodiments can be referred to the above description and will not be repeated hereafter. Based on the standard dimensions of the components and simulation tolerances, the steps for simulating the measurement results of the vehicle suspension measured by the height sensor at different test heights include steps A01 to A04: Step A01: Configure simulation tolerances for the standard dimensions of the parts to obtain the simulation dimensions of the parts; For example, the selected simulation tolerances, including specific tolerance values, can be superimposed onto the theoretical values of the standard dimensions of the parts. The resulting simulated dimensions of the parts represent the actual manufactured dimensions of the parts on a physical vehicle. For instance, if the standard dimension of a part is 200mm, adding the corresponding tolerance value for that part in the sampled simulation tolerance plus 0.05mm yields 200.05mm. Once determined by random sampling, this dimension remains unchanged throughout the entire test height cycle to simulate the fixed geometric properties of the same set of parts after assembly.
[0047] In one feasible implementation, the simulation tolerances include simulation dimensional tolerances and pin float; Step A01 also includes steps A11 to A12: Step A11: Configure simulation dimensional tolerances for the standard dimensions of the parts to obtain candidate dimensions for the parts; Step A12: Correct the candidate dimensions of the component by floating the pin hole to obtain the simulated dimensions of the component.
[0048] For example, the tolerances included in simulation tolerances can be divided into two categories: simulation dimensional tolerances and pin float. Simulation dimensional tolerances directly reflect the independent geometric manufacturing deviations of the parts themselves, such as linear dimensional tolerances (length, diameter), angular tolerances, and geometric tolerances (positional tolerance, perpendicularity), etc. These tolerances represent the inherent physical size deviations of the parts themselves and are not re-sampled before traversing all test heights, in order to simulate the objective state of a single machined part on a real vehicle. Pin float, on the other hand, refers to the amount of clearance generated when parts are fitted together by pins due to the difference in the tolerance zones of the holes and pins, i.e., the radial or axial movable allowance.
[0049] For example, the intermediate transition dimension value obtained by superimposing the simulation dimension tolerance on the candidate dimension of the component is the aforementioned candidate dimension of the component. This value only expresses the theoretical actual size of the component itself, but does not include the actual working posture offset caused by assembly and mating (such as floating pin holes).
[0050] For example, after determining the candidate dimensions of a component, the candidate dimensions are then corrected by adjusting the pin float to obtain the final simulated dimensions of the component. Optionally, the pin float can be adjusted by changing the pin center and then adjusting the actual coordinates within the hole to correct the candidate dimensions of the component. For example, the standard hole center distance of a suspension control arm is 300mm, the dimensional tolerance is reduced to +0.1mm, the candidate dimension is 300.1mm, the assembly hole diameter is 10mm, the pin diameter is 9.98mm, and the single-sided clearance is 0.01mm. After assembly, the pin is fixed to one side of the hole wall under the preload. After geometric angle conversion, this will cause a 0.008mm projection offset of the hinge point along the arm length direction. Therefore, the final simulated dimension of the control arm is 300.1 + 0.008 = 300.108mm. This float is only calculated once during assembly initialization to simulate the fixed eccentric state of the shaft center within the hole after the bolts are tightened. The pin float will not be repeated when the height changes subsequently.
[0051] It is worth noting that some solutions perform independent tolerance random sampling simulations at different suspension heights, leading to the problem of pin float being repeatedly counted. For example, some solutions perform multiple independent tolerance random samplings at 0mm suspension height, and pin float is sampled as one of the tolerances. Similarly, multiple independent tolerance random samplings at 10mm suspension height also include pin float, resulting in pin float being counted at both 0mm and 10mm heights. However, it should be understood that in actual applications, pin float only occurs during suspension assembly. After assembly, it does not occur when changing from 0mm to 10mm. Therefore, in this embodiment, to ensure the simulation matches the real-world scenario, pin float is used to correct the candidate dimensions of components. The error caused by pin float is reflected in the component dimensions, ensuring that pin float is only calculated once at different test heights. This avoids the problem of pin float being repeatedly calculated during simulation, ensuring the accuracy of the simulation test results and thus improving the accuracy of the height sensor linearity accuracy evaluation results.
[0052] Step A02: Construct virtual components that match the simulation dimensions of the components; Step A03: Based on the current test height of the vehicle suspension and each virtual component, simulate the measurement results of the height sensor on the current test height; For example, virtual components can be digital geometric models or abstract feature models constructed using simulation software based on the simulated dimensions of the components. For instance, a virtual component could be an abstract linkage mechanism. These virtual components are then assembled into a suspension simulation model at the current test height. A simulated height sensor is then used to measure the current test height to obtain the measurement result. The current test height is a specific target vehicle height value set by the simulation program during the traversal loop, such as +40mm, 0mm, or -40mm. Using this height as the driving command, the swing angle of each linkage is calculated geometrically to obtain the rotation angle of the height sensor shaft at this posture. The measurement operation is a virtual reading action performed for the current test height after the suspension simulation model has been solved. Optionally, an angle feature can be constructed in the simulation software, such as selecting a sensor housing reference surface (fixed to the suspension simulation model) and a sensor shaft reference line (swinging with the suspension simulation model), calculating the angle between them, and outputting the value to obtain the measurement result for the current test height.
[0053] In one feasible implementation, step A03 further includes steps A31 to A32: Step A31: Under the constraints of the preset assembly conditions of each virtual component, and based on the current test height of the vehicle suspension, assemble each virtual component to obtain the suspension simulation model of the vehicle suspension. Step A32: The measurement result is obtained by simulating the height sensor's measurement operation of the current test height using a suspension simulation model.
[0054] It should be noted that the preset assembly constraints are geometric rules that define how virtual components are connected and move relative to each other in the simulation environment, such as ball joints (constraining 3 translational degrees of freedom), pin-hole fits (constraining radial movement, allowing axial sliding and rotation), and fixed pairs (no relative movement at the bolt tightening point).
[0055] For example, the constructed virtual components are assembled into a complete digital kinematic system at the current test height under preset assembly constraints, i.e., a suspension simulation model. Optionally, the suspension simulation model includes the coordinates of each suspension hinge point, the link length hardpoint, and the sensor installation positions, wherein the component tolerances are all fixed within the model.
[0056] For example, assuming the current test height is +30mm, the virtual control arm has been given a simulation size of 200.18mm, and the floating pin has been converted to be inside the model. Under preset constraints, using this height as the driving force, the positions of each hinge point are solved, and the virtual subframe, control arm, sensor links, etc., are assembled into a suspension simulation model in this posture. Finally, a measurement operation is performed, selecting the sensor housing mounting surface and the rotor shaft reference line, calculating the included angle, and obtaining the angle value corresponding to this height.
[0057] Step A04: Select a new current test height, and based on the new current test height, return to the steps of simulating the measurement results of the height sensor on the current test height based on the current test height of the vehicle suspension and each virtual component, until each test height is traversed.
[0058] For example, after completing a measurement, the next test height can be selected as the new current test height. Then, based on the new current test height, the steps of simulating the height sensor's measurement results for the current test height based on the vehicle suspension and each virtual component are returned and repeated until each pre-set test height is traversed.
[0059] In one feasible implementation, the accuracy evaluation method for the altitude sensor further includes step A05: Step A05: After traversing each test height, return to execute the step of selecting simulation tolerances from the component tolerance information and subsequent steps until the number of different simulation tolerances selected reaches the preset simulation conditions.
[0060] For example, after traversing each test height, the simulation measurement representing the completion of one simulation tolerance selection is complete. The number of simulation tolerances is incremented by 1. If the preset simulation condition, such as 5000 times, is not reached, a new simulation tolerance is selected from the component tolerance information for simulation. This process returns to the previous steps of selecting simulation tolerances from the component tolerance information and subsequent steps, until the number of different selected simulation tolerances reaches the preset simulation condition. This cycle is repeated, incrementing the count after each set of fixed tolerances is traversed, until a preset number of independent tolerance combinations have been simulated for the entire stroke. Finally, the measurement results are summarized to evaluate the linear accuracy of the height sensor.
[0061] Furthermore, it should be noted that selecting simulation tolerances from component tolerance information can be achieved using the probabilistic statistical numerical simulation method of Monte Carlo simulation cycles. This method approximates the solution to the system's uncertainty problem through a large number of repeated random samplings. In tolerance analysis, based on the probability distribution of tolerances for each dimension, it independently and randomly generates a set of specific deviation values for all features in each cycle, and substitutes them into the geometric constraint equations to solve for the target parameters. Repeating this process thousands to tens of thousands of times, and statistically analyzing the massive output results, the probability distribution, mean, and standard deviation of the target parameters can be obtained, thereby predicting the actual performance fluctuation range and yield rate of the product under the superposition of random errors.
[0062] For example, refer to Figure 4The diagram illustrates the method for evaluating the accuracy of the height sensor presented in this application. First, dimensional and geometric tolerances are set for each tolerance feature. Then, using a Monte Carlo algorithm, each tolerance value is independently and randomly sampled (simulating over 5000 iterations). Each sampled tolerance completes a virtual assembly. In this assembled state, the vehicle height is raised or lowered by 10mm, and an angle measurement is performed. Afterward, the tolerance is re-sampled, a new assembly is completed, and the height change and measurement are repeated. Throughout the entire process, independent re-random sampling and assembly are performed at different height points, and there is no physical correlation between the measurement results at each height point.
[0063] For example, refer to Figure 5 The diagram illustrates the overall process flow of the height sensor described in this application. First, the assembly sequence of parts, key hard points, and the adjustment stroke of the air spring are identified, and the datum, assembly, and inspection features of each part are constructed. Then, a part datum system is established and dimensional and geometric tolerances are assigned. Virtual parts are constructed separately to simulate pin floating, such as converting pin floating into part dimensions. During assembly, each hinge point is constrained to achieve error transmission, and the sensor angle value is virtually measured at this level (pin floating is no longer considered during assembly). Based on this, assembly operations for raising or lowering the vehicle body are constructed in 10mm increments, along with synchronous measurements, and the measurement differences between adjacent levels are calculated. Finally, the above process is simulated more than 5000 times, and the maximum and minimum values are selected from all differences and subtracted to evaluate the sensor's angular linearity performance throughout its entire stroke.
[0064] The following is for reference. Figure 6 It shows a schematic diagram of a structure suitable for implementing the electronic device in the embodiments of this application. Figure 6 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0065] like Figure 6As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0066] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0067] The electronic device in the vehicle provided in this application, employing the accuracy evaluation method for the height sensor described in the above embodiments, can solve the technical problem of how to accurately determine the linearity accuracy of the height sensor. Compared with the prior art, the beneficial effects of the vehicle provided in this application are the same as those of the accuracy evaluation method for the height sensor provided in the above embodiments, and other technical features in this electronic device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0068] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0069] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology 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.
[0070] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the accuracy evaluation method of the height sensor in the above embodiments.
[0071] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0072] The aforementioned computer-readable storage medium may be included in the vehicle or may exist independently and not installed in the vehicle.
[0073] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquire the standard dimensions and tolerance information of the vehicle suspension components; select simulation tolerances from the component tolerance information, and, based on the standard dimensions and simulation tolerances, simulate the measurement results of the vehicle suspension at different test heights measured by a height sensor; and evaluate the linear accuracy of the height sensor based on each measurement result.
[0074] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0075] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0076] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0077] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the accuracy evaluation method of the height sensor described above, and can solve the technical problem of how to accurately determine the linearity accuracy of the height sensor. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the accuracy evaluation method of the height sensor provided in the above embodiments, and will not be repeated here.
[0078] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the accuracy evaluation method for a height sensor as described above.
[0079] The computer program product provided in this application can solve the technical problem of how to accurately determine the linearity accuracy of a height sensor. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the height sensor accuracy evaluation method provided in the above embodiments, and will not be repeated here.
[0080] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for evaluating the accuracy of a height sensor, characterized in that, The height sensor is used to measure the height of the vehicle suspension. The accuracy evaluation method for the height sensor includes: Obtain the standard dimensions and tolerance information of the vehicle suspension components; Simulation tolerances are selected from the component tolerance information, and based on the component standard dimensions and the simulation tolerances, the measurement results of the vehicle suspension measured by the height sensor at different test heights are simulated. The linear accuracy of the height sensor is evaluated based on the measurement results.
2. The accuracy evaluation method for a height sensor as described in claim 1, characterized in that, The step of simulating the measurement results of the vehicle suspension measured by the height sensor at different test heights based on the standard dimensions of the components and the simulation tolerances includes: Configure the simulation tolerances for the standard dimensions of the component to obtain the simulation dimensions of the component; Construct virtual components that match the simulated dimensions of the aforementioned components; Based on the current test height of the vehicle suspension and each of the virtual components, simulate the measurement result of the height sensor on the current test height; Select a new current test height, and based on the new current test height, return to the step of simulating the measurement results of the height sensor on the current test height based on the current test height of the vehicle suspension and each of the virtual components, until each test height is traversed.
3. The accuracy evaluation method for a height sensor as described in claim 2, characterized in that, The step of simulating the measurement result of the height sensor on the current test height based on the current test height of the vehicle suspension and each of the virtual components includes: Under the constraints of the preset assembly conditions of each virtual component, and based on the current test height of the vehicle suspension, the virtual components are assembled to obtain the suspension simulation model of the vehicle suspension. The measurement result is obtained by simulating the height sensor's measurement operation of the current test height using the suspension simulation model.
4. The accuracy evaluation method for a height sensor as described in claim 2, characterized in that, The accuracy evaluation method for the height sensor also includes: After traversing each test height, return to the step of selecting simulation tolerances from the component tolerance information and subsequent steps until the number of different simulation tolerances selected reaches the preset simulation conditions.
5. The method for evaluating the accuracy of a height sensor as described in claim 2, characterized in that, The simulation tolerances include simulation dimensional tolerances and pin floats; The step of configuring the simulation tolerance for the standard dimensions of the component to obtain the simulation dimensions of the component includes: Configure simulated dimensional tolerances for the standard dimensions of the components to obtain candidate dimensions for the components; The candidate dimensions of the component are corrected by floating the pin to obtain the simulated dimensions of the component.
6. The accuracy evaluation method for a height sensor as described in claim 1, characterized in that, The step of evaluating the linear accuracy of the height sensor based on the measurement results includes: For any of the simulation tolerances, obtain the measurement results based on the simulation tolerances from each of the measurement results to form a target measurement result sequence; The reference accuracy of the height sensor under the simulation tolerance is determined based on the target measurement result sequence. The reference accuracy of the height sensor under different simulation tolerances is statistically analyzed to obtain the linear accuracy of the height sensor.
7. The accuracy evaluation method for a height sensor as described in claim 6, characterized in that, The step of determining the reference accuracy of the height sensor under the simulation tolerance based on the target measurement result sequence includes: Determine the measurement difference between adjacent target measurement results in the target measurement result sequence to obtain a set of measurement difference values; The difference between the maximum and minimum values in the set of measurement differences is determined to obtain the reference accuracy of the height sensor under the simulation tolerance.
8. An electronic device, characterized in that, The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed, implements the steps of the accuracy evaluation method for the height sensor as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the accuracy evaluation method for a height sensor as described in any one of claims 1 to 7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the accuracy evaluation method for a height sensor as described in any one of claims 1 to 7.
