A blank intelligent positioning and error compensation method and system based on machine vision

By using machine vision system calibration and multi-source error modeling, intelligent positioning and error closed-loop compensation of mold blanks are achieved, solving the problems of low positioning efficiency and incomplete error compensation in traditional mold blanks. This improves the production efficiency and accuracy of small and medium-sized enterprises and reduces transformation costs.

CN123177326APending Publication Date: 2026-11-27GUANGDONG JINGFANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611476417.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Traditional mold blank machining and positioning methods rely on manual alignment, which is inefficient and inconsistent. It cannot detect and compensate for multi-source errors in real time, which is especially inefficient in small and medium batch production with multiple specifications. Existing machine vision systems cannot fully compensate for clamping, thermal deformation and cutting vibration errors, and high-precision vision compensation systems are expensive and difficult for small and medium-sized enterprises to upgrade.

Method used

A machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks is adopted. Through system calibration and feature library construction, combined with binocular vision camera and machine tool coordinate system calibration, the mold blank feature recognition and three-dimensional reconstruction are realized. The modeling of clamping, thermal deformation and cutting vibration errors is integrated, and the comprehensive compensation amount is output in real time and integrated into the CNC system for error correction.

Benefits of technology

It has improved the machining accuracy of mold blanks, adapted to the production of various products with different shapes and specifications, reduced the transformation cost, reduced the reliance on skilled workers, improved production efficiency and first pass rate, and met the flexible production needs of small and medium-sized enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177326A_ABST
    Figure CN123177326A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on machine vision's blank intelligent positioning and multi-source error closed-loop compensation method, comprising the following steps: system calibration and feature library construction;Blank multi-feature visual identification and feature adaptive matching;Blank three-dimensional pose calculation, obtain initial clamping error;Multi-source error fusion modeling;Numerical control closed-loop error compensation execution;Comprehensive compensation quantity is issued to machining center numerical control system in real time, offset correction is carried out to machine tool coordinates, completes positioning error, thermal deformation error, cutting vibration dynamic error Automatic compensation, execute machining process;Cyclic detection iterative compensation;Processing process repeats S2-S5 step according to setting period, continuously acquires image and sensing signal, iteratively updates compensation quantity, until blank machining process is all completed.The application effectively improves blank processing size precision and first-time yield, reduces the dependence on skilled operator experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of machine vision inspection and CNC machining error compensation technology in mold processing, and particularly relates to a machine vision-based intelligent positioning of mold blanks and a multi-source error closed-loop compensation method and system. Background Technology

[0002] The mold manufacturing industry is upgrading towards high precision, automation, and intelligence. As the basic carrier of the mold, the positioning accuracy of the mold blank directly determines the dimensional accuracy of subsequent cavity and hole machining. Traditional mold blank machining positioning methods rely on manual alignment and dial indicator manual correction, which are highly dependent on the operator's experience and time-consuming. At the same time, the offset angle error caused by clamping, the thermal deformation error caused by cutting, and the dynamic error introduced by cutting vibration cannot be detected and dynamically compensated in real time during the machining process. This results in mold blank machining dimensions exceeding tolerances, low first-pass yield, more rework and repair, and extended delivery cycles.

[0003] Especially in the production scenarios of small to medium batches and multiple specifications of mold blanks, mold blanks with different shapes and dimensions and different reference features are frequently changed, and repeated manual alignment and correction further reduce production efficiency. Most existing machine vision mold blank positioning solutions only complete static clamping position recognition and only compensate for the initial clamping offset. They cannot integrate multi-source errors such as heat and cutting vibration to perform dynamic closed-loop compensation. Some high-precision vision compensation systems have high hardware costs and require the replacement of high-end machining tools, making it difficult for small and medium-sized enterprises to upgrade and implement them. Summary of the Invention

[0004] This invention aims to overcome the shortcomings of existing technologies and provide a machine vision-based intelligent positioning and multi-source error closed-loop compensation method and system for mold blanks. It solves the problems of low efficiency and poor consistency of traditional manual alignment, the inability of existing technologies to simultaneously compensate for multi-source errors such as clamping, thermal deformation, and cutting vibration, and the high cost of equipment modification.

