A leveling mechanism of a numerical control machine tool and a leveling method thereof

CN122895877APending Publication Date: 2026-10-13JIANGSU HOUDAO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611359265.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-03
Publication Date
2026-10-13

AI Technical Summary

Technical Problem

[0004]本申请提出了一种数控机床调平机构及其调平方法,具备调平效率高且补偿精度高的优点,用以解决导轨调平需要移动座在全行程不同位置通过人工反复试调问题

Benefits of technology

本申请提供的一种数控机床调平机构及其调平方法,通过一号推杆根据倾角传感器检测移动座在前后方向的倾斜角度动作,在通过垫脚组件调整底座水平和导轨左右方向的倾角差值校正后,配合齿轮齿条传动副驱动调节座及连接臂带动机架绕底座转轴摆动以自动补偿差值,实现导轨在前后方向的倾角自动校正,同时通过位移传感器检测工件底平面的装夹姿态,并由处理器控制二号推杆驱动摆动座转动以补偿工件装夹偏斜,避免工件反复装夹,提高了调平效率,保证加工精度和一致性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122895877A_ABST
    Figure CN122895877A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of numerical control machine tools, and discloses a numerical control machine tool leveling mechanism and a leveling method thereof, which comprise a base and a rack, a moving seat is slidably arranged on one side of the top of the rack, a plurality of foot pad assemblies are arranged at the bottom of the base, a bench clamp assembly is arranged at the top of the moving seat, and an inclination sensor is fixedly connected to one side of the moving seat. The base is horizontally adjusted through the foot pad assembly, the left and right directions of the rack guide rail are horizontally adjusted, the inclination angle action of the moving seat at the front stop point and the rear stop point is detected according to the inclination sensor, the gear and the rack transmission pair drives the adjusting seat and the connecting arm to drive the rack to swing around the base rotating shaft to automatically compensate the difference, the guide rail is automatically corrected in the front and rear directions, the clamping posture of the workpiece bottom plane is detected through the displacement sensor, the workpiece reference bottom surface is adjusted to be horizontal before machining, and the subsequent machining precision and the consistency of the workpiece are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of CNC machine tool technology, and in particular to a CNC machine tool leveling mechanism and its leveling method. Background Technology

[0002] Existing CNC machine tool leveling mechanisms typically employ spiral or wedge-type anchor structures to adjust the height of the support points between the machine tool base and the foundation. The leveling mechanism includes a connecting seat fixed to the ground, an adjusting screw that passes through the machine tool base and is movably sleeved with the connecting seat, and an adjusting nut fixedly sleeved on the top of the adjusting screw. The operator uses a wrench or other tightening tool to rotate the adjusting nut, driving the adjusting screw to rotate relative to the connecting seat. Under the action of the threaded engagement, this causes the corresponding angle of the machine tool base to rise or fall. During operation, the operator places a level at a fixed position on the machine tool's worktable or bed guide rail, reads the bubble offset or numerical display on the level in two mutually perpendicular directions, and determines the direction and degree of tilt of the machine tool at that position. Then, based on experience, the operator adjusts the anchor bolts or wedges at each support point, repeatedly measuring and adjusting until the level reading at the fixed position reaches the acceptable range.

[0003] However, in the application of the existing CNC machine tool leveling mechanism, after the machine tool is initially leveled, it is necessary to adjust whether each part of the guide rail is level. That is, when the moving module slides along the guide rail to different positions, the tilt angle of the moving seat in the left and right directions at the front and rear stops is deviated. The operator needs to adjust the support height on both sides of the frame separately. That is, the guide rail distortion in the left and right directions is corrected by repeatedly trying to adjust each pad assembly. However, adjusting any pad assembly will affect the stress state of other support points. For example, it is necessary to readjust the height of the guide rail in the front and back directions to make the guide rail level. This results in the need to adjust the pad height multiple times, which reduces the leveling efficiency. Summary of the Invention

[0004] This application proposes a leveling mechanism and method for CNC machine tools, which has the advantages of high leveling efficiency and high compensation accuracy, and solves the problem that guide rail leveling requires repeated manual trial adjustments at different positions throughout the entire stroke of the moving seat.

