Method and system for determining the position of a point on a surface

By using cutting tools equipped with sensors to measure workpieces in the machining system, the problem of workpiece inspection is solved, efficient and accurate workpiece position measurement is achieved, and resource waste is reduced.

CN119096207APending Publication Date: 2024-12-06SANDVIK COROMANT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380039262.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-06-30
Filing Date
2023-04-03
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In a machining system, the process of checking and measuring whether the workpiece meets tolerance requirements takes a long time, and requires frequent tool replacement and moving workpieces, resulting in waste of resources.

Method used

The cutting tool equipped with sensors is used to measure the workpiece, and the same tool body and measurement tools are used to determine the position of the workpiece surface points after processing, which reduces the movement of the workpiece and tool replacement, and improves the accuracy and efficiency of measurement.

Benefits of technology

By using the same tool body for measurement in the machining system, the need for workpiece movement and tool replacement is reduced, the accuracy and efficiency of measurement is improved, and resource waste is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119096207A_ABST
    Figure CN119096207A_ABST
Patent Text Reader

Abstract

The invention relates to a machining system (100) and a method for determining the position of a point on a machined surface of a workpiece (130), the machining system comprising a machine tool (102); a cutting tool (104) comprising a tool body (105) arranged on the machine tool and comprising at least one sensor (115); and a control system (150) adapted to control and monitor the position of the tool body. The method comprises the steps of:-machining (206) the workpiece using the cutting tool (104); and-measuring the workpiece using a measuring tool (104, 600), the measuring tool comprising the tool body (105) and a first tip, where measuring the workpiece comprises:-moving (208) the measuring tool towards the workpiece while measuring a parameter using the sensor (115), and-moving (208) the measuring tool based on the position of the tool body monitored by the control system, and determining, based on the value of the parameter measured by the sensor, a first position of the first tip in which the tip touches the point on the surface to be machined, thereby indicating a position of the point on the surface to be machined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to methods and systems for determining the position of a point on a surface, and more particularly for determining a point on a surface of a workpiece in a machining system. Background Art

[0002] In manufacturing, workpieces are processed in a machining system to produce a finished product. The finished product cannot deviate too much from its expected measurements in order to perform its function. Depending on the type of product being manufactured, the degree to which the product is allowed to deviate from its expected measurements, also known as tolerance, may vary.

[0003] Articles are machined in machining systems that include various tools. After the article has been machined, a measurement system is used to determine if it meets the required tolerances. Often, the tool needs to be changed and / or the article needs to be moved to another location in order to be measured. This is both time-consuming and resource-intensive, especially if the article is determined to be too far from the required tolerance and requires further machining to complete it.

[0004] It would be beneficial to improve current systems to reduce the time required to inspect articles being processed in a processing system, and the time required to perform further operations after measurement, if necessary.

[0005] Therefore, improvements are needed in processing systems, especially in measuring and evaluating the products. Summary of the invention

[0006] The present invention aims to solve at least some of the above problems and issues. One object of an embodiment of the present invention is to reduce the time required to inspect a machined workpiece. Another object of an embodiment of the present invention is to improve the accuracy of such inspection.

[0007] According to one aspect, the present invention relates to a method for determining the position of a point on a machined surface of a workpiece in a machining system. The machining system comprises: - machine tools; - a cutting tool comprising a tool body arranged on a machine tool and comprising at least one sensor; and - A control system adapted to control and monitor the position of the tool body.

[0008] The method comprises the following steps: - machining the workpiece with a cutting tool; and then - Measuring a workpiece using a measuring tool including a tool body and a first end, wherein the measured workpiece includes: - moving the measuring tool towards the workpiece (208) while measuring the parameter using the sensor, and - Based on the position of the tool body monitored by the control system and the value of the parameter measured by the sensor, determine a first position of the first tip in which the first tip touches a point on the machined surface, thereby indicating the position of the point on the machined surface.

[0009] By using the same tool body equipped with sensors used for machining when measuring the workpiece after machining, an efficient and accurate method for determining the position of points on the machined surface is obtained. Preferably, the sensor used for measuring the workpiece after machining can also be used for measurements during the machining process. Thus, according to the present disclosure, the sensor embedded in the tool body can be used not only to monitor parameters related to the cutting process (such as deflection) during machining, but also to measure the workpiece after machining.

[0010] By using the method according to the invention, the workpiece can be measured without the need to use a separate dedicated measuring probe or to move the workpiece to a separate machine (e.g. a coordinate measuring machine) for inspection. Since the measurement is also performed using the same tool body as when machining the surface, the accuracy is increased.

[0011] Machining of a workpiece refers to a cutting process in which a cutting tool and a workpiece engage during a relative rotational movement therebetween so that the cutting edge of the cutting tool cuts away material from the surface of the workpiece.

[0012] As mentioned before, the sensor can also be used for measuring during machining. However, as defined in the present disclosure, the step of measuring the workpiece is performed after machining, ie when there is no relative rotational movement between the measuring tool and the workpiece.

[0013] Compared to conventional measuring probes, the body of the cutting tool is rigid and therefore less sensitive to vibrations and other disturbances. So, for example, if measuring the inner surface deep inside a hole being machined, a conventional measuring probe may not have sufficient rigidity, whereas the cutting tool itself, because it is capable of machining holes, has the rigidity required to provide reliable measurements.

[0014] Starting and stopping the movement of the tool body, i.e. the cutting tool and the measuring tool, is achieved via the control system.

[0015] The machine tool may be a computer or computerized numerical control (CNC) machine tool, in particular a machine tool that can be used for turning operations, such as a CNC lathe, a multi-tasking machine tool, a milling machine, or a sliding head machine tool. The machining may be an internal turning process, in which material is removed from an internal surface of a workpiece, such as within a hole in a rotating workpiece. Internal turning is sometimes also referred to as boring. It is also contemplated that the method may be used in conjunction with other machining operations, such as milling.

[0016] As used herein, when referring to a "tip", this refers to the point of a portion of a measuring tool that is intended to engage a workpiece, i.e., the point of the measuring tool that is furthest in the direction of its movement when the measuring tool is moved toward a point on a surface to measure the workpiece. In other words, the tip is the point at which the measuring tool first comes into contact with a point on the surface when the measuring tool is moved toward the surface to measure the workpiece.

[0017] The tip may be located at a head arranged at an end of the tool body.

[0018] The machine interface may be arranged at an end of the tool body opposite to the end at which the head is arranged, so as to facilitate arrangement of the tool body on a machine tool.

[0019] Preferably, the parameter is measured continuously or intermittently during measurement of the workpiece.

[0020] According to some embodiments, determining a first position of a first tip of the measurement tool comprises: - detecting contact of the first tip with a point on the machined surface of the workpiece based on the measured value of the parameter; - stop the movement of the measuring tool; - obtaining the position of the first end head based on the position of the tool body monitored by the control system; - determining a deflection of the measuring tool based on the measured value of the parameter; and - Based on the determined deflection and the obtained position of the tip, a first position of the tip is determined.

[0021] By determining the deflection of the measuring tool caused by the contact of the tip with the machined surface of the workpiece, the position of a point on the machined surface can be accurately determined. This is achieved by adjusting the position monitored and obtained by the control system using the determined deflection of the measuring tool. Thus, the position of a point on the machined surface can be determined by compensating the obtained position monitored by the control system based on the determined deflection.

[0022] For the non-deflected state of the measuring tool, the displacement of a point on the tool body caused by the deflection of the measuring tool will obviously depend on the position of the point along the longitudinal extension of the measuring tool. However, as used herein, the amount of deflection of the measuring tool is to be understood as the displacement of the tip of the measuring tool relative to the position it would have in the absence of the deflection of the measuring tool.