[0005] A machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks includes the following steps: S1: System calibration and feature library construction; complete the joint calibration of the binocular vision camera and machine tool coordinate system, and establish the mapping relationship between the image pixel coordinate system, camera coordinate system and machine tool world coordinate system; collect sample images of the reference surface, positioning hole and cavity contour of mold blanks of different specifications, and construct the feature template library of mold blanks. The feature template library stores the reference feature geometric parameters and allowable error thresholds of mold blanks of different specifications. S2: Multi-feature visual recognition and adaptive feature matching of mold blanks; After the mold blanks are clamped, an industrial camera captures on-site images of the mold blanks; The images are preprocessed; Edge detection and contour matching are combined with a lightweight deep learning model to identify the mold blank reference surface, positioning holes, and cavity features; Based on the current mold blank model, the optimal combination of positioning features is automatically matched from the feature template library, and the set of feature pixel coordinates is output; S3: Calculate the three-dimensional pose of the mold blank and obtain the initial clamping error; Based on the binocular vision imaging results, perform three-dimensional reconstruction on the identified features, calculate the translational offset X / Y / Z and rotational deflection angle Rx / Ry / Rz of the mold blank relative to the machine tool coordinate system, and obtain the initial clamping and positioning error of the mold blank. S4: Multi-source error fusion modeling; three types of signals are collected simultaneously during the machining process: clamping and positioning error, cutting vibration dynamic error and thermal deformation error. The clamping and positioning error, thermal deformation error and cutting vibration dynamic error are input into the pre-built multi-source error fusion prediction model, and the comprehensive compensation amount is output. S5: CNC closed-loop error compensation execution; The comprehensive compensation amount is sent to the CNC system of the machining center in real time to correct the offset of the machine tool coordinates, complete the automatic compensation of positioning error, thermal deformation error and cutting vibration dynamic error, and execute the machining process; S6: Iterative detection and compensation; the processing procedure repeats steps S2-S5 according to the set cycle, continuously collecting images and sensor signals, iteratively updating the compensation amount, until all mold blank processing steps are completed.

[0006] Furthermore, the system calibration in step S1 includes camera intrinsic parameter calibration, binocular stereo calibration, and hand-eye calibration, realizing the conversion from the visual measurement coordinate system to the machine tool coordinate system; image preprocessing includes grayscale conversion, filtering and noise reduction, and illumination equalization processing.

[0007] Furthermore, the adaptive matching logic in step S2 is as follows: when the positioning hole of the mold blank is blocked by the tooling, the reference surface contour is automatically switched to be used as the positioning feature; when the reference surface is worn, the cavity edge contour is automatically switched to be used as the positioning feature.

[0008] Furthermore, in step S4, the multi-source error fusion modeling involves: collecting multiple sets of historical sample data, with sample inputs including clamping offset, temperature gradient, and cutting load, and sample outputs being the actual machining dimension deviation; and obtaining an error prediction model through machine learning training, with model inputs including visual measurement data, temperature sensing data, and machine tool operating parameters, and outputting a comprehensive compensation amount.

[0009] Furthermore, in step S5, the comprehensive compensation amount is issued using the machine tool external offset compensation interface. Without modifying the original machining code, the machine tool offset / workpiece coordinate system offset parameters are directly written, and the compensation offset parameters are automatically cleared after machining is completed.

[0010] Furthermore, after processing is completed, a processing quality report is output, recording each compensation data, actual processing dimensions, and the feature template library is updated synchronously.

[0011] A machine vision-based intelligent positioning and multi-source error closed-loop compensation system for mold blanks includes: Visual imaging unit: including binocular industrial camera and light source assembly, installed on machining center machine tool, used to acquire images of mold blank surface; The sensing and acquisition unit includes a temperature sensor and a machine tool signal acquisition module. The temperature sensor is arranged on the worktable of the mold blank to collect temperature field data; the machine tool signal acquisition module reads the operating data of the CNC system spindle, feed, and cutting load. Industrial control processing unit: used to receive images and sensor signals, complete feature recognition, pose calculation, error calculation, and output comprehensive compensation amount; CNC Interaction Unit: Establishes communication with the CNC system of the machining center, sends the comprehensive compensation amount to the CNC system, and realizes automatic correction of workpiece coordinate system offset; The visual imaging unit, the sensor acquisition unit, and the numerical control interaction unit are respectively connected to the industrial control processing unit.

