Built-in detection compensation method, device and equipment based on thermal deformation and medium
By collecting heat source temperature data and constructing a thermal deformation error compensation model, the measurement error problem caused by thermal deformation in in-machine detection was solved, enabling precise dimensional correction of the machine tool, workpiece, and probe, and improving the accuracy and reliability of the measurement results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WEICHAI POWER CO LTD
- Filing Date
- 2026-04-13
- Publication Date
- 2026-05-12
AI Technical Summary
Traditional in-machine detection methods cannot detect the thermal deformation changes of machine tools, workpieces, and probes in real time, leading to the accumulation of measurement errors and affecting the accuracy of part size evaluation.
Collect heat source temperature data and machine tool processing data, construct a thermal deformation error compensation model, determine the measurement error compensation value, and correct the in-machine detection results based on this to obtain the dimensional value of the target workpiece under standard conditions.
By integrating temperature sensors and establishing an error compensation model, measurement errors caused by thermal deformation are accurately corrected, improving the accuracy and reliability of part size evaluation.
Smart Images

Figure CN122020918A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of machine tool processing, specifically to an in-machine detection compensation method, device, equipment, and medium based on thermal deformation. Background Technology
[0002] During prolonged operation of a machining center, the machine tool body undergoes thermal deformation due to factors such as high-speed spindle rotation, continuous scouring by cutting fluid, and fluctuations in ambient temperature. Additionally, the probe and workpiece themselves will experience dimensional changes with temperature.
[0003] Traditional in-machine probing methods rely solely on preset calibration parameters and cannot detect changes in thermal deformation of the machine tool, workpiece, and probe in real time. This leads to the accumulation of errors in the probing data, which directly affect subsequent measurement results. Therefore, the measurement results cannot accurately evaluate the part dimensions and have no objective evaluation of the actual dimensions. They can only be used as a reference in the application process. Summary of the Invention
[0004] To address the aforementioned problems, this application proposes an in-flight detection compensation method, apparatus, equipment, and medium based on thermal deformation, wherein the method includes: Collect heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature. Based on the heat source temperature data, the machine tool processing data, and a thermal deformation error compensation model, determine the measurement error compensation value. The thermal deformation error compensation model is constructed based on the physical characteristics of the machine tool, workpiece, and probe and is used to reflect the relationship between the heat source temperature and the measurement error. Based on the measurement error compensation value, correct the dimensional measurement results obtained from in-machine detection to obtain the dimensional value of the target workpiece under standard conditions.
[0005] In one example, before acquiring the heat source temperature data, the method further includes: building a simulation model based on the actual dimensions and material properties of the machine tool, workpiece, and probe; during the simulation, based on the processing parameters and time, combined with the frictional heat generation of each component and the ambient temperature parameters, determining the heat generation and temperature changes during the equipment movement process and the workpiece cutting process, and determining the location of the heat source; and determining the model and placement method of the temperature sensor based on the location of the heat source.
[0006] In one example, before determining the measurement error compensation value based on the heat source temperature data, the machine tool machining data, and the thermal deformation error compensation model, the method further includes: determining the motion deviation values of each axis of the machine tool corresponding to different machine tool heat source temperatures, machine tool machining data, and ambient temperatures, and establishing a machine tool thermal deformation error compensation model; the machine tool machining data includes at least one of the following: the distance between each axis of the machine tool and each heat source, machine tool running time, machine tool axis movement distance, cutting tool parameters, and machine tool cutting parameters; determining the workpiece size deviation values corresponding to different workpiece heat source temperatures, workpiece materials, and workpiece structures, and establishing a workpiece thermal deformation error compensation model; and determining the probe size deviation values corresponding to different probe end temperatures, and establishing a probe thermal deformation error compensation model.
[0007] In one example, determining the measurement error compensation value based on heat source temperature data, machine tool processing data, and a thermal deformation error compensation model specifically includes: constructing a theoretical measurement error relationship based on the motion deviation values of each axis of the machine tool, the workpiece size deviation value, and the probe size deviation value; calibrating the theoretical measurement error relationship by comparing the probe measurement value with the actual workpiece size value under various preset working conditions to obtain an actual measurement error model; and inputting the heat source temperature data into the actual measurement error model to obtain the measurement error compensation value.
[0008] In one example, the variables of the multiple preset working conditions include at least one of the following: workpiece material, spindle feed, spindle speed, and probe path.
[0009] In one example, the step of correcting the dimensional measurement results obtained by in-machine detection based on the measurement error compensation value specifically includes: during the in-machine detection process, acquiring the dimensional measurement results of the target workpiece by the probe; compensating the dimensional measurement results based on the measurement error compensation value, and inversely calculating the dimensional value of the target workpiece under standard conditions.
[0010] In one example, the step of correcting the measurement results obtained by in-machine detection based on the measurement error compensation value specifically includes: determining the measurement error compensation value and the size measurement result of the target workpiece in the same direction; and determining the size value of the target workpiece in any direction under standard conditions based on the measurement error compensation value and the size measurement result in the same direction.
[0011] This application also provides an in-machine detection compensation device based on thermal deformation, comprising: a data acquisition module for acquiring heat source temperature data and machine tool processing data, wherein the heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature; a compensation value determination module for determining a measurement error compensation value based on the heat source temperature data, the machine tool processing data, and a thermal deformation error compensation model, wherein the thermal deformation error compensation model is constructed based on the physical characteristics of the machine tool, the workpiece, and the probe, and is used to reflect the relationship between the heat source temperature and the measurement error; and an error correction module for correcting the dimensional measurement results obtained from in-machine detection based on the measurement error compensation value, thereby obtaining the dimensional value of the target workpiece under standard conditions.
[0012] This application also provides an in-flight detection compensation device based on thermal deformation, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of any of the methods described in the above examples.
[0013] This application also provides a non-volatile computer storage medium storing computer-executable instructions, characterized in that the computer-executable instructions are configured to perform the steps of the method described in any of the above examples.
[0014] The method proposed in this application can bring the following beneficial effects: by integrating temperature sensors at the heat source and establishing a thermal deformation error compensation model for the machine tool, probe, and workpiece, the thermal deformation error corresponding to the machine tool, probe, and workpiece can be determined based on the temperature of each heat source, thereby determining the overall measurement error compensation value, which solves the problem of inaccurate measurement results caused by temperature changes. Attached Figure Description
[0015] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart illustrating an in-flight detection compensation method based on thermal deformation, as described in an embodiment of this application. Figure 2 This is a schematic diagram of an in-flight detection compensation device based on thermal deformation, as described in an embodiment of this application. Figure 3 This is a schematic diagram of the structure of an in-machine detection and compensation device based on thermal deformation in an embodiment of this application. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0017] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0018] Figure 1 This diagram illustrates a process flow of an in-machine detection compensation method based on thermal deformation, provided for one or more embodiments of this specification. This method can be applied to determine the standard dimensions of a workpiece within a machining center. The process can be executed by a control terminal connected to the machining center, and certain input parameters or intermediate results can be manually adjusted to help improve accuracy.
[0019] The analysis method involved in the embodiments of this application can be implemented by a terminal device or a server, and this application does not impose any special limitations on it. For ease of understanding and description, the following embodiments all use a service area as an example for detailed description. It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not impose any specific limitations on it.
[0020] like Figure 1 As shown, this application provides an in-flight detection compensation method based on thermal deformation, including: S101: Collect heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature.
[0021] First, the temperature sensor collects heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature. Heat sources include machine tool bearings, motors, the workpiece processing area, the probe-workpiece contact point, and the spindle clamping area. Machine tool processing data refers to various parameters that cause temperature changes in different parts during workpiece processing, such as cutting action type, cutting position, and cutting tool type.
[0022] S102: Determine the measurement error compensation value based on the heat source temperature data and the thermal deformation error compensation model.
[0023] After obtaining the heat source temperature data and machine tool processing data, the measurement error compensation value corresponding to the current heat source temperature and machine tool processing data can be determined based on a pre-built thermal deformation error compensation model. Here, the measurement error compensation value refers to the error compensation value acting on the workpiece dimension. It is understandable that, due to thermal deformation, the dimensional measurement result obtained by the probe from the workpiece is not the same as the actual dimensional value of the workpiece under standard ambient temperature.
[0024] The thermal deformation error compensation model here is pre-constructed based on the physical characteristics of the machine tool, workpiece, and probe, and is used to reflect the relationship between the heat source temperature and the measurement error.
[0025] S103: Based on the measurement error compensation value, the dimensional measurement results obtained by in-machine detection are corrected to obtain the dimensional value of the target workpiece under standard conditions.
[0026] After obtaining the measurement error compensation value, the dimensional measurement results obtained from the in-machine detection can be corrected, thereby obtaining the actual dimensional value of the workpiece at the quasi-ambient temperature.
[0027] In one embodiment, before collecting heat source temperature data, temperature sensors need to be arranged according to the location of the heat source. A simulation model can be built according to the actual size and material properties of the machine tool, workpiece, and probe. During the simulation, based on the processing parameters and time, combined with the frictional heat generation of each component and the ambient temperature parameters, the heat generation and temperature changes during the equipment movement process and the workpiece cutting process are determined, and the location of the heat source is determined. Based on the location of the heat source, the model and placement method of the temperature sensor are determined.
[0028] Specifically, based on the actual dimensions and material properties of the machine tool, workpiece, and probe (e.g., machine tool cast iron, workpiece steel / aluminum / cast iron, probe alloy / ceramic, etc.), a simulation model is built for the core moving component group (probe rod / ball, spindle-tool holder assembly, workpiece-fixture, guide rail pair). During the simulation, the detection path and detection speed are clearly defined, and the movement process of the machining center, workpiece machining, and cutting process are analyzed separately to determine the heat generation and temperature changes during the cutting process with machining parameters and time. This heat generation process is used as the heat source, and combined with parameters such as frictional heat generation of each component and ambient temperature, the key heat source locations are identified (e.g., machine tool bearings, motors, workpiece machining area, probe-workpiece contact position, spindle clamping position). Based on the key heat source locations, the model and placement method of the temperature sensor are determined.
[0029] Based on the determined location of the heat source, select a suitable temperature sensor model (such as thermocouple, thermistor or infrared sensor) and design its specific physical installation method and layout, such as embedding it inside the probe, attaching it to the heat source surface of the machine tool, or arranging it in a specific area of the workpiece. Embed the temperature sensor inside the probe and simultaneously arrange temperature sensors at the heat source location of the machining center and on the workpiece.
[0030] At this time, when collecting heat source temperature data, the temperature of the machine tool heat source generation location and the workpiece cutting position can be obtained. The temperature data of the probe, machine tool, and workpiece are bound to the detection action in real time, and the measurement results and temperature data of relevant locations are synchronously transmitted back and processed to form three independent and synchronous temperature datasets. These are: probe temperature dataset (corresponding to the real-time temperature of each key part of the probe), machine tool heat source temperature dataset (corresponding to the real-time temperature of each core component of the machine tool), and workpiece temperature dataset (corresponding to the real-time temperature of the workpiece processing area and its surroundings).
[0031] If temperature sensors are directly installed on the machine tool, workpiece, and probe, the acquired temperature data will be the temperature data corresponding to each point, and it will be impossible to determine the temperature of the machine tool as a whole, the workpiece as a whole, and the probe as a whole. Setting temperature sensors at the heat source can detect the changes in the heat source temperature more accurately, thereby reflecting the impact of thermal deformation on the measurement results more accurately.
[0032] In one embodiment, before determining the measurement error compensation value based on heat source temperature data, machine tool machining data, and a thermal deformation error compensation model, it is necessary to establish temperature change and dimensional error models for the machine tool, probe, and workpiece. Specifically, the motion deviation values of each axis of the machine tool corresponding to different machine tool heat source temperatures, machine tool machining data, and ambient temperatures are determined, and a motion error compensation model for machine tool thermal deformation is established. The machine tool machining data includes at least one of the following: distance between each axis of the machine tool and each heat source, machine tool running time, distance traveled by each axis of the machine tool, cutting tool parameters, and machine tool cutting parameters. Here, cutting tool parameters include cutting tool diameter and cutting tool type. The workpiece dimensional deviation values corresponding to different workpiece heat source temperatures, workpiece materials, and workpiece structures are determined, and a workpiece thermal deformation error compensation model is established. The probe dimensional deviation values corresponding to different probe end temperatures are determined, and a probe thermal deformation error compensation model is established.
[0033] Specifically, firstly, establishing a motion error compensation model for machine tool thermal deformation requires determining the thermal deformation deviation values (e.g., Δxm) of each machine tool motion axis (e.g., X-axis, Y-axis, Z-axis) under different machine tool heat source temperatures (e.g., temperatures from key heat source components such as spindle bearings, motors, and guideways), different machine tool machining data (including distances of each axis relative to each heat source, continuous machine tool operation time, actual movement distance of each axis, diameter and type of cutting tools used, and machine tool cutting parameters such as spindle speed and feed rate), and different ambient temperature conditions. These deviation values reflect the geometric positional changes of the machine tool structure due to thermal effects and are important factors causing measurement reference offsets. The construction of the machine tool thermal deformation error compensation model can be achieved through theoretical calculations, empirical formula fitting, or learning based on historical data. Its core is to establish the mapping relationship between temperature and machining parameters and the motion deviation values of each axis.
[0034] Secondly, a workpiece thermal deformation error compensation model is established. The thermal deformation of the workpiece mainly depends on the thermal expansion characteristics of its material, its structural form, and the temperature field it experiences. This model aims to determine the dimensional changes of the workpiece in various directions in the machine tool coordinate system under different workpiece heat source temperatures (mainly concentrated in the machined area and its surroundings), different workpiece materials (e.g., steel, aluminum alloys, cast iron, etc., which have different coefficients of thermal expansion), and different workpiece structures (e.g., solid, thin-walled, complex cavity structures, etc., which affect heat distribution and deformation). This is the workpiece dimensional deviation value (e.g., the deviation in the X direction can be denoted as Δxw). The construction of this model needs to consider the thermal expansion coefficient of the material, the geometric constraints of the workpiece, and the transient or steady-state temperature distribution to accurately predict the workpiece dimensional expansion and contraction caused by temperature changes.
[0035] Finally, a probe thermal deformation error compensation model is established. As a precision component that directly performs the detection, the probe's dimensional stability directly affects the measurement results. The probe thermal deformation error compensation model is used to determine the amount of change in the probe's shape or size due to thermal effects under different probe end temperatures (mainly referring to the temperature of key internal parts of the probe, such as the probe rod, probe ball, and sensing element), i.e., the probe dimensional deviation value (e.g., denoted as Δxp). Constructing the probe thermal deformation error compensation model requires analyzing the thermal properties of the probe material, its structural design, and the temperature change history during actual detection cycles, thereby quantifying the influence of temperature on the probe's dimensions. By constructing the above three models respectively, the system can independently analyze and quantify the errors of the three main sources of thermal deformation: machine tool, workpiece, and probe.
[0036] Furthermore, when determining the measurement error compensation value based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model, a theoretical measurement error relationship can be constructed based on the motion deviation values of each axis of the machine tool, the workpiece size deviation values, and the probe size deviation values. Under various preset working conditions, the theoretical measurement error relationship is calibrated by comparing the probe measurement values with the actual workpiece size values to obtain an actual measurement error model. The heat source temperature data is then input into the actual measurement error model to obtain the measurement error compensation value.
[0037] Specifically, after constructing the theoretical measurement error relationship based on the machine tool axis motion deviation values, workpiece size deviation values, and probe size deviation values, the relationship needs to be calibrated to obtain an accurate error compensation model suitable for actual measurement.
[0038] Specifically, the theoretical measurement error relationship (e.g., Δlx = Δxm + Δxw + Δxp) is first used as the basis for calculating the theoretical error. Subsequently, calibration experiments are conducted under various preset working conditions. These preset working conditions should cover different conditions that may be encountered in actual processing, including at least one of the following: different workpiece materials (e.g., steel, aluminum, cast iron), different spindle feeds, spindle speeds (with gradient-varying speed values), and different detection paths (e.g., different distances and movement trajectories of the probe relative to the workpiece heat source).
[0039] Under each selected preset working condition, the following operations are performed simultaneously: The in-machine probe is used to actually measure a specific measurement point on the workpiece, and the coordinate value output by the probe is recorded as x1. Simultaneously, under identical working conditions, a high-precision external measuring device (such as a coordinate measuring machine) is used to precisely measure the same measurement point, obtaining the actual dimensional coordinate value of that point, recorded as x2. The actual measurement error value Δlx' = x2 - x1 under this working condition is calculated.
[0040] By repeatedly performing measurements and data acquisition under various preset operating conditions, a series of paired data points (theoretical measurement error value Δlx, actual measurement error value Δlx') are obtained. Using these data, a mathematical relationship model between the theoretical error and the actual error is established through data fitting methods (such as the least squares method), for example, a linear relationship model: Δlx'=k*Δlx+b, where k and b are calibration coefficients obtained from the fitting. Thus, the calibration of the theoretical measurement error relationship is completed, resulting in an actual measurement error model that reflects the actual error pattern.
[0041] In practical applications, when performing in-machine probing and needing to determine measurement error compensation values, the real-time collected heat source temperature data (probe end temperature, workpiece heat source end temperature, machine tool heat source end temperature) and related machine tool processing data are input into the calibrated actual measurement error model. This allows for the direct calculation of a more accurate measurement error compensation value corresponding to the current operating condition. This value integrates the results of the theoretical model and experimental calibration, more realistically reflecting the measurement error caused by thermal deformation, thus providing an accurate basis for subsequent dimensional corrections.
[0042] In one embodiment, during correction, in the in-machine probing cycle, the probe contacts the target workpiece's surface according to a preset probing program and obtains the coordinate information of one or more measurement points. This information is then summarized to form the dimensional measurement result of the target workpiece (e.g., the diameter of a feature hole, the distance between two planes, etc.). This dimensional measurement result is directly measured under specific thermal conditions (i.e., non-standard temperature conditions) for the current machine tool, workpiece, and probe, and therefore includes systematic errors introduced by thermal deformation.
[0043] The core of the correction process is to apply the determined measurement error compensation value, which is calculated through the aforementioned steps (based on real-time collected heat source temperature data, machine tool processing data, and thermal deformation error compensation model). It quantifies the total deviation between the theoretical measurement value caused by thermal deformation and the actual size of the workpiece under standard conditions (such as a constant temperature environment of 20°C) under the current working conditions.
[0044] The correction operation involves performing an algebraic operation (usually addition or subtraction, depending on the definition of the error sign) between the calculated measurement error compensation value and the dimensional measurement result directly obtained by the probe. This operation compensates for or reverses the original measurement result. Mathematically, the corrected dimensional value = original measurement result + measurement error compensation value. Through this calculation, the final output is the dimensional value of the target workpiece under standard conditions. This value eliminates systematic deviations caused by thermal deformation, thus enabling accurate evaluation of whether the machined dimensions of the part meet design requirements, significantly improving the reliability and usability of in-machine measurement results.
[0045] Similarly, when determining the actual dimensions of a workpiece in different directions, during the in-machine detection process, if it is necessary to measure the dimension of the target workpiece in a certain direction, only the measurement result of that direction needs to be obtained. Simultaneously, based on the established thermal deformation error compensation model, the corresponding measurement error compensation value in this direction is obtained. The measurement error compensation value This reflects the dimensional measurement error in this direction caused by the thermal deformation of the machine tool, workpiece, and probe under this working condition.
[0046] Next, the dimensional measurement results in the same direction are... With measurement error compensation value By performing superposition calculations, the dimensional value of the target workpiece in this direction under standard conditions is obtained. ,Right now:
[0047] This calculation process is applicable to each independent direction (such as X, Y, Z directions), and can calculate the dimensional values in each direction separately according to actual measurement needs, thereby achieving accurate restoration of the workpiece dimensions at standard ambient temperature.
[0048] like Figure 2 As shown in the figure, this application embodiment also provides an in-flight detection compensation device based on thermal deformation, including: The data acquisition module 201 acquires heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature.
[0049] The compensation value determination module 202 determines the measurement error compensation value based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model. The thermal deformation error compensation model is constructed based on the physical characteristics of the machine tool, workpiece, and probe and is used to reflect the relationship between the heat source temperature and the measurement error.
[0050] The error correction module 203 corrects the dimensional measurement results obtained by in-machine detection based on the measurement error compensation value, and obtains the dimensional value of the target workpiece under standard conditions.
[0051] like Figure 3 As shown, this application embodiment also provides an in-flight detection compensation device based on thermal deformation, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the method described in any of the above embodiments.
[0052] This application also provides a non-volatile computer storage medium storing computer-executable instructions configured to perform the steps of the method described in any of the above embodiments.
[0053] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0054] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0055] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0056] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0057] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0058] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0059] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0060] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0061] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0062] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0063] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. An in-flight detection compensation method based on thermal deformation, characterized in that, include: Collect heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature. Based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model, the measurement error compensation value is determined. The thermal deformation error compensation model is constructed based on the physical characteristics of the machine tool, workpiece, and probe, and is used to reflect the relationship between the heat source temperature and the measurement error. Based on the measurement error compensation value, the dimensional measurement results obtained by in-machine detection are corrected to obtain the dimensional value of the target workpiece under standard conditions.
2. The method according to claim 1, characterized in that, Before collecting the heat source temperature data, the method further includes: Build simulation models based on the actual dimensions and material properties of the machine tool, workpiece, and probe; During the simulation, based on the processing parameters and time, combined with the frictional heat generation of each component and the ambient temperature parameters, the heat generation and temperature changes during the equipment movement process and the workpiece cutting process are determined, and the location of the heat source is determined. Based on the location of the heat source, determine the model and placement of the temperature sensor.
3. The method according to claim 1, characterized in that, Before determining the measurement error compensation value based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model, the method further includes: Determine the motion deviation values of each axis of the machine tool corresponding to different machine tool heat source temperatures, machine tool machining data, and ambient temperatures, and establish a machine tool thermal deformation error compensation model; the machine tool machining data includes at least one of the following: distance between each axis of the machine tool and each heat source, machine tool running time, movement distance of each axis of the machine tool, cutting tool parameters, and machine tool cutting parameters; Determine the workpiece size deviation values corresponding to different workpiece heat source end temperatures, workpiece materials, and workpiece structures, and establish a workpiece thermal deformation error compensation model; Determine the probe size deviation values corresponding to different probe end temperatures, and establish a probe thermal deformation error compensation model.
4. The method according to claim 3, characterized in that, The determination of the measurement error compensation value based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model specifically includes: Based on the motion deviation values of each axis of the machine tool, the workpiece size deviation value, and the probe size deviation value, a theoretical measurement error relationship is constructed. Under various preset working conditions, the theoretical measurement error relationship is calibrated by comparing the probe measurement value with the actual workpiece size value to obtain the actual measurement error model; The heat source temperature data is input into the actual measurement error model to obtain the measurement error compensation value.
5. The method according to claim 4, characterized in that, The variables of the various preset working conditions include at least one of the following: workpiece material, spindle feed, spindle speed, and detection path.
6. The method according to claim 1, characterized in that, The step of correcting the dimensional measurement results obtained from in-machine detection based on the measurement error compensation value specifically includes: During the in-machine detection process, the dimensional measurement results of the target workpiece by the probe are obtained; The measurement error compensation value is used to compensate for the dimensional measurement result, and the dimensional value of the target workpiece under standard conditions is calculated in reverse.
7. The method according to claim 6, characterized in that, The step of correcting the measurement results obtained from in-flight detection based on the measurement error compensation value specifically includes: Determine the measurement error compensation value and dimensional measurement results of the target workpiece in the same direction; Based on the measurement error compensation value in the same direction and the dimensional measurement results, the dimensional value of the target workpiece in any direction under standard conditions is determined.
8. An in-flight detection compensation device based on thermal deformation, characterized in that, include: The data acquisition module collects heat source temperature data and machine tool processing data. The heat source temperature data includes at least the probe end temperature, the workpiece heat source end temperature, and the machine tool heat source end temperature. The compensation value determination module determines the measurement error compensation value based on the heat source temperature data, the machine tool processing data, and the thermal deformation error compensation model. The thermal deformation error compensation model is constructed based on the physical characteristics of the machine tool, workpiece, and probe, and is used to reflect the relationship between the heat source temperature and the measurement error. The error correction module corrects the dimensional measurement results obtained by in-machine detection based on the measurement error compensation value, and obtains the dimensional value of the target workpiece under standard conditions.
9. An in-flight detection and compensation device based on thermal deformation, characterized in that, include: At least one processor; And, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform the steps of the method as claimed in any one of claims 1-7.
10. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are configured to perform the steps of the method as claimed in any one of claims 1-7.