[0023] Preferably, the parameter is measured continuously or intermittently during measurement of the workpiece and at least until movement of the measuring tool has stopped, so that the deflection of the measuring tool can be determined based on the value of the parameter measured when the measuring tool is in the stopped position.

[0024] According to some embodiments, the point on the machined surface of the workpiece is a point on the inner perimeter of the hole.

[0025] As used herein, when referring to a workpiece, a "hole" is understood to be a cavity that has a circular or substantially circular shape in any cross section taken perpendicular to the extension of the hole, but does not necessarily have a constant diameter. In other words, the hole may be cylindrical or, for example, include multiple sections with different diameters.

[0026] According to some embodiments, a cutting tool includes a cutting head including a cutting edge for machining the workpiece.

[0027] The cutting head may be an integral part of the cutting tool, i.e., integrally formed with the end of the tool body or non-detachably mounted on the end of the tool body. Alternatively, the cutting head is a component detachably arranged at the end of the tool body, so that the cutting head can be replaced and different heads can be selectively used with the tool body.

[0028] The cutting edge may be formed integrally with the cutting head or the cutting edge may be part of a replaceable cutting insert which is removably arranged in an insert seat at the cutting head.

[0029] According to some embodiments, the measuring tool is identical to the cutting tool, and the first tip is located on the cutting edge of the cutting tool. Thus, in such embodiments, the tip refers to the point on the cutting edge that first contacts the point on the surface when the measuring tool (in these embodiments, the measuring tool corresponds to the cutting tool) is moved toward the surface to measure the workpiece.

[0030] According to other embodiments, the method further includes attaching a probe to a tool body after the workpiece has been machined and before measuring the workpiece, so that the measuring tool includes a tool body and the probe, and wherein the first end is located on the probe. Therefore, a tip specifically adapted for detection can be used while still using the same tool body and sensor for measurement. The method may include first removing the cutting head used when machining the workpiece from the tool body, and then attaching the probe to the position of the cutting head. In other words, the probe can replace the cutting head. Since only the cutting head is removed and the probe is attached to the position of the cutting head, during the step of measuring the workpiece, the measuring tool includes the same tool body as the tool body used for machining.

[0031] According to some embodiments, the point on the machined surface of the workpiece is a first point on the inner periphery of a hole in the workpiece at a first position along the extension of the hole, and wherein the measuring tool further comprises a second tip located at a known distance from the first tip, wherein the first tip and the second tip are arranged to face the first point and the second point on the machined surface, respectively, wherein the second point is located opposite the first point on the inner diameter of the hole, and the step of measuring the workpiece further comprises: - determining a second position of the first tip in which the second tip touches a second point based on the position of the tool body monitored by the control system and based on the value of the parameter measured by the sensor; and - Determining an inner diameter of the hole based on the determined first and second positions of the first end head and the known distance between the first end head and the second end head.

[0032] As referred to herein, the extension of a hole is understood to be the longitudinal extension along the hole axis, which, for a workpiece arranged on a lathe or other machine tool suitable for turning, corresponds to the spindle axis, i.e. the axis of rotation of the workpiece. Thus, the first point and the second point on the machined surface are points on the inner periphery of the hole at a first position along the hole axis.

[0033] With respect to the probe, the first end and the second end may be two points on a rim (e.g., a disk-shaped or annular rim) extending around the periphery of the probe that are diametrically opposed. Alternatively, the two ends may be separate and distinct protrusions located on opposite sides of the periphery of the probe. Therefore, the ends used in relation to the probe herein should be understood as the points on the probe that first come into contact with the surface being measured when the measuring tool is used to measure a workpiece.

[0034] The inner diameter of the hole may be determined by adding the known distance between the first end tip and the second end tip and the difference between the first position and the second position of the first end tip.

[0035] Therefore, since the difference between the two determined positions is used as the basis for determining the inner diameter, the determination is insensitive to any error in the position of the first end obtained based on the position of the tool body monitored by the control system, and the inner diameter of the machined hole can be easily and accurately determined.

[0036] To determine the second position of the first end, a method similar to the method used to determine the first position of the first end may be used. Therefore, the step of determining the second position of the first end may include: - Move the measuring tool towards the second point; - based on the measured value of the parameter, detecting contact of the second tip with the second point; - stop the movement of the measuring tool; - obtaining the position of the first end head based on the position of the tool body monitored by the control system; - determining a deflection of the measuring tool based on the measured value of the parameter; and - Based on the determined deflection and the obtained position of the first tip, determining a second position of the first tip.

[0037] According to some embodiments, the method further comprises repeating the steps of measuring the workpiece and determining the diameter of the hole, but performing the steps for an inner periphery of the hole at one or more additional positions spaced apart from the first position along the extension of the hole in the workpiece, and then determining the deviation of the hole from a cylindrical shape based on the diameters determined at the first position and the one or more additional positions.

[0038] When machining a cylindrical hole in a workpiece, the resulting hole may sometimes be slightly tapered, for example tapering towards the innermost end of the hole, or the machined hole may otherwise deviate from the desired cylindrical shape. By repeating the measurement of the inner diameter at one or more additional positions along the extension of the hole, a measure of the deviation from the cylindrical shape can be determined. As a simple example, if it is assumed that the diameter along the extension of the hole varies linearly and uniformly, then the measurements at two different positions may provide a rough estimate of the taper of the hole. If more complex deviations from the desired cylindrical shape of the machined hole are expected, then preferably the measurement should be repeated at other positions along the hole.

[0039] Instead of using a probe head with two tips to measure the diameter of the hole, it is also conceivable that a cutting head with an additional tip in addition to the tip on the cutting edge can be used to determine the diameter in a corresponding manner. Thus, if a point on the machined surface of the workpiece is considered to be a first point on the inner periphery of the hole in the workpiece at a first position along the extension of the hole, and the tip located on the cutting edge is considered to be the first tip, the cutting head may include a second tip located at a known distance from the first tip, wherein the first tip and the second tip are arranged to face the first point and the second point on the machined surface, respectively, and wherein the second point is located opposite the first point on the inner diameter of the hole, and the step of measuring the workpiece further comprises: - determining a second position of the first tip in which the second tip touches a second point based on the position of the tool body monitored by the control system and the value of the parameter measured by the sensor; and - Determining an inner diameter of the hole based on the determined first and second positions of the first end head and the known distance between the first end head and the second end head.

[0040] If the measuring tool and tip are not perfectly aligned in a known position in the machine tool coordinate system, ie relative to the machine tool's zero reference point, the position of the points of the machined surface can be determined more accurately by first calibrating the machining system.

[0041] Therefore, according to some embodiments, before the steps of processing and measuring the workpiece, the following steps may be performed: - move the measuring tool towards a reference point with a known spatial position, - determining a reference position of the first tip, at which the first tip touches a reference point, based on the position of the tool body monitored by the control system and the value of the parameter measured by the sensor, - determining an offset error based on the known spatial position and the determined reference position of the first end; and - calibrating the machining system based on the determined offset error.

[0042] Any deviation between the determined reference position of the first end head and the true known spatial position of the reference point is the result of an offset error in the machining system. Therefore, if the determined reference position of the first end head is compared with the known spatial position of the reference point, the offset error can be easily determined therefrom and used to calibrate the machining system. The machining system is thus calibrated based on the determined offset error, so that the position of the tool body and the first end head subsequently monitored by the control system takes this offset error into account.