[0012] Furthermore, the system also includes a human-computer interaction module, which is equipped with a one-click positioning compensation trigger button and supports mold base model input, template library management, compensation parameter viewing, and processing report export.

[0013] Furthermore, the visual imaging unit is equipped with a protective shell, which has a structure that is resistant to cutting fluid and dust, making it suitable for harsh working conditions of machine tools.

[0014] Furthermore, the vision imaging unit is equipped with a protective shell, featuring a structure that protects against cutting fluid and dust, making it suitable for harsh machine tool operating conditions.

[0015] The present invention has the following beneficial effects 1. It realizes an integrated process of visual inspection, pose calculation, multi-source error modeling and CNC closed-loop compensation. It not only compensates for the initial clamping offset, but also integrates dynamic errors of thermal deformation and cutting vibration. The compensation dimensions are comprehensive, which effectively improves the dimensional accuracy of mold blank machining and the first pass rate.

[0016] 2. It has an adaptive feature matching mechanism, and the positioning features of the mold blank can be automatically switched. It is compatible with mold blanks of different shapes, specifications and varieties, and is suitable for flexible production of small and medium batches.

[0017] 3. The entire system is based on the modification of existing ordinary machining centers, without the need to replace high-end machine tools. The functions are realized by adding vision and sensing modules and software algorithms, resulting in low modification costs. One-click automated positioning compensation reduces the reliance on the experience of skilled operators.

[0018] 4. Image preprocessing and camera protection structure are adapted to harsh working conditions such as cutting fluid, dust, and light fluctuations on machine tool sites, ensuring long-term measurement stability in industrial sites; the compensation process does not modify the original code, and the compensation offset is automatically cleared after processing, with minimal intrusion on the original processing technology, making it easy for enterprises to implement. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the process of the present invention; Figure 2 This is a schematic diagram of the system framework of the present invention. Detailed Implementation

[0020] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0021] In the description of this invention, it should be understood that if terms such as "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, they are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0022] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. They can refer to a mechanical connection or an electrical connection. They can refer to a direct connection or an indirect connection through an intermediate medium, and they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in this invention can be understood according to the specific circumstances.

[0023] like Figure 1As shown, a machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks includes the following steps: S1: System Calibration and Feature Library Construction; Complete the joint calibration of the binocular vision camera and the machining center machine tool coordinate system, establishing the mapping relationship between the image pixel coordinate system, camera coordinate system, and machine tool world coordinate system; collect sample images of reference surfaces, positioning holes, and cavity contours of mold blanks of different specifications, and construct a multi-specification feature template library for mold blanks. The template library stores the reference feature geometric parameters and allowable error thresholds for each model of mold blank. Specifically, this includes camera intrinsic parameter calibration, binocular stereo calibration, and hand-eye calibration, achieving accurate conversion of visual measurement data to the machine tool machining coordinate system, providing a coordinate reference for subsequent pose calculation and error resolution. Simultaneously, collect standard sample images of reference surfaces, positioning holes, and cavity contours of mold blanks of different specifications and models available on the market. Through image filtering, feature annotation, and parameter extraction, construct a standardized mold blank feature template library. The feature template library stores data such as the reference feature geometric parameters, feature standard dimensions, and allowable error thresholds for each specification and model of mold blank, providing a standard basis for subsequent mold blank feature matching and error judgment. S2: Multi-feature visual recognition and adaptive feature matching of the mold blank; After the tooling of the mold blank is fixed, an industrial camera installed in the machining center acquires real-time images of the mold blank during on-site processing. First, the acquired on-site images undergo preprocessing operations, including image grayscale conversion, filtering and noise reduction, and illumination equalization, effectively eliminating image interference caused by uneven lighting, dust, and slight cutting fluid obstruction in the machine tool processing environment, thereby improving image quality and feature recognition accuracy.