[0005] To achieve the above objectives, this application adopts the following technical solution: a CNC machine tool leveling mechanism, including a base and a frame, a movable seat is slidably arranged on one side of the top of the frame, a plurality of pad assemblies are arranged at the bottom of the base, a vise assembly is arranged on the top of the movable seat, an inclination sensor is fixedly connected to one side of the movable seat, the inclination sensor is used to detect the inclination angle of the contact surface between the movable seat and the vise assembly, and the bottom frame of the frame is rotatably connected to the base through a rotating shaft; It also includes an adjustment mechanism, a processor, and a controller. The adjustment mechanism includes an adjustment seat that is slidably engaged with the base. The processor calculates the difference in the left and right tilt angles of the moving seat at the front and rear stops of the moving seat along the sliding direction of the frame based on the detection data of the tilt sensor at the front and rear stops of the moving seat. When the difference exceeds a preset threshold, the height of the foot pads at the corresponding positions on both sides of the base is adjusted according to the difference. The controller controls the adjustment mechanism to drive the frame to rotate relative to the base based on the overall tilt angle data of the moving seat in the front and rear directions fed back by the processor.

[0006] Furthermore, a linear motion mechanism is provided on the top of the frame, and the linear motion mechanism is connected to the moving seat in a transmission manner.

[0007] The linear motion mechanism is used to drive the moving seat to slide back and forth between the front and rear dead points along the guide rail at the top of the frame. The tilt sensor can collect tilt angle data at different positions throughout the entire stroke of the moving seat.

[0008] Furthermore, the foot assembly includes a connecting seat and a first screw. A limiting hole adapted to the first screw is provided at the center of the top surface of the connecting seat. The bottom end of the first screw is embedded in the limiting hole and movably sleeved with the connecting seat. The first screw is threadedly sleeved with the base. An adjusting nut is fixedly sleeved on the top of the first screw.

[0009] The operator drives the No. 1 screw to rotate relative to the connecting seat by turning the adjusting nut, which in turn drives the corresponding angle of the base to rise and fall under the action of the threaded engagement.

[0010] Furthermore, a second screw is provided on the side of the adjusting seat away from the base, and a gear is fixedly connected to the bottom end of the second screw. Racks are slidably provided on both sides of the bottom of the base, and a sliding frame is fixedly connected between the two racks. A push rod is fixedly provided at the bottom of the base. A connecting arm is rotatably connected to the side of the adjusting seat near the frame, and connecting blocks are fixedly connected to both sides of the bottom of the frame.

[0011] The first push rod drives the sliding frame to move horizontally, and the sliding frame drives the racks on both sides to move synchronously. The racks drive the second screw to rotate through gear meshing. The second screw drives the adjusting seat to move vertically relative to the base. The adjusting seat drives the connecting block and the frame to swing slightly around the rotating axis through the connecting arm.

[0012] Furthermore, the second screw is rotatably connected to the base, the top of the second screw is threadedly connected to the adjusting seat, the rack meshes with the corresponding gear, the output end of the first push rod is connected to the sliding frame, and the connecting block is rotatably connected to the connecting arm.

[0013] Furthermore, the movable seat includes a sliding seat and a swing seat. A connecting shaft is rotatably connected to the top midpoint of the sliding seat. Two push rods are hinged to both sides of the top of the sliding seat. An adjusting block is fixedly connected to the output end of the two push rods. The adjusting block is hinged to the swing seat. The two push rods are used for extension and retraction transmission to drive the swing seat to rotate relative to the sliding seat.

[0014] When the second push rod on one side extends and the other side retracts, the swing seat rotates around the connecting shaft, thereby adjusting the left and right tilting posture of the vise assembly and the workpiece mounted on the top of the swing seat, realizing active compensation for workpiece clamping deviation, and ensuring that the bottom plane of the workpiece is in a horizontal state before processing.

[0015] Furthermore, a number of contact telescopic displacement sensors are fixedly installed on one side of the vise assembly used for clamping the workpiece. The probes of the displacement sensors extend out of the vise assembly to support the workpiece table. A third push rod is fixedly installed on the vise assembly near the displacement sensors.

[0016] When the workpiece is placed on the vise assembly, the probe of the displacement sensor is pushed and retracted by the bottom plane of the workpiece. The processor determines whether the height of each detection point on the bottom plane of the workpiece is consistent based on the feedback values ​​of each displacement sensor, thereby detecting whether there is clamping deviation of the workpiece.