[0043] Therefore, since the position of the first tip obtained based on the position of the tool body monitored by the control system takes into account the offset error, subsequent measurements for determining the position of a point on the machined surface of the workpiece are more accurate.

[0044] For example, such offset errors may be caused by random deviations associated with the connection of the tool body to the machine tool, the interface between the head and the tool body, or the interface between the cutting head and the cutting insert. Offset errors may also occur, for example, due to temperature variations.

[0045] The offset error may be defined as the difference between a determined reference position of the first tip, in which the first tip touches a reference point, and a known spatial position of the reference point.

[0046] If not otherwise specified, as used herein, "offset" or "offset error" is sometimes also referred to as "radial offset" and "radial offset error", respectively (to distinguish it from other types of offset, such as axial offset), and is measured in the direction of the movement undergone by the measuring tool when determining the position of a point on the machined surface, which direction of movement may correspond to a radial direction relative to the axis of rotation of the workpiece being machined, more precisely, according to the coordinate system of a conventional lathe, to the x-axis. The offset may refer to the distance in said direction from the zero reference point of the machine tool to the reference point of the interface at which the tool body is mounted to the machine tool when the first end head is in the reference position. Thus, depending on the machining system used, the offset before calibration may be defined by a certain distance, which is preferably stored in the machining system and which is used when controlling and monitoring the position of the tool body in the x-axis direction (and therefore also the position of the cutting tool and the measuring tool). The offset error determined according to the invention may then be added to this previously stored offset, thereby obtaining an updated or calibrated offset. Thus, the calibration may then correspond to storing the updated offset and / or offset error in the machining system for subsequent use in controlling and monitoring the position of the tool body.

[0047] The offset and / or offset error may be stored in a memory or other storage medium that is part of or communicatively coupled to the control system and may be retrieved from the memory or other storage medium and used by the control system in controlling and monitoring the position of the tool body.

[0048] One method of determining the reference position of the first end head (in the reference position, the first end head touches the reference point) is to use a method similar to the method of determining the position of a point on the machined surface of the workpiece, as described above. Therefore, the method of determining the reference position of the first end head (in the reference position, the first end head touches the reference point) may include the following steps: - based on the measured value of the parameter, detecting contact of the first tip with a reference point, - stop the movement of the measuring tool, - based on the position of the tool body monitored by the control system, the position of the first end is obtained, - based on the measured value of the parameter, determining the deflection of the measuring tool, and - Based on the determined deflection and the obtained position of the first tip, a reference position of the first tip is determined.

[0049] The method of determining the offset error requires a known real spatial position of a reference point in the machine tool coordinate system. The reference point may be located on a surface which is not part of the workpiece but is arranged at a fixed known position relative to the machine tool and positioned so that the measuring tool can be moved towards the reference point.

[0050] According to other embodiments, the reference point is a point on the inner perimeter of a hole in a workpiece to be machined, and wherein the spatial position of the reference point is determined during a probing process using a measuring tool, the measuring tool comprising a first tip and a second tip, the first tip and the second tip having a known distance therebetween, wherein the probing process comprises: - arranging the measuring tool so that the first end head and the second end head are arranged facing a reference point and an auxiliary point on the inner periphery of the hole, respectively, wherein the auxiliary point is located opposite the reference point on the inner diameter of the hole; - measuring the workpiece by determining a reference position of the first end head in which the first end head touches a reference point and determining an auxiliary position of the first end head in which the second end head touches the auxiliary point; and - Determine the spatial position of the reference point based on the determined reference position and auxiliary position of the first end and the known distance between the first end and the second end.

[0051] Referring to an embodiment of such a probing process using a probe, the measuring tool comprises a tool body identical to the tool body used for machining, but having a probe, in this case a first end and a second end, the probe being attached (rather than a cutting head) at the end of the tool body.

[0052] Preferably, the probe head used for determining the spatial position of the reference point is the same probe head that can also be used to measure the workpiece after machining and to determine the diameter of the hole.

[0053] The diameter of the hole can be determined by adding the known distance between the first and second tips to the difference between the reference position and the auxiliary position. Assuming that the hole is centered relative to the central axis of the spindle, and the position of the central axis of the spindle in the machine tool coordinate system is clear, the radius of the hole (i.e., the determined diameter divided by two) reflects the spatial position of the reference point in the machine tool coordinate system along the direction of movement of the probe when measuring the workpiece.

[0054] In order to determine the reference position and the auxiliary position of the first end head, a method similar to the method used when determining the position of a point on the machined surface of the workpiece can be used. Therefore, the step of determining the reference position may include: - Move the measuring tool towards the reference point; - based on the measured value of the parameter, detecting contact of the first tip with a reference point; - stop the movement of the measuring tool; - obtaining the position of the first end head based on the position of the tool body monitored by the control system; - determining a deflection of the measuring tool based on the measured value of the parameter; and - Based on the determined deflection and the obtained position of the first tip, a reference position is determined.

[0055] In a similar manner, the step of determining the secondary position may include: - Move the measuring tool towards the auxiliary point; - based on the measured value of the parameter, detecting contact of the second tip with the auxiliary point; - stop the movement of the measuring tool; - obtaining the position of the first end head based on the position of the tool body monitored by the control system; - determining a deflection of the measuring tool based on the measured value of the parameter; and - Based on the determined deflection and the obtained position of the first tip, an auxiliary position is determined.

[0056] When a new workpiece including a preformed circular hole is mounted on a machine tool spindle, such a hole may not always be perfectly aligned with the central axis of the spindle, and the hole may not always be perfectly cylindrical. Therefore, according to some embodiments, a machining step may be performed before the probing process, in which the inner surface of the hole is machined. In this way, the hole that is subsequently subjected to the probing process will have a circular cross-section and will be centered relative to the central axis of the spindle. Therefore, the radius of the hole determined using the probing process will reflect with high accuracy the real spatial position of the reference point in the machine tool coordinate system along the direction of movement of the measuring tool when measuring the workpiece.

[0057] Some machine tools may have a dedicated detection surface, which is arranged as an inherent part of the machine tool, and which, as described above, can be moved into an active position so as to be used as a reference point when calibrating the machining system. However, similar to the above process, it may still be beneficial to first perform a detection process on the hole in the workpiece and use the results of this detection process to confirm or update the real spatial position of the detection surface. Thus, as an example, the difference between the radius of the hole determined using a measuring tool including a detection head as described above and the reference position of the first end head determined can be regarded as the current offset error of the machining system. If the position of a reference point on the detection surface is then measured using a measuring tool still equipped with a detection head, the real spatial position of the reference point can be simply determined by adding the offset error to the position of the determined end head when the reference point is touched. Thereafter, the detection surface can be used as a reference point in any subsequent calibration, for example in a subsequent calibration performed when the measuring tool corresponds to a cutting tool, that is: where the tool body is equipped with a cutting head instead of a detection head and the first end head is located on the cutting edge.

[0058] According to some embodiments, the measured parameter is strain, ie the sensor arranged at the tool body is a strain sensor.

[0059] Strain can be easily measured using inexpensive sensors and can be used to determine the deflection of the measuring tool and to determine whether the tip is in contact with the workpiece.

[0060] According to some embodiments, the method further includes determining the applied force of the measuring tool based on the measured parameters when the tip is detected to be in point contact with the machined surface of the workpiece. For example, the applied force may be determined based on the strain measured at the tool body, and it is also necessary to determine the relationship between the measured strain and the applied force of the measuring tool.