[0024] After preprocessing, edge detection, contour matching algorithms, and a lightweight deep learning model are integrated to accurately identify three core positioning features of the mold blank: the reference surface, positioning holes, and cavities. Based on the model of the mold blank to be processed, the system automatically retrieves data from the feature template library, adaptively matches the optimal combination of positioning features, and finally outputs a precise set of feature pixel coordinates.

[0025] This step features intelligent adaptive switching logic to adapt to complex machining conditions: when the positioning hole of the mold blank is obscured by the tooling fixture and cannot be identified, the system automatically discards the positioning hole feature and switches to the reference surface contour as the core positioning feature; when the reference surface of the mold blank is worn after long-term use and the feature deviation exceeds the threshold, the system automatically switches the cavity edge contour as the positioning feature, ensuring that effective positioning and identification can be completed under any working condition, avoiding the positioning failure problem caused by the failure of a single feature.

[0026] S3: Calculate the 3D pose of the mold blank and obtain the initial clamping error. Based on the binocular stereo imaging results of the binocular vision camera, perform 3D stereo reconstruction on the core features of the mold blank identified and matched in step S2 to restore the actual spatial position and orientation of the mold blank in the machine tool coordinate system. By comparing the standard installation pose parameters of the mold blank, accurately calculate the three-axis translational offsets X, Y, and Z of the mold blank relative to the machine tool coordinate system, as well as the three-axis rotational deflections Rx, Ry, and Rz. Integrate all offset and deflection angle data to obtain the initial clamping and positioning error of the mold blank before processing, providing basic error data for subsequent error modeling and compensation.

[0027] S4: Multi-source machining error signal acquisition and error fusion modeling; three types of signals are acquired simultaneously during machining: the change in the feature position of the mold blank measured in real time by machine vision to obtain the clamping and positioning error; the spindle speed, feed, and cutting load signals fed back by the machine tool CNC system to obtain the cutting vibration dynamic error; and the temperature field data collected by temperature sensors placed on the mold blank and the machine tool worktable to obtain the thermal deformation error; the clamping and positioning error, thermal deformation error, and cutting vibration dynamic error are input into the pre-built multi-source error fusion prediction model, and the comprehensive compensation amount is output.

[0028] By pre-constructing a multi-source error fusion prediction machine learning model, the model training phase collects a large amount of historical sample data of mold blank processing, using clamping offset, worktable temperature gradient, and machine tool cutting load as model input samples, and actual processing size deviation as output samples, to complete model iterative training and parameter optimization, ensuring the model's prediction accuracy and universality.

[0029] During the machining process, the clamping and positioning data obtained by visual measurement, the temperature field data collected by the temperature sensor, and the real-time operating parameters of the machine tool spindle, feed, and cutting load are input into the trained multi-source error fusion prediction model. The model outputs the comprehensive machining compensation amount in real time through multi-dimensional error coupling calculation, thereby achieving accurate prediction of multi-source coupling errors.

[0030] S5: CNC closed-loop error compensation execution; the system sends the real-time comprehensive compensation amount obtained in step S4 to the CNC system of the machining center in real time through the machine tool's external offset compensation interface. This invention eliminates the need to modify the original machining G-code or adjust machining process parameters. It directly corrects the real-time offset of the machine tool's machining coordinates by rewriting the machine tool offset parameters or workpiece coordinate system offset parameters, achieving simultaneous automatic compensation for positioning errors, thermal deformation errors, and cutting vibration dynamic errors in one go. The machine tool then executes the preset machining process. Simultaneously, the system has an automatic parameter reset function. After a batch of mold blanks is machined, the machine tool compensation offset parameters are automatically cleared to prevent the accumulation of compensation parameters from affecting subsequent machining and to ensure machining stability.

[0031] S6: Iterative Detection and Compensation; Throughout the entire machining process of the mold blank, the system repeats all steps from S2 to S5 according to a preset time cycle, continuously collects real-time images of the mold blank, temperature sensor signals, and machine tool operation signals, dynamically monitors error changes during the machining process, iteratively updates the comprehensive compensation amount, realizes real-time closed-loop dynamic compensation for the entire machining process, and continuously corrects various errors accumulated during the machining process until all machining processes of the mold blank are completed.