[0017] Furthermore, the sliding seat is slidably connected to the frame, the swing seat is fixedly sleeved with the connecting shaft, the vise assembly is fixedly connected to the swing seat, and the output end of the third push rod is drivenly connected to a top block.

[0018] Driven by the third push rod, the top block can move vertically relative to the clamping table of the vise assembly, lifting the finished workpiece from the vise assembly so that the top surface of the workpiece fits against the bottom plane of the fixing plate.

[0019] Furthermore, the top surface of the top block is set as a plane, a connecting frame is fixedly installed on the top of the base, a fixing plate is fixedly connected to the top of the connecting frame, and the bottom surface of the fixing plate is set as a horizontal plane.

[0020] A leveling method for a CNC machine tool includes the following steps: S1: Move the movable seat to the initial position. The tilt sensor detects the tilt angle of the movable seat at that position and feeds the detection result back to the processor. The processor determines the tilt state of the movable seat and displays it on the control panel. The operator rotates the adjusting nut of the corresponding pad assembly according to the instructions on the control panel to adjust the height of the corresponding angle of the base until the processor determines that the movable seat is in a horizontal state at the initial position. S2: The linear motion mechanism drives the moving seat to slide along the frame to the front stop point. The tilt sensor detects the tilt angle of the moving seat at the front stop point and feeds it back to the processor. The linear motion mechanism drives the moving seat to slide along the frame to the rear stop point. The tilt sensor detects the tilt angle of the moving seat at the rear stop point and feeds it back to the processor. S3: The processor calculates the difference between the tilt angle of the moving seat at the front stop and the tilt angle in the left and right directions at the rear stop. When the difference exceeds the preset threshold, proceed to step S4. When the difference does not exceed the preset threshold, it is determined that the leveling is completed. S4: The operator rotates the adjusting nut of the corresponding pad assembly again until the moving seat is leveled in the left and right directions. The controller drives the first push rod to move. The first push rod drives the sliding frame to move horizontally. The sliding frame drives the racks on both sides to move synchronously. The racks drive the corresponding gears to rotate. The gears drive the second screw to rotate. The second screw drives the adjusting seat to move vertically relative to the base. The adjusting seat drives the frame to swing around the base axis relative to the base through the connecting arm, so that the moving seat reaches a horizontal posture in the front and back directions. S5: During the execution of step S4, the tilt sensor continuously detects the tilt angle of the moving seat and feeds it back to the processor in real time until the difference between the tilt angles of the moving seat at the front stop and the rear stop is within the preset threshold, at which point the leveling is determined to be complete.

[0021] The beneficial effects of this invention are as follows: This application provides a CNC machine tool leveling mechanism and its leveling method. A first push rod detects the tilt angle of the moving seat in the front-to-back direction using a tilt sensor. After adjusting the horizontal position of the base and correcting the tilt angle difference in the left-to-right direction of the guide rail using a foot assembly, a gear and rack transmission pair drives the adjusting seat and connecting arm to swing the machine frame around the base axis to automatically compensate for the difference. This achieves automatic correction of the guide rail's tilt angle in the front-to-back direction. Simultaneously, a displacement sensor detects the clamping posture of the workpiece's bottom plane, and a processor controls a second push rod to drive the swinging seat to rotate to compensate for workpiece clamping misalignment, avoiding repeated workpiece clamping, improving leveling efficiency, and ensuring machining accuracy and consistency. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort: Figure 1 This is a schematic diagram of the overall structure of the present invention; Figure 2 For the present invention Figure 1 Enlarged view of the structure at point A in the image; Figure 3For the present invention Figure 1 Enlarged view of the structure at point B in the image; Figure 4 This is a schematic diagram of the structure of the movable seat of the present invention; Figure 5 This is a schematic diagram of the sliding frame structure of the present invention; Figure 6 This is a schematic cross-sectional view of a portion of the structure at the connecting shaft of the present invention; Figure 7 This is a schematic cross-sectional view of a portion of the swing seat structure of the present invention.