[0061] According to some embodiments, the relationship between the measured strain and the applied force may be predetermined in a separate procedure, for example, in a procedure in which the measuring tool is subjected to a known force and the resulting strain is measured, and a coefficient characterizing the relationship is defined as the measured strain divided by the known force. The coefficient may be stored in a memory or other storage medium, from which it may be retrieved and used to determine the applied force when performing the method.

[0062] By detecting the applied force, it is possible to detect how firmly the tip is pressed against the workpiece surface. If the applied force is too high, the tip may damage the surface, especially if the measurement is made using a cutting head rather than a probe, i.e. if the tip is resting on the cutting edge. On the other hand, if the applied force is too low, it may be difficult to obtain accurate measurements that are not adversely affected by noise and vibration in the machining system.

[0063] Thus, according to some embodiments, the step of detecting contact of the first tip with a point on the machined surface of the workpiece and / or the step of stopping the movement of the measuring tool comprises: continuing to move the measuring tool towards the workpiece until a predetermined amount of applied force of the measuring tool is determined, and then stopping the movement. The predetermined amount of applied force may correspond to a threshold at which contact between the first tip and the point on the machined surface is considered to be detected. It is also possible that contact between the first tip and the point on the machined surface may also have actually been detected, or at least detectable, with a smaller magnitude of applied force, but the measuring tool is still moved further towards the workpiece until the predetermined amount of applied force is determined in order to obtain a stable measurement value that is less sensitive to vibrations and other disturbances.

[0064] The predetermined amount of applied force should be large enough to eliminate or at least reduce the effects of machine vibration and signal noise. This is particularly important when the tool body is long, that is, when the distance between the end and the position where the tool body is mounted on the machine tool is large. For example, when machining and measuring the inner diameter of a deep hole machined in a workpiece, such a long tool body will usually be required. However, the predetermined amount of applied force should not be too large to avoid damaging the surface of the workpiece when the end is pressed against the surface of the workpiece. By selecting a suitable predetermined amount of applied force, the position of the first end obtained from the control system will indicate the position where the end is firmly pressed against the surface to obtain a stable measurement value but without damaging the surface. In order to achieve this, the predetermined amount of applied force can be selected based on the characteristics of the tool body used. According to some embodiments, the predetermined amount of applied force can be in the range of 5N-100N, such as, for example, in the range of 10N-50N, or in the range of 15N-30N. As an example, the predetermined amount of applied force can be 20N, or substantially 20N, which may be suitable for a tool body with a diameter of 60mm and a length of 720mm. A predetermined amount of applied force in the range of 5N-100N may be suitable for tool bodies having a diameter of 40mm-100m and a length of 8-16 times the diameter, and may also be suitable for other sizes. For very large (i.e. rigid) tools, it may be beneficial to use a predetermined amount of applied force even greater than 100N.

[0065] As discussed, the predetermined amount of applied force may represent a threshold for sending a stop command to the control system. Depending on delays in the system, the measuring tool may continue to move a short distance before actually stopping, after which the final position of the tip is obtained from the control system. Therefore, the predetermined amount of applied force does not necessarily represent the actual applied force when the measuring tool has stopped. Therefore, the deflection of the measuring tool does not necessarily correspond to the predetermined amount of applied force, but is determined when the measuring tool has actually stopped, so that the actual deflection of the measuring tool is used as a basis for determining the position of a point on the surface.

[0066] According to some embodiments, the deflection of the measurement tool is determined based on the measured strain at the measurement tool, and it is desirable to also determine the relationship between the measured strain and the deflection of the measurement tool.

[0067] As described above, the sensor arranged at the tool body can be a strain sensor, and the strain at the measuring tool can be measured thereby. The relationship between the measured strain and the deflection of the measuring tool can be predetermined in a separate program, for example, in the following program, in which the measuring tool is deflected a known distance, the resulting strain is measured, and the coefficient characterizing the relationship is defined as the measured strain divided by the known deflection distance. The coefficient can be stored in a memory or other storage medium, and the coefficient can be retrieved from the memory or other storage medium and used to determine the deflection of the measuring tool based on the measured strain. The relationship between strain and deflection may depend not only on the specific tool body, but also on various other parameters of the machining system. Therefore, each time the tool body is installed in a new machine, the specific relationship between the measured strain and deflection can be determined.

[0068] As described above, according to some embodiments, the step of determining the deflection of the measuring tool and / or the applied force may include measuring the strain at the measuring tool. However, it is also envisaged that some parameters used in the method may also be determined by other means. For example, the deflection of the measuring tool may be measured using an optical sensor.

[0069] Strain, deflection and / or force can be measured in various directions relative to the measuring tool, for example when using a plurality of strain sensors arranged on the tool body in different orientations. However, if not explicitly stated, any reference to strain, deflection and / or force herein refers to these parameters in the direction of movement of the measuring tool towards the workpiece when measuring the workpiece. Thus, as an example, when determining the position of a point on the inner periphery of a hole, the deflection determined refers to the deflection in the radial direction relative to the hole, and more precisely, to the deflection of the measuring tool in the radial direction along which it moves when measuring the workpiece.

[0070] If the cutting edge is part of a replaceable cutting insert arranged on the cutting head, such a cutting insert may be worn due to machining and may need to be replaced regularly. Therefore, when a cutting insert is replaced, the machining system can be recalibrated simply by determining a new offset based on the assumption that a point on the surface of the workpiece that was most recently machined and measured (with the old cutting insert) represents a reference point with a known spatial position.

[0071] Accordingly, if a machined workpiece is replaced by a new workpiece to be machined without changing the tool body, cutting head or cutting insert, the previously used offset remains valid and the cutting tool can be used both for machining and for measuring the new workpiece without requiring a new probing process.

[0072] However, it may still be beneficial to recalibrate the machining system and / or repeat the probing process periodically to ensure that the machining system is well calibrated.

[0073] According to a second aspect, the invention relates to a machining system operable to determine the position of a point on a machined surface of a workpiece, the machining system comprising: - machine tools; - a cutting tool comprising a tool body which is arranged on a machine tool and comprises at least one sensor; and - a control system for controlling and monitoring the position of the tool body; Therein, the processing system is configured to perform a method according to any of the method steps described herein.

[0074] The processing system preferably includes processing circuitry and a storage medium, such as a memory.

[0075] The processing circuit and storage medium may be an integral part of the machine tool and the control system, or may be arranged in combination with the machine tool and the control system. Alternatively, the processing circuit and / or storage medium may be located in a computer or server remote from the machine tool and the control system, but communicatively coupled to the control system, for example via a communication interface, so that, for example, control instructions to be executed by the control system (e.g. for stopping the movement of the measuring tool) may be sent to the control system, or coefficients and sensor data required for executing the method may be received and transmitted. Thus, the processing circuit may be configured to execute a computer program stored in the storage medium and trigger at least some of the steps of the method to be executed. The storage medium may also store sensor outputs and measurement results and other parameters required for executing the method as required.

[0076] Therefore, according to a third aspect, the present invention relates to a computer program comprising computer readable instructions to be executed in a processing system according to the second aspect of the invention, which, when these computer readable instructions are executed in the processing system, cause the processing system to perform a method according to any of the method steps described herein.

[0077] Therefore, the methods described herein can be implemented by a computer program or multiple computer programs, which can exist in various forms. For example, they can exist as a software program consisting of program instructions for executing some of the steps in the method, and can be implemented on a computer-readable medium.

[0078] According to some embodiments, the processing circuitry configured to execute a computer program for causing the machining system to perform the method is located in an external computer communicatively coupled to the control system, and wherein the execution of the computer program may trigger the execution of other computer programs stored in the control system, such as programs for controlling the position of the tool body and machining a workpiece, and programs for retrieving data from the control system in order to perform the method. Thus, the external computer may be configured to receive signals from the machine tool and / or from the at least one sensor arranged at the tool body, and may be used to analyze the signals and detect contact of the tip with the surface, send instructions to the control system based on these signals to stop the measuring tool, determine the deflection of the measuring tool, and determine the position of a point of the machined surface.

