Machine tool levelness automatic adjusting system and method
Through the automatic level adjustment system of the machine tool, wireless communication between the controller and the support is used to realize the automatic level adjustment of the machine tool worktable, which solves the problems of low efficiency and low accuracy in the existing technology and improves the adjustment efficiency and accuracy.
Patent Information
- Application Number
- CN202310536354.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2043-05-12
AI Technical Summary
The existing machine tools have low efficiency and accuracy in adjusting the levelness during installation and positioning, and consume a lot of manpower and time costs.
The machine tool level automatic adjustment system is used to obtain data information of the workbench and support through the controller, judge the tilt situation in real time, and realize automatic adjustment of the height adjuster through wireless communication.
It realizes the rapid and precise level adjustment of the machine tool work surface, reduces manual intervention, and improves the adjustment efficiency and accuracy.
Smart Images

Figure CN116638345B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of machine tool automation, in particular to a machine tool levelness automatic adjusting system and method. BACKGROUND
[0002] In recent years, China's manufacturing industry has developed rapidly, and among them, precision manufacturing is the basis for the development of high-tech industries and technology, so the precision machining capability of precision machine tools is paid more and more attention. The precision of the horizontal degree of the worktable of the precision machine tool is an important index during use. The precision machine tool is placed on the ground in a supporting manner, and a plurality of manually adjustable foot bolts are usually used. In order to make the horizontal degree of the precision machine tool machining table meet the index, it is necessary to adjust the height of the several foot bolts under the machine tool during installation and positioning of the machine tool, so as to keep the horizontal degree of the machine tool worktable, so that the processed products meet the processing requirements, otherwise, the processed products cannot meet the specification requirements, resulting in processing failure.
[0003] However, the method used to adjust the levelness during installation and positioning of the existing machine tool is usually to use a strip level meter to measure multiple times and multiple direction angles, and repeatedly adjust the foot bolts of the machine tool to make the machine tool table meet the levelness requirement. This method requires the operator to have certain experience, and the levelness adjustment efficiency of this scheme is very low, the accuracy is not high, and a large amount of manual time cost is consumed.
[0004] Therefore, a machine tool levelness automatic adjusting system and method are proposed to solve the above problems. SUMMARY
[0005] The purpose of the present application is to provide a machine tool levelness automatic adjusting system which can improve the efficiency of machine tool levelness adjustment and save a lot of time.
[0006] The embodiments of the present application are implemented as follows:
[0007] In a first aspect, the present application provides a machine tool levelness automatic adjusting system, which comprises a machine tool body and a worktable located on the machine tool body, a controller is arranged above the worktable, and a plurality of supports are arranged below the machine tool body. The controller is used to acquire data information of the worktable and the supports and to judge the inclination of the worktable and the position and direction of the supports in real time according to the data information, and to calculate a control scheme of the supports. The supports are used to execute the instructions issued by the controller and to adjust the height. The controller and the supports are wirelessly connected.
[0008] In some embodiments of the present application, the controller comprises a control unit, a level detection unit connected to the control unit, and a first wireless communication unit; the level detection unit is used to measure the level data of the workbench and the position data of the support and feed back to the control unit; the control unit is used to determine the inclination of the workbench and the position direction of the support by using the information fed back by the level detection unit, so as to calculate the control scheme of the support and send a control instruction to the support; the support comprises a support height adjustment execution unit and a second wireless communication unit, the support height adjustment execution unit is used to execute the instruction sent by the controller and adjust the height to meet the requirement of the instruction; the first wireless communication unit is connected to the control unit, the second wireless communication unit is connected to the support height adjustment execution unit, and the first wireless communication unit and the second wireless communication unit are wirelessly connected.
[0009] In some embodiments of the present application, the level detection unit comprises a cavity, a gravity ball, a background light source, a position information collector and a bottom plane; the bottom plane is located below the background light source and in contact with the workbench; the cavity is arranged on the bottom plane; the gravity ball is located inside the cavity; the background light source is located below the cavity and is used to emit background light and irradiate the position information collector through the cavity and the gravity ball; the position information collector is used to acquire images of the cavity and the gravity ball with the aid of the background light, and calculate the vector coordinates of the gravity ball.
[0010] In the second aspect, the embodiments of the present application provide a machine tool level automatic adjustment method, which comprises the following steps:
[0011] A scale line is arranged in the cavity of the level detection unit, and a level detection unit coordinate system is established according to the scale line;
[0012] The position vector coordinates of the support and the corresponding position vector coordinates of the gravity ball in the coordinate system are acquired;
[0013] The support is controlled by the controller to perform horizontal adjustment according to the position vector coordinates of the gravity ball.
[0014] In some embodiments of the present application, the method for acquiring the position vector coordinates of the support and the corresponding position vector coordinates of the gravity ball in the coordinate system comprises:
[0015] The number M of supports is acquired and sequentially numbered i (1≤i≤M);
[0016] The position vector coordinates of each support in the coordinate system are sequentially acquired The position vector coordinates of the gravity ball corresponding to the current horizontal state
[0017] In some embodiments of the present invention, the position vector coordinates of each support in the coordinate system are obtained. The position vector coordinates of the gravity ball corresponding to the current horizontal state The methods include:
[0018] The controller issues a control command to adjust all supports to half of the maximum adjustable height, and then lowers the i-th (1≤i≤M) support to the lowest position one by one and then calls back to obtain the position vector coordinates of each support in real time. and the position vector coordinates of the gravity sphere
[0019] In some embodiments of the present invention, the method of controlling the support to perform horizontal adjustment by the controller according to the position vector coordinates of the gravity ball includes:
[0020] The judgment is made based on the distance between the position coordinates of the gravity ball in the coordinate system and the origin of the coordinate system (0,0). If the distance is less than the preset minimum scale spacing of the scale line, the controller controls the support to enter the precise adjustment mode to make the machine tool reach a horizontal state. Otherwise, the controller controls the support to enter the rapid adjustment mode and then enter the precise adjustment mode for adjustment to make the machine tool reach a horizontal state.
[0021] In some embodiments of the present invention, the horizontal state is:
[0022] When the position vector coordinates of the gravity ball When the controller is in a horizontal state, it is determined that the machine tool work surface is in a standard horizontal state.
[0023] In some embodiments of the present invention, the fast adjustment mode includes:
[0024] Real-time calculation using controller The cosine of the angle between the vectors is cosθ i The maximum value of the value is obtained, and a control command is issued to raise the i-th support, so that the gravity ball moves closer to the position of (0, 0) until the distance between the position coordinates of the gravity ball and the origin of the coordinate system (0, 0) is less than the preset minimum scale spacing of the scale line. Then, the controller controls the device to enter the precise adjustment mode.
[0025] In some embodiments of the present invention, the precise adjustment mode includes:
[0026] The controller sends a control instruction, so that the support device calculates the position coordinates (a, b) of the gravity ball from the origin (0, 0) of the coordinate system after each lifting and lowering (computational formula In stop and keep the height of the support device when reaching the minimum value, and adjust all the support devices in turn until the position coordinates of the gravity ball are at the center (0, 0).
[0027] Compared with the prior art, the embodiments of the present application have at least the following advantages or beneficial effects:
[0028] The embodiments of the present application provide a machine tool level automatic adjustment system, which comprises a machine tool body and a workbench located on the machine tool body, a controller is arranged above the workbench, a plurality of support devices are arranged below the machine tool body, the controller is used for acquiring data information of the workbench and the support devices and judging the inclination of the workbench and the position direction of the support devices in real time according to the data information, and a control scheme of the support devices is calculated, the support devices are used for executing the instructions sent by the controller and adjusting the height; and the controller and the support devices are wirelessly connected.
[0029] The machine tool level automatic adjustment system adjusts the controller to acquire the horizontal state of the machine tool workbench, analyzes the controller to calculate a control adjustment scheme, and adjusts the height of the support devices below the machine tool to quickly and accurately adjust the machine tool workbench to the horizontal state, so that the machine tool workbench is completely automatically adjusted without manual participation, and the level adjustment is quickly and accurately performed. DETAILED DESCRIPTION
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0031] Figure 1 FIG. 1 is a structural schematic diagram of a machine tool level automatic adjustment system according to Embodiment 1 of the present application;
[0032] Figure 2 FIG. 2 is a schematic diagram of the internal structure of a controller of the machine tool level automatic adjustment system according to Embodiment 1 of the present application;
[0033] Figure 3 FIG. 3 is a schematic diagram of the internal structure of a support device of the machine tool level automatic adjustment system according to Embodiment 1 of the present application;
[0034] Figure 4 This is a schematic diagram of the internal structure of a levelness detection unit of an automatic levelness adjustment system for a machine tool according to embodiment 1 of the present invention;
[0035] Figure 5 This is a step diagram of a method for automatically adjusting the horizontality of a machine tool according to embodiment 2 of the present invention.
[0036] Icons: 1. Machine tool body; 2. Workbench; 3. Controller; 31. First wireless communication unit; 32. Control unit; 33. Levelness detection unit; 331. Cavity; 332. Gravity ball; 333. Background light source; 334. Position information collector; 335. Bottom plane; 4. Support; 41. Wireless communication unit; 42. Support height adjustment execution unit; 5. Power supply unit. DETAILED DESCRIPTION
[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0038] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but rather merely represents selected embodiments of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort shall fall within the scope of protection of the present invention.
[0039] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not require further definition or explanation in subsequent drawings.
[0040] In the description of the embodiments of the present invention, it should be noted that if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the accompanying drawings, or the orientation or position relationship in which the product of the invention is usually placed when in use. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, it should not be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.
[0041] In addition, if the terms "horizontal", "vertical", "suspended" and the like appear, it does not mean that the component must be absolutely horizontal or suspended, but can be slightly inclined. For example, "horizontal" only means that it is more horizontal relative to "vertical", and does not mean that the structure must be completely horizontal, but can be slightly inclined.
[0042] In the description of the embodiments of the application, "a plurality of" represents at least 2.
[0043] In the description of the embodiments of the application, it should be further pointed out that, unless otherwise explicitly specified and limited, if the terms "arrangement", "installation", "connection", "connection" appear, it should be understood in a broad sense, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the application can be understood according to the specific circumstances.
[0044] Embodiment 1
[0045] Please refer to Figure 1 , Figure 1 The structure of the machine tool level automatic adjustment system of the embodiment 1 of the application is shown.
[0046] The embodiment 1 provides a machine tool level automatic adjustment system, which comprises a machine tool body 1 and a workbench 2 located on the machine tool body 1, a controller 3 is arranged above the workbench 2, a plurality of supports 4 are arranged below the machine tool body 1, the controller 3 is used for acquiring data information of the workbench 2 and the supports 4 and judging the inclination of the workbench 2 and the position and direction of the supports 4 in real time according to the data information, and simultaneously calculating a control scheme of the supports 4, the supports 4 are used for executing the instructions issued by the controller 3 and adjusting the height, and the controller 3 and the supports 4 are wirelessly connected.
[0047] Therefore, by arranging the controller 3 above the workbench 2 of the machine tool body 1, the level state of the current machine tool can be judged at any time, and the automatic adjustment control strategy can be automatically specified. The supports 4 which can dynamically adjust the height of the machine tool body 1 are used to realize that the level adjustment of the table surface of the workbench 2 can be automatically completed in the whole process of machine tool installation and positioning, so that the manual time is saved to the greatest extent, and the rapidity and accuracy of the level adjustment are improved.
[0048] Please refer to Figure 2 , Figure 2 The internal structure of the controller 3 of the machine tool level automatic adjustment system of the embodiment 1 of the application is shown.
[0049] As a preferred embodiment, the controller 3 comprises a control unit 32, a level detection unit 33 connected to the control unit 32, and a first wireless communication unit 31.
[0050] The level detection unit 33 is used to measure the level data of the workbench 2 and the position data of the support 4 and feed back to the control unit 32, and make level judgment of the machine tool to adjust the control; the control unit 32 is used to judge the inclination of the workbench 2 and the position direction positioning of the support 4 by the information fed back by the level detection unit 33, so as to calculate the control scheme of the support 4, and send control instructions to the support 4 through the first wireless communication unit 31.
[0051] Please refer to Figure 3 , Figure 3 The internal structure diagram of the support 4 of the machine tool level automatic adjustment system of the embodiment 1 of the present application is shown.
[0052] As a preferred embodiment, the support 4 comprises a support height adjustment execution unit 42 and a second wireless communication unit 41, the support height adjustment execution unit 42 is used to execute the instructions sent by the controller 3 and make height adjustment to meet the requirements of the instructions, and the second wireless communication unit 41 is used for wireless communication with the controller 3 through the first wireless communication unit 31.
[0053] Among them, the supports 4 on all machine tools can independently adjust the height, and the maximum support height can be set, and the minimum support height can be set to 0, and through the support 4, the workbench 2 of the machine tool can finally meet the level requirements.
[0054] The first wireless communication unit 31 is connected with the control unit 32, and the second wireless communication unit 41 is connected with the support height adjustment execution unit 42, and the first wireless communication unit 31 and the second wireless communication unit 41 are wirelessly connected.
[0055] Among them, the first wireless communication unit 31 and the second wireless communication unit 41 can use Bluetooth, WiFi, ZigBee and other communication modes.
[0056] As a preferred embodiment, the power supply unit 5 is electrically connected with the controller 3 and the support 4, and is used to provide power supply for the controller 3 and the support 4.
[0057] Among them, the power supply unit 5 can use battery for power supply, and can also use alternating current and other methods.
[0058] In the embodiment 1, when the machine tool body 1 is installed in place, the ground is usually selected to be leveled, the table surface of the machine tool worktable 2 is in a state close to the standard level, but it cannot meet the accurate level requirement, at this time, the height of the M support devices 4 under the machine tool body 1 is adjusted respectively (usually the support devices 4 used by the machine tool are anchor bolts, the number is 4, and 4 are used in the embodiment 1), so that the worktable 2 reaches the standard level state. When the worktable 2 is adjusted horizontally, the bottom surface of the level adjustment controller 3 is horizontally attached to the table surface of the machine tool worktable 2, at this time, through the internal level detection unit 33, the inclination state of the current worktable 2 can be measured. By detecting the inclination of the table surface of the worktable 2 and obtaining the relative position direction of the M support devices 4, the controller 3 calculates the level adjustment control scheme, and uses the first wireless communication unit 31 and the second wireless communication unit 41 to perform wireless communication, so that the controller 3 can control all the support devices 4 through instructions, so that the height of each position support device 4 is adjusted, so that the worktable 2 of the machine tool reaches the level state.
[0059] Please refer to Figure 4 , Figure 4 The internal structure diagram of the level detection unit 33 of the machine tool level automatic adjustment system in the embodiment 1 of the application is shown in the figure.
[0060] As a preferred embodiment, the level detection unit 33 comprises a cavity 331, a gravity ball 332, a background light source 333, a position information collector 334 and a bottom plane 335; the bottom plane 335 is located below the background light source 333; the cavity 331 is arranged on the bottom plane 335; the gravity ball 332 is located inside the cavity 331; and the background light source 333 is located below the cavity 331.
[0061] The cavity 331 is a spherical concave shape, the cavity wall is transparent, and a scale line is printed on the upper surface of the cavity wall, which can be used to establish the coordinate system of the level detection unit 33, so as to measure the vector coordinates of the gravity ball 332 and the position vector coordinates of each support device 4, the lower surface of the cavity wall is concave and spherical, and the inside of the cavity 331 is provided with the gravity ball 332, when the horizontal bottom surface is kept at the standard level, the gravity ball 332 will be at the center position of the cavity 331 under the action of gravity.
[0062] The gravity ball 332 is a smooth and opaque spherical body, which can move inside the spherical concave cavity 331 under the action of gravity, and according to the scale line printed on the upper surface of the cavity wall of the cavity 331 and the coordinate system established thereby, the position vector of the gravity ball 332 can be judged to facilitate the measurement of the level of the machine tool.
[0063] The background light source 333 is used to emit background light and irradiate the position information collector 334 through the cavity 331 and the gravity ball 332, and plays an auxiliary role for the position information collector 334 to collect the position information of the gravity ball 332.
[0064] The position information collector 334 is used to acquire images of the cavity 331 and the gravity ball 332 under the assistance of the background light source 333, and calculate the vector coordinates of the position of the gravity ball 332.
[0065] The bottom plane 335 is a structure bottom surface with high flatness, which is located below the background light source 333 and directly contacts the workbench 2.
[0066] It should be noted that when the bottom plane 335 of the levelness detection unit 33 is placed in an accurate horizontal position, the gravity ball 332 is just located at the middle position inside the cavity 331, and at this time the machine tool is in a horizontal state. When the bottom plane 335 of the levelness detection unit 33 has a slight difference from the horizontal plane, that is, the bottom plane 335 is in an inclined state, the gravity ball 332 in the spherical concave cavity 331 always moves to the lowest point of the lower surface of the cavity wall under the action of the earth's gravity, and at this time, since the spherical concave cavity 331 is transparent and the upper surface of the cavity wall is marked with scale lines and a coordinate system is established, the position information collector 334 can acquire images of the cavity 331 and the gravity ball 332 under the assistance of the background light source 333, and calculate the vector coordinate information of the position of the gravity ball 332 through the shielding of the coordinate points by the gravity ball 332, and feed back the vector coordinate information to the control unit 32 of the controller 3.
[0067] Working principle of the levelness detection unit 33:
[0068] The X and Y axes directions in the coordinate system are respectively divided into 2N equal parts (N is a natural integer), and scale lines are marked at positions corresponding to each scale, and the side wall of the spherical concave cavity 331 is set to have a circular shape with a diameter D, and since the coordinate system can only display the circular part inside the cavity 331, the spacing of each scale line at this time is The intersection point of the scale lines in the X and Y axis directions is defined as the scale coordinate (x, y), and -N≤x≤N, -N≤y≤N, and x and y are integers.
[0069] When the gravity ball 332 is located at the origin coordinate (0, 0) of the X and Y axes intersection of the coordinate system established inside the cavity 331, the diameter of the gravity ball 332 is set to be R, and thus At this time, the gravity ball 332 blocks 1-4 scale coordinate points in the coordinate system, so that the position information collector 334 needs to calculate the vector coordinate information of the gravity ball 332, at this time, only the average value of the scale coordinate values on the x and y axes blocked by all the gravity balls 332 is taken to define the vector coordinate of the gravity ball 332, so as to obtain the vector coordinate of the support 4 and the vector coordinate of the current gravity ball 332.
[0070] Among them, the case of the gravity ball 332 blocking the scale coordinate points in the coordinate system is divided into the following several cases:
[0071] In the first case, the gravity ball 332 blocks 1 scale coordinate point in the coordinate system, at this time, assuming that the scale coordinate blocked by the gravity ball 332 is (a, b), the vector coordinate of the gravity ball 332 can be defined as (a, b);
[0072] In the second case, the gravity ball 332 blocks 2 scale coordinate points in the coordinate system, at this time, assuming that the scale coordinates blocked by the gravity ball 332 are (a, b) and (a-1, b), the vector coordinate of the gravity ball 332 can be defined as
[0073] In the third case, the gravity ball 332 blocks 3 scale coordinate points in the coordinate system, at this time, assuming that the scale coordinates blocked by the gravity ball 332 are (a, b), (a-1, b) and (a, b-1), the vector coordinate of the gravity ball 332 can be defined as
[0074] In the fourth case, the gravity ball 332 blocks 4 scale coordinate points in the coordinate system, at this time, assuming that the scale coordinates blocked by the gravity ball 332 are (a, b), (a-1, b), (a, b-1) and (a-1, b-1), the vector coordinate of the gravity ball 332 can be defined as
[0075] Embodiment 2
[0076] In the second aspect, please refer to Figure 5 , Figure 5 The figure shows the steps of a machine tool level automatic adjustment method according to embodiment 2 of the application.
[0077] The embodiment of the application provides a machine tool level automatic adjustment method, which comprises the following steps:
[0078] A scale line is arranged in the cavity 331 of the horizontal detection unit, and a horizontal detection unit coordinate system is established according to the scale line;
[0079] The position vector coordinate of the support 4 in the coordinate system and the position vector coordinate of the corresponding gravity ball 332 are obtained;
[0080] According to the position vector coordinates of the gravity ball 332, the controller 3 controls the horizontal adjustment of the support 4.
[0081] As a preferred embodiment, the method for obtaining the position vector coordinates of the support 4 in the coordinate system and the position vector coordinates of the corresponding gravity ball 332 includes:
[0082] The number M of the support 4 is obtained, and is sequentially numbered i (1≤i≤M);
[0083] The position vector coordinates of each support 4 in the coordinate system are sequentially obtained and the position vector coordinates of the corresponding gravity ball 332 in the current horizontal state
[0084] As a preferred embodiment, the method for obtaining the position vector coordinates of each support 4 in the coordinate system and the position vector coordinates of the corresponding gravity ball 332 in the current horizontal state includes:
[0085] The controller 3 sends a control instruction to adjust all the supports 4 to half of the maximum adjustable height, and then sequentially lowers the ith (1≤i≤M) support 4 to the lowest and then returns to the original position, to obtain the position vector coordinates of each support 4 and the position vector coordinates of the gravity ball 332
[0086] It should be noted that assuming the maximum adjustable height of all the supports 4 is L, the controller 3 sends a control instruction to adjust all the supports 4 to L / 2, and then sequentially lowers the ith (1≤i≤M) support 4 to the lowest, and then returns to the original position, to obtain the position vector coordinates of each support 4 The vector coordinates can give the direction of the ith support 4 relative to the center (0, 0) of the controller 3 in the plane rectangular coordinate system of the controller 3, and the position vector of the support 4 is obtained, and the position vector coordinates of the gravity ball 332 in the current horizontal state are obtained The vector is obtained in the process of adjusting the support 4.
[0087] As a preferred embodiment, the method for adjusting the horizontal state of the gravity ball 332 according to the position vector coordinates of the gravity ball 332 includes:
[0088] The judgment is made based on the distance between the position coordinates of the gravity ball 332 in the coordinate system and the origin of the coordinate system (0,0). If the distance is less than the preset minimum scale spacing of the scale line, the controller 3 controls the support 4 to enter the precise adjustment mode so that the machine tool reaches a horizontal state. Otherwise, the controller 3 controls the support 4 to enter the quick adjustment mode and then enter the precise adjustment mode for adjustment so that the machine tool reaches a horizontal state.
[0089] As a preferred embodiment, the horizontal state is:
[0090] When the position vector coordinates of the gravity ball 332 , the controller 3 is in a horizontal state, that is, it is determined that the machine tool worktable 2 is in a standard horizontal state.
[0091] Therefore, by judging the position vector coordinates of the gravity ball 332 , it can be known whether the machine tool table 2 is in a standard horizontal state.
[0092] As a preferred embodiment, the fast adjustment mode includes:
[0093] Utilize controller 3 to calculate in real time The cosine of the angle between the vectors is cosθ i The maximum value of the scale line is obtained, and a control instruction is issued to raise the i-th support 4, so that the gravity ball 332 moves to a position closer to (0, 0) until the distance between the position coordinates of the gravity ball 332 and the origin of the coordinate system (0, 0) is less than the preset minimum scale spacing of the scale line, and then the controller 3 controls to enter the precise adjustment mode.
[0094] The X and Y axis directions perpendicular to each other in the coordinate system are divided into 2N equal parts (N is a natural integer), and a scale line is printed at the position corresponding to each scale mark. The diameter of the circle formed by the side wall of the spherical concave cavity 331 is set to D. Since the coordinate system can only display the circular part inside the cavity 331, the spacing between each scale line is According to the cosine theorem, the calculation formula is: cosθ i The value range of is -1 to 1. This value can reflect the angle between the position vector of the i-th support 4 and the position vector of the current gravity ball 332. The larger the value, the greater the angle θ. i The smaller the θ i The smaller the value, the closer the lowest position direction of the gravity ball 332 is to the direction of the i-th support 4 under the action of the earth's gravity (when θ i =0°, i.e. cosθ i = 1, the position direction of the gravity ball 332 coincides with the direction of the i-th support 4), the controller 3 always issues a control command and calculates the maximum cosθ ivalue, so that the i-th support 4 is raised, which will cause the gravity ball 332 to move closer to the coordinate system origin (0, 0) (if multiple angles θ appear i In the same situation, multiple supports 4 are adjusted together) until the position vector coordinates (a, b) of the gravity ball 332 are less than the threshold value from the origin of the coordinate system (0, 0) Right now At this time, the controller 3 stops the rapid adjustment and enters the precise adjustment stage.
[0095] Therefore, the speed of automatic level adjustment of the machine tool can be significantly increased by using the fast adjustment mode.
[0096] As a preferred embodiment, the precise adjustment mode includes:
[0097] The controller 3 issues a control command so that the support 4 calculates the distance between the position coordinates (a, b) of the gravity ball 332 and the origin of the coordinate system (0, 0) in real time after each rise and fall. (Calculation formula exist When the minimum value is reached, the height of the support 4 is stopped and maintained, and all the supports 4 are adjusted repeatedly in sequence until the position coordinates of the gravity ball 332 are at the center (0, 0).
[0098] It should be noted that after entering the precise adjustment mode, the gravity ball 332 is very close to the center coordinate position (0, 0), so the controller 3 sends a control instruction to make the support 4 rise and fall and calculate the length of the position coordinate (a, b) of the gravity ball 332 from the origin of the coordinate system (0, 0) in real time. exist When the minimum value is reached, stop and maintain the height of the support 4. Repeat the adjustment from support 4 numbered 1 to M until the position coordinates of the gravity ball 332 are at the origin of the coordinate system (0, 0), and then end the precise adjustment mode. At this time, the horizontal surface of the machine tool reaches the standard horizontal state.
[0099] It is understood that the structure shown in the figure is merely illustrative, and a system and method for automatically adjusting the levelness of a machine tool may include more or fewer components than shown in the figure, or have a different configuration than shown in the figure. Each component shown in the figure may be implemented using hardware, software, or a combination thereof.
[0100] In summary, the embodiment of the present application provides a machine tool level automatic adjustment system and method, through the level detection unit 33 in the adjustment controller 3, the horizontal state of the machine tool workbench 2 surface is obtained, the control adjustment scheme is calculated through the analysis of the control unit 32, the height-adjustable support 4 under the machine tool is controlled, so that the machine tool workbench 2 surface can be quickly and accurately adjusted to the horizontal state, and the complete automatic adjustment of the machine tool workbench 2 surface is realized, without manual participation, and the level adjustment is quickly and accurately performed.
[0101] The above is only the preferred embodiment of the present application and is not used to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A machine tool leveling automatic adjustment system, comprising a machine tool body and a workbench located on the machine tool body, characterized in that: A controller is provided above the workbench, and a plurality of supports are provided below the machine tool body. The controller is used to obtain data information of the workbench and the supports and determine the inclination of the workbench and the position direction of the supports in real time based on the data information, and calculate the control scheme of the supports. The supports are used to execute the instructions issued by the controller and adjust the height; the controller and the supports are connected in wireless communication; The controller includes a control unit, a level detection unit connected to the control unit, and a first wireless communication unit; the level detection unit is used to measure the level data of the workbench and the position data of the support and feed them back to the control unit; the control unit is used to use the information fed back by the level detection unit to determine the inclination of the workbench and the position direction of the support, so as to calculate the control scheme of the support and issue a control instruction to the support; the support includes a support height adjustment execution unit and a second wireless communication unit, and the support height adjustment execution unit is used to execute the instruction issued by the controller and perform height adjustment to meet the instruction requirements; the first wireless communication unit is connected to the control unit, and the second wireless communication unit is connected to the support height adjustment execution unit, and the first wireless communication unit and the second wireless communication unit are wirelessly communicated; The level detection unit includes a cavity, a gravity ball, a background light source, a position information collector, and a bottom plane; the bottom plane is located below the background light source and contacts the workbench; the cavity is arranged on the bottom plane; the gravity ball is located inside the cavity; the background light source is located below the cavity and is used to emit background light that passes through the cavity and the gravity ball to illuminate the position information collector; The position information collector is used to acquire images of the cavity and the gravity ball with the assistance of background light, and calculate the vector coordinates of the gravity ball.
2. A method for automatically adjusting the level of a machine tool, using the automatic adjustment system for the level of a machine tool as claimed in claim 1, characterized in that: The following steps are involved: Setting scale lines in the cavity of the horizontal detection unit and establishing a horizontal detection unit coordinate system according to the scale lines; Obtain the position vector coordinates of the support and the corresponding gravity ball in the coordinate system; The controller controls the support to perform horizontal adjustment according to the position vector coordinates of the gravity ball.
3. The method for automatically adjusting the levelness of a machine tool according to claim 2, wherein: The method for obtaining the position vector coordinates of the support and the position vector coordinates of the corresponding gravity ball in the coordinate system includes: Get the number M of supports and number them in sequence i (1≤i≤M); Get the position vector coordinates of each support in the coordinate system in turn The position vector coordinates of the gravity ball corresponding to the current horizontal state 4. The method for automatically adjusting the levelness of a machine tool according to claim 3, wherein: The position vector coordinates of each support in the coordinate system are obtained The position vector coordinates of the gravity ball corresponding to the current horizontal state The methods include: The controller issues a control command to adjust all supports to half of the maximum adjustable height, and then lowers the i-th (1≤i≤M) support to the lowest position one by one and then calls back to obtain the position vector coordinates of each support in real time. and the position vector coordinates of the gravity sphere 5. The method for automatically adjusting the levelness of a machine tool according to claim 2, wherein: The method of controlling the support to perform horizontal adjustment by the controller according to the position vector coordinates of the gravity ball includes: The judgment is made based on the distance between the position coordinates of the gravity ball in the coordinate system and the origin of the coordinate system (0,0). If the distance is less than the preset minimum scale spacing of the scale line, the controller controls the support to enter the precise adjustment mode to make the machine tool reach a horizontal state. Otherwise, the controller controls the support to enter the rapid adjustment mode and then enter the precise adjustment mode for adjustment to make the machine tool reach a horizontal state.
6. The method for automatically adjusting the levelness of a machine tool according to claim 5, characterized in that: The horizontal state is: When the position vector coordinates of the gravity ball When the controller is in a horizontal state, it is determined that the machine tool work surface is in a standard horizontal state.
7. The method for automatically adjusting the levelness of a machine tool according to claim 5, characterized in that: The fast adjustment mode includes: Real-time calculation using controller The cosine of the angle between the vectors is cosθ i The maximum value of the value is obtained, and a control instruction is issued to raise the i-th support, so that the gravity ball moves closer to (0, 0) until the distance between the position coordinates of the gravity ball and the origin of the coordinate system (0, 0) is less than the preset minimum scale spacing of the scale line. The controller then controls the device to enter the precise adjustment mode.
8. The method for automatically adjusting the levelness of a machine tool according to claim 7, characterized in that: The precise adjustment mode includes: The controller sends a control command to make the support calculate the distance between the position coordinates (a, b) of the gravity ball and the origin (0, 0) of the coordinate system in real time after each rise and fall. (Calculation formula ),exist When the minimum value is reached, the height of the support is stopped and maintained, and all supports are adjusted repeatedly in sequence until the position coordinates of the gravity ball are at the center (0, 0).
Citation Information
Patent Citations
Automatic horizontal adjusting device
CN104482951A
Spirit level is with balanced complementary unit
CN206740122U