[0023] In the diagram: 1. Base; 2. Frame; 3. Foot assembly; 301. Connecting seat; 302. Screw No. 1; 303. Adjusting nut; 4. Linear movement mechanism; 5. Moving seat; 501. Sliding seat; 502. Swing seat; 6. Adjusting seat; 7. Screw No. 2; 8. Gear; 9. Rack; 10. Connecting arm; 11. Connecting block; 12. Sliding frame; 13. Push rod No. 1; 14. Tilt sensor; 15. Connecting shaft; 16. Vise assembly; 17. Push rod No. 2; 18. Displacement sensor; 19. Top block; 20. Push rod No. 3; 21. Connecting frame; 22. Fixing plate. Detailed Implementation

[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] Example 1, as Figures 1-5 A leveling mechanism and method for a CNC machine tool are disclosed, comprising a base 1 and a frame 2. A movable seat 5 is slidably disposed on one side of the top of the frame 2. A linear moving mechanism 4 is disposed on the top of the frame 2. The linear moving mechanism 4 is connected to the movable seat 5 by transmission and is used to drive the movable seat 5 to move horizontally. For example, the linear moving mechanism 4 includes a lead screw, a slider and a drive motor. The lead screw is rotatably connected to the frame 2 and is connected to the output shaft of the drive motor by transmission. The drive motor is fixedly installed on one side of the frame 2. The slider is threadedly connected to the lead screw and fixedly connected to the movable seat 5. The drive motor drives the lead screw to rotate and drives the slider to move, thereby driving the movable seat 5 to move.

[0026] For ease of description, the moving direction of the movable seat 5 is referred to as the forward and backward direction. Both the front and rear ends of the base 1 are provided with foot assemblies 3. Specifically, the foot assembly 3 includes a connecting seat 301 and a first screw 302. The bottom of the connecting seat 301 abuts against the ground. A limiting hole adapted to the first screw 302 is opened at the center of the top surface of the connecting seat 301. The bottom end of the first screw 302 is embedded in the limiting hole and movably connected to the connecting seat 301. The first screw 302 is threadedly connected to the base 1. An adjusting nut 303 is fixedly sleeved on the top of 302. A vise assembly 16 is provided on the top of the movable seat 5. Preferably, the vise assembly 16 is an automatic vise. The vise assembly 16 is used to clamp the workpiece. An inclination sensor 14 is fixedly connected to one side of the movable seat 5. The inclination sensor 14 is used to detect the tilt angle of the contact surface between the movable seat 5 and the vise assembly 16, that is, to detect the tilt angle of the top surface of the movable seat 5 in the front-back direction and the left-right direction, and to feed back the detection result to the processor in the form of an electrical signal.

[0027] The bottom frame of the frame 2 is rotatably connected to the base 1 via a pivot. Adjustment seats 6 are slidably engaged on both sides of the base 1. The adjustment seats 6 can slide vertically relative to the base 1 without detaching from the base 1. A second screw 7 is provided on the side of the adjustment seat 6 away from the base 1. The second screw 7 is rotatably connected to the base 1. The top of the second screw 7 is threadedly engaged with the adjustment seat 6. A gear 8 is fixedly connected to the bottom end of the second screw 7. A rack 9 is slidably provided on both sides of the bottom of the base 1. The rack 9 meshes with the corresponding gear 8. A sliding frame 12 is fixedly connected between the two racks 9. A first push rod 13 is fixedly provided on the bottom of the base 1. The first push rod 13 is an electric push rod, or it can be a hydraulic push rod. The output end of the first push rod 13 is connected to the sliding frame 12. A connecting arm 10 is rotatably connected to the side of the adjustment seat 6 near the frame 2. A connecting block 11 is fixedly connected to both sides of the bottom of the frame 2. The connecting block 11 is rotatably connected to the connecting arm 10.

[0028] The processor processes the feedback data from the tilt sensor 14 to obtain the tilt direction and specific angle of the movable seat 5, and feeds the result back to the controller. The operator determines the foot assembly 3 that needs to be adjusted by checking the controller panel, and rotates the adjusting nut 303 by turning the tool, so that the adjusting nut 303 drives the first screw 302 to rotate. The connecting seat 301 remains relatively fixed to the ground. The first screw 302 rotates relative to the connecting seat 301 and the base 1, causing the corresponding position of the base 1 to rise slightly. Several foot assemblies 3 are adjusted in sequence until the processor determines that the movable seat 5 is in a horizontal state.