[0079] As mentioned above, the sensor arranged at the tool body can be a strain sensor. The strain sensor can be any type of sensor capable of detecting strain, such as a sensor based on a strain gauge resistor, such as a resistive foil strain gauge. Alternatively, the strain sensor can be, for example, a piezoelectric sensor, a force transducer, an optical strain gauge or a surface acoustic wave (SAW) strain sensor. The strain sensor can, for example, be arranged along the tool body, for example, arranged inside the tool body (or integrated in the tool body) so as to protect it from the influence of debris of material cut from the workpiece during machining. Alternatively, the strain sensor can be arranged on the outer surface of the tool body.

[0080] The output of the strain sensor may be transmitted, for example, wirelessly or via a wired manner, to a processing circuit where the sensor output is processed and used to perform a method according to the present disclosure.

[0081] Thus, the tool body may further include a battery or other power source for powering the strain sensor and the means for transmitting the sensor output and any other electronic components arranged on the tool body. For example, the memory and / or processor may be arranged locally on the tool body, such as in the form of one or more microcontrollers, where the sensor output can be retrieved and collected before being wirelessly transmitted to an external computer.

[0082] According to some embodiments, the tool body further comprises a damper. When using the method according to the invention, a measuring tool comprising a damper may be particularly suitable for achieving reliable measurement results. The reason for this is that vibrations in the machining system present during the measurement that may interfere with the measured values ​​are reduced.

[0083] Other possible features and advantages of the solution will become apparent from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] The solution will now be described in more detail by means of exemplary embodiments and with reference to the accompanying drawings, in which:

[0085] Figure 1 A processing system according to an embodiment is shown.

[0086] Figure 2 A flow chart of a method according to an embodiment is shown.

[0087] Figure 3 Flowcharts showing other method steps according to other embodiments.

[0088] Figure 4 A cutting tool is shown during measurement on a workpiece according to an embodiment.

[0089] Figure 5 A machine tool and a cutting tool according to an embodiment are shown.

[0090] Figure 6a-6c A measurement tool is shown during a probing process according to an embodiment.

[0091] All the figures are schematic, not necessarily to scale, and generally show only parts which are necessary in order to elucidate the various embodiments, while other parts may be omitted or merely suggested. Unless otherwise stated, the same reference numerals refer to the same parts in the different figures. DETAILED DESCRIPTION

[0092] In short, the present solution relates to a method and system for measuring a workpiece after machining the workpiece by using the same sensor-equipped tool body as used when machining the workpiece. According to the embodiments described below, the measurement of the workpiece includes moving a measuring tool toward the workpiece and stopping the movement of the tool when the tip of the measuring tool touches a point on the surface to be measured. The measurement further includes determining the deflection of the measuring tool and then determining the position of the point on the surface based on the determined deflection and the position of the tip obtained from the control system. In some embodiments, an offset value for the machining system can be obtained before machining the workpiece, which makes the method more efficient and accurate.

[0093] An insight relevant to such embodiments is that, because there is a small delay between the moment the tip contacts the workpiece and the moment the system detects such contact and stops the measuring tool, the measuring tool will deflect to some extent. By measuring this deflection, together with the position of the tip obtained from the control system, the spatial position of the point on the surface can be accurately determined.

[0094] In some embodiments, the relationship between strain and deflection of the measuring tool may also be used to further facilitate the method by using a strain sensor at the tool body and using strain as a measure of deflection. The relationship between applied force and strain may also be used to further facilitate the method, particularly for controlling the amount of applied force in order to accurately detect contact between the tip and the workpiece.

[0095] Watch now Figure 1 , a system according to the present disclosure will be described in which the methods described herein can be performed.

[0096] The system 100 includes a machine tool 102 to which a cutting tool 104 is connected and a control system 150 adapted to control and monitor the position of the cutting tool.

[0097] The cutting tool 104 includes a tool body 105 and a cutting head 106 arranged at one end of the tool body 105. The cutting head 106 includes a cutting edge 107, which is adapted to engage with a workpiece to cut away material (e.g., metal) from the workpiece. According to this embodiment, the cutting edge 107 is part of a replaceable cutting insert arranged in an insert seat at the cutting head.

[0098] The control system 150 schematically illustrated in FIG. 1 is shown as an integral part of the machine tool 102 and may include, for example, a programmable logic controller (PLC) and a numerical control (NC).

[0099] The machining system 100 further includes processing circuitry and memory. The processing circuitry and memory may be an inherent part of the control system 150 of the machine tool. Figure 1In the illustrated embodiment, an external computer 155 is communicatively coupled to the control system 150 via the communication interface 145 and includes memory and processing circuitry configured to perform the methods described herein.

[0100] The processing circuitry may include one or more programmable processors, application specific integrated circuits, field programmable gate arrays, or combinations thereof (not shown) adapted to execute instructions. The memory contains instructions executable by the processing circuitry, whereby the processing system 100 is operable to perform the methods described herein.

[0101] The part of the processing system 100 that executes the method (such as the control system 150 and / or the external computer 155) can be a set of devices, wherein the functions for executing the method are distributed on different physical or virtual devices of the system. In other words, the part of the processing system 100 that executes the method can be a cloud solution, that is, it can be deployed as a cloud computing resource that can be distributed in the processing system 100.

[0102] The instructions executable by the processing circuit may be arranged as a computer program stored in, for example, a memory. The processing circuit and the memory may be arranged in a sub-arrangement. The sub-arrangement may be a microprocessor and appropriate software and memory, and thus a programmable logic device PLD or other electronic component / processing circuit configured to perform the methods described herein.

[0103] The computer program may include computer readable code means which, when executed in the processing system 100, cause the processing system 100 to perform the method steps described in any of the embodiments described herein. The computer program may be carried by a computer program product connectable to a processing circuit. The computer program product may be a memory. The memory may be implemented as, for example, a RAM (random access memory), a ROM (read only memory) or an EEPROM (electrically erasable programmable ROM). In addition, the computer program may be carried by a separate computer readable medium, such as a CD, a DVD or a flash memory, from which the program may be downloaded into the memory. Alternatively, the computer program may be stored on a server or any other entity accessible to the processing system 100, for example via the communication interface 145. The computer program may then be downloaded from the server into the memory.

[0104] The tool body 105 is an elongated element or an elongated member. In the present embodiment, the tool body 105 is a cylindrical element extending along an axis 111 .

[0105] A machine interface 140 is arranged at an end of the tool body 105 for mounting the tool body (and thus the cutting tool 104) in the machine tool 102. Figure 1 In the illustrated embodiment, the cutting tool 104 is used for internal turning, wherein material is removed from an internal surface of a workpiece 130, such as within a hole 131 of the workpiece. Internal turning is sometimes also referred to as boring.

[0106] The tool body 105 further includes a sensor 115. In this embodiment, the sensor is a strain sensor disposed on the outside of the tool body 105, and the cutting tool 104 further includes a damper 118 disposed inside the tool body 105. This damper is sometimes used to reduce vibration when machining deeper internal holes, thereby providing better machining results. According to the present invention, such a damper can also help provide accurate measurements because vibrations of the tool body that might otherwise interfere with the measurements are reduced.

