A bidirectional online detection device and method based on CNC lathe
Through the two-way online detection device and method, the detection error problem of CNC lathes when processing large workpieces is solved, the accurate alignment and dimensional measurement of the workpiece axis is achieved, and the processing accuracy and economic benefits are ensured.
Patent Information
- Application Number
- CN202211197457.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-09-29
AI Technical Summary
When existing CNC lathes process large workpieces, it is difficult to achieve high precision in single-sided detection, resulting in detection errors. Especially when the Y-axis is missing and the probe detection point is not at the same height as the workpiece axis, the detection results are smaller than the actual size, resulting in detection errors. .
Using bidirectional online detection devices and methods, by determining the detection characteristics and theoretical values of the workpiece, adjusting the detection form and alignment process of the detection device, ensuring that the probe is aligned with the actual axis of the workpiece, and judging by the alignment point formula and error threshold, Achieve accurate measurement of the actual size of the workpiece.
It reduces detection errors, ensures the accuracy of detection results, provides accurate compensation data for workpiece processing, and improves processing accuracy and economic benefits.
Smart Images

Figure CN115401227B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of lathe processing technology, and in particular relates to a bidirectional online detection device and method based on a numerically controlled lathe. Background Art
[0002] With the rapid development of my country's social economy, people's living standards have gradually improved. As a basic supporting industry for all walks of life, modern manufacturing has also entered a long-term period of rapid development. As a result, the requirements for the function and preparation quality of manufacturing equipment are also gradually increasing, which in turn promotes the industrial research and development of the manufacturing industry.
[0003] As one of the core production equipment in the manufacturing industry, CNC lathes are widely used in the product production and preparation process. In the existing lathe processing process, especially for large workpieces with complex processes and large outer diameters, it is necessary to accurately detect the characteristics of the workpiece during the processing to ensure the accuracy of each processing step of the workpiece during the entire production and preparation process.
[0004] Existing CNC lathes are usually two-axis machine tools (X and Z axes), and in the processing of large workpieces, most of the current on-site online detection uses a single probe for unilateral detection. During unilateral detection, the workpiece axis needs to be adjusted to coincide with the spindle and tailstock axis. This work is often done manually, and it is difficult to achieve high-precision coincidence between the two. When the workpiece and the spindle axis do not coincide, there is a deviation between the detection value and the actual value. The error is generally compensated by the CNC program to process a qualified product. In addition, as a two-axis machine tool, the CNC lathe lacks a Y axis. During the online detection process of the CNC lathe, the probe detection point and the workpiece axis should be kept at the same height. If the probe detection point and the workpiece axis are not at the same height, the detection point does not reach the two ends of the diameter, which makes the detection result smaller than the actual size of the workpiece, resulting in a detection error. The greater the height difference, the greater the detection error. Summary of the invention
[0005] In response to one or more of the above-mentioned defects or improvement needs of the prior art, the present invention provides a bidirectional online detection device and method based on a CNC lathe, which can realize the alignment of the detection device and the axis of the workpiece, ensure that the detection device can accurately measure the size of the workpiece at the diameter of the workpiece, and reduce the errors existing in the detection process.
[0006] To achieve the above object, the present invention provides a bidirectional online detection method based on a CNC lathe, which uses a detection device with a probe to detect the workpiece, and includes the following steps:
[0007] Determining a detection feature of the workpiece and recording a theoretical value of the detection feature;
[0008] Adjust the detection form of the detection device according to the detection characteristics, and design the alignment process according to the theoretical values;
[0009] The detection device is moved to the alignment position of the workpiece, and the height of the probe is adjusted according to the alignment process to align with the actual axis of the workpiece;
[0010] The height of the probe is maintained after alignment, and the actual value of the inspection feature of the workpiece is measured.
[0011] As a further preferred embodiment of the present invention, the design alignment process comprises the following steps:
[0012] Determine the theoretical size of the workpiece when the theoretical detection position is determined according to the theoretical numerical value; determine the alignment interval according to the theoretical size; calculate the number of alignment points in the alignment interval and the theoretical height corresponding to each alignment point according to the alignment point number formula;
[0013] Wherein, the formula for finding the correct points is:
[0014] When r≥6h,
[0015]
[0016] When r<6h,
[0017] A=6
[0018] Among them, r is the theoretical size of the theoretical detection position; h is the height range of the alignment interval; A is the number of alignment points in the alignment interval.
[0019] As a further preferred embodiment of the present invention, the height range h of the alignment interval is 0.1r to 0.2r.
[0020] As a further preferred embodiment of the present invention, the synchronous adjustment of the probe height according to the alignment process is presented as the following process:
[0021] Synchronously adjust the probe heights on both sides of the workpiece to reach the theoretical heights corresponding to the alignment points in turn, and measure the actual sizes of the workpiece corresponding to each alignment point in turn through the synchronous telescopic measurement of the two probes; calculate the differences between the theoretical size of the workpiece and each actual size; find the actual size with the smallest difference, and determine whether the minimum difference is less than an error threshold; if the minimum difference is greater than the error threshold, reselect the height range; if the minimum difference is not greater than the error threshold, determine that the actual height corresponding to the alignment point is the axis height of the workpiece.
[0022] As a further preferred embodiment of the present invention, the error threshold is 0.1h to 0.2h.
[0023] As a further preferred embodiment of the present invention, an actual value of the workpiece detection feature is measured and compared with a theoretical size of the workpiece to obtain a compensation value of the workpiece for the workpiece detection feature.
[0024] As a further preferred embodiment of the present invention, the detection feature is one or more of an outer circle diameter, an inner hole diameter, a curve size, a curve curvature, and a taper parameter.
[0025] The present invention also discloses a bidirectional online detection device based on a CNC lathe, which utilizes the above-mentioned bidirectional online detection method based on a CNC lathe to detect the outer size of a workpiece, and comprises: two telescopic components; which can be respectively arranged on the lathe tool holders on both sides of the workpiece, and the lathe tool holders are used to drive the movement of the telescopic components on a horizontal plane; the telescopic components are provided with a probe facing the workpiece, and the probe can realize vertical movement under the drive of the telescopic components.
[0026] As a further preferred embodiment of the present invention, the telescopic assembly is a screw rod or a hydraulic telescopic rod.
[0027] The present invention also discloses a bidirectional online detection device based on a CNC lathe, which utilizes the above-mentioned bidirectional online detection method based on a CNC lathe to detect the inner side size of the workpiece, and includes: a motion component; which can be arranged at the end of the lathe tool rod, the motion component includes a vertical motion unit and a lateral motion unit, the lateral motion unit is arranged on the vertical motion unit, and is used to drive the vertical movement of the lateral motion unit; telescopic rods are arranged at both ends of the lateral motion unit, and a probe is arranged at the end of the telescopic rod, which is used to measure the size of the workpiece after lateral extension and contraction.
[0028] The above-mentioned improved technical features can be combined with each other as long as they do not conflict with each other.
[0029] In general, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
[0030] (1) The present invention provides a bidirectional online detection device and method based on a CNC lathe, which determines the detection form of the detection device and the corresponding alignment process according to the detection features of the workpiece and the theoretical values corresponding to the detection features, so that the detection device of the workpiece can be aligned with the actual axis of the workpiece, so that the online detection of multiple detection features of the entire workpiece can avoid the dimensional error caused by the misalignment between the detection device and the actual axis of the workpiece, ensure the accuracy of the detection of the actual detection features of the workpiece, and provide accurate data support for the calculation of the workpiece processing compensation amount.
[0031] (2) The present invention is a bidirectional online detection device and method based on a CNC lathe, which determines the height range of the alignment interval according to the theoretical value of the detection feature, and determines the number of alignment points in the alignment interval and the theoretical height value corresponding to the specific alignment point through the alignment point number formula, so that the detection device can accurately run to the theoretical height corresponding to the specified alignment point, and measure the actual values of the alignment points in turn, thereby determining the actual axis height of the workpiece.
[0032] (3) The present invention is a bidirectional online detection device and method based on a CNC lathe. By setting an error threshold during the alignment process and judging whether the difference between the actual size of the workpiece measured at each alignment point in the alignment point measurement process and the theoretical value is less than the error threshold, it can accurately judge whether the alignment interval is accurate. The accuracy of the actual axis of the workpiece found through the alignment process is ensured, thereby ensuring the accuracy of the actual size detection of the workpiece.
[0033] (4) The present invention is a bidirectional online detection device and method based on a CNC lathe, which has a simple structure and a wide range of applications. It detects the workpiece in a bidirectional and simultaneous manner, thereby avoiding detection errors caused by the misalignment of the workpiece axis and the lathe axis. By designing an alignment process for aligning the detection device and the actual axis of the workpiece, the detection device can be accurately aligned with the actual axis of the workpiece, and the detection device can detect the accurate actual size of the workpiece, thereby ensuring that the compensation amount for workpiece processing can be accurately calculated after detecting the actual size, so as to process a workpiece that meets the precision requirements. The invention has excellent economic benefits and promotion value. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flow chart of a bidirectional online detection method based on a CNC lathe in the present invention;
[0035] Figure 2 It is a design and alignment process flow chart of a bidirectional online detection method based on a CNC lathe in the present invention;
[0036] Figure 3 It is a flow chart of alignment and adjustment of a bidirectional online detection method based on a CNC lathe in the present invention;
[0037] Figure 4 It is a right view of an outer diameter detection device based on a CNC lathe in the present invention;
[0038] Figure 5 It is a top view of outer diameter detection of a bidirectional online detection device based on a CNC lathe in the present invention;
[0039] Figure 6 It is a cross-sectional view of an inner diameter detection device of a bidirectional online detection device based on a CNC lathe in the present invention;
[0040] Figure 7 It is a cross-sectional view of the inner diameter detection of another bidirectional online detection device of a T-type probe based on a CNC lathe in the present invention.
[0041] In all the drawings, the same reference numerals represent the same technical features, specifically:
[0042] 1. Detection module; 11. Moving assembly; 12. Bracket; 13. Telescopic frame; 14. Probe; 2. Bed; 3. Workpiece. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0044] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0045] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0046] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0048] Example:
[0049] like Figures 1 to 3 As shown in , the bidirectional online detection device and method based on a CNC lathe in the preferred embodiment of the present application are mainly used to realize the alignment of the detection device and the axis of the workpiece 3 after the workpiece 3 is processed by the lathe, thereby realizing accurate detection of key parameters of the workpiece 3 during or after the processing of the workpiece 3, providing key data for compensatory processing of the workpiece 3, especially large workpieces 3, to ensure the processing quality of the workpiece 3.
[0050] Specifically, if Figure 1 As shown in the preferred embodiment of the present application, a bidirectional online detection method based on a CNC lathe, which uses a detection device with a probe to detect the workpiece, includes the following steps:
[0051] S1, determining the detection feature of the workpiece 3, and recording the theoretical data of the detection feature;
[0052] S2. Adjust the detection form of the detection device according to the detection characteristics, and design the alignment process according to the theoretical values;
[0053] S3, moving the detection device to the alignment position of the workpiece 3, and adjusting the height of the probe 14 according to the alignment process to align with the actual axis of the workpiece 3;
[0054] S4, maintaining the height of the probe 14 after alignment, and measuring the actual value of the inspection feature of the workpiece 3.
[0055] Further, in step S1 , according to the machining surface involved in the machining process of the workpiece 3 , the detection feature is preferably one or more of the outer circle diameter, inner hole diameter, curve size, curve curvature, and taper parameter.
[0056] Further, in step S2, the detection form of the detection device is adjusted mainly by selecting the detection device to move from both sides of the workpiece 3 radially along the axis of the workpiece 3 or from the inner hole of the workpiece 3 radially away from the axis of the workpiece 3 according to the detection features, so that the detection device can adjust the detection process of the detection device itself according to the detection features of different workpieces 3, thereby ensuring that the detection device can realize the detection of the actual parameters of the detection features.
[0057] More preferably, if Figure 2 As shown in , the design alignment process in step S2 includes the following steps:
[0058] S211, determining the theoretical size of the workpiece 3 at the theoretical detection position according to the theoretical numerical value;
[0059] S212, determining the alignment interval according to the theoretical size;
[0060] S213, calculating the number of alignment points in the alignment interval and the theoretical height corresponding to each alignment point according to the alignment point number formula.
[0061] Preferably, the formula for finding the correct number of points is:
[0062] When r≥6h,
[0063]
[0064] When r<6h,
[0065] A=6
[0066] Among them, r is the theoretical size of the theoretical detection position; h is the height range of the alignment interval; A is the number of alignment points in the alignment interval.
[0067] In order to meet the detection requirements for larger diameters, in the preferred embodiment of the present application, the height range h of the alignment interval belongs to 0.1r~0.2r. That is, it can be understood that when h is not greater than 0.2r and greater than r / 6, the number of alignment points A in the alignment interval is 6; and when h is not less than 0.1r and not greater than r / 6, the number of alignment points A in the alignment interval is determined by the alignment point number formula.
[0068] More preferably, if Figure 3 As shown in FIG. 1 , in step S2, synchronously adjusting the height of the probe 14 according to the alignment process includes the following steps:
[0069] S221, synchronously adjusting the heights of the probes 14 on both sides of the workpiece 3 to reach the theoretical heights corresponding to the alignment points in sequence, and sequentially measuring the actual dimensions of the workpiece 3 corresponding to each alignment point through synchronous telescopic measurement of the two probes 14;
[0070] S222, calculating the difference between the theoretical size of the workpiece 3 and each of the actual sizes;
[0071] S223, finding the actual size with the smallest difference, and determining whether the smallest difference is less than an error threshold;
[0072] S224: If the minimum difference is greater than the error threshold, reselect the height range;
[0073] S225. If the minimum difference is not greater than the error threshold, determine that the actual height corresponding to the alignment point is the axis height of the workpiece 3.
[0074] Preferably, the error threshold is preferably 0.1h-0.2h, so as to ensure that the detection axis can be aligned with the actual axis of the workpiece 3 to the greatest extent possible.
[0075] Further preferably, after the actual value of the detection feature of the workpiece 3 is detected by the detection device, it is compared with the theoretical size of the workpiece 3 to obtain a compensation value of the workpiece 3 corresponding to the detection feature of the workpiece 3. The workpiece 3 is further processed by the compensation value so that the workpiece 3 meets the dimensional accuracy requirements.
[0076] Since it is impossible to ensure that the actual axis of the workpiece 3 and the actual axis of the machine tool rotating shaft completely coincide during the clamping process, there is obviously an offset angle between the actual axis of the workpiece 3 and the actual axis of the machine tool along the X-axis and / or Y-axis, and as the workpiece 3 extends along the Z-axis, the offset error of the workpiece 3 away from the clamping section relative to the machine tool rotating shaft becomes larger. In order to avoid the continuous error caused by the axis deviation, in a preferred embodiment of the present application, the workpiece 3 is divided into several monitoring intervals along the Z-axis direction, and the offset of the actual axis on the X-axis and Y-axis is determined separately for each interval.
[0077] Specifically, for a single interval, by designing an alignment process corresponding to the interval, the Y-axis height of the actual axis in the interval is driven to determine the offset of the actual axis of the workpiece 3 in the interval relative to the axis of the lathe in the Y-axis direction; then, at the alignment height, the workpiece 3 is measured by extending horizontally on both sides (when detecting the outer circle, the detection device extends from both sides of the X-axis direction to the middle; when detecting the inner diameter, the detection device penetrates into the inner hole and extends from the middle of the X-axis to both sides), and the dimensions from the detection device to both sides of the workpiece 3 are measured respectively. Since the actual axis of the workpiece 3 is offset in the X-axis direction, the dimensions on both sides of the workpiece 3 measured at this time are not equal to the theoretical dimensions of the workpiece 3, and the absolute value of the difference between the theoretical dimension of the workpiece 3 and the dimensions on both sides of the workpiece 3 is used to calculate the technical difference, which is the X-axis offset between the actual rotation axis of the workpiece 3 and the actual rotation axis of the machine tool in the interval.
[0078] Furthermore, by continuously measuring the offset of the X-axis and Y-axis corresponding to multiple intervals and the position of the alignment point in each individual interval, the offset angle between the actual axis of the workpiece 3 and the actual axis of the lathe is determined, so as to construct and calculate the machining compensation value of the workpiece 3.
[0079] Furthermore, in a preferred embodiment of the present application, a bidirectional online detection device based on a CNC lathe is also disclosed, which uses the above-mentioned bidirectional detection method based on a CNC lathe to detect the outer size of the workpiece 3, that is, to detect the outer diameter of the workpiece 3. The detection device includes at least two telescopic components with probes 14, and the telescopic components can be fixedly mounted on the lathe tool holders on both sides of the radial direction of the workpiece, respectively, and the telescopic components are driven by the lathe tool holders to realize the movement on the X-axis and / or Z-axis. The telescopic component is arranged on the lathe tool holder along the Y-axis, and the telescopic component of the telescopic mechanism is provided with a probe 14 extending along the Y-direction, so that the probe 14 can realize the movement on the Y-axis, and at the same time, the position of the probe 14 in the Y-direction is measured in real time by the measuring component arranged on the telescopic mechanism. Preferably, the telescopic component is a screw rod or a hydraulic telescopic rod.
[0080] In the actual working process, the lathe completes the processing of the workpiece 3, the lathe tool post rotates to switch the telescopic assembly to the direction facing the workpiece 3 (that is, the probe 14 is horizontally facing the workpiece along the X-axis), and the X-axis and Y-axis positions of the telescopic assemblies on both sides of the workpiece 3 are adjusted in sequence according to the alignment process, and the size of the workpiece 3 at the alignment point is measured to complete the alignment of the probe 14 and the actual axis of the workpiece 3. After that, the telescopic assembly is driven by the lathe tool post to move along the Z-axis to complete the measurement of the complete size of the workpiece 3.
[0081] Furthermore, in another preferred embodiment of the present application, a bidirectional online inspection device based on a CNC lathe is disclosed, which uses the above-mentioned bidirectional detection method based on a CNC lathe to detect the inner size of the workpiece 3, that is, to detect the inner diameter of the workpiece 3. The detection device includes a motion component, which can be set at the end of the lathe tool rod, and a probe 14 is set on the motion component to realize the movement of the motion component and the probe 14 on the Z axis through the movement of the lathe tool rod. At the same time, the motion component includes a vertical motion unit and a lateral motion unit. Preferably, the vertical motion unit is fixed to the end of the lathe tool rod, and the lateral motion unit is fixedly installed on the motion end of the vertical motion unit, and telescopic rods are set at both lateral ends of the lateral motion unit, and probes 14 are set at both ends of the telescopic rod, so that the movement of the probe 14 in the X-axis and Y-axis directions is respectively realized through the vertical motion unit and the lateral motion unit. Further preferably, the lateral motion unit and the vertical motion unit are both provided with measuring components to measure the position of the probe 14 in real time. In addition, as Figures 4 to 7As shown in, in another preferred embodiment of the present application, a bidirectional online detection device based on a CNC lathe is also disclosed, which uses the above-mentioned bidirectional online detection method based on a CNC lathe to detect the workpiece 3, including two identical detection modules 1 arranged in pairs, and the detection module 1 includes a moving component 11 and a measuring component. Among them, the moving component 11 is arranged on the top surface of the bed 2, and is used to drive the detection module 1 to move on the top surface of the bed 2. The measuring component includes a telescopic frame 13 and a probe 14 arranged between the moving component 11, and the telescopic frame 13 is movably installed on the bracket 12, and is used to realize the position adjustment of the measuring component on the X-axis and the Y-axis, and measurement sensors are also arranged on the bracket 12 and the telescopic frame 13, which are used to measure the position adjustment parameters in real time; at the same time, a probe 14 with a contact sensor is arranged on the telescopic frame 13, which is used to determine in real time whether the probe 14 contacts the workpiece 3.
[0082] Furthermore, the moving assembly 11 provides guidance by adopting a slider slot, and the movement of the moving assembly 11 is achieved by a driving wheel arranged in the slot. The driving of the moving assembly 11 can also be achieved by a hydraulic cylinder push rod, a lead screw and other structures. Preferably, a U-shaped slot is arranged on the top surface of the bed 2, the open end of the slot faces the lathe shaft, and the slots on both sides are arranged on the outside of the workpiece 3, so that when detecting the outer diameter, the detection module 1 can run along the two side slots to the two sides of the workpiece 3, and when detecting the inner diameter, the detection module 1 can run to the end of the workpiece 3, so that the detection module 1 can extend into the inner hole to detect the inner diameter of the workpiece 3.
[0083] Further preferably, in the preferred embodiment of the present application, the bracket 12 is vertically mounted on the moving assembly 11 along the Y direction, and a rotating member is provided between the bracket 12 and the moving assembly 11 to realize the rotation of the bracket 12 along the Y axis. A lead screw is provided on the bracket 12 along the Y direction, one end of the telescopic frame 13 is fixedly mounted on the lead screw sliding block, and the other end thereof extends in the horizontal direction, so that the telescopic frame 13 can move up and down along the Y axis driven by the lead screw. At least one rotating member is provided on the telescopic frame 13, and at least one telescopic member is provided on both sides of the rotating member, so that the telescopic member can telescopically move in a horizontal plane. Further, the probe 14 is fixedly mounted on the end of the telescopic frame 13 away from the bracket 12.
[0084] During actual use, when it is necessary to detect the outer diameter of the workpiece 3, the two detection modules 1 are moved to the grooves on both sides of the workpiece 3, and the bracket 12 is rotated by the rotating member between the bracket 12 and the moving component 11, so that the telescopic frame 13 is aligned with the surface to be detected of the workpiece 3. Then, according to the alignment process, the actual dimensions corresponding to the positions of each alignment point are measured multiple times, and the alignment between the probe 14 and the axis of the workpiece 3 is achieved by comparing the alignment point with the smallest difference between the actual dimension and the theoretical dimension. When it is necessary to detect the inner diameter of the workpiece 3, the detection module 1 runs along the slide groove to the end of the workpiece 3 away from the machine tool shaft, and the telescopic frame 13 is able to face the axis of the workpiece 3 through the rotation between the bracket 12 and the moving component 11; then, the telescopic member on the telescopic frame 13 is used to make the probe 14 located at the end of the telescopic frame 13 extend into the through hole to be measured (at this time, the probe 14 faces the theoretical axis of the workpiece 3), and then the rotating member arranged on the telescopic frame 13 is used to make the probe 14 rotate 90 degrees in the horizontal plane, and then the telescopic member arranged between the probe 14 and the rotating member is used to realize the telescopic extension and retraction of the probe 14 in the horizontal direction, so as to realize the measurement of the inner diameter of the workpiece 3.
[0085] More preferably, if Figure 7 As shown in the figure, when only the inner diameter of the workpiece 3 needs to be detected, the end of the telescopic frame 13 can be set to a T-shaped structure, the two ends of the T-shaped structure are arranged horizontally, and the telescopic components and the probe 14 are respectively set in sequence, so that only the bracket 12 needs to be set to realize the inspection of the inner diameter of the workpiece 3.
[0086] Furthermore, in a preferred embodiment of the present application, the inspection device is also provided with a processing module, which is electrically connected to the mobile component 11, the bracket 12, the telescopic frame 13 and the probe 14 respectively, and is used to generate control instructions according to the detection characteristics and theoretical values to collect and / or control the movement and collection of the detection module 1.
[0087] Further preferably, the detection device is also provided with an interactive terminal, which is electrically connected to the processing module and is used to input theoretical values of detection characteristics and / or input control instructions.
[0088] The present invention discloses a bidirectional online detection device and method based on a CNC lathe, which has a simple structure and a wide range of applications. The device and method adopt a bidirectional simultaneous detection method for the workpiece 3 to detect the workpiece 3, thereby avoiding the detection error caused by the misalignment of the axis of the workpiece 3 and the axis of the lathe. The detection device and the actual axis of the workpiece 3 are designed to align the detection device accurately with the actual axis of the workpiece 3, and the detection device can detect the accurate actual size of the workpiece 3, thereby ensuring that the compensation amount for the workpiece 3 can be accurately calculated after detecting the actual size, so as to process the workpiece 3 that meets the precision requirements. The device has excellent economic benefits and promotion value.
[0089] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A bidirectional online detection method based on a CNC lathe, which uses a detection device with a probe to detect the workpiece, characterized in that: The steps include: Determining a detection feature of the workpiece and recording a theoretical value of the detection feature; Adjusting the detection form of the detection device according to the detection characteristics, and designing the alignment process according to the theoretical values; The design alignment process comprises the following steps: Determine the theoretical size of the workpiece when the theoretical detection position is determined according to the theoretical numerical value; determine the alignment interval according to the theoretical size; calculate the number of alignment points in the alignment interval and the theoretical height corresponding to each alignment point according to the alignment point number formula; Wherein, the formula for finding the correct points is: when hour, when hour, in, is the theoretical size of the theoretical detection position; To find the height range of the positive interval; The number of alignment points within the alignment interval; The height range of the alignment interval belong ; The detection device is moved to the alignment position of the workpiece, and the height of the probe is adjusted according to the alignment process to align with the actual axis of the workpiece; The process of adjusting the probe height synchronously according to the alignment process is as follows: Synchronously adjusting the heights of the probes on both sides of the workpiece to reach the theoretical heights corresponding to the alignment points in turn, and measuring the actual sizes of the workpiece corresponding to the alignment points in turn through synchronous telescopic measurement of the two probes; calculating the differences between the theoretical size of the workpiece and the actual sizes; finding the actual size with the smallest difference, and determining whether the smallest difference is less than an error threshold; if the smallest difference is greater than the error threshold, reselecting the height range; if the smallest difference is not greater than the error threshold, determining that the actual height corresponding to the alignment point is the axis height of the workpiece; The height of the probe is maintained after alignment, and the actual value of the detection feature of the workpiece is measured.
2. The bidirectional online detection method based on a CNC lathe according to claim 1, wherein: The error threshold belongs to .
3. The bidirectional online detection method based on a CNC lathe according to claim 1 or 2, wherein: The actual value of the workpiece detection feature is measured and compared with the theoretical size of the workpiece to obtain a compensation value of the workpiece for the workpiece detection feature.
4. The bidirectional online detection method based on a CNC lathe according to claim 1 or 2, wherein: The detection feature is one or more of an outer circle diameter, an inner hole diameter, a curve size, a curve curvature, and a taper parameter.
5. A bidirectional online detection device based on a CNC lathe, characterized in that: The outer dimension of a workpiece is detected by using the bidirectional online detection method based on a CNC lathe as described in any one of claims 1 to 4, which comprises: two telescopic components, which are respectively arranged on the lathe tool holders on both sides of the workpiece, and the lathe tool holders are used to drive the movement of the telescopic components on the horizontal plane; the telescopic components are provided with a probe facing the workpiece, and the probe can realize vertical movement under the drive of the telescopic components.
6. The bidirectional online detection device based on a CNC lathe according to claim 5, wherein: The telescopic component is a screw rod or a hydraulic telescopic rod.
7. A bidirectional online detection device based on a CNC lathe, characterized in that: The inner size of a workpiece is detected by using the bidirectional online detection method based on a CNC lathe as described in any one of claims 1 to 4, which includes: a motion component, which is arranged at the end of the lathe tool rod, the motion component includes a vertical motion unit and a lateral motion unit, the lateral motion unit is arranged on the vertical motion unit, and is used to drive the vertical movement of the lateral motion unit; telescopic rods are arranged at both ends of the lateral motion unit, and a probe is arranged at the end of the telescopic rod, which is used to measure the size of the workpiece after lateral extension and contraction.