[0029] After the coarse adjustment, the linear motion mechanism 4 drives the moving seat 5 to slide. The processor, based on the tilt state of the moving seat 5 when it reaches the front and rear stops using the tilt sensor 14, adjusts the foot assembly 3 according to the tilt state of the moving seat 5 at the corresponding positions to eliminate the height deviation in the lateral direction of the moving seat 5 at different positions. Even if the heights of the left and right guide rails on the frame 2 are equal at different positions, the processor synchronously monitors the front-to-back tilt angle data fed back by the tilt sensor 14. When the adjustment of the foot assembly 3 causes an overall tilt angle deviation in the front-to-back direction of the moving seat 5 at the front or rear stop, the first push rod 13 actuates, driving the sliding frame 12 to move horizontally, thus allowing the sliding... The moving frame 12 drives the racks 9 on both sides to move relative to the gear 8, thereby driving the gear 8 to rotate circumferentially relative to the base 1. The rotation of the gear 8 drives the second screw 7 to rotate, and the rotation of the second screw 7 drives the adjusting seat 6 to move vertically relative to the base 1. The adjusting seat 6 drives the connecting arm 10 to move, and the connecting arm 10 drives the connecting block 11 to move until the top surface of the moving seat 5 is in a horizontal position in the front and back directions at different positions. There is no need to make additional overall adjustments to the height of the base 1 in the front and back directions, which improves the convenience of adjustment. In actual operation, when the difference in the tilt angle of the moving seat 5 at the front and rear stops is within the rated range, it can be considered that the guide rail on the frame 2 corresponding to the moving seat 5 is adjusted to be horizontal.

[0030] During the machining of a workpiece with the bottom plane as the reference surface, there is a situation where the vise assembly 16 is misaligned. In this case, although the moving seat 5 moves along the horizontal guide rail, the workpiece itself is tilted relative to the tool axis, resulting in the top and bottom surfaces of the machined surface not being parallel.

[0031] Example 2, as Figures 1-7 Based on Embodiment 1, the movable seat 5 includes a sliding seat 501 and a swing seat 502. The sliding seat 501 is slidably connected to the frame 2. A connecting shaft 15 is rotatably connected at the top midpoint of the sliding seat 501. The swing seat 502 is fixedly sleeved with the connecting shaft 15. The axial direction of the connecting shaft 15 is adapted to the moving direction of the linear moving mechanism 4 driving the movable seat 5. Two push rods 17 are hinged on both sides of the top of the sliding seat 501. The two push rods 17 are set as electric push rods and an adjusting block is fixedly connected to the output end. The adjusting block is hinged to the swing seat 502. The two push rods 17 are used for extension and retraction transmission to drive the swing seat 502 to rotate relative to the sliding seat 501 in the radial direction of the connecting shaft 15 by a corresponding angle.

[0032] The vise assembly 16 is fixedly connected to the swing base 502. Several displacement sensors 18 are fixedly mounted on one side of the vise assembly 16 for clamping the workpiece. The displacement sensors 18 are contact-telescopic sensors, with their probes extending out of the vise assembly 16's workpiece-supporting table surface. When the workpiece is placed on the vise assembly 16, the probes can be retracted by the workpiece. The displacement sensors 18 are arranged at equal intervals, and part of each displacement sensor 18 is located within the swing base 502. Each displacement sensor 18 outputs a corresponding electrical signal based on the amount of probe retraction. The vise assembly 16 is positioned near the displacement sensors 18. A third push rod 20 is fixedly installed on the side. The third push rod 20 is partially installed inside the swing seat 502. The third push rod 20 is an electric push rod and its output end is connected to a top block 19. The top surface of the top block 19 is set as a plane and its initial position is located at the bottom of the clamping table of the vise assembly 16. A connecting frame 21 is fixedly installed on the top of the base 1. The horizontal position of the connecting frame 21 is within the stroke range of the linear motion mechanism 4. The linear motion mechanism 4 can drive the moving seat 5 to move to the position corresponding to the connecting frame 21. A fixing plate 22 is fixedly connected to the top of the connecting frame 21. The bottom surface of the fixing plate 22 is set as a horizontal plane.