[0107] The machine tool 102 further includes a spindle 120 for rotating a workpiece 130 about a central axis C of the spindle. The cutting tool 104 is mounted via a machine interface 140 so that the cutting tool 104 can be moved toward the workpiece 130 to cut away material from the workpiece 130 as the workpiece 130 rotates. In this embodiment, the workpiece 130 has a hole 131 in which the cutting tool 104 can cut away material to enlarge the hole 131.

[0108] As previously mentioned, the machine tool may include a communication interface 145 for communicating with an external computer 155, for example for transmitting data from the control system 150 to the external computer 155 and / or for receiving control instructions at the control system from the external computer 155. The communication interface 145 may also be used to transmit sensor outputs (e.g., sensor outputs from the sensor 115) to the external computer 155. However, in other embodiments, such sensor outputs are transmitted directly to the external computer 155 from a separate communication interface disposed on the cutting tool.

[0109] The signal transmission provided by the communication interface 145 in the machine tool and / or the communication interface arranged on the cutting tool can be provided via wired or wireless signals, for example via Bluetooth. The external computer 155 can have a user interface, for example for indicating the measurement results to a human operator using the machine tool 102. The computer 155 can be, for example, a personal computer or a handheld device, such as a mobile phone or a tablet computer.

[0110] 2, the steps of a method for determining the position of a point on a surface of a workpiece in a machining system according to one embodiment will now be described. The surface of the workpiece is typically a machined surface that needs to be measured to determine whether the workpiece or a portion of the workpiece is within a required tolerance range.

[0111] Optionally, the method comprises obtaining 202 a spatial position of a reference point and / or obtaining an offset error based on the reference point or on some other reference point with a known spatial position and calibrating 204 the machining system based on the offset error.

[0112] The method includes machining 206 a workpiece using a cutting edge of a cutting tool. The machining may be any type of machining using a cutting tool, such as turning or boring. According to some embodiments, machining 206 includes enlarging a hole in the workpiece. The machining may include machining the entire workpiece until the workpiece is completed, or may include completing one or more features of the workpiece.

[0113] The method further comprises, after machining the workpiece, measuring the workpiece using a measuring tool comprising a tool body and a first end head. The measurement can be performed using the same cutting edge as used for machining the workpiece, i.e., wherein the end head used for the measurement is located on the cutting edge. In other words, the cutting tool used for machining the workpiece can also be used as a measuring tool for measuring the workpiece.

[0114] The measurement first comprises moving the measuring tool towards the workpiece 208 while measuring parameters using sensors located at the tool body. The movement of the measuring tool is performed in a controlled manner via a control system and is usually performed relatively slowly so as not to hit the workpiece too hard.

[0115] Secondly, the measuring comprises determining 209 a first position of a first tip of the measuring tool, in which the first tip touches a point on the machined surface, thereby indicating the position of the point on the machined surface. Figure 2 In the embodiment shown in FIG. 2 , determining 209 the location of a point on a surface may include several steps 210 - 218 described below.

[0116] Optionally, the method comprises measuring 210 the applied force of the measuring tool. Such measurement may be based on strain at the measuring tool, strain sensors arranged at the tool body being used to measure the strain.

[0117] According to the illustrated embodiment, the measurement includes detecting 212 a point contact of a first tip of the measuring tool with a surface of the workpiece. Detecting 212 can be performed using any type of sensor for detecting an interaction. In this embodiment, detecting 212 is performed by a strain sensor to measure the strain at the measuring tool. Using the previously determined relationship between strain and force, the measured strain can be converted to an applied force. Thus, the step of detecting 212 a point contact of the tip with the surface of the workpiece can correspond to measuring 210 a force that reaches or exceeds a predefined force threshold.

[0118] According to the illustrated embodiment, the measuring further includes stopping movement of the measuring tool after detecting contact between the tip and the workpiece 214. Depending on the system and implementation, there may be a slight delay between detecting contact between the tip and the workpiece and the actual stopping of movement of the measuring tool.

[0119] According to the illustrated embodiment, the measuring further comprises obtaining 216 the position of the tip based on the position of the tool body monitored by the control system after the measuring tool has stopped. Since the control system does not take into account tool deflection, the obtained position of the tip may be incorrect. This is Figure 4 Schematically shown in FIG, wherein the measuring tool is shown as a cutting tool, i.e. the tip is located on the cutting edge 107 of the cutting tool. The cutting tool is shown in a state just after the tool has stopped and thus deflected to the maximum extent during the measurement. For ease of illustration, Figure 4 The deflection of the cutting tool due to the pressing of the cutting edge against the surface of the workpiece 130 is greatly exaggerated in FIG. When the tip on the cutting edge 107 first touches the workpiece, the tool body 105' in a non-deflected state is shown by the dashed line. According to this embodiment, when measuring the workpiece, in the direction of movement of the cutting tool (i.e., in this embodiment, in the direction along the x-axis according to the conventional coordinate system of the lathe (see Figure 5 ), the position of the tip on the cutting edge 107 controlled and monitored by the control system 150 depends on the position of the tool body in this direction, more precisely on the radial distance L between the machine tool zero reference point 401 and the machine interface reference point 402 (corresponding to the point on the tool body or on the tool holder where the tool body is mounted to the machine tool) x As monitored by the control system, the position of the tip on the cutting edge along the x-axis will correspond to the distance L x The sum of the known distance D along the x-axis between the machine interface reference point 402 and the tip on the cutting edge 107 in the undeflected state of the cutting tool.

[0120] Reference again Figure 2 According to the illustrated embodiment, the measuring further includes determining 218 the deflection of the measuring tool. By determining how the position of the tip is affected by the deflection of the tool, the position of the point of the workpiece can be more accurately determined. In some embodiments, the determination 218 of the deflection is performed by a processing circuit (e.g., a processor of an external computer 155) based on the measurement signal received thereby.

[0121] Then, based on the determined deflection and the position of the tip obtained from the control system, the position of the point on the surface is determined, ie the tip position at which the tip touches the point on the surface.

[0122] In this embodiment, determining the deflection comprises measuring strain at the measuring tool and converting the measured strain into a deflection of the measuring tool. Figure 1 , strain can be measured by the sensor 115, and the sensor output can be received at the external computer 155. In addition, by using the previously determined relationship between the measured strain and the applied force, the force can be continuously monitored based on the strain sensor signal. Once the force reaches a predetermined threshold, i.e., a predetermined amount of applied force is reached, a stop command is triggered and sent from the external computer 155 to the control system 150 via the communication interface 145. Upon receiving the command, the control system stops the movement of the measuring tool. The strain at the measuring tool in the stopped position measured by the strain sensor 115 and received at the external computer 155 is then used to determine the deflection of the measuring tool by using the previously determined relationship between the measured strain and the deflection of the measuring tool. The external computer 155 then determines the position of the point on the machined surface based on the determined deflection and the position of the tip obtained from the control system via the communication interface 145. As discussed, the position obtained from the control system is based on the position of the tool body monitored by the control system and the known position of the tip relative to the tool body, but it does not take into account the deflection of the measuring tool.

[0123] According to some embodiments, the step of determining the position of the point on the surface comprises deducting the deflection of the measuring tool from the obtained position of the tip. Figure 4 In the example shown in FIG. 1 , the deflection of the cutting tool is ΔX, and the position of the tip on the cutting edge 107 is L according to the control system. x +D, but the actual position of the tip and therefore also the position of the point on the surface of the workpiece is L x + D–ΔX.

[0124] If, for a non-deflected measuring tool, the exact position of the tip of the measuring tool in the machine tool coordinate system (for example, relative to the spindle center axis of the machine tool) is unknown or uncertain, it may be preferred to calibrate the machining system by determining the offset error before determining the position of a point on the machined surface of the workpiece using the method described above.