[0032] Furthermore, after all the mold blanks have been processed, the system automatically generates and outputs a processing quality report, recording core information such as compensation data, real-time error data, and actual processing dimensions of the mold blanks throughout the entire processing process. At the same time, based on the actual feature data and error data of this processing, the feature template library is updated iteratively to continuously optimize the model accuracy and feature matching adaptability, thereby achieving continuous optimization of the processing technology.

[0033] like Figure 2 As shown, a machine vision-based intelligent positioning and multi-source error closed-loop compensation system for mold blanks includes: The vision imaging unit, comprising a binocular industrial camera and a matching light source assembly, is fixedly installed in a dedicated mounting station inside the machining center, eliminating machining interference. It is used to acquire high-definition images of the mold blank surface in real time, providing image data support for feature recognition, 3D reconstruction, and pose calculation. The vision imaging unit is externally equipped with a dedicated protective shell, featuring protection against cutting fluid spray, dust, and metal chips. This effectively isolates it from dust, cutting fluid, and mechanical impact interference during machine tool processing, adapting to the long-term harsh machining conditions of the machine tool and improving equipment lifespan and imaging stability.

[0034] The sensing and acquisition unit includes temperature sensors and a machine tool signal acquisition module. Multiple temperature sensors are evenly distributed on the mold blank machining worktable and key temperature measurement points of the mold blank to collect temperature field distribution data and temperature gradient change data in real time during the machining process. The machine tool signal acquisition module establishes real-time communication with the CNC system of the machining center to read the machine tool spindle speed, feed rate, cutting load, spindle vibration and other operating data in real time, so as to realize the comprehensive acquisition of cutting vibration dynamic error and thermal deformation error related signals.

[0035] Industrial control processing unit: It is responsible for receiving image data from the vision imaging unit, temperature data from the sensor acquisition unit, and machine tool operation data in real time. It centrally completes all calculations such as image preprocessing, mold feature recognition, feature adaptive matching, mold 3D pose calculation, multi-source error calculation, fusion model inference, and comprehensive compensation output, providing accurate data support and control commands for error compensation.

[0036] CNC Interaction Unit: Establishes a high-speed real-time communication link with the CNC system of the machining center, receives the comprehensive compensation amount output by the industrial control processing unit, and writes the compensation parameters into the CNC system in real time through the machine tool external offset compensation interface to realize the automatic correction of the workpiece coordinate system and tool offset parameters, and completes closed-loop error compensation control.

[0037] The vision imaging unit, sensor acquisition unit, and numerical control interaction unit are connected to the industrial control processing unit, and can be connected wirelessly or wiredly.

[0038] The system also includes a human-machine interface module connected to the industrial control processing unit, integrated into the system control terminal. It is equipped with a physical button for one-click positioning compensation triggering and a touch operation interface, supporting manual quick start of the positioning and compensation process. It also has management functions such as mold blank model input, adding, modifying and deleting feature templates, and supports online viewing of real-time compensation parameters and error data. It can also export processing quality reports with one click, taking into account both automated operation and manual intervention debugging needs, and is highly convenient to operate.