[0033] When machining a workpiece, the workpiece is placed on the vise assembly 16. During this process, the bottom plane of the workpiece contacts the probe of the displacement sensor 18, pushing the probe to retract into the vise assembly 16 until the workpiece is placed on the clamping side of the vise assembly 16. The vise assembly 16 then clamps the workpiece. The processor determines whether the height of the bottom plane of the workpiece at the detection point is horizontal based on the feedback results of several displacement sensors. Specifically, the processor calculates the tilt direction and tilt angle of the bottom plane of the workpiece relative to the horizontal plane based on the feedback values ​​of each displacement sensor 18. Based on the calculation results, the controller calculates the required extension and retraction displacement of the first push rod 13 to drive it. The frame 2 swings slightly around the bottom pivot in the front-to-back direction, and the second push rod 17 on the left and right sides each have the required extension and retraction displacements. This drives the swing seat 502 to swing around the connecting shaft 15 in the left-to-right direction by the corresponding angles. When workpiece skew is detected, the first push rod 13 is controlled to move according to the feedback value of the displacement sensor 18. This drives the frame 2 to swing slightly, and controls the two second push rods 17 to move in coordination, causing the swing seat 502 to tilt to one side. That is, the second push rod 17 on the corresponding side retracts, and the second push rod 17 on the other side extends, compensating for the workpiece skew and thus ensuring the subsequent processing quality of the workpiece.

[0034] Through the division of labor and cooperation between the first push rod 13 and the two second push rods 17, the workpiece bottom plane is actively compensated for in both the front-back and left-right directions. The tilt angle of the workpiece bottom plane in both the horizontal and vertical directions is accurately compensated to zero, thus solving the problem of workpiece clamping deviation caused by uneven workpiece bottom surface or wear of clamping surface.

[0035] After the workpiece with a flat top surface is machined, the machine tool's air jet cleaning mechanism can clean the machining table and the debris on the top surface of the workpiece. The first push rod 13 and the second push rod 17 reset their actions. The linear movement mechanism 4 drives the moving seat 5 to move to the position corresponding to the fixed plate 22. The vise assembly 16 releases its grip on the workpiece. The third push rod 20 extends, driving the top block 19 to move vertically. The top block 19 abuts against the bottom plane of the workpiece and drives the workpiece to move upward until the top surface of the workpiece is in contact with the bottom plane of the fixed plate 22. The third push rod 20 is a servo electric push rod and feeds the load value back to the processor. When the processor determines that the feedback value of the third push rod 20 exceeds the preset threshold, it determines that the third push rod 20 has extended to the correct position. During the process of the top block 19 driving the workpiece to move upward, the probe of the displacement sensor 18 always remains in contact with the bottom plane of the workpiece.

[0036] Specifically, when the workpiece is lifted by the top block 19, a relative displacement occurs between the bottom plane of the workpiece and the probe of the displacement sensor 18. The probe extends or retracts accordingly based on the height change of the bottom plane of the workpiece. The displacement sensor 18 transmits the extension and retraction of the probe to the processor in real time. The processor determines whether the height of each detection point on the bottom plane of the workpiece is consistent based on the feedback values ​​of each displacement sensor 18 at this position. If the range of feedback values ​​from each displacement sensor 18 is within a preset qualified threshold, the processor determines that the bottom plane of the workpiece is horizontal, and further determines that the top and bottom surfaces of the workpiece are parallel. The processor determines the parallelism of the top and bottom surfaces of the workpiece based on the feedback data of several displacement sensors 18. When the result fed back by the displacement sensor 18 at this time is that the bottom surface of the workpiece is horizontal, the workpiece is determined to meet the standard, thereby achieving rapid and accurate detection of the parallelism of the top and bottom surfaces of the workpiece.

[0037] After the parallelism of the top and bottom surfaces of the workpiece is checked, the third push rod 20 retracts and resets, and the top block 19 drives the workpiece to descend. The workpiece falls back onto the clamping table of the vise assembly 16. If the test result is qualified, the vise assembly 16 can clamp the workpiece again, and the workpiece can enter the next process or be removed by the robot. If the test result is unqualified, the system issues an alarm signal to prompt the operator to take action.

