DIGITAL TWIN CONTROL SYSTEM FOR PRODUCT PROCESSING QUALITY

20250276421 ยท 2025-09-04

    Inventors

    Cpc classification

    International classification

    Abstract

    The present invention belongs to the field of quality control of processed products, and discloses a digital twin control system for product processing quality. The digital twin control system establishes a real-time interactive digital twin system completely matched with an actual processing system according to the working principle of a CNC (Computer Numerical Control) system and the control strategy of a feedback loop of each moving part of the machine tool, extracts real-time following errors of each moving part of the machine tool during processing under different load fluctuations with respect to control needs for product processing quality, and establishes a dynamic digital twin control system for product processing quality through point-to-point real-time mapping, so as to achieve real-time monitoring of product quality. Processing parameters under stable following errors can be obtained based on the established digital twin control system to achieve real-time control of product processing quality.

    Claims

    1. A digital twin control system for product processing quality, comprising the following steps: step 1: constructing the digital twin control system for product processing quality with product quality as a control objective, considering that during actual processing, workpiece material interferes with a grinding wheel tool system to cause material deformation and final material removal, constructing the digital twin control system based on a control principle of moving part of a machine tool, comprising physical entities, digital twin data, virtual entities, services and links between components, with the physical entities being the moving entities of a CNC (Computer Numerical Control) grinding machine, and accordingly constructing the digital twin control system for product quality; analyzing the physical entities of the corresponding moving parts of a grinding wheel and a workpiece, and connecting the grinding wheel with a machine tool guide rail through a grinding spindle in the CNC grinding machine to form a subsystem connected by grinding wheelgrinding spindleX-axis of CNC machine tool; connecting the workpiece with the machine tool guide rail through a workpiece spindle or C-axis to form a subsystem connected by workpieceworkpiece spindle/C-axisZ-axis of CNC machine tool; and connecting the above two subsystems together through a machine tool body, distributing in a CNC machine tool coordinate system, moving in a CNC system of the machine tool through an instruction signal and achieving material removal to form the physical entities of the CNC grinding machine accordingly; implementing mapping when the virtual entities are the physical entities; considering that the physical entities of the CNC grinding machine move in the CNC system of the machine tool through the instruction signal: sending, by the CNC grinding machine, the processing requirements of a product to the moving parts of the machine tool in the form of NC codes; sending a control instruction signal by the moving parts of the machine tool according to the processing requirements; converting, by a corresponding servo driver, the control instruction signal into a power signal of the corresponding moving part of the machine tool and driving the corresponding moving part of the machine tool to move; after the moving part of the machine tool moves, recording the real-time position of the moving part of the machine tool through a grating ruler and comparing with the control instruction signal of a servo controller, with a difference therebetween being a corresponding moving error; sending the moving error as a feedback signal to an IPC (Industrial Personal Computer) of the CNC grinding machine; adopting a corresponding PID (Proportional Integral Derivative) control strategy by the IPC of the CNC grinding machine according to the corresponding feedback signal; sending a corresponding control instruction signal to the servo driver again and driving the corresponding moving part of the machine tool to move until the moving error corresponding to the feedback signal reaches the control accuracy of an algorithm; repeating the above control process by the digital twin control system to finally achieve the processing requirements of the corresponding product; creating the virtual entities completely corresponding to the physical entities accordingly, and achieving real-time monitoring and optimization of the physical entities through the digital twin data; the services comprise key information related to the entire digital twin control system and provide real-time update of status changes in the physical entities and the virtual entities; connection is a pipeline for transmitting the information between the physical entities and the virtual entities, and the physical entities provide real-time digital twin data for the virtual entities by using an information transmission technology; the digital twin data comprises data from machine tool entities, and status, performance and control data from moving status sensors of the machine tool; achieving, by the established digital twin control system, real-time interaction between the virtual entities and the physical entities in a grinding process through the digital twin data and interlinks, and conducting real-time simulation and timely optimization, to achieve the accurate control of product quality in the grinding process; step 2: acquiring real-time spatial data of the workpiece based on the digital twin control system with product quality as the control objective, achieving the precision processing of the workpiece by driving relative motion between the workpiece and the grinding wheel through a machine tool moving system; achieving the processing of a cylindrical surface in combination with the linear feed motion of the X-axis through the rotational motion of the workpiece and a grinding spindle; achieving the processing of a plane in combination with the linear feed motion of the Z-axis through the rotational motion of the workpiece and the grinding spindle; achieving the processing of a rotary symmetric surface in combination with the two-axis interpolation motion of the X-axis and the Z-axis through the rotational motion of the workpiece and the grinding spindle, and achieving the processing of a non-rotary symmetric complex surface through the three-axis interpolation motion of the X-axis, the Z-axis and the C-axis; extracting the theoretical coordinates of each processing point through the digital twin control system accordingly based on that the surface formation of a CNC grinding machine product is closely related to point-to-point contact points between a tool and the workpiece during processing, and forming the spatial data distribution of the workpiece during processing through coordinate transformation, as shown in formula (1); { X ( t ) = x actual ( t ) .Math. cos ( c a c t u a l ( t ) ) Y ( t ) = x actual ( t ) .Math. sin ( c a c t u a l ( t ) ) Z ( t ) = z a c t u a l ( t ) ( 1 ) where x.sub.actual, z.sub.actual, and c.sub.actual represent actual positions where XZC coordinates pass through in the machine tool coordinate system during grinding processing respectively, and X(t), Y(t), and Z(t) represent the spatial data distribution of workpiece coordinates respectively; step 3: calibrating parameters of the digital twin system during actual processing, a processing error is composed of two parts; one part is a processing principle error, and the other part is a dynamic error caused by a processing load, expressed as: Err = f ( V s , V w , V f , a p ) + g ( E X , E Z , E C , u ) + h ( F , E ) + j ( w ) ( 2 ) where represents the principle error of grinding processing, comprising a surface grinding mark caused by surface residual height resulting from grinding wheel speed V.sub.s, workpiece speed V.sub.w, feed rate V.sub. and grinding depth a.sub.p; g represents the principle error of machine tool motion, comprising the XZC guide rail accuracy E.sub.X, E.sub.Z and E.sub.C of the machine tool, and external interference u during processing; h represents elastoplastic deformation caused by the inherent characteristic E of the material under the action of a grinding force F, j represents elastic recovery, and w represents an influencing parameter of the degree of elastic recovery of the material; under an ideal status, the processing course is a stationary process; when a planar workpiece is processed, a tool-workpiece contact point is on an ideal trajectory, a processing surface is in a pure flat status, and an error value should be 0; if only the dynamic characteristics of the machine tool are considered, when the planar workpiece is processed, a grinding point of the machine tool fluctuates near the ideal trajectory, and the processing error value fluctuates near 0; when difficult-to-process material is processed, due to the difficulty in processing of the material, a large processing load is introduced during processing, causing great fluctuation of the tool-workpiece contact point of the machine tool near the ideal trajectory, and accordingly, the processing error is expressed as: Err = EX ( F , E , V s , V f , a p , u ) + E Z ( F , E , V w , a p , u ) + EC ( F , E , V w , u ) ( 3 ) where EX represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the feed rate V.sub., the grinding depth a.sub.p, and the external interference u on an X-axis error; EZ represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w, the grinding depth a.sub.p and the external interference u on a Z-axis error; EC represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w and the external interference u on a C-axis error; by calibrating the parameters of the digital twin control system, establishing a correlation of the processing loadoutput voltage; wherein when the moving part of the machine tool is in a balanced position, a position error and output power are approximately zero; during loading, the load on the moving part is increased, generating a forward load Fe+; at this time, the output power is less than an applied load, and the position Xe of the moving part deviates forwardly from an original instruction position; to ensure that the instruction position of the moving part is relatively stable, the output power of the moving part is continuously increased, and the motor power is increased rapidly and maintains new stable power output; after the motor power is increased to be consistent with the external load, the position Xe returns to the original instruction position; when the external load is removed, the load on the moving part is decreased; at this time, the output power of the motor is higher than that of the external load, and the position Xe of the moving part deviates reversely from the original instruction position; to ensure that the instruction position of the moving part is stable, the output power of the motor is decreased, and the power is decreased rapidly and maintains new stable power output; after the motor power is reduced to be consistent with the external load, the guide rail position Xe returns to the original instruction position; accordingly, determining a relationship of the load, the current of a guide rail motor and the position error of the guide rail through load calibration, and then, obtaining real-time load change during processing according to the real-time changes of the current of the guide rail motor and the position error of the guide rail during grinding processing; extracting a real-time position signal of the machine tool through the digital twin control system, and judging the processing status of a workpiece surface through the change conditions, under machine tool coordinates, of the position signals of the X-axis, the Z-axis and the C-axis under the machine tool coordinates, to obtain the processing quality of the workpiece: { x actual ( t ) = x instruction ( t ) + x p e ( t ) z actual ( t ) = z instruction ( t ) + z p e ( t ) c a c t u a l ( t ) = c instruction ( t ) + c p e ( t ) ( 4 ) where x.sub.actual, z.sub.actual and c.sub.actual represent the actual positions where the X, Z and C coordinates pass through under the machine tool coordinate system during grinding processing respectively; x.sub.instruction, z.sub.instruction and c.sub.instruction represent the instruction positions of the XZC coordinates in an NC program after discretized by the NC program of the machine tool respectively; and x.sub.pe, z.sub.pe and c.sub.pe represent the influences on three XZC coordinates during grinding processing respectively; accordingly, converting the real-time position signal of the machine tool into spatial coordinates: { X ( t ) = x actual ( t ) .Math. cos ( c a c t u a l ( t ) ) Y ( t ) = x actual ( t ) .Math. sin ( c a c t u a l ( t ) ) Z ( t ) = z a c t u a l ( t ) ( 5 ) accordingly, controlling the product processing quality in real time through the established digital twin control system; step 4: obtaining the real-time processing quality of the product through the digital twin control system achieving real-time monitoring and real-time control of the product processing quality according to the digital twin control system, then adjusting processing parameters in real time during processing, and changing the processing load to improve the product processing quality; in the digital twin control system, regarding a difference between a theoretical position and a real-time position as a result of deviation of actual coordinate values from instruction coordinate values under the dynamic characteristics of the machine tool, a grinding parameter and material responses during processing: { x p e ( t ) = X ( F , E , V s , V f , a p , u ) z p e ( t ) = Z ( F , E , V w , a p , u ) c p e ( t ) = C ( F , E , V w , u ) ( 6 ) where X(F, E, V.sub.s, V.sub., a.sub.p, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the feed speed V.sub., the grinding depth a.sub.p and the external interference u on the deviation of the actual coordinate values of the X-axis from instruction coordinates; Z(F, E, V.sub.w, a.sub.p, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w, the grinding depth a.sub.p and the external interference u on the Z-axis error; C(F, E, V.sub.w, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w and the external interference u on the C-axis error; extracting the error values of the moving parts of the machine tool respectively to obtain the error distribution results of product surface data: { X ( t ) = x p e ( t ) .Math. cos ( c p e ( t ) ) Y ( t ) = x p e ( t ) .Math. sin ( c p e ( t ) ) Z ( t ) = z p e ( t ) ( 7 ) accordingly, achieving real-time control of the product processing quality.

    Description

    DESCRIPTION OF DRAWINGS

    [0041] FIG. 1 is a flow chart for construction of a digital twin control system of the present invention and also a main technical solution diagram of the present invention.

    [0042] FIG. 2 shows main moving parts of a CNC machine tool in an embodiment of the present invention.

    [0043] FIG. 3 shows a processing course of an end surface workpiece product in an embodiment of the present invention.

    [0044] FIG. 4 shows a processing course of a cylindrical surface workpiece product in an embodiment of the present invention.

    [0045] FIG. 5 shows a moving path of a tool-workpiece contact point during product processing in an embodiment of the present invention.

    [0046] FIG. 6 is a corresponding distribution diagram of a tool-workpiece contact point during product processing in an embodiment of the present invention.

    [0047] FIG. 7 shows a point-to-point correlation between a product processing error and a processing load in a digital twin control system in an embodiment of the present invention.

    [0048] FIG. 8 shows real-time monitoring signals of a product surface morphology of a digital twin control system for the processing quality of a cylindrical surface workpiece in an embodiment of the present invention.

    [0049] FIG. 9 shows statuses of a processing site of a digital twin control system for the processing quality of a cylindrical surface workpiece at different moments in an embodiment of the present invention.

    [0050] FIG. 10 shows real-time control parameters for a product processing error based on a digital twin control system in an embodiment of the present invention.

    [0051] FIG. 11 shows the processing quality of a cylindrical surface product obtained through a digital twin control system in an embodiment of the present invention.

    [0052] FIG. 12 shows the measured results of surface type accuracy of a cylindrical surface obtained through a digital twin control system in an embodiment of the present invention.

    [0053] FIG. 13 shows the processing quality of an end surface product obtained through a digital twin control system in an embodiment of the present invention.

    [0054] FIG. 14 shows the measured results of surface type accuracy of an end surface obtained through a digital twin control system in an embodiment of the present invention.

    [0055] In the figures: 1 X-axis feed system; 2 workpiece spindle/C-axis; 3 workpiece; 4 grinding wheel; 5 grinding spindle; 6 Z-axis feed system; 7 processing contact point; 101 tool-workpiece contact point; 102 contact point moving process during processing; 103 tool-workpiece un-contact point; 201 first control parameter change point; 202 second control parameter change point.

    DETAILED DESCRIPTION

    [0056] Specific embodiments of the present invention are further described below in combination with the drawings and the technical solution.

    [0057] Because the CNC grinding machine adds the moving parts of the grinding spindle compared with a lathe, the CNC grinding machine is taken as an example for illustration here. It should be noted that the digital twin control system for product processing quality in the present invention is applicable to not only the grinding machine, but also the lathe.

    [0058] Specific embodiments of the present invention are described below in detail in combination with the technical solution and the drawings.

    [0059] Step 1: constructing the digital twin control system for product processing quality

    [0060] The digital twin control system is constructed as shown in FIG. 1 based on the control principle of the moving parts of the machine tool; the CNC grinding machine sends the processing requirements of a product to the moving parts in the form of NC codes; the moving parts send a control instruction signal according to the processing requirements; and a corresponding servo driver converts a control instruction into a power signal (current and voltage values) of the corresponding moving part and drives the corresponding moving part to move. After a moving system moves, the real-time position of the moving part is recorded through a grating ruler and compared with the control instruction signal of a controller, with a difference therebetween being a corresponding moving error; the moving error as a feedback signal is sent to an IPC; the IPC adopts an appropriate PID control strategy according to the corresponding feedback signal, sends a corresponding control instruction signal to the servo driver again and drives the corresponding moving part to move until the moving error corresponding to the feedback signal of the system reaches the control accuracy of an algorithm. The control system repeats the above control process to finally achieve the processing requirements of the corresponding product.

    [0061] The CNC grinding machine comprises two linear moving systems of an X-axis and a Z-axis and two rotational moving systems of a grinding spindle and a C-axis. The physical entities are the moving entities of the CNC grinding machine, and provide a mechanism and data basis for the digital twin model. The digital twin data is composed of the following real-time data: data from machine tool entities (such as position, vibration, workpiece material properties, geometric data, etc); and status, performance and control data from decision making control (such as machine tool displacement, speed, current and voltage data, process parameter data, etc.). Accordingly, the digital twin control system for product processing quality is constructed through the control signal of each moving system.

    [0062] By using information transmission technologies, the physical entities provide real-time processing data for virtual entities, collect relevant physical process information such as physics, heat, vibration, voltage, current, etc. during processing, and map a processing mechanism to the virtual entities. Meanwhile, real-time conditions monitored in the physical entities are transmitted to a service system, thereby guiding the real-time monitoring of a grinding status. The virtual entities are monitored by the service system and developed continuously along with the service system. During processing, in order to ensure the processing quality of the workpiece and reduce the corresponding control cost at the same time, each link in the operation process of the machine tool needs to be controlled reasonably.

    [0063] The existing control system of the CNC machine tool achieves the precision control of the moving systems through a closed-loop control strategy, which is a data-driven finite precision control method. When an actuating mechanism deviates due to changes in external conditions such as process parameters and processing material, the processing accuracy and the control stability of the product are directly affected. This is a semi-open-loop control strategy based on workpiece quality for machine tool operators. The present invention directly takes product quality as a control objective, fully considers the relationship of a tool-workpiece system in grinding and forms the digital twin control system for product quality.

    [0064] Main moving parts of the CNC grinding machine in the present embodiment comprise two linear feed systems of an X-axis and a Z-axis of a guide rail and two rotational systems of a grinding spindle and a C-axis. As shown in FIG. 2, the C-axis is installed on the Z-axis feed system, and the grinding spindle is installed on the X-axis linear feed system.

    [0065] Step 2: acquiring real-time spatial data of the workpiece based on the digital twin control system

    [0066] Machine tool accuracy mainly refers to the motion accuracy that can be achieved by the moving systems of the machine tool under a no-load status, but the machine tool accuracy may be changed under a load status. The moving systems have certain rigidity. A load acting on the moving system causes a large deviation between the real-time position of the moving system and an instruction position, thereby affecting the processing accuracy of the machine tools and reducing the processing quality of the products. The present invention takes product quality as a control objective. The processing course on an ultra-precision CNC grinding machine is shown in FIG. 3 and FIG. 4. The precision processing of the workpiece is achieved by driving relative motion between the workpiece and the grinding wheel through a machine tool moving system. The processing of a cylindrical surface is achieved in combination with the linear feed motion of the X-axis through the rotational motion of the workpiece and a grinding spindle; the processing of a plane is achieved in combination with the linear feed motion of the Z-axis through the rotational motion of the workpiece and the grinding spindle; and further, the processing of a rotary symmetric surface can be achieved in combination with the two-axis interpolation motion of the X-axis and the Z-axis through the rotational motion of the workpiece and the grinding spindle, and the processing of a non-rotary symmetric complex surface can be achieved through the three-axis interpolation motion of the X-axis, the Z-axis and the C-axis.

    [0067] The specific application of the digital twin control system for product processing quality in the present invention is shown in FIG. 5 and FIG. 6. The theoretical coordinates of each processing point are extracted through the digital twin control system accordingly based on that the surface formation of a CNC grinding machine product is closely related to point-to-point contact points between a tool and the workpiece during processing, and the spatial data distribution of the workpiece during processing is formed through coordinate transformation, as shown in formula 8.

    [00008] { X ( t ) = x actual ( t ) .Math. cos ( c a c t u a l ( t ) ) Y ( t ) = x actual ( t ) .Math. sin ( c a c t u a l ( t ) ) Z ( t ) = z a c t u a l ( t ) ( 8 )

    [0068] Where x.sub.actual, z.sub.actual, and c.sub.actual represent actual positions where XZC coordinates pass through in a machine tool coordinate system during grinding processing respectively, and X, Y and Z represent the spatial data distribution of workpiece coordinates respectively.

    [0069] A processing path is formed as shown in FIG. 5. It is noted that the processing paths are all based on theoretical contact points during the processing of digital twin dismissal products, as shown in FIG. 6.

    [0070] Step 3: calibrating parameters of the digital twin system

    [0071] During actual processing, a processing error is composed of two parts; one part is a processing principle error, such as accuracy of machine tool guide rails, external interferences during processing, etc.; and the other part is a dynamic error caused by a processing load, such as following error fluctuation caused by changes in dynamic loads of the moving parts of the machine tool, which can be expressed as:

    [00009] Err = f ( V s , V w , V f , a p ) + g ( E X , E Z , E C , u ) + h ( F , E ) + j ( w ) ( 9 )

    [0072] Where represents the principle error of grinding processing, such as a surface grinding mark, etc. caused by surface residual height resulting from grinding parameters (grinding wheel speed V.sub.s, workpiece speed V.sub.w, feed speed V.sub. and grinding depth a.sub.p, etc.); g represents the principle error of machine tool motion, such as XZC guide rail accuracy E.sub.X, E.sub.Z and E.sub.C of the machine tool, external interference u during processing, etc.; h represents elastoplastic deformation caused by the inherent characteristic E of the material under the action of a grinding force F, and j represents subsequent elastic recovery, where w represents an influencing parameter of the degree of elastic recovery of the material.

    [0073] Under an ideal status, the processing course is a stationary process; when a planar workpiece is processed, a tool-workpiece contact point is on an ideal trajectory, a processing surface should be in a pure flat status, and an error value should be 0; if only the dynamic characteristics of the machine tool are considered, when the planar workpiece is processed, a grinding point of the machine tool fluctuates near the ideal trajectory, and the processing error value should fluctuate near 0; when difficult-to-process material is processed, due to the difficulty in processing of the material, a large processing load is introduced during processing, causing great fluctuation of the tool-workpiece contact point of the machine tool near the ideal trajectory, and accordingly, the processing error can be expressed as:

    [00010] Err = EX ( F , E , V s , V f , a p , u ) + E Z ( F , E , V w , a p , u ) + EC ( F , E , V w , u ) ( 10 ) [0074] where EX represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the workpiece speed V.sub.w, the feed speed V.sub., the grinding depth a.sub.p, the external interference u, etc. on an X-axis error; EZ represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the workpiece speed V.sub.w, the feed speed V.sub., the grinding depth a.sub.p, the external interference u, etc. on a Z-axis error; EC represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the workpiece speed V.sub.w, the feed speed V.sub., the grinding depth a.sub.p, the external interference u, etc. on a C-axis error.

    [0075] By calibrating the parameters of the digital twin system, a correlation of the processing loadoutput voltage is established, as shown in FIG. 7. At 0 to t.sub.0, the moving part of the machine tool is in a balanced position, and a position error and output power are approximately zero. A constant load is applied at t.sub.0 and kept until t.sub.2. During loading, the load on the moving part of the machine tool is increased, generating Fe+; and at this time, the output power is less than the applied load, and the position Xe of the moving part deviates forwardly from an original instruction position. To ensure that the instruction position of the moving part is relatively stable, the output power of the moving part is continuously increased, and the motor power is increased rapidly and maintains new stable power output; after the motor power is increased to be consistent with the external load, the position Xe returns to the original instruction position; and until t.sub.1, the moving part reaches a new balanced position. The following error of the moving part during loading is denoted as Xe+, and the change amount of the processing load is denoted as Fe+.

    [0076] During the load holding time t.sub.1-t.sub.2, the moving part of the machine tool continues to maintain stable power output and relative stability of the instruction position at the balanced position. Until t.sub.2, the external load is removed, and the load on the moving part is decreased. At this time, the output power of the motor is higher than that of the external load, and the position Xe of the moving part deviates reversely from the original instruction position. To ensure that the instruction position of the moving part is stable, the output power of the motor is decreased, and the power is decreased rapidly and maintains new stable power output. After the motor power is reduced to be consistent with the external load, the guide rail position Xe returns to the original instruction position; and until t.sub.3, the moving part reaches the balanced position before loading. The following error of the moving part during unloading is denoted as Xe, and the change amount of the processing load is denoted as Fe.

    [0077] The above process is repeated to obtain the correlation between the following error and the processing load, as shown in the following formula:

    [00011] { P e = 2 3 . 4 7 9 F load - 1 7 . 2 8 9 R 2 = 0 . 9 8 1 8 ( 11 )

    [0078] A real-time position signal of the machine tool is extracted accordingly in combination with the digital twin control system, and the processing status of the workpiece surface can be judged through the change conditions, under the machine tool coordinates, of the position signals of the X-axis, the Z-axis and the C-axis under the machine tool coordinates, to obtain the processing quality of the workpiece:

    [00012] { x actual ( t ) = x instruction ( t ) + x p e ( t ) z actual ( t ) = z instruction ( t ) + z p e ( t ) c a c t u a l ( t ) = c instruction ( t ) + c p e ( t ) ( 12 ) [0079] where x.sub.instruction, z.sub.instruction and c.sub.instruction represent the instruction positions of the XZC coordinates in an NC program after discretized by the NC program of the machine tool respectively; x.sub.actual, z.sub.actual and c.sub.actual represent the actual positions where the XZC coordinates pass through under the machine tool coordinate system during grinding processing respectively; and differences x.sub.pe, z.sub.pe and c.sub.pe therebetween represent the influences on three XZC coordinates during grinding processing respectively.

    [0080] Accordingly, the real-time position signal of the machine tool can be converted into spatial coordinates.

    [00013] { X ( t ) = x actual ( t ) .Math. cos ( c a c t u a l ( t ) ) Y ( t ) = x actual ( t ) .Math. sin ( c a c t u a l ( t ) ) Z ( t ) = z a c t u a l ( t ) ( 13 )

    [0081] Accordingly, the product processing quality can be controlled in real time through the established digital twin control system.

    [0082] Step 4: obtaining the real-time processing quality of the product through the digital twin control system

    [0083] Real-time monitoring of the product processing quality can be achieved according to the digital twin control system established in the present invention, with cylindrical surface processing as an example, as shown in FIG. 8 and FIG. 9. The digital twin system established by the present invention can not only accurately identify the start and end moments of workpiece processing, as shown by moments 101, 102 and 103 in the figure, but also correspond to the processing stages in reality.

    [0084] The digital twin control system established according to the present invention can also achieve real-time controllability of the processing load of the product, with cylindrical surface processing as an example, as shown in FIG. 10. When the processing parameter V.sub.w is changed to 10 mm/min, 5 mm/min and 2 mm/min respectively, the corresponding average processing loads are 28 N, 22 N and 13 N respectively. According to formula 11, the error values of the processing course can be calculated as 640 nm, 499 nm and 288 nm respectively. The processing parameter can be adjusted in real time during processing, and the processing load can be changed, thereby improving the processing quality of the product.

    [0085] In the digital twin control system established in the present invention, a difference between a theoretical position and a real-time position can be regarded as a result of deviation of actual coordinate values from instruction coordinate values under the dynamic characteristics of the machine tool, a grinding parameter and material responses during processing:

    [00014] { x p e ( t ) = X ( F , E , V s , V f , a p , u ) z p e ( t ) = Z ( F , E , V w , a p , u ) c p e ( t ) = C ( F , E , V w , u ) ( 14 ) [0086] where X(F, E, V.sub.s, V.sub.f, a.sub.p, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the grinding wheel speed V.sub.s, the feed speed V.sub., the grinding depth a.sub.p and the external interference u on the deviation of the actual coordinate values of the X-axis from instruction coordinates; Z(F, E, V.sub.w, a.sub.p, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w, the grinding depth a.sub.p and the external interference u on the Z-axis error; C(F, E, V.sub.w, u) represents the influence of the grinding force F, the inherent characteristic E of the material, the workpiece speed V.sub.w and the external interference u on the C-axis error;

    [0087] The error values of the moving parts of the machine tool are extracted respectively to obtain the error distribution results of product surface data:

    [00015] { X ( t ) = x p e ( t ) .Math. cos ( c p e ( t ) ) Y ( t ) = x p e ( t ) .Math. sin ( c p e ( t ) ) Z ( t ) = z p e ( t ) ( 15 )

    [0088] As shown in FIGS. 11-14, FIG. 11 shows the processing quality of a cylindrical surface product obtained through the digital twin control system; FIG. 12 shows the measured results of the surface type accuracy of the cylindrical surface; FIG. 13 shows the processing quality of an end surface product obtained through the digital twin control system, with a processing error of about 1.8 m; and FIG. 14 shows the measured results of the surface type accuracy of the end surface, with the measured cylindricity being 1.4 m. Accordingly, real-time control of the product processing quality can be achieved.

    [0089] It should be noted that the processing of the cylindrical surface is achieved in combination with the linear feed motion of the X-axis through the rotational motion of the workpiece and the grinding spindle; the processing of the plane is achieved in combination with the linear feed motion of the Z-axis through the rotational motion of the workpiece and the grinding spindle; further, the processing of the rotary symmetric surface can be achieved in combination with the two-axis interpolation motion of the X-axis and the Z-axis through the rotational motion of the workpiece and the grinding spindle, and the processing of the non-rotary symmetric complex surface can be achieved through the three-axis interpolation motion of the X-axis, the Z-axis and the C-axis. Therefore, the present invention can achieve the control of the processing quality of workpieces with any shape without any additional sensors.