[0039] It should be noted that the above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. However, any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks, characterized in that, Includes the following steps: S1: System calibration and feature library construction; complete the joint calibration of the binocular vision camera and machine tool coordinate system, and establish the mapping relationship between the image pixel coordinate system, camera coordinate system and machine tool world coordinate system; collect sample images of the reference surface, positioning hole and cavity contour of mold blanks of different specifications, and construct the feature template library of mold blanks. The feature template library stores the reference feature geometric parameters and allowable error thresholds of mold blanks of different specifications. S2: Multi-feature visual recognition and adaptive feature matching of mold blanks; After the mold blank is clamped, an industrial camera captures images of the mold blank on site; the images are preprocessed; edge detection, contour matching, and a lightweight deep learning model are used to identify the mold blank's reference surface, positioning holes, and cavity features; based on the current mold blank model, the optimal combination of positioning features is automatically matched from the feature template library, and a set of feature pixel coordinates is output. S3: Calculate the three-dimensional pose of the mold blank and obtain the initial clamping error; Based on the binocular vision imaging results, perform three-dimensional reconstruction on the identified features, calculate the translational offset X / Y / Z and rotational deflection angle Rx / Ry / Rz of the mold blank relative to the machine tool coordinate system, and obtain the initial clamping and positioning error of the mold blank. S4: Multi-source error fusion modeling; three types of signals are collected simultaneously during the machining process: clamping and positioning error, cutting vibration dynamic error and thermal deformation error. The clamping and positioning error, thermal deformation error and cutting vibration dynamic error are input into the pre-built multi-source error fusion prediction model, and the comprehensive compensation amount is output. S5: CNC closed-loop error compensation execution; The comprehensive compensation amount is sent to the CNC system of the machining center in real time to correct the offset of the machine tool coordinates, complete the automatic compensation of positioning error, thermal deformation error and cutting vibration dynamic error, and execute the machining process; S6: Iterative detection and compensation; the processing procedure repeats steps S2-S5 according to the set cycle, continuously collecting images and sensor signals, iteratively updating the compensation amount, until all mold blank processing steps are completed.

2. The machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks according to claim 1, characterized in that, The system calibration in step S1 includes camera intrinsic parameter calibration, binocular stereo calibration, and hand-eye calibration, realizing the conversion from the visual measurement coordinate system to the machine tool coordinate system; image preprocessing includes grayscale conversion, filtering and noise reduction, and illumination equalization.

3. The machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks according to claim 1, characterized in that, The adaptive matching logic in step S2 is as follows: when the positioning hole of the mold blank is blocked by the tooling, the reference surface contour is automatically switched to be used as the positioning feature; when the reference surface is worn, the cavity edge contour is automatically switched to be used as the positioning feature.

4. The machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks according to claim 1, characterized in that, The multi-source error fusion modeling in step S4 involves collecting multiple sets of historical sample data. The sample inputs include clamping offset, temperature gradient, and cutting load, while the sample output is the actual machining dimension deviation. An error prediction model is obtained through machine learning training. The model inputs visual measurement data, temperature sensing data, and machine tool operating parameters, and outputs a comprehensive compensation amount.

5. The machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks according to claim 1, characterized in that, In step S5, the comprehensive compensation amount is issued using the machine tool external offset compensation interface. Without modifying the original machining code, the machine tool offset / workpiece coordinate system offset parameters are directly written, and the compensation offset parameters are automatically cleared after machining is completed.

6. The machine vision-based intelligent positioning and multi-source error closed-loop compensation method for mold blanks according to claim 1, characterized in that: After processing is completed, a processing quality report is output, recording each compensation data and actual processing dimensions, and the feature template library is updated synchronously.

7. A machine vision-based intelligent positioning and multi-source error closed-loop compensation system for mold blanks, used to implement the method described in any one of claims 1-6, characterized in that, include: Visual imaging unit: including binocular industrial camera and light source assembly, installed on machining center machine tool, used to acquire images of mold blank surface; The sensing and acquisition unit includes a temperature sensor and a machine tool signal acquisition module. The temperature sensor is arranged on the worktable of the mold blank to collect temperature field data; the machine tool signal acquisition module reads the operating data of the CNC system spindle, feed, and cutting load. Industrial control processing unit: used to receive images and sensor signals, complete feature recognition, pose calculation, error calculation, and output comprehensive compensation amount; CNC Interaction Unit: Establishes communication with the CNC system of the machining center, sends the comprehensive compensation amount to the CNC system, and realizes automatic correction of workpiece coordinate system offset; The visual imaging unit, the sensor acquisition unit, and the numerical control interaction unit are respectively connected to the industrial control processing unit.

8. The system according to claim 7, characterized in that, The system also includes a human-computer interaction module, which is equipped with a one-click positioning compensation trigger button and supports mold base model input, template library management, compensation parameter viewing, and processing report export.

9. The system according to claim 7, characterized in that, The visual imaging unit is equipped with a protective shell and has a structure that is resistant to cutting fluid and dust.