[0038] After the machine tool is leveled, a standard reference workpiece is placed on the vise assembly 16. The initial value of the displacement sensor 18 is calibrated. The linear movement mechanism 4 drives the moving seat 5 to move to the position corresponding to the fixed plate 22. The controller drives the third push rod 20 to move, causing the top block 19 to move the reference workpiece upward until the top surface of the reference workpiece is in contact with the bottom plane of the fixed plate 22. At this time, since the top surface of the reference workpiece is in contact with the horizontal reference surface of the fixed plate 22, the top surface of the reference workpiece is in a horizontal state. Since the top surface of the reference workpiece is parallel to the bottom surface, the bottom surface of the reference workpiece is also in a horizontal state. The processor reads the feedback values ​​of each displacement sensor 18 at this time. Since the bottom surface of the reference workpiece is in a horizontal state at this time, the readings of each displacement sensor 18 at the corresponding detection point should theoretically be consistent. The processor uses the readings of each displacement sensor 18 at this time as the zero-point reference value and stores them in the processor's memory unit.

[0039] When performing parallelism testing on the top and bottom surfaces of the finished workpiece, the processor compares the actual reading of the displacement sensor 18 with the stored zero-point reference value, calculates the deviation value, and determines the horizontal state of the bottom plane of the fixed plate 22 based on the deviation value. The processor then adjusts the zero-point reference value of the displacement sensor 18 accordingly. By using the reference workpiece in conjunction with the horizontal reference surface of the fixed plate 22, the displacement sensor 18 achieves self-calibration. Furthermore, no independent calibration is required for the third push rod 20, which is used to push the top surface of the workpiece to fit against the fixed plate 22, further improving the reliability of the calibration.

[0040] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A leveling mechanism for a CNC machine tool, comprising a base (1) and a frame (2), wherein a movable seat (5) is slidably disposed on one side of the top of the frame (2), a plurality of foot assemblies (3) are disposed at the bottom of the base (1), and a vise assembly (16) is disposed at the top of the movable seat (5), characterized in that, An inclination sensor (14) is fixedly connected to one side of the movable seat (5). The inclination sensor (14) is used to detect the inclination angle of the contact surface between the movable seat (5) and the vise assembly (16). The bottom frame of the frame (2) is rotatably connected to the base (1) through a rotating shaft. It also includes an adjustment mechanism, a processor and a controller. The adjustment mechanism includes an adjustment seat (6), which is slidably engaged with the base (1). The processor calculates the difference in the left and right tilt angles of the moving seat (5) at the front and rear stops of the sliding seat (5) along the frame (2) based on the detection data of the tilt sensor (14) at the front and rear stops of the moving seat (5). When the difference exceeds the preset threshold, the height of the pad assembly (3) at the corresponding position on both sides of the base (1) is adjusted according to the difference. The controller controls the adjustment mechanism to drive the frame (2) to rotate relative to the base (1) based on the overall tilt angle data of the moving seat (5) in the front and rear directions fed back by the processor.

2. The leveling mechanism for a CNC machine tool according to claim 1, characterized in that, The top of the frame (2) is provided with a linear moving mechanism (4), which is connected to the moving seat (5) in a transmission manner.

3. A leveling mechanism for a CNC machine tool according to claim 2, characterized in that, The foot assembly (3) includes a connecting seat (301) and a first screw (302). The center of the top surface of the connecting seat (301) is provided with a limiting hole that is adapted to the first screw (302). The bottom end of the first screw (302) is embedded in the limiting hole and movably connected to the connecting seat (301). The first screw (302) is threadedly connected to the base (1). An adjusting nut (303) is fixedly sleeved on the top of the first screw (302).

4. A leveling mechanism for a CNC machine tool according to claim 3, characterized in that, The adjusting seat (6) is provided with a second screw (7) on the side away from the base (1). The bottom end of the second screw (7) is fixedly connected to a gear (8). Both sides of the bottom of the base (1) are slidably provided with racks (9). A sliding frame (12) is fixedly connected between the two racks (9). A push rod (13) is fixedly provided at the bottom of the base (1). A connecting arm (10) is rotatably connected to the side of the adjusting seat (6) close to the frame (2). Both sides of the bottom of the frame (2) are fixedly connected with connecting blocks (11).