[0125] Figure 5A machining system 100 including a machine tool 102 according to an embodiment of the present invention is schematically shown (seen from above), wherein the cutting tool is shown in a reference position in which the tip on the cutting edge 107 is located at the spindle center axis C. In this reference position, the distance between the machine tool zero reference point 401 and the machine tool interface reference point 402 in the x-direction corresponds to the radial offset RO. Therefore, in the machine tool coordinate system, the position of the tip on the cutting edge 107 along the corresponding direction (i.e. along the x-axis) will be defined as the sum of the radial offset RO and the distance between the tip on the cutting edge 107 and the spindle center axis C along the corresponding direction. The radial offset RO can be stored in a memory and used by the control system when controlling and monitoring the position of the cutting tool. However, as mentioned above, due to inaccuracies caused by random deviations, for example, associated with the connection between the cutting tool and the machine tool, the interface between the cutting head and the tool body, or the interface between the cutting head and the cutting blade, the stored radial offset may be incorrect, that is, when the end on the cutting edge 107 is located on the spindle center axis C, the radial offset may not represent the actual distance between the machine tool zero reference 401 and the machine interface reference point 402 along the x-axis direction, resulting in incorrect position of the cutting edge 107 monitored by the control system.

[0126] Therefore, reference Figure 3 , the following optional steps are further described below: obtaining 202 a spatial position of a reference point, obtaining an offset error or an updated offset of a measurement tool based on the reference point, and calibrating 204 a machining system based on the offset error or the updated offset.

[0127] According to some embodiments, the reference point is a point on the inner perimeter of a hole in the workpiece to be machined. Thus, the method of obtaining 202 the spatial position of such a reference point may include an initial step of machining 302 the workpiece 130 or a portion of the workpiece to ensure that the hole 131 containing the reference point is perfectly circular and centered on the spindle center axis C.

[0128] If there is an offset error not only in the radial direction of the cutting tool, but also in the axial direction of the cutting tool (i.e., in the direction along the longitudinal axis 111 of the tool body), such an axial offset error can also be determined during this initial machining step. For example, according to some embodiments in which a strain sensor is used to detect the deflection of the cutting tool, when the cutting tool is moved in the axial direction to machine the inner surface of the hole in the workpiece, the axial offset error can be identified by detecting the change in the measured strain caused by engaging the workpiece. Therefore, the axial position of the tip on the cutting edge where the strain increase is detected can indicate the true axial offset AO relative to the machine interface reference point 402 (such as Figure 5 as shown).

[0129] After the initial processing step 302, a probing process may be performed to determine the real space location of the reference point.

[0130] The probing process may include replacing the cutting head 304 with a probing head 606, such as Figure 6a-6c As shown, the probe 606 includes a first end 601 and a second end 602, which are arranged to face a reference point 603 and an auxiliary point 604, respectively, and the reference point 603 and the auxiliary point 604 are arranged on opposite sides of the inner diameter of the hole 131, wherein the distance PD between the first end and the second end is known. Therefore, the same tool body 105 is used, and the probe 606 (instead of the cutting head 106) is attached to the tool body 105. Therefore, in this state, the measuring tool corresponds to the probe 600 including the tool body 105 and the probe 606.

