An automatic component leveling system, application, and method based on a distance measuring device
By using a component automatic leveling system based on a ranging device, and by utilizing laser ranging sensors and automated control of the drive mechanism, the problems of low measurement accuracy, low efficiency, and poor consistency in the leveling of side beams of rail vehicles are solved, and an efficient and stable automatic leveling process is achieved.
Patent Information
- Application Number
- CN202610071854.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-19
- Publication Date
- 2026-05-26
AI Technical Summary
In existing technologies, the leveling process of the side beams of rail vehicles has low measurement accuracy, low efficiency and poor consistency. The manual operation is highly subjective, resulting in large errors, long time consumption and frequent rework.
An automatic component leveling system based on a ranging device is adopted. It utilizes multiple laser ranging sensors and a drive mechanism. The control unit automatically adjusts the action of the drive mechanism to achieve high-precision non-contact measurement and automatic leveling of components.
It improves the measurement accuracy and efficiency of leveling, reduces reliance on manual labor, ensures the stability and consistency of leveling, and allows data to be stored and analyzed, providing support for structural optimization.
Smart Images

Figure CN122077557A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of rail transit, and in particular to an automatic component leveling system based on a distance measuring device. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] Some longer and wider components, such as the side beams of rail vehicles, require leveling when connected to crossbeams. Currently, leveling side beams involves manually placing a spirit level on the beam surface, repeatedly measuring with a right-angle ruler and feeler gauge to determine the beam's levelness, and then adjusting with shims. This method has the following problems: 1) Low measurement accuracy and difficulty in controlling errors. Due to factors such as human reading habits, tool placement angle, and the precision of the tool itself, measurement errors can accumulate and amplify, leading to repeated rework.
[0004] 2) Leveling is extremely inefficient, time-consuming, and labor-intensive. The process involves first measuring the height difference between multiple support points, manually calculating the adjustment amount, then manually adjusting with shims. After adjustment, the measurement must be repeated for verification. If the deviation does not meet the requirements, the above steps must be repeated. The process is cumbersome and time-consuming.
[0005] 3) Poor leveling consistency and insufficient stability Manual operation is highly subjective and requires a high level of experience. Novices may make mistakes in judgment, leading to further deviations from the intended outcome. Furthermore, the intensity and order of adjustments can vary depending on the individual and their habits, resulting in different results and increasing rework costs. Summary of the Invention
[0006] In view of the shortcomings of the existing technology, the first objective of this invention is to provide an automatic component leveling system based on a ranging device, which makes full use of the high precision and non-contact nature of lasers and solves the key pain points of "inaccurate measurement, imprecise adjustment and difficulty in stabilization" in component leveling.
[0007] To achieve the above objectives, the present invention employs the following technical solution: An automatic component leveling system based on a ranging device includes a worktable supporting multiple driving mechanisms. The driving mechanisms are located at the bottom of the component, and multiple first ranging sensors are located on one side along the length direction of the component. The driving mechanisms are arranged along both sides along the width direction of the component. The multiple first ranging sensors are arranged vertically to obtain the distance between the first ranging sensors and the upper and lower sides of the component. The first ranging sensors send the obtained distance information to a control unit. The control unit is connected to the driving mechanisms. The control unit adjusts the actions of the multiple driving mechanisms based on the vertical spacing between the first ranging sensors and the distance difference between two first ranging sensors and the side of the component.
[0008] As described above, in an automatic component leveling system based on a ranging device, the control unit obtains the descent height of the driving mechanism at the higher position in the component width direction by multiplying the ratio of the distance difference between the two first ranging sensors and the side of the component to the vertical distance between the first ranging sensors, and the distance between the two driving mechanisms located on both sides of the component width direction.
[0009] As described above, in an automatic component leveling system based on a ranging device, multiple sets of first ranging sensors and multiple sets of driving mechanisms are provided. Each set of first ranging sensors corresponds one-to-one with each set of driving mechanisms, and each set of first ranging sensors and each set of driving mechanisms are placed on the same plane. The control unit controls each set of driving mechanisms to operate sequentially from one side to the other along the length direction of the component. In this way, by setting multiple sets of first ranging sensors, multi-point collaborative measurement can be achieved, further ensuring measurement accuracy.
[0010] As described above, in an automatic component leveling system based on a ranging device, the drive mechanism is provided in two sets, with the two sets of drive mechanisms located on both sides of the component's length direction. Each set has two drive mechanisms, and the two drive mechanisms in each set are located on the same plane.
[0011] As described above, in an automatic component leveling system based on a ranging device, the first ranging sensor is provided in a set, which includes two first ranging sensors arranged vertically, with the two first ranging sensors located on one side of the center position in the length direction of the component.
[0012] The automatic component leveling system based on a ranging device, as described above, further includes two second ranging sensors. The second ranging sensors are placed on the outside of the end of the component and are used to obtain the distance between them and the end of the component. The second ranging sensors are arranged vertically and connected to the control unit. The control unit adjusts the operation of multiple driving mechanisms based on the vertical distance between the two second ranging sensors, the distance difference between the two second ranging sensors and the end of the component, and the distance between the two driving mechanisms along the length of the component.
[0013] As described above, in an automatic component leveling system based on a ranging device, the control unit obtains the descent height of the driving mechanism at a higher position along the component length direction by multiplying the ratio of the distance difference between the two second ranging sensors and the end of the component to the vertical distance between the two second ranging sensors, and the distance between the two driving mechanisms along the component length direction.
[0014] As described above, in an automatic component leveling system based on a ranging device, the first ranging sensor is supported by a first bracket, and the second ranging sensor is supported by a second bracket. Both the first and second brackets are movable brackets and are slidably mounted on the worktable. Both the first and second supports have two layers to support the first or second ranging sensor installed vertically.
[0015] As described above, in an automatic component leveling system based on a ranging device, the driving mechanism is a ball screw linear drive mechanism driven by a servo motor. The worktable is fixed with a drive mechanism, and the worktable is equipped with positioning bars to position the component in the X and Y directions.
[0016] Secondly, the present invention also discloses an application of an automatic component leveling system based on a ranging device, which is applied to the leveling of side beams in rail vehicles.
[0017] Thirdly, the present invention also discloses a method for leveling side beams in rail vehicles, employing the aforementioned automatic component leveling system based on a distance measuring device, comprising the following: The drive mechanism is fixed on the surface of the worktable, and the side beam is placed on the drive mechanism and supported by the drive mechanism. A first ranging sensor is deployed on the side of the workbench. The first ranging sensor emits a laser beam onto the surface of the side beam and receives the reflected light to obtain the distance between the first ranging sensor and the upper and lower sides of the component. The control unit adjusts the actions of multiple drive mechanisms based on the vertical distance between the first ranging sensors and the distance difference between the two first ranging sensors and the side of the component.
[0018] The beneficial effects of the present invention are as follows: 1) The leveling system provided by the present invention includes a worktable, which supports multiple drive mechanisms. The drive mechanisms support components. A first distance sensor is set on one side of the component along its length. The multiple first distance sensors are arranged vertically to obtain the distance between the first distance sensors and the upper and lower sides of the component. The control unit adjusts the actions of the multiple drive mechanisms according to the vertical spacing between the first distance sensors and the distance difference between the two first distance sensors and the side of the component. The whole system does not require the operator to use a level, ruler, etc. for leveling work. It can quickly achieve leveling of components such as side beams in the width direction, and effectively ensures measurement accuracy without causing large errors.
[0019] 2) In this invention, the first ranging sensor does not need to be in direct contact with the component. The non-contact, high-precision ranging ensures minimal error, and both measurement accuracy and stability are guaranteed, laying the foundation for leveling. Combined with the rapid response of the drive mechanism, the leveling speed is greatly improved. The high degree of automation and intelligence reduces reliance on manual labor. The data during the measurement process can be stored through the control unit, which facilitates the later analysis of the deformation law of the side beam and provides data support for structural optimization.
[0020] 3) In one embodiment of the present invention, each group of first ranging sensors corresponds one-to-one with the corresponding group of driving mechanisms. In this way, multiple groups of first ranging sensors are set up, which can realize multi-point collaborative measurement and further ensure measurement accuracy. In another embodiment, the driving mechanism is placed on both sides of the component length direction, and a group of first ranging sensors is located on one side of the center position of the component length direction. In this way, the relevant data is acquired by the first ranging sensor at the center position, and then the control unit controls the action of the driving mechanisms on both sides to ensure accurate adjustment of the leveling mechanism action.
[0021] 4) In this invention, a second distance sensor is provided on the outer side of the end of the component. The second distance sensor is used to obtain the distance between itself and the end of the component. The control unit adjusts the action of multiple drive mechanisms according to the vertical distance between the second distance sensors and the distance difference between the two second distance sensors and the end of the component. This can realize the leveling of the component, such as the side beam, in the length direction. In conjunction with the first distance sensor, the component can be leveled in both the width and length directions. Attached Figure Description
[0022] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0023] Figure 1 This is a side view of an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0024] Figure 2This is a front view of an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0025] Figure 3 This is a top view of an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0026] Figure 4 This is a schematic diagram of a first support supporting a first ranging sensor in an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0027] Figure 5 This is a schematic diagram illustrating the principle of the control unit obtaining the descent height of the drive mechanism at the higher position in the width direction of the component in an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0028] Figure 6 This is a schematic diagram illustrating the principle of the control unit obtaining the descent height of the drive mechanism at the higher position in the length direction of the component in an automatic component leveling system based on a ranging device according to one or more embodiments of the present invention.
[0029] The diagram exaggerates the spacing or dimensions between parts to show their positions; the diagram is for illustrative purposes only.
[0030] The components are: 1. Side beam, 2. Drive mechanism, 3. First ranging sensor, 4. Second ranging sensor, 5. X-axis positioning bar, 6. Y-axis positioning bar, 7. Worktable, 8. First support. Detailed Implementation
[0031] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0032] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, unless otherwise expressly indicated by the invention, the singular form is also intended to include the plural form. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof. As described in the background section, existing technologies require workers to use level instruments or similar measuring devices to measure side beams, which results in problems such as low measurement accuracy, large errors, and low efficiency. In order to solve the above technical problems, this invention proposes an automatic component leveling system based on a distance measuring device.
[0033] Example 1 In a typical embodiment of the present invention, reference is made to Figure 1 As shown, an automatic component leveling system based on a distance measuring device includes a worktable 7, which supports multiple drive mechanisms. The drive mechanisms are placed at the bottom of the component, and multiple first distance measuring sensors 3 are placed on one side of the component along its length direction. The first distance measuring sensors 3 are spaced apart from the side of the component along its length direction. The drive mechanisms 2 are arranged along both sides of the component along its width direction. The multiple first distance measuring sensors 3 are arranged vertically to obtain the distance between the first distance measuring sensors and the upper and lower sides of the component. The first distance measuring sensors 3 send the obtained distance information to a control unit. The control unit is connected to the drive mechanisms 2. The control unit adjusts the actions of the multiple drive mechanisms according to the vertical spacing between the first distance measuring sensors 3 and the distance difference between two first distance measuring sensors 3 and the side of the component.
[0034] It should be noted that the worktable 7 can be a hollow worktable or a worktable with a flat surface. The drive mechanism 2 can be fixed to the worktable 7 with bolts and nuts. (Refer to...) Figure 3 As shown, the workbench 7 is equipped with positioning bars, including an X-axis positioning bar 5 and a Y-axis positioning bar 6, to perform preliminary positioning of the component in the X and Y directions. The X-axis positioning bar and the Y-axis positioning bar are spaced apart.
[0035] In some examples, the control unit is a PLC control unit with a storage module that can store relevant data during the operation process, which facilitates the later analysis of the deformation law of the side beam and provides data support for structural optimization. The two ranging sensors are specifically laser ranging sensors.
[0036] In this embodiment, the drive mechanism 2 is provided in two sets, and the two sets of drive mechanisms 2 are placed on both sides of the length direction of the component. Each set is provided with two drive mechanisms 2, and the two drive mechanisms 2 in each set are placed on the same plane.
[0037] The first ranging sensor 3 is provided in a set. The set of first ranging sensors 3 includes two first ranging sensors 3 arranged vertically. The two first ranging sensors 3 are located on one side of the center position in the length direction of the component. The first ranging sensor 3 arranged in the center can obtain the tilt of the center position of the component, and then the control unit can control the drive mechanism on both sides to adjust it.
[0038] refer to Figure 5As shown, along the width direction of the component, since the angle between the bottom of the component and the horizontal line is the same as the angle between the side of the component and the vertical line, the calculation is based on the fact that the tangent values of the two angles are consistent. The tangent value of the angle between the bottom of the component and the horizontal line is the ratio of the descent height D2 of the drive mechanism at the higher position along the width direction of the component (that is, the height difference between the two drive mechanisms along the width direction of the component) to the distance L2 between the two drive mechanisms located on both sides of the width direction of the component. The tangent value of the angle between the side of the component and the vertical line is the ratio of the distance difference L1 between the two first ranging sensors and the side of the component to the vertical distance D1 between the first ranging sensors. Therefore, the control unit obtains the descent height D2 of the drive mechanism at the higher position along the width direction of the component by multiplying the ratio of the distance difference L1 between the two first ranging sensors and the side of the component to the vertical distance D1 between the two first ranging sensors and the vertical distance D1 between the two first ranging sensors by the distance L2 between the two drive mechanisms located on both sides of the width direction of the component.
[0039] Additionally, refer to Figure 2 As shown, the leveling system also includes two second distance sensors 4. The second distance sensors 4 are placed on the outside of the end of the component and are spaced apart from the end of the component. The second distance sensors are used to obtain the distance between themselves and the end of the component. The second distance sensors 4 are arranged vertically and are placed on the same vertical line. The second distance sensors 4 are connected to the control unit. The control unit adjusts the operation of multiple drive mechanisms 2 according to the vertical distance between the second distance sensors 4 and the distance difference between the two second distance sensors 4 and the end of the component.
[0040] refer to Figure 6 As shown, along the length of the component, the angle between the component's length direction and the horizontal line is the same as the angle between the vertical line where the two second ranging sensors 4 are located and the vertical distance between the lower second ranging sensor 4 and the top side of the component. The ratio of the distance difference L3 between the two second ranging sensors 4 and the end of the component to the vertical distance D3 between the two second ranging sensors 4 is the same as the ratio of the height difference D4 between the two drive mechanisms along the length of the component to the distance L4 between the two drive mechanisms along the length of the component. The control unit obtains the descending height of the drive mechanism 2 at the higher position along the length of the component by multiplying the ratio of the distance difference L3 between the second ranging sensors 4 and the end of the component to the vertical distance D3 between the two second ranging sensors 4 and the distance L4 between the two drive mechanisms along the length of the component. This descending height is the same as the height difference D4 between the two drive mechanisms along the length of the component.
[0041] Considering that in actual working conditions, the side beam 1 has inclination not only in the width direction but also in the length direction, the second distance sensor 4 works in conjunction with the first distance sensor 3 to achieve rapid and accurate leveling of components such as the side beam 1. Under normal circumstances, the control unit first receives the data from the first distance sensor 3 and adjusts the height of the drive mechanism in the width direction of the component, and then receives the data from the second distance sensor 4 and adjusts the height of the drive mechanism in the length direction of the component.
[0042] In addition, the first ranging sensor 3 is supported by the first bracket 8, and the second ranging sensor 4 is supported by the second bracket. Both the first bracket 8 and the second bracket are movable brackets and are slidably mounted on the worktable. The first bracket 8 and the second bracket are mounted on the worktable through a linear slide rail mechanism. The first bracket 8 is set along the length direction of the worktable 7, which is the component, and the second bracket is set along the width direction of the worktable 7, which is the component. The X-axis positioning bar is set opposite to the first bracket 8, and the Y-axis positioning bar is set opposite to the second bracket. refer to Figure 4 As shown, both the first bracket 8 and the second bracket are F-shaped structures, meaning that the first bracket and the second bracket each have two layers to support the first ranging sensor 3 or the second ranging sensor 4 installed above and below.
[0043] It should be explained that the drive mechanism is a ball screw linear drive mechanism driven by a servo motor; Specifically, the control unit sets up a digital model for the perception layer. This model converts the analog signals from the laser rangefinder into digital quantities, establishing a mapping relationship between "actual distance" and "digital output." This eliminates errors from the physical sensors (such as temperature drift and zero-point drift), providing accurate digital input for subsequent calculations. The digital model for the perception layer can be represented as D_digital = K × (D_actual - D_offset). Where: D_actual: Actual distance in the physical world (unit: mm); D_offset: Sensor zero-point offset (calibration value, unit: mm); K: Sensor conversion coefficient (e.g., 1 mm corresponds to 10 digital values, i.e., K=10); D_digital: Output digital signal value (for calculation by the control module). The control unit employs a PID control algorithm model, which enables smoother height adjustment without overshoot. The core formula of the PID control algorithm model is: U(t) = Kp × e(t) + Ki × ∫e(t)dt + Kd × de(t) / dt Where: e(t): real-time deviation (target distance D_target - current distance D_actual); Kp (proportional coefficient): directly outputs control quantity based on the deviation magnitude; the larger the deviation, the stronger the output; Ki (integral coefficient): eliminates long-term deviations (such as static errors caused by system friction); Kd (derivative coefficient): predicts the deviation change trend and suppresses oscillations during the adjustment process; U(t): control signal output to the servo motor, pulse count.
[0044] The control unit also includes an execution layer digital model, which converts control commands into servo motor rotation parameters and maps them to the lifting height of the support structure, establishing a digital relationship between "motor control quantity and actual height". The rotation angle of the servo motor is proportional to the number of pulses, with the formula θ=N×(360° / P), where N is the number of pulses output by the control unit, P is the number of pulses per revolution of the servo motor (2000P / r), and ΔH=(θ / 360°)×L, where ΔH is the lowering height of the drive mechanism at the higher position, and L is the lead of the lead screw.
[0045] The leveling system provided in this embodiment sets a first distance sensor 3 on one side of the component, such as the side beam 1, along its length. Multiple first distance sensors 3 are arranged vertically to obtain the distance between the first distance sensor 3 and the upper and lower sides of the component. The control unit adjusts the actions of multiple drive mechanisms 2 based on the vertical spacing between the first distance sensors 3 and the distance difference between two first distance sensors 3 and the side of the component. The entire system eliminates the need for workers to use levels, rulers, etc. for leveling, and can quickly achieve leveling of components, such as the side beam, in the width direction. It also effectively ensures measurement accuracy, avoids large errors, reduces reliance on manual labor, and the data during the measurement process can be stored through the control unit.
[0046] Example 2 The difference between this embodiment and Embodiment 1 is that: Along the length of the component, there are multiple sets of first ranging sensors 3 and multiple sets of drive mechanisms. Each set of first ranging sensors 3 corresponds to each set of drive mechanisms 2. Each set of first ranging sensors and each set of drive mechanisms 2 are placed on the same plane. The control unit controls each set of drive mechanisms 2 to move sequentially from one side to the other along the length of the component. In this way, by setting up multiple sets of first ranging sensors, multi-point collaborative measurement can be achieved, further ensuring the leveling accuracy.
[0047] Example 3 This embodiment discloses an application of an automatic component leveling system based on a distance measuring device, which is applied to the leveling of side beams in rail vehicles.
[0048] Example 4 A method for leveling side beams in a rail vehicle, comprising the following: 1) Place the side beam 1 on the workbench 7 and perform preliminary X / Y positioning of the side beam using the positioning strips set on the workbench 7; 2) At the center of the side of the workbench 7, deploy one or more sets of high-precision non-contact laser first ranging sensors 3 to form a distributed measurement array. The first ranging sensor 3 emits laser light onto the surface of the side beam plate and receives the reflected light to obtain the accurate distance between the first ranging sensor 3 and the measured surface of the side beam 1. 3) The control unit receives the distance data from the first ranging sensor 3, accurately calculates the adjustment amount and direction required for each leveling fulcrum, generates corresponding digital control commands, and sends them to the drive module of the servo motor to drive the drive mechanism 2 located at the four corners of the side beam 1.
[0049] 4) Under the control of the control, each drive mechanism 2 moves synchronously or in a predetermined sequence. Through the precise rotation of the lead screw, it is converted into a linear micro-lifting / micro-lowering motion of the top of the support bolt, thereby realizing the automatic leveling of the side beam assembly. 5) The first ranging sensor 3 continues to measure and feeds the new data back to the control unit. The control unit adjusts the output in real time according to the new feedback value, forming a closed-loop negative feedback, and finally leveling the side beam 1.
[0050] After the first ranging sensor 3 measures the set time, the control unit receives the data sent by the second ranging sensor 4. The control unit adjusts the action of multiple drive mechanisms 2 along the length direction of the side beam 1 based on the vertical distance between the second ranging sensors 4 and the distance difference between the two second ranging sensors 4 and the end of the component. After the second ranging sensor 4 measures the set time, the first ranging sensor starts working again. This cycle continues until the side beam 1 is leveled. This helps to level the side beam 1 in both the length and width directions, ensuring leveling accuracy and effectively improving work efficiency.
[0051] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A component automatic leveling system based on a distance measuring device, characterized in that, The device includes a worktable that supports multiple drive mechanisms. These drive mechanisms are located at the bottom of the component. Multiple first distance sensors are positioned on one side of the component along its length. The drive mechanisms are arranged along both sides of the component's width. The multiple first distance sensors are positioned vertically to obtain the distance between the first distance sensors and the upper and lower sides of the component. The first distance sensors send the obtained distance information to a control unit. The control unit is connected to the drive mechanisms. The control unit adjusts the actions of the multiple drive mechanisms based on the vertical spacing between the first distance sensors and the distance difference between two first distance sensors and the side of the component.
2. A component automatic leveling system based on a distance measuring device according to claim 1, characterized in that, The control unit obtains the descent height of the drive mechanism at the higher position in the width direction of the component by multiplying the ratio of the distance difference between the two first ranging sensors and the side of the component to the vertical distance between the first ranging sensors and the distance between the two drive mechanisms located on both sides of the component width direction.
3. A component automatic leveling system based on a distance measuring device according to claim 1, characterized in that, The first ranging sensor is provided in multiple groups, and the driving mechanism is provided in multiple groups. Each group of first ranging sensors corresponds to each group of driving mechanisms. Each group of first ranging sensors and each group of driving mechanisms are placed on the same plane. The control unit controls each group of driving mechanisms to operate sequentially from one side to the other along the length of the component.
4. A component automatic leveling system based on a distance measuring device according to claim 1, characterized in that, The drive mechanism is provided in two sets, which are located on both sides of the length direction of the component. Each set has two drive mechanisms, and the two drive mechanisms in each set are located on the same plane.
5. The automatic component leveling system based on a distance measuring device according to claim 4, characterized in that, The first ranging sensor is provided as a set, which includes two first ranging sensors arranged vertically and vertically, with the two first ranging sensors located on one side of the center position in the length direction of the component.
6. The automatic component leveling system based on a ranging device according to claim 4, characterized in that, It also includes two second distance sensors, which are placed on the outside of the end of the component. The second distance sensors are used to obtain the distance between themselves and the end of the component. The second distance sensors are arranged vertically and connected to the control unit. The control unit adjusts the operation of multiple drive mechanisms based on the vertical distance between the two second distance sensors, the distance difference between the two second distance sensors and the end of the component, and the distance between the two drive mechanisms along the length of the component.
7. The automatic component leveling system based on a distance measuring device according to claim 6, characterized in that, The control unit obtains the descent height of the drive mechanism at the higher position along the length of the component by multiplying the distance difference between the two second ranging sensors and the end of the component with the vertical distance between the two second ranging sensors and the distance between the two drive mechanisms along the length of the component.
8. The automatic component leveling system based on a ranging device according to claim 6, characterized in that, The first ranging sensor is supported by a first bracket, and the second ranging sensor is supported by a second bracket. Both the first and second brackets are movable brackets and are slidably mounted on the worktable. Both the first and second supports have two layers to support the first or second ranging sensor installed vertically.
9. The automatic component leveling system based on a distance measuring device according to claim 1, characterized in that, The driving mechanism is a ball screw linear drive mechanism driven by a servo motor. The worktable is fixed with a drive mechanism, and the worktable is equipped with positioning bars to position the component in the X and Y directions.
10. The application of the automatic component leveling system based on a ranging device according to any one of claims 1-9, characterized in that, It is used for leveling side beams in rail vehicles.
11. A method for leveling side beams in a rail vehicle, employing an automatic component leveling system based on a distance measuring device as described in any one of claims 1-9, comprising the following: The drive mechanism is fixed on the surface of the worktable, and the side beam is placed on the drive mechanism and supported by the drive mechanism. A first ranging sensor is deployed on the side of the workbench. The first ranging sensor emits a laser beam onto the surface of the side beam and receives the reflected light to obtain the distance between the first ranging sensor and the upper and lower sides of the component. The control unit adjusts the actions of multiple drive mechanisms based on the vertical distance between the first ranging sensors and the distance difference between the two first ranging sensors and the side of the component.