5. A leveling mechanism for a CNC machine tool according to claim 4, characterized in that, The second screw (7) is rotatably connected to the base (1), the top rod of the second screw (7) is threadedly connected to the adjusting seat (6), the rack (9) meshes with the corresponding gear (8), the output end of the first push rod (13) is connected to the sliding frame (12) in a transmission, and the connecting block (11) is rotatably connected to the connecting arm (10).

6. A leveling mechanism for a CNC machine tool according to claim 4, characterized in that, The movable seat (5) includes a sliding seat (501) and a swing seat (502). A connecting shaft (15) is rotatably connected at the top midpoint of the sliding seat (501). Two push rods (17) are hinged to both sides of the top of the sliding seat (501). An adjusting block is fixedly connected to the output end of the two push rods (17). The adjusting block is hinged to the swing seat (502). The two push rods (17) are used for extension and retraction transmission to drive the swing seat (502) to rotate relative to the sliding seat (501).

7. A leveling mechanism for a CNC machine tool according to claim 6, characterized in that, The vise assembly (16) has several contact telescopic displacement sensors (18) fixedly installed on one side for clamping the workpiece. The probes of the displacement sensors (18) extend out of the vise assembly (16) to support the workpiece table. The vise assembly (16) has a third push rod (20) fixedly installed on the side near the displacement sensors (18).

8. A leveling mechanism for a CNC machine tool according to claim 7, characterized in that, The sliding seat (501) is slidably connected to the frame (2), the swing seat (502) is fixedly sleeved with the connecting shaft (15), the bench vise assembly (16) is fixedly connected to the swing seat (502), and the output end of the third push rod (20) is connected to the top block (19).

9. A leveling mechanism for a CNC machine tool according to claim 8, characterized in that, The top surface of the top block (19) is set as a plane, and a connecting frame (21) is fixedly provided on the top of the base (1). A fixing plate (22) is fixedly connected to the top of the connecting frame (21), and the bottom surface of the fixing plate (22) is set as a horizontal plane.

10. A leveling method for a CNC machine tool, using the leveling mechanism for a CNC machine tool as described in claim 4, characterized in that, Includes the following steps: S1: Move the movable seat (5) to the initial position. The tilt sensor (14) detects the tilt angle of the movable seat (5) at that position and feeds back the detection result to the processor. The processor judges the tilt state of the movable seat (5) and displays it on the control panel. The operator rotates the adjusting nut (303) of the corresponding position pad assembly (3) according to the instructions on the control panel to adjust the height of the corresponding angle of the base (1) until the processor judges that the movable seat (5) is in a horizontal state at the initial position. S2: The linear motion mechanism (4) drives the moving seat (5) to slide along the frame (2) to the front stop. The tilt sensor (14) detects the tilt angle of the moving seat (5) at the front stop and feeds it back to the processor. The linear motion mechanism (4) drives the moving seat (5) to slide along the frame (2) to the rear stop. The tilt sensor (14) detects the tilt angle of the moving seat (5) at the rear stop and feeds it back to the processor. S3: The processor calculates the difference between the tilt angle of the moving seat (5) at the front stop and the tilt angle in the left and right directions at the rear stop. When the difference exceeds the preset threshold, proceed to step S4. When the difference does not exceed the preset threshold, it is determined that the leveling is completed. S4: The operator rotates the adjusting nut (303) of the corresponding pad assembly (3) according to the instructions on the control panel until the moving seat (5) is leveled in the left and right directions. The controller drives the first push rod (13) to move. The first push rod (13) drives the sliding frame (12) to move horizontally. The sliding frame (12) drives the racks (9) on both sides to move synchronously. The racks (9) drive the corresponding gears (8) to rotate. The gears (8) drive the second screw (7) to rotate. The second screw (7) drives the adjusting seat (6) to move vertically relative to the base (1). The adjusting seat (6) drives the frame (2) to swing around the axis relative to the base (1) through the connecting arm (10), so that the moving seat (5) reaches a horizontal posture in the front and back directions. S5: During the execution of step S4, the tilt sensor (14) continuously detects the tilt angle of the moving seat (5) and feeds it back to the processor in real time until the difference between the tilt angles of the moving seat (5) at the front stop and the rear stop is within the preset threshold, and the leveling is determined to be completed.