[0131] The detection process may further include measuring the workpiece by determining a reference position P1 of the first end head 601 (in the reference position, the first end head 601 touches a reference point 603, such as Figure 6b As shown), and determine the auxiliary position P2 of the first end 601 (in this auxiliary position, the second end 602 touches the auxiliary point 604, as shown in FIG. Figure 6c According to some embodiments, each of these measurements may be performed in a manner similar to that used when using a tip to determine the location of a point of the machined surface of the workpiece, as previously described.

[0132] Therefore, the probing process may include moving 306 the probe 600 toward the workpiece so that the first tip 601 approaches the reference point 603 , or the second tip 602 approaches the auxiliary point 604 .

[0133] The probing process may then include detecting 308 contact between the first tip or the second tip and the reference point or the auxiliary point, respectively.

[0134] The probing process may then include stopping 310 the movement of the probe 600 .

[0135] The probing process may then include obtaining 312 a position of the first tip 601 monitored by the control system after the probe 600 has stopped.

[0136] The probing process may then include determining 314 a deflection of probe 600 .

[0137] The detection process may then include determining 316 a position of the first tip 601 based on the determined deflection and the obtained position of the first tip 601 monitored by the control system.

[0138] As previously mentioned, if a strain sensor arranged at the tool body 105 is used to detect the deflection of the measuring tool, it is necessary to establish a relationship between strain and deflection for a particular tool setting. This relationship can be determined in a separate process, but can also be determined as an optional step in the detection process. Therefore, the control system can be instructed to move the probe 600 further toward the workpiece by a predetermined distance from the reference position where the probe stops to reach the auxiliary position. In this regard, it should be noted that further movement toward the workpiece does not result in actual movement of the end (because it is already in contact with the workpiece surface), but only causes the probe 600 to further deflect by a corresponding distance. Therefore, the ratio between the difference between the corresponding strain measurements obtained at the reference position and the auxiliary position and the distance the probe is instructed to move provides a relationship between strain and deflection.

[0139] Afterwards, if Figure 3 As shown, steps 306-316 may be repeated 317 for points that have not yet been measured, thereby determining the reference position P1 and the auxiliary position P2 of the first end 601 at the position when the first end 601 touches the reference point 603 and the position when the second end 602 touches the auxiliary point 604, respectively.

[0140] The method further comprises determining 318 a spatial position of a reference point based on the determined reference position P1 and the auxiliary position P2 of the first tip 601 and a known distance PD between the first tip and the second tip.

[0141] According to the illustrated embodiment, the spatial position of the reference point along the x-axis direction corresponds to the radius of the hole. Therefore, since the sum of the known distance PD and the distance between the reference position P1 and the auxiliary position P2 corresponds to the diameter of the hole, the spatial position of the reference point can be determined as (P1-P2+PD) / 2.

[0142] like Figure 3 As further shown, when the spatial position of the reference point is known, the offset error can be determined and based on this the machining system can be calibrated 204 as described below.

[0143] First, if calibration is to be performed for a cutting tool to be used in subsequent processing, the probe head currently attached to the tool body is removed and a cutting head 106 including a cutting edge 107 is attached to the tool body 105 so that the measuring tool corresponds to the cutting tool 104, wherein the first end head arranged to contact the workpiece to measure the workpiece is located on the cutting edge 107.

[0144] Then, according to some embodiments, the offset error may be determined using measurements performed in a similar manner as when determining the position of a point of the machined surface of the workpiece, as previously described.

[0145] Thus, the method of determining the offset error may include moving 320 the measurement tool towards a reference point.

[0146] Then, based on the position of the tool body monitored by the control system, the position of the first tip is determined, in which position the tip touches the reference point. This may, for example, include the following steps: - Detection 321 that the first end is in contact with the reference point, - stop 322 the movement of the measuring tool, - Based on the position of the tool body monitored by the control system, the position of the 323 tip is obtained, - determine the deflection of the 324 measuring tool, and - Based on the determined deflection and the obtained position of the tip, the position of the tip is determined 325 .

[0147] The method may then include determining 326 an offset error of the measurement tool based on the known spatial position of the reference point and the determined position of the tip. According to some embodiments, the offset error is simply the difference between the determined position of the tip and the known position of the reference point.

[0148] The machining system may then be calibrated 327 based on the determined offset error. For example, an updated offset corresponding to a previously stored offset adjusted by the offset error may be stored. This updated or calibrated offset may then be used to replace the previously stored offset when controlling and monitoring the position of the tip of the measurement tool.

[0149] After machining a hole in the workpiece, you can use the same Figure 6a-6c The diameter of the finished hole is determined by a method similar to the method described above (and preferably using the same or similar probe), i.e., wherein the first and second ends of the probe are arranged to contact first and second points, respectively, on the inner periphery of the machined hole on opposite sides of its inner diameter. This provides a very accurate measurement of the diameter of the machined hole.

[0150] Although the above description contains a number of specific details, these specific details should not be interpreted as limiting the scope of the concepts described herein, but should only be interpreted as providing an illustration of some exemplary embodiments of the described concepts. It should be understood that the scope of the concepts currently described fully encompasses other embodiments that may be apparent to those skilled in the art, and therefore the scope of the concepts currently described is not limited. Unless explicitly stated, reference to an element in the singular is not intended to mean "one and only one", but to mean "one or more". All structural and functional equivalents of the elements of the above-described embodiments known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be covered herein. In addition, it is not necessary for a device or method to solve every problem that the currently described concept attempts to solve, because it will be covered by the concept. In the exemplary figure, the dotted line generally indicates that the feature within the dotted line is optional.

Claims

1. A method for determining the position of a point on a machined surface of a workpiece (130) in a machining system (100), the machining system (100) comprising: - Machine tools (102); - a cutting tool (104), the cutting tool (104) comprising a tool body (105), the tool body being arranged at the machine tool (102) and comprising at least one sensor (115); and - a control system (150) adapted to control and monitor the position of the tool body (105); Wherein, the method comprises the following steps: - machining (206) the workpiece using the cutting tool (104); and then - using a measuring tool (104, 600) comprising the tool body (105) and a first end head to measure the workpiece (130), wherein measuring the workpiece (130) comprises: - moving (208) the measuring tool towards the workpiece (130) while measuring the parameter using the sensor (115), and - Based on the position of the tool body (105) monitored by the control system (150) and based on the value of the parameter measured by the sensor (115), determining (209) a first position of the first tip in which the first tip touches the point on the machined surface, thereby indicating the position of the point on the machined surface.

2. The method according to claim 1, wherein: Determining the first position of the first tip of the measuring tool includes: - based on the measured value of the parameter, detecting (212) the point contact of the first tip with the machined surface of the workpiece; - stopping (214) the movement of the measuring tool; - obtaining (216) a position of the first tip based on the position of the tool body monitored by the control system; - determining (218) a deflection of the measuring tool based on the measured value of the parameter; and - determining said first position of said first tip based on the determined deflection and the obtained position of said first tip.

3. A method according to any one of the preceding claims, wherein: The point on the machined surface of the workpiece is a point on the inner periphery of a hole (131) in the workpiece.

4. A method according to any one of the preceding claims, wherein: The measuring tool is identical to the cutting tool, and the first end head is located on the cutting edge (107) of the cutting tool.

5. The method according to any one of claims 1 to 3, wherein: The method further comprises, after the workpiece has been machined and before measuring the workpiece, attaching a probe head (606) to the tool body (105), such that the measuring tool (600) comprises the tool body (105) and the probe head (606), and wherein the first tip is located on the probe head (606).

6. A method according to any one of the preceding claims, wherein: The point on the machined surface of the workpiece is a first point on the inner periphery of a hole in the workpiece at a first position along the extension of the hole, and wherein the measuring tool further comprises a second tip located at a known distance from the first tip, and wherein the first tip and the second tip are arranged to face the first point and a second point on the machined surface, respectively, wherein the second point is located opposite the first point on the inner diameter of the hole, and wherein the step of measuring the workpiece further comprises: - determining a second position of the first tip based on the position of the tool body monitored by the control system and based on the value of the parameter measured by the sensor, in which the second tip touches the second point; and - determining an inner diameter of the hole at the first position based on the determined first and second positions of the first end head and the known distance between the first end head and the second end head.

7. The method according to claim 6, wherein the method further comprises - repeating the steps of measuring the workpiece and determining the inner diameter of the hole, but for the inner perimeter of the hole at one or more additional positions along the extension of the hole in the workpiece spaced apart from the first position, - Based on the inner diameter determined at the first position and at the one or more additional positions, determining a deviation of the hole from a cylindrical shape.

8. A method according to any one of the preceding claims, wherein: The steps of machining the workpiece and measuring the workpiece are preceded by the following steps: - moving the measuring tool towards a reference point having a known spatial position (320); - determining (321-325) a reference position of the first tip in which the first tip touches the reference point, based on the position of the tool body monitored by the control system and based on the value of the parameter measured by the sensor; - determining (326) an offset error based on said known spatial position and said determined reference position of said first tip; as well as - Calibrating (327) the machining system based on the determined offset error.

9. The method according to claim 8, wherein: The reference point having a known spatial position is a point on the inner perimeter of a hole in the workpiece, and wherein the known spatial position is determined in a probing process prior to the steps of claim 8, and wherein the measuring tool comprises a second tip (602) located at a known distance (PD) from the first tip (601), and wherein the probing process comprises: - arranging the measuring tool so that the first end head (601) and the second end head (602) are arranged to face the reference point (603) and the auxiliary point (604) on the inner periphery of the hole, respectively, wherein the auxiliary point (604) is located opposite to the reference point (603) on the inner diameter of the hole; - measuring (306-316) the workpiece by determining a reference position (P1) of the first head (601), in which the first head (601) touches the reference point (603), and determining an auxiliary position (P1) of the first head (601), in which the second head (602) touches the auxiliary point (604); and - determining (318) the spatial position of the reference point based on the determined reference position (P1) and the auxiliary position (P2) of the first end point (601) and the known distance (PD) between the first end point (601) and the second end point (602).

10. The method according to claim 9, wherein: The probing process is preceded by a machining step (302) in which the inner surface of the hole is machined.

11. A method according to any one of the preceding claims, wherein: The parameter measured is strain.

12. The method according to claim 2, further comprising: Based on the measured parameters, the applied force of the measuring tool is determined when the contact of the tip with the point on the machined surface of the workpiece is detected.

13. The method according to claims 11 and 12, wherein: Based on a predetermined relationship between strain and the applied force of the measuring tool, the applied force of the measuring tool is determined.

14. The method according to any one of claims 12 or 13, wherein: Detecting the point contact of the tip with the machined surface of the workpiece and stopping movement of the measuring tool includes continuing to move the measuring tool toward the workpiece until a predetermined amount of applied force of the measuring tool is determined and then stopping the movement.

15. The method according to claim 14, wherein: The predetermined amount of applied force is in the range of 5N-100N.

16. The method according to claims 2 and 11, wherein: Based on a predetermined relationship between strain and deflection of the measuring tool, the deflection of the measuring tool is determined.

17. A machining system (100), the machining system being operable to determine the position of a point on a machined surface of a workpiece (130), the machining system (100) comprising: - Machine tools (102); - a cutting tool (104), the cutting tool (104) comprising a tool body (105), the tool body being arranged at the machine tool (102) and comprising at least one sensor (115); - a control system (150) adapted to control and monitor the position of the tool body (105); - processing circuitry; and - Memory; Thus, the processing system (100) is configured to perform the method according to any one of claims 1-16.

18. The processing system according to claim 17, wherein: The sensor (115) is a strain sensor.

19. A computer program comprising computer readable instructions for running in a processing system according to any one of claims 17-18, wherein when the computer readable instructions are run in the processing system, the computer readable instructions cause the processing system to execute the method according to any one of claims 1-16.