A roll-to-roll grating ruler based on femtosecond laser and ai prediction compensation, manufacturing system and method
By using a ytterbium-doped femtosecond laser and AI prediction compensation technology, combined with a composite scanning device and a dual-layer AI network, the accuracy and noise problems of flexible long grating rulers in roll-to-roll manufacturing have been solved, achieving efficient and precise grating ruler manufacturing.
Patent Information
- Application Number
- CN202611295500.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-11-27
Smart Images

Figure CN123175138A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of precision measurement and laser micromachining technology, specifically relating to a roll-to-roll grating ruler, manufacturing system and method based on femtosecond laser and AI prediction compensation. Background Technology
[0002] As a core position sensor in CNC machine tools and precision measuring equipment, the grating ruler's scale accuracy directly determines the positioning accuracy of the entire system. Traditional grating ruler manufacturing methods include mechanical scribing, photolithography, and laser marking. Among these, laser marking has attracted attention due to its non-contact nature and high flexibility. For example, patent CN1314511C discloses a method for manufacturing measuring scales using an ultrashort pulse laser (Ti:sapphire laser) to ablate stainless steel strip. By controlling the laser flux and displacement feedback, the thermal impact is reduced to some extent. However, existing technologies still have the following shortcomings: the Ti:sapphire laser has a low repetition frequency, limiting its production efficiency; when using galvanometer scanning for multi-line splicing, the edge energy of the traditional Gaussian beam is weaker than the center, resulting in obvious seam marks at the bottom of the grooves, affecting optical readings; traditional feedback control cannot compensate for the inertial delay and periodic disturbances of the mechanical system (such as roller eccentricity and gear backlash), which is a post-hoc compensation; tension and slippage in roll-to-roll transport affect the geometric stability of the substrate, thus causing nonlinear changes in the grating pitch. To address the aforementioned issues, this invention proposes a novel manufacturing solution for grating rulers that combines femtosecond infrared laser cold processing, real-time tension prediction control, and AI timing error feedforward compensation.
[0003] As a core position sensor in CNC machine tools, semiconductor integrated circuit manufacturing equipment, and precision measuring instruments, the geometric accuracy of the grating pitch of the optical encoder directly determines the positioning accuracy of the entire motion control system. With the increasing demand from industry for ultra-long (meter-level and above) and flexible long optical encoders, how to efficiently and accurately manufacture microstructures with uniform grating pitch on the surface of flexible metal strips with large aspect ratios has become a key issue in the field of precision machining.
[0004] Traditional methods for manufacturing metal grating rulers mainly include mechanical scribing, semiconductor lithography, and traditional laser marking. Mechanical scribing is prone to physical wear of the scribing tools, making it difficult to ensure the consistency of grooves when scribing long continuous lines, and it is also extremely inefficient. Although semiconductor lithography technology has high precision, its process is extremely complicated, the equipment cost is high, and it is limited by the size of the mask and the single exposure field (shot size), making it impossible to achieve continuous seamless processing of flexible strips on the order of hundreds of meters. Traditional laser marking uses long-pulse (nanosecond or microsecond level) lasers, resulting in a large lattice thermal diffusion length on the surface of the strip. During the processing, there is severe melting, slag formation, sputtering, and recasting layers, which leads to rough scale edges, an excessively large heat-affected zone (HAZ), and thin strips are prone to thermal warping and microscopic tensile deformation.
[0005] In recent years, ultrashort pulse lasers (such as picosecond and femtosecond lasers) have demonstrated certain advantages in reducing thermal damage due to their ultrafast and ultra-intense characteristics and their "cold processing" mechanism. For example, patent CN1314511C discloses a method for manufacturing measuring scales by ablating stainless steel strip using an ultrashort pulse laser (Ti:sapphire laser), which reduces thermal impact by controlling laser flux and displacement feedback. However, when it comes to large-scale, ultra-high precision roll-to-roll continuous online manufacturing, existing technologies still face the following insurmountable bottlenecks: 1. The contradiction between laser source efficiency and material morphology control: The repetition rate of traditional Ti:sapphire lasers is usually low (only in the kHz range), which greatly limits the efficiency of long-scale production and processing. When high-repetition-rate industrial-grade lasers (such as hundreds of kHz to MHz range) are introduced in conjunction with traditional galvanometer scanning systems, the Gaussian distribution of the traditional laser beam results in edge energy below the ablation threshold. When splicing large areas of multiple rows or bands, obvious "W-shaped" seam marks will appear at the bottom of the groove in the overlapping area. At the same time, the ordinary focusing spot causes the sidewall tilt angle to be gentle, which reduces the specular reflectivity within the final scale line. The reflectivity contrast between the scale marks and the unmarked areas is insufficient, which can easily cause high-frequency noise in the optical readout head.
[0006] 2. The contradiction between the motion inertia of the scanning system and ultra-high-speed tracking: Traditional high-precision marking relies on the deflection and translation of mechanical galvanometers or servo stages. In roll-to-roll continuous flight marking, due to the inherent mechanical gravity inertia, inductive response hysteresis, and commutation deceleration delay of the galvanometer motor and stage, the system cannot respond in real time to microsecond-level dynamic position jitter. Although acousto-optic deflectors (AODs) can achieve inertia-free rapid beam deflection within microseconds, the physical deflection angle of AODs is extremely small (usually on the order of tens of millirads), resulting in an extremely limited actual scanning area after focusing (usually less than 10 mm), which cannot meet the requirements of wide-area, long-scale cross-line stitching or long-stroke flight marking. In addition, at ultra-high repetition frequencies, phase overlap distortion caused by acoustic transit time exists inside the AOD crystal, causing severe defocusing of the laser beam at the focal plane.
[0007] 3. The contradiction between the hysteresis of traditional feedback control and time-varying nonlinear disturbances: Existing position feedback control systems (such as conventional PID speed loops or position closed loops) are typical "posterior compensation" mechanisms. The system must first detect the pitch error through sensors before the controller can issue an adjustment command. However, roll-to-roll conveyor mechanisms contain a large number of periodic and nonlinear disturbances (such as roller machining eccentricity, gear backlash, motor torque pulsation, and dynamic slippage caused by uneven substrate material). By the time the sensor detects the error, the next marking position has already shifted due to the inertial delay of the mechanical system. This time hysteresis in control causes the pitch error to diverge nonlinearly, and the overall pitch accuracy is usually difficult to exceed the physical upper limit of ±3μm / m.
[0008] 4. Nonlinear Geometric Deformation of the Substrate Due to Strip Tension Fluctuations: During roll-to-roll (R2R) conveying, flexible thin strips are highly susceptible to fluctuations caused by changes in the tension of the unwinding and rewinding motors. Even minute tension fluctuations (greater than ±1.0N) can cause microscopic elastic stretching or severe mechanical vibration in extremely thin stainless steel strips (e.g., 0.1mm~0.5mm). At the moment of laser ablation, the release of residual stress and geometric deformation within the substrate is directly solidified in the grating pitch of the grating ruler, leading to cumulative nonlinear deviations across the entire length of the grating.
[0009] To address the technical challenges in existing technologies, such as low processing accuracy, severe splicing marks, and high reading noise in flexible long grating rulers due to "high-frequency AOD acoustic defocus, large inertial hysteresis in mechanical scanning, a posteriori hysteresis in feedback control, and excessive tension dynamic coupling," this invention proposes a novel technical solution that organically combines femtosecond laser cold processing, acousto-optic-galvanometer coarse and fine composite scanning, LFM acoustic field stabilization technology, and AI tension and temporal position "dual feedforward compensation." Summary of the Invention
[0010] The technical objective of this invention is to provide a roll-to-roll grating ruler, manufacturing system, and method based on femtosecond laser and AI prediction compensation, which solves the technical problems of low processing accuracy, severe splicing marks, and high reading noise in flexible long grating rulers.
[0011] To achieve the above-mentioned technical objectives, the technical solution adopted by the present invention is as follows: A roll-to-roll grating ruler manufacturing system based on femtosecond laser and AI predictive compensation includes: A roll-to-roll conveyor for continuously conveying flexible metal substrates along the longitudinal direction; The tension control unit includes a precision tension sensor and a data acquisition card installed before and after the laser marking station. The data acquisition card collects tension data in real time and transmits it to the controller. The controller outputs a tension adjustment signal based on a first AI prediction model. Ytterbium-doped femtosecond lasers are used to generate ultrashort laser pulses with a working wavelength of 1030nm±5nm and a pulse width of less than 800fs. The composite scanning device, along the optical path direction, comprises: A DOE flat-top light shaping element is used to shape the ultrashort laser pulse into a uniform flat-top light spot; AOD (Acousto-optical deflector) is used to control the high-frequency, inertia-free deflection of a light beam; and The galvanometer scanning module and the f-theta focusing lens are used to achieve large-stroke lateral cross-line stitching or longitudinal coarse positioning. The composite scanning device and the roll-to-roll conveying device work together to achieve flight marking: during the continuous movement of the substrate, the controller controls the galvanometer scanning module to perform large-stroke coordinated movement according to the real-time position of the substrate, and at the same time controls the AOD acousto-optic deflector to perform high-frequency dynamic fine-following deflection, so that the ablation point falls precisely on the theoretical marking position of the substrate. A displacement measuring device is used to detect the actual displacement of the substrate grating in real time and generate grating pitch error data. The AI prediction and compensation module has a built-in trained second AI prediction model, which is used to receive the grid pitch error data, tension data and ambient temperature data, predict the system deviation at the future marker position and generate a position compensation signal. The controller is connected to the AI prediction and compensation module, and adjusts the deflection command of the AOD acousto-optic deflector or the pulse emission time of the ytterbium-doped femtosecond laser in real time according to the position compensation signal to achieve feedforward position compensation.
[0012] As a preferred embodiment, the ytterbium-doped femtosecond laser operates in pulse train mode, with each pulse train containing multiple sub-pulses, and the ytterbium-doped femtosecond laser has a pulse-on-demand (POD) function; the pulse energy flux of the flat-top spot at the substrate surface is 7 to 10 times the ablation threshold of the flexible metal substrate, and the energy uniformity of the flat-top spot is greater than 95%.
[0013] As a preferred embodiment, the radio frequency drive terminal of the AOD acousto-optic deflector is loaded with a linear frequency modulated (LFM) signal. The frequency change rate of the LFM signal is matched with the conveying speed of the roll-to-roll conveyor to eliminate defocus distortion caused by the acoustic transit time during the dynamic following process of the beam with the substrate.
[0014] As a preferred embodiment, the first AI prediction model is a tension feedforward prediction model based on radial basis function neural network (RBFNN). Its input end is connected to the two tension signals before and after the laser marking station and their difference value, and its output end outputs the predicted value of tension change within the next 5ms to 20ms. The tension control unit adjusts the torque of the winding or unwinding servo motor in advance according to the predicted value of tension change.
[0015] As a preferred option, the second AI prediction model is a Long Short-Term Memory Network (LSTM) or a Gated Recurrent Unit (GRU), and its training feature inputs include historical grating error sequences, historical tension sequences, and instantaneous ambient temperature data within a fixed time window.
[0016] As a preferred embodiment, the displacement measuring device includes a single-frequency laser interferometer and a high-resolution optical encoder. The physical measurement axis of the single-frequency laser interferometer is coplanar or collinear with the focal plane optical axis of the composite scanning system to eliminate Abbe error.
[0017] As a preferred embodiment, the cross-sectional geometry of the flat-top light spot is a rectangular light spot, with its major axis arranged along the transverse line width direction of the grating ruler and its minor axis arranged along the longitudinal continuous conveying direction; in the overlapping area of adjacent transverse scanning bands during cross-line splicing, the cumulative energy density at the overlapping part of the flat-top light spot is equal to the energy density of the non-overlapping part, so as to eliminate splicing marks.
[0018] Based on the above manufacturing system, the present invention also proposes a method for manufacturing a flexible grating ruler, comprising the following steps: (a) A flexible metal substrate is continuously conveyed through a roll-to-roll device, and instantaneous tension data is collected in real time using two precision tension sensors at the front and rear. (b) Input the instantaneous tension data into the first AI prediction model to predict the tension change trend in the future, and adjust the torque of the servo motor of the conveying device in advance to perform dynamic tension compensation and control the instantaneous tension fluctuation within ±0.2N; (c) An ultrashort pulse is generated using a ytterbium-doped femtosecond laser, which is then shaped into a rectangular flat-top spot by a DOE flat-top light and enters the AOD acousto-optic deflector and galvanometer scanning module; (d) During the continuous motion of the substrate, the controller calculates the coarse positioning command of the galvanometer and the high-frequency following deflection command of AOD in real time according to the nominal grid pitch, so that the laser ablation point always dynamically follows the theoretical mark position on the substrate, realizing the flight mark of multi-pulse superposition. (e) The grid pitch error of the ablated mark is collected in real time using a displacement measuring device, and the grid pitch error, synchronous tension data and ambient temperature data are used together as feature vectors and input into the second AI prediction model. (f) The second AI prediction model outputs the predicted position deviation of one or more future marker positions. The controller adjusts the radio frequency drive frequency of AOD or the emission delay of laser pulse in advance according to the predicted position deviation to achieve feedforward compensation of the marker position. (g) The galvanometer scanning module is offset laterally along the substrate to perform cross-line scanning, control the edge overlap rate of adjacent flat-top light spots, eliminate inter-line splicing traces, and repeat steps (d)-(f) to form a continuous precision grating scale on the flexible metal substrate.
[0019] As a preferred embodiment, in step (d), for the ablation of a single marker line, the ytterbium-doped femtosecond laser continuously triggers 4 to 10 pulses at the same marker position to accumulate energy, and the controller applies a continuously changing linear frequency modulation signal to the AOD acousto-optic deflector to synchronize the acousto-optic deflection speed with the substrate movement speed, thereby making the dynamic relative displacement deviation during the multi-point superimposed ablation process less than 0.1 μm.
[0020] Furthermore, this invention proposes a high-precision flexible metal grating ruler, which consists of a flexible stainless steel substrate and multiple microgroove graduation marks arrayed on the surface of the substrate; the microgroove graduation marks have a U-shaped cross-sectional morphology, with a groove bottom flatness better than 5nm, a heat-affected zone (HAZ) of less than 0.1μm at the edge of the microgroove and no molten recast layer; the overall grating pitch accuracy of the flexible metal grating ruler is better than ±1μm / m, and the optical reflectivity contrast between the interior of the microgroove of the graduation mark and the unmarked surface of the substrate is greater than 4:1.
[0021] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: (1) Perfect "cold processing" of femtosecond laser and control of U-shaped high-contrast micro-morphology are achieved, fundamentally eliminating the optical high-frequency noise of the reading head. This invention uses a ytterbium-doped femtosecond laser with a working wavelength of 1030nm and a pulse width strictly controlled below 800fs (preferably 250fs~400fs). Its pulse duration is much shorter than the lattice thermal conduction time of electron-phonon coupling inside the material. Before the laser energy diffuses to the surroundings, it directly causes photoionization and pure physical bond breaking on the stainless steel surface. Combined with DOE binary optical elements, the original Gaussian beam is shaped into a uniform rectangular flat-topped spot with an edge steepness of less than 5%, and high-flux ablation (7~10 times the ablation threshold) is maintained on the surface, so that the microgroove scale marks formed by the processing present an extremely regular rectangular or U-shaped cross section (e.g. Figure 3(b) shows that the sidewall inclination angle is greater than 85°, the flatness of the groove bottom is better than 5nm, and the edge of the microgroove is completely free of molten material splashing, slag, and recast layer, with a heat-affected zone (HAZ) span of less than 0.1μm. This atomically smooth groove bottom and steep edge allow the reading beam to undergo perfect directional scattering or specular reflection within the groove when it is incident, increasing the reflectivity contrast between the scale microgroove and the unprocessed surface to over 4:1. This completely solves the "W-shaped" distortion of the groove bottom caused by traditional Gaussian beam processing and the optical noise caused by the surrounding molten layer, greatly improving signal quality.
[0022] (2) A coarse-fine composite scanning architecture of "acoustic-optic AOD-mechanical galvanometer" was created and supplemented with LFM frequency modulation technology, overcoming the physical limitations of scanning area and acoustic defocus in large-area high-speed flying marking. This invention breaks the physical barrier that large stroke and high response cannot be achieved simultaneously in traditional scanning schemes. The galvanometer scanning module performs large-stroke lateral cross-line large jumps or longitudinal coarse positioning, while the AOD acousto-optic deflector with no mechanical inertia and a response time of less than 600ns performs micron-level dynamic flight tracking and microsecond-level position error correction. More importantly, this invention loads a linear frequency modulation (LFM) sweep signal that perfectly matches the substrate delivery speed at the AOD drive end, and constructs a constant acoustic prism gradient inside the acousto-optic crystal, cleverly solving the problem of nonlinear overlap of sound field caused by acoustic transit time at ultra-high repetition frequency. This design ensures that the movement speed of the deflection focus on the focal plane is completely synchronized with the movement of the stainless steel strip, achieving dynamic seamless overlap and cumulative ablation of 4-10 femtosecond pulses at the same marking position. It also eliminates laser defocusing distortion caused by the acoustic lensing effect. This results in a perfectly balanced edge energy overlap rate when adjacent transverse scanning strips are spliced across rows, with reflectivity changes of less than 3% at the cross-row seams. This truly achieves seamless splicing and ultra-efficient flying marking on large scanning areas (50mm-100mm).
[0023] (3) A dynamic tension prediction feedforward control based on RBF neural network was constructed, realizing the geometric high-dimensional physical stability of the flexible substrate under high-speed movement. Addressing the dynamic nonlinear tension disturbance caused by roller eccentricity and motor torque pulsation during high-speed conveying of roll-to-roll flexible metal strips, this invention abandons traditional a posteriori PID control and develops a first AI prediction model based on radial basis function neural network (RBFNN). By synchronously acquiring two instantaneous tension signals and their difference values before and after the marking station, this model can accurately predict the tension change trend of the system 20ms ahead and adjust the torque loop setpoint of the take-up / unwinding servo motor in advance. Under the condition that the substrate moves at a high speed of 50mm / s~100mm / s, the peak-to-peak value of the instantaneous tension fluctuation in the marking station was successfully reduced from ±1.2N under traditional PID control to within ±0.12N (the fluctuation amplitude was reduced by more than 87.5%). This fundamentally curbs the microscopic elastic stretching, creep, and physical jitter of the thin strip during laser ablation, ensuring the nonlinear reference stability of the substrate's geometric dimensions.
[0024] (4) An online incremental position feedforward compensation mechanism based on a dual-layer LSTM time-series network was established, which completely breaks through the physical lag of traditional position feedback control and enables the grating pitch accuracy of the full-length grating ruler to enter the ultra-precision level. This invention uses a single-frequency laser interferometer (Abbe error elimination layout) and a high-speed counting card to construct a microsecond-level spatiotemporal alignment data chain, and designs a second AI prediction model with a built-in dual-layer LSTM network. The model uses the historical grating pitch error, dynamic tension, and ambient temperature within a fixed time window as high-dimensional feature inputs. The first layer LSTM deeply captures the periodic long-term normal error caused by bearing / gear wear in the system, and the second layer LSTM quickly captures random thermal drift. In each marking cycle, the controller directly uses the future position prediction deviation output by the LSTM to fine-tune the radio frequency deflection angle or laser emission delay of the AOD in advance, realizing the "advanced cancellation" of system inertia, transmission backlash, and periodic disturbances. Combined with GPU online dynamic incremental training and updates (fine-tuning) that is automatically triggered every 10 meters of manufacturing length and takes less than 5 seconds, the system can perfectly adapt to the gradually changing environmental stress during the continuous manufacturing process. Implementation results show that, under the combined effect of the dual AI feedforward mechanisms, the standard deviation of the grating measurement drops sharply from 1.2μm to 0.12μm~0.28μm, the maximum local error is controlled within ±0.3μm~±0.6μm, and the overall grating accuracy of the flexible metal long grating ruler is consistently better than ±1μm / m (reaching ±0.5μm / m in the finest mode). This achieves automated, low-cost roll-to-roll continuous online manufacturing of ultra-large-scale, ultra-long-scale, and ultra-precision flexible grating rulers, demonstrating extremely high industrial practicality and commercial competitive advantage. Attached Figure Description
[0025] Figure 1This is a schematic diagram of the overall structure of the system of the present invention; Figure 2 Data flow and control signal diagram for the AI prediction and compensation module; Figure 3 A comparison image showing the stitching effect of flat-top light spot and Gaussian light spot; Figure 4 Pitch error curves under different parameters; The components are: 1-unwinding roll, 2-rewinding roll, 3-guide roll, 4-precision tension sensor, 5-data acquisition card, 6-industrial controller, 7-femtosecond laser, 8-DOE flat-top optical shaping module, 9-AOD acousto-optic deflector, 10-f-theta focusing lens, 11-scanning field, 12-substrate (stainless steel strip), 13-displacement measuring device (laser interferometer), 14-AI prediction compensation server (built-in GPU), 15-ambient temperature sensor, and 16-galvanometer scanning module. Detailed Implementation
[0026] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0027] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0028] Secondly, the term "an embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in a preferred embodiment" appearing in different places throughout this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that mutually excludes other embodiments.
[0029] Furthermore, the present invention will be described in detail with reference to the schematic diagrams. When describing the embodiments of the present invention in detail, the schematic diagrams are merely examples for ease of explanation and should not limit the scope of protection of the present invention.
[0030] This invention discloses a roll-to-roll grating ruler based on femtosecond laser and AI prediction compensation, a manufacturing system, and a method thereof. The manufacturing system includes: A roll-to-roll conveyor for continuously conveying flexible metal substrates along the longitudinal direction; The tension control unit includes a precision tension sensor and a data acquisition card installed before and after the laser marking station. The data acquisition card collects tension data in real time and transmits it to the controller. The controller outputs a tension adjustment signal based on a first AI prediction model. Ytterbium-doped femtosecond lasers are used to generate ultrashort laser pulses with a working wavelength of 1030nm±5nm and a pulse width of less than 800fs. The composite scanning device, along the optical path direction, comprises: A DOE flat-top light shaping element is used to shape the ultrashort laser pulse into a uniform flat-top light spot; AOD (Acousto-optical deflector) is used to control the high-frequency, inertia-free deflection of a light beam; and The galvanometer scanning module and the f-theta focusing lens are used to achieve large-stroke lateral cross-line stitching or longitudinal coarse positioning. The composite scanning device and the roll-to-roll conveying device work together to achieve flight marking: during the continuous movement of the substrate, the controller controls the galvanometer scanning module to perform large-stroke coordinated movement according to the real-time position of the substrate, and at the same time controls the AOD acousto-optic deflector to perform high-frequency dynamic fine-following deflection, so that the ablation point falls precisely on the theoretical marking position of the substrate. A displacement measuring device is used to detect the actual displacement of the substrate grating in real time and generate grating pitch error data. The AI prediction and compensation module has a built-in trained second AI prediction model, which is used to receive the grid pitch error data, tension data and ambient temperature data, predict the system deviation at the future marker position and generate a position compensation signal. The controller is connected to the AI prediction and compensation module, and adjusts the deflection command of the AOD acousto-optic deflector or the pulse emission time of the ytterbium-doped femtosecond laser in real time according to the position compensation signal to achieve feedforward position compensation.
[0031] Furthermore, the ytterbium-doped femtosecond laser operates in pulse train mode, with each pulse train containing multiple sub-pulses, and the ytterbium-doped femtosecond laser has a pulse-on-demand (POD) function; the pulse energy flux of the flat-top spot at the substrate surface is 7 to 10 times the ablation threshold of the flexible metal substrate, and the energy uniformity of the flat-top spot is greater than 95%.
[0032] Furthermore, the radio frequency drive terminal of the AOD acousto-optic deflector is loaded with a linear frequency modulated (LFM) signal. The frequency change rate of the LFM signal is matched with the conveying speed of the roll-to-roll conveyor to eliminate defocus distortion caused by the acoustic transit time during the dynamic following process of the beam with the substrate.
[0033] Furthermore, the first AI prediction model is a tension feedforward prediction model based on radial basis function neural network (RBFNN). Its input end is connected to the two tension signals before and after the laser marking station and their difference value, and its output end outputs the tension change prediction value within the next 5ms to 20ms. The tension control unit adjusts the torque of the winding or unwinding servo motor in advance according to the tension change prediction value.
[0034] Furthermore, the second AI prediction model is a Long Short-Term Memory Network (LSTM) or a Gated Recurrent Unit (GRU), and its training feature inputs include historical grating error sequences, historical tension sequences, and instantaneous ambient temperature data within a fixed time window.
[0035] Furthermore, the displacement measuring device includes a single-frequency laser interferometer and a high-resolution optical encoder. The physical measurement axis of the single-frequency laser interferometer is coplanar or collinear with the focal plane optical axis of the composite scanning system to eliminate Abbe error.
[0036] Furthermore, the feature is that the cross-sectional geometry of the flat-top light spot is a rectangular light spot, with its long axis arranged along the transverse line width direction of the grating ruler and its short axis arranged along the longitudinal continuous conveying direction; in the overlapping area of adjacent transverse scanning bands during cross-line splicing, the cumulative energy density at the overlapping part of the flat-top light spot is equal to the energy density of the non-overlapping part, so as to eliminate splicing marks.
[0037] Based on the above manufacturing system, the present invention also proposes a method for manufacturing a flexible grating ruler, comprising the following steps: (a) A flexible metal substrate is continuously conveyed through a roll-to-roll device, and instantaneous tension data is collected in real time using two precision tension sensors at the front and rear. (b) Input the instantaneous tension data into the first AI prediction model to predict the tension change trend in the future, and adjust the torque of the servo motor of the conveying device in advance to perform dynamic tension compensation and control the instantaneous tension fluctuation within ±0.2N; (c) An ultrashort pulse is generated using a ytterbium-doped femtosecond laser, which is then shaped into a rectangular flat-top spot by a DOE flat-top light and enters the AOD acousto-optic deflector and galvanometer scanning module; (d) During the continuous motion of the substrate, the controller calculates the coarse positioning command of the galvanometer and the high-frequency following deflection command of AOD in real time according to the nominal grid pitch, so that the laser ablation point always dynamically follows the theoretical mark position on the substrate, realizing the flight mark of multi-pulse superposition. (e) The grid pitch error of the ablated mark is collected in real time using a displacement measuring device, and the grid pitch error, synchronous tension data and ambient temperature data are used together as feature vectors and input into the second AI prediction model. (f) The second AI prediction model outputs the predicted position deviation of one or more future marker positions. The controller adjusts the radio frequency drive frequency of AOD or the emission delay of laser pulse in advance according to the predicted position deviation to achieve feedforward compensation of the marker position. (g) The galvanometer scanning module is offset laterally along the substrate to perform cross-line scanning, control the edge overlap rate of adjacent flat-top light spots, eliminate inter-line splicing traces, and repeat steps (d)-(f) to form a continuous precision grating scale on the flexible metal substrate.
[0038] Furthermore, in step (d), for the ablation of a single marker line, the ytterbium-doped femtosecond laser continuously triggers 4 to 10 pulses at the same marker position to accumulate energy, and the controller applies a continuously changing linear frequency modulation signal to the AOD acousto-optic deflector to synchronize the acousto-optic deflection speed with the substrate movement speed, thereby making the dynamic relative displacement deviation during the multi-point superimposed ablation process less than 0.1 μm.
[0039] Furthermore, this invention proposes a high-precision flexible metal grating ruler, which consists of a flexible stainless steel substrate and multiple microgroove graduation marks arrayed on the surface of the substrate; the microgroove graduation marks have a U-shaped cross-sectional morphology, with a groove bottom flatness better than 5nm, a heat-affected zone (HAZ) of less than 0.1μm at the edge of the microgroove and no molten recast layer; the overall grating pitch accuracy of the flexible metal grating ruler is better than ±1μm / m, and the optical reflectivity contrast between the interior of the microgroove of the graduation mark and the unmarked surface of the substrate is greater than 4:1.
[0040] Reference Figure 1 The base 12 is made of annealed and polished stainless steel strip (grade SUS304 or 430) with a thickness of 0.1mm to 0.5mm and a width of 6mm to 50mm. Multiple floating guide rollers 3 are set between the unwinding roller 1 and the winding roller 2, and a precision tension sensor 4 (HBM S2M, range 0~50N, accuracy ±0.05%FS) is arranged before and after the laser marking station.
[0041] Two tension signals are connected to data acquisition card 5 (NI PXIe-6363, sampling rate 1MS / s, 24-bit resolution) via shielded cables. The acquisition card exchanges data with industrial controller 6 (Beckhoff C6670) in real time via PXIe bus. Femtosecond laser 7 is a ytterbium-doped fiber mode-locked laser (Keyun, model: IVY-20), with a center wavelength of 1030nm±5nm, pulse width adjustable from 250fs to 800fs, maximum average power of 20W, and maximum repetition frequency of 40MHz (programmable pulse train mode).
[0042] The laser output is collimated and expanded (expansion ratio 3×) before entering the DOE flat-top beam shaping module 8. The DOE element is a binary optical structure with a designed wavelength of 1030nm, which converts the original Gaussian beam into a flat-top beam of 15μm×150μm (the major axis corresponds to the length of the scale line), with uniformity >95% and edge steepness <5%. The shaped beam then enters the AOD acousto-optic deflector 9 (G&HAODF 4085, RF drive frequency range 55-110MHz, effective aperture 15mm, deflection angle 42.5mrad).
[0043] The AOD is controlled by an RF driver and can achieve two-dimensional deflection (using a combination of dual AODs or a combination of one-dimensional AOD and a galvanometer; this embodiment uses a two-dimensional AOD). The beam emitted from the AOD is converged to the surface of the substrate 12 by an f-theta focusing lens 10 (Sill Optics S4LFT3167, entrance pupil diameter 10mm, scanning area 100mm×100mm, focal length 163mm, transmittance >98% at 1030nm, and focused spot size variation <5% across the entire field of view).
[0044] When using a two-dimensional AOD, it is responsible for microsecond-level dynamic fine-tuning of the deflection in both the X and Y directions; while the mechanical galvanometer scanning module is still retained, which is specifically responsible for lateral cross-line large-stroke splicing or line-changing positioning that exceeds the AOD scanning range.
[0045] The composite scanning device described in this invention combines the large-stroke motion capability of the galvanometer scanning module with the ultra-high speed and inertia-free response characteristics of the AOD acousto-optic deflector. Specifically, the galvanometer scanning module (such as the Galvo 10mm-50mm deflector) is responsible for guiding the laser beam to the center of the current marking area, or performing a large lateral jump perpendicular to the direction of motion (e.g., a lateral offset of 150μm to stitch together the next row of markings) after completing a row of long ruler markings.
[0046] During the longitudinal dynamic flight marking process of the moving strip, the galvanometer maintains a relatively slow trajectory planning or remains stationary, while the AOD acousto-optic deflector (response time less than 600 ns) finely adjusts the beam angle in real time and at high speed based on the microsecond-level dynamic position jitter fed back by the interferometer. This "static control combined with coarse and fine" approach overcomes the shortcomings of the small AOD deflection angle (42.5 mrad) which prevents it from covering a large scanning area, and avoids the following lag caused by the large inertia of traditional galvanometers.
[0047] Because the aperture of the AOD is relatively large (15mm), the acoustic wave requires an acoustic transit time of about 3.5µs to pass through the entire crystal. When the laser emits femtosecond pulses at a high repetition rate of 100kHz~40MHz, if conventional step radio frequency (RF) frequency switching is used, a nonlinear acoustic field will be generated inside the crystal due to the overlap of new and old acoustic waves, resulting in severe defocusing of the femtosecond laser.
[0048] Therefore, the AOD RF driver in this embodiment employs linear frequency modulation (LFM) continuous sweep frequency technology. During femtosecond burst mode transmission, the frequency of the RF signal changes linearly and continuously: f(t) = f0 + K·t (where K is the sweep rate). This sweep rate K is rigorously calculated to create a constant "acoustic prism gradient" within the acousto-optic crystal. This gradient not only ensures that the speed at which the deflection focus moves on the focal plane is perfectly synchronized with the conveying speed v of the stainless steel strip (achieving dynamic overlapping and superimposed ablation), but also completely compensates for the weak "chirp effect" caused by LFM through the preset negative field curvature of the f-theta lens or the lens fine-tuning of the pre-amplifier collimator, ensuring that the focal spot size on the substrate surface remains at 15μm × 150μm with a uniformity >95% during multi-pulse high-frequency cumulative ablation. The displacement measuring device 13 employs a single-frequency laser interferometer (Renishaw RLE20, 1nm resolution, 2m / s maximum speed) as the measurement standard to record the actual displacement of the worktable in real time. A high-resolution optical encoder reads the grating pitch data of the scribed grating lines. The output signals of the interferometer and encoder are sent to the controller 6 for processing via a high-speed counting card (0.1ns resolution), thereby allowing the measurement of historical grating pitch error data of the scribed grating lines. The AI prediction compensation server 14 is equipped with an NVIDIA RTX A5000 GPU and has a built-in time-series prediction model (LSTM), communicating with the controller 6 via Gigabit Ethernet. An ambient temperature sensor 15 (PT100, accuracy ±0.1℃) is installed near the scanning field to compensate for thermal drift.
[0049] In continuous roll-to-roll conveying, tension fluctuations mainly originate from changes in roll diameter, motor torque pulsation, roller eccentricity, and uneven substrate material. For example... Figure 2 As shown, Figure 2 The diagram shows the data flow and control signals of the AI prediction compensation module. It shows that the position error signal output by the interferometer 13, the tension signal output by the tension sensor 4, and the temperature signal output by the temperature sensor 15 are all input to the LSTM model. The model outputs the prediction error, and the controller generates a compensation signal based on this and sends it to the AOD driver and the laser.
[0050] This invention employs a first AI prediction model based on a radial basis function neural network (RBFNN) to achieve tension feedforward control. It takes four variables—the real-time values and their difference values from two tension sensors (tension 1 and tension 2)—as input, and outputs the torque compensation value of the winding motor at the next sampling time (20ms in advance). The model structure consists of a 4-node input layer, 15 radial basis function neurons (Gaussian kernel function) in the hidden layer, and a 1-linear node in the output layer.
[0051] Training data was obtained from an offline 100-meter base, collecting tension fluctuation sequences and corresponding motor control quantities. Clustering and weight learning were performed with the goal of minimizing prediction error. In real-time control, the data acquisition card synchronously acquired tension 1 and tension 2 signals at a sampling rate of 200kHz, and after noise reduction using a 100-point moving average, the signals were transmitted to the controller. The controller executed the RBFNN model every 1ms, outputting the predicted tension change ΔF_pred for the next 20ms. Based on ΔF_pred, the torque loop setpoint of the winding servo motor (Beckhoff AM8053) was adjusted in advance. After closed-loop feedback, the static error of the actual tension fluctuation was eliminated by a low-speed PID controller (proportional coefficient 0.2, integral time 50ms). Under the condition of a base moving speed of 50mm / s, without tension prediction control, the peak-to-peak tension in the marked area reached ±1.2N; after enabling it, it decreased to ±0.15N, a reduction in fluctuation amplitude of 87.5%.
[0052] This invention constructs a dual AI prediction model to achieve composite feedforward control in spatial and temporal dimensions.
[0053] The first AI prediction model (Tension Feedforward) uses an RBF neural network with a 4-15-1 structure. The input vector is X1 = [T1(t), T2(t), △T1(t), △T2(t)]. T The hidden layer activation function uses a Gaussian kernel function R. i (x) = exp(-||XC i || 2 / 2σ i 2 The controller calls this model every 1ms to predict the nonlinear tension fluctuation trend ΔF caused by roller eccentricity over the next 20ms. pred The predicted value is directly converted into an additional electric torque and superimposed on the current loop of the servo motor, thereby mechanically canceling it before the fluctuation occurs, so that the instantaneous tension fluctuation of the strip drops sharply from ±1.2N to ±0.12N.
[0054] The second AI prediction model (pitch error prediction) employs a two-layer LSTM temporal network. The input time window length L=30, and the feature dimension is 4, which includes [e, T1, T2, θ] (error, pre-tension, post-tension, ambient temperature) of the first 30 labeled points. The first LSTM layer contains 128 units to capture the periodic error caused by long-term mechanical gear pitting; the second LSTM layer contains 64 units to capture random thermal drift.
[0055] Online incremental learning mechanism: The system opens a circular data buffer in the background of the industrial PC. Whenever the roll-to-roll system produces 10 meters of length, it automatically uses the latest 2000 measured feature points as the incremental training set. On the GPU (RTX A5000), it uses the Adam optimizer to perform fast fine-tuning for 5 epochs with a learning rate of 0.0005, taking less than 3.2 seconds. After training, the new weights seamlessly overwrite the memory area of the currently running model. This online incremental update architecture enables the LSTM model to adapt to long-term, slowly varying, nonlinear, and non-stationary signals such as bearing wear and guide rail thermal deformation within the equipment, ensuring that the feedforward prediction accuracy remains above 92% throughout the continuous manufacturing of hundreds of meters of grating rulers. This invention employs a "continuous motion + real-time AOD deflection" flight marking scheme, combined with a flat-top light spot to eliminate splicing marks. Let the substrate moving speed be v (mm / s) and the nominal grid pitch be P (μm), then the ideal laser pulse triggering time interval Δt = P / v. The controller calculates the theoretical coordinates x_target of the next mark based on the instantaneous displacement error fed back by the interferometer and high-precision optical encoder, and controls the AOD to generate a corresponding deflection angle θ, ensuring that the laser focus follows the substrate movement within the scanning field, always maintaining a deviation of <0.1μm between the ablation point and the theoretical position. For an f-theta lens (scanning area 50mm), the beam deflection angle θ (rad) and the focal plane displacement δ (mm) satisfy: δ = f·θ, where f = 163mm. The required deflection angle θ = Δx / 163 (rad). The AOD deflection control voltage is linearly related to this angle, with a response time <600ns, capable of tracking substrate velocities up to 1.7m / s (in this embodiment, v≤100mm / s).
[0056] The specific steps of the flight marking are as follows: the substrate moves at a set speed v (e.g., 80 mm / s) at a constant speed, and the interferometer continuously measures the actual displacement; the controller generates a trigger window with a step size of P / 2, and when the actual position reaches the theoretical marking position minus the lead (AOD response time × v + fixed deflection settling time), it sends a deflection command to the AOD and sends a laser trigger signal; the laser pulse is shaped into a flat-topped spot by the DOE, and falls precisely on the theoretical marking point on the substrate under the deflection of the AOD.
[0057] For a graduation line requiring a depth of 300 nm, six consecutive pulses need to be accumulated at the same position. The controller emits multiple pulses at a high repetition frequency (100 kHz in this embodiment) during a period when the substrate movement distance is much smaller than the spot diameter (15 μm). The AOD deflection angle corresponding to each pulse is finely adjusted to compensate for the substrate movement, achieving multi-point superposition to reach the required depth. After completing one graduation line, if multiple rows need to be stitched together (e.g., the width of the grating ruler is greater than the length of a single flat-top spot by 150 μm), the system is offset laterally (perpendicular to the direction of movement) to the starting position of the next row via the AOD or an auxiliary galvanometer, and continues the flight marking.
[0058] Because a flat-top beam is used, the energy is uniform in the overlapping area of adjacent rows, with no visible seams. Comparative experiments show that when using a traditional Gaussian beam to stitch two rows together, the reflectivity difference at the seam is over 30% (see...). Figure 3 (a)); and the reflectivity change at the seam after splicing the flat-top light spots of the present invention is <3% (see Figure 3 (b) Wherein (a) is a cross-sectional schematic diagram of the slot bottom splicing area of traditional Gaussian beam processing, which is generally a distinct W-shaped seam; (b) is the flat-top beam spot splicing area after DOE shaping in this invention, with uniform and consistent seams.
[0059] This invention further employs an LSTM time-series prediction model to perform feedforward compensation for the grating pitch error. For data acquisition, the interferometer and high-resolution optical encoder record the difference e(i) between the actual and theoretical positions at each laser emission moment, simultaneously recording the tension values T1(i), T2(i) and the ambient temperature θ(i). All data are normalized to the [-1,1] interval, and the training and validation sets are divided into 80% and 20% sets, respectively.
[0060] The LSTM model structure is as follows: the input layer time window length is L=30, and the feature dimension of each time step is 4 (e, T1, T2, θ); the first LSTM layer contains 128 units, return_sequences=True, dropout=0.2; the second LSTM layer contains 64 units, return_sequences=False, dropout=0.2; the fully connected layer has 32 units with ReLU activation; the output layer has 1 unit with linear activation, outputting the prediction error e_pred(i+1). The loss function is the mean squared error (MSE) plus an additional term α·|e_pred| (to encourage small errors), the optimizer is Adam (learning rate 0.001), and the training is conducted for 200 epochs with an early stopping strategy. The initial model was trained using data generated from an offline 100-meter grating ruler to obtain the basic weights.
[0061] During online production, every 10 meters of manufacturing length, the system automatically extracts the latest 2000 samples for incremental model training, using a sliding window to update weights to adapt to equipment wear and environmental changes, with incremental training time less than 5 seconds. During feedforward compensation, after each marker ablation is completed, the controller immediately inputs the current feature vector (e(i), T1(i), T2(i), θ(i)) into the LSTM model to obtain the prediction error e_pred(i+1) for the next marker position.
[0062] Assuming the nominal grid pitch is P, the actual time of triggering the next laser pulse should satisfy the actual displacement increment = P - e_pred(i+1). The controller converts this compensation value into a fine adjustment of the AOD deflection angle (or an advance / delay of the laser emission time), so that the position of the next marker is corrected by feedforward.
[0063] Implementation results (see) Figure 4 The x-axis represents the position along the length of the grating ruler (meters), and the y-axis represents the grating pitch error (micrometers): Without AI compensation and without tension feedforward (curve A), the standard deviation of the grating pitch is 1.2 μm, and the maximum local error is ±2.8 μm; with only tension predictive control enabled (curve B), the standard deviation decreases to 0.9 μm, and the maximum error is ±1.9 μm; with both tension predictive control and LSTM compensation enabled (curve C), the standard deviation decreases to 0.28 μm, and the maximum local error is ±0.6 μm. For repetitive errors with a period of 200 mm (corresponding to the roller circumference), the LSTM model learns the phase and effectively cancels it after approximately 5 cycles.
[0064] Because this invention uses a femtosecond laser with a working wavelength of 1030nm and a pulse width controlled between 250fs and 400fs, its pulse width is much smaller than the time scale of electron-phonon coupling within the material (on the picosecond scale). Therefore, before the laser energy is converted into heat and diffused, the lattice on the stainless steel surface has already undergone "photoionization" and the breaking of purely physicochemical bonds, i.e., a "cold working" mechanism.
[0065] The flat-topped rectangular spot after DOE shaping has an edge steepness of <5%, and the energy exhibits a steep, cliff-like distribution. This results in the final microgroove scale markings (see morphology). Figure 3(b) The U-shaped microgrooves exhibit an extremely regular U-shaped cross-section, rather than the parabolic or W-shaped grooves produced by traditional Gaussian beam processing. The sidewall inclination angle of the U-shaped microgrooves is greater than 85°, and the flatness of the groove bottom (root mean square roughness Rq) is better than 5 nm. At the groove edges, due to the complete absence of molten material splashing, slag buildup, and recast layer, the heat-affected zone (HAZ) span is less than 0.1 μm. This atomically smooth groove bottom and steep edges result in perfect specular reflection or directional scattering of the reading beam upon incident within the groove, resulting in an optical reflectivity contrast of up to 4.2:1 with the unprocessed stainless steel substrate surface. This fundamentally eliminates optical noise in the reading head, ensuring a stable overall grating pitch accuracy of ±0.8 μm / m. Several typical embodiments are given below.
[0066] Example 1 (Optimal Parameter Combination) The substrate is SUS304, 0.2 mm thick, 6 mm wide, with a surface roughness Ra < 0.05 μm; laser parameters: 1030 nm, pulse width 400 fs, repetition frequency 100 kHz, single pulse energy 12 μJ, flat-top spot size 15 μm × 150 μm (uniformity 96%); AOD frequency update frequency 1.5 MHz, f-theta lens area 100 mm × 100 mm; substrate velocity 80 mm / s, nominal grating pitch 40 μm; tension control uses feedforward RBFNN, tension fluctuation ±0.12 N; AI compensation uses LSTM (window 30, dual LSTM layers), online incremental update; ambient temperature 22 ± 0.5 ℃. Results: Ablation depth 320nm (6-pulse cumulative), width 14.8μm, edge roughness <0.3μm; grid pitch standard deviation 0.28μm (based on point-by-point measurement using an interferometer with a full length of 6 meters), maximum local error +0.6μm / -0.5μm, overall accuracy ±0.8μm / m (better than ±1μm / m target); no visible splicing traces, reflectivity contrast (marked / unmarked) 4.2:1; production efficiency of marking 120mm length per minute (corresponding to 3000 grid lines).
[0067] Example 2 (High Precision Mode) The substrate velocity was reduced to 20 mm / s, the repetition frequency was 50 kHz, the single pulse energy was 8 μJ, 10-pulse accumulation was used, the nominal grating pitch was 20 μm, and the AI model window was expanded to 50. Results: The standard deviation of the grating pitch was 0.12 μm, the maximum local error was ±0.3 μm, and the accuracy reached ±0.5 μm / m, which is suitable for the grating ruler of ultra-precision machine tools.
[0068] Example 3 (High-speed roughing mode) The substrate speed was 150 mm / s, the repetition frequency was 200 kHz, the single pulse energy was 6 μJ, the flat-top spot size was 20 μm × 200 μm, and the grid pitch was 80 μm. Tension control was enabled only, and AI compensation was not used. Results: The standard deviation of the grid pitch was 2.1 μm, and the maximum local error was ±4.5 μm. This is suitable for cost-sensitive medium-precision encoders.
[0069] Example 4 (Comparison: No AI compensation and no tension feedforward) Using the same laser and scanning system, but with AI predictive compensation and tension feedforward control disabled, only a traditional PID speed loop was used. Results: The standard deviation of the gate pitch was 3.8 μm, the maximum local error was ±8.2 μm, and significant micro-stretch deformation of the substrate was observed (0.02% change in the length of the marked area). This demonstrates that the composite compensation mechanism proposed in this invention is irreplaceable.
[0070] The actual operating procedure is as follows: The operator installs the stainless steel strip onto the unwinding roller, passes it through each guide roller and tension sensor, and fixes it to the take-up roller; Start the system self-test: laser preheat for 30 minutes, interferometer and optical encoder return to zero, AOD calibration (correct deflection linearity with a standard scale plate), f-theta lens field curvature distortion compensation; Input the target parameters into the control software: material thickness, grid pitch, marking depth, substrate speed, and expected production length; the system automatically calculates and downloads the initial weights of the AI model (if there is a historical model), otherwise it enters the self-learning mode: first, produce a 1-meter-long ruler at a low speed (5mm / s), and then train the model after calibration with an external high-precision measuring instrument (laser interferometer and high-resolution optical encoder); Production starts: The roll-to-roll system accelerates to the set speed, and tension control, flight marking, and AI compensation all run automatically, displaying the pitch error curve, tension fluctuation, temperature, and other statuses in real time; after production is completed, the system automatically saves all process data and can optionally update the global model library.
[0071] Maintenance requirements: Perform AOD deflection linearity calibration weekly using a precision cross-hatched target; clean the f-theta lens and DOE components monthly to prevent dust from causing a decrease in uniformity; after each roll of material is replaced, it is recommended to retrain or fine-tune the AI model to adapt to batch differences; when the ambient temperature changes by more than ±1℃, the temperature sensor will automatically trigger the model input update without manual intervention.
[0072] This invention can be widely applied to the automated production of high-precision linear grating rulers, rotary encoders, and two-dimensional gratings. It is particularly suitable for manufacturing flexible grating rulers with high cost-effectiveness and ultra-fine grating pitch (≤10μm) required in fields such as aerospace, semiconductor equipment, and precision machine tools.
[0073] The above description is merely a preferred embodiment of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention. Structures, devices, and operating methods not specifically described or explained in this invention are implemented according to conventional methods in the art unless otherwise specified or limited.
Claims
1. A roll-to-roll grating ruler manufacturing system based on femtosecond laser and AI predictive compensation, characterized in that, include: A roll-to-roll conveyor for continuously conveying flexible metal substrates along the longitudinal direction; The tension control unit includes a precision tension sensor and a data acquisition card installed before and after the laser marking station. The data acquisition card collects tension data in real time and transmits it to the controller. The controller outputs a tension adjustment signal based on a first AI prediction model. Ytterbium-doped femtosecond lasers are used to generate ultrashort laser pulses with a working wavelength of 1030nm±5nm and a pulse width of less than 800fs. The composite scanning device, along the optical path direction, comprises: A DOE flat-top light shaping element is used to shape the ultrashort laser pulse into a uniform flat-top light spot; AOD (Acousto-optical deflector) is used to control the high-frequency, inertia-free deflection of a light beam; and The galvanometer scanning module and the f-theta focusing lens are used to achieve large-stroke lateral cross-line stitching or longitudinal coarse positioning. The composite scanning device and the roll-to-roll conveying device work together to achieve flight marking: during the continuous movement of the substrate, the controller controls the galvanometer scanning module to perform large-stroke coordinated movement according to the real-time position of the substrate, and at the same time controls the AOD acousto-optic deflector to perform high-frequency dynamic fine-following deflection, so that the ablation point falls precisely on the theoretical marking position of the substrate. A displacement measuring device is used to detect the actual displacement of the substrate grating in real time and generate grating pitch error data; The AI prediction and compensation module has a built-in trained second AI prediction model, which is used to receive the grid pitch error data, tension data and ambient temperature data, predict the system deviation at the future marker position and generate a position compensation signal. The controller is connected to the AI prediction and compensation module, and adjusts the deflection command of the AOD acousto-optic deflector or the pulse emission time of the ytterbium-doped femtosecond laser in real time according to the position compensation signal to achieve feedforward position compensation.
2. The system according to claim 1, characterized in that, The ytterbium-doped femtosecond laser operates in pulse train mode, with each pulse train containing multiple sub-pulses, and the ytterbium-doped femtosecond laser has a pulse-on-demand (POD) function; the pulse energy flux of the flat-top spot at the substrate surface is 7 to 10 times the ablation threshold of the flexible metal substrate, and the energy uniformity of the flat-top spot is greater than 95%.
3. The system according to claim 1, characterized in that, The radio frequency drive terminal of the AOD acousto-optic deflector is loaded with a linear frequency modulated (LFM) signal. The frequency change rate of the LFM signal is matched with the conveying speed of the roll-to-roll conveyor to eliminate defocus distortion caused by the acoustic transit time during the dynamic following process of the beam with the substrate.
4. The system according to claim 1, characterized in that, The first AI prediction model is a tension feedforward prediction model based on radial basis function neural network (RBFNN). Its input end is connected to the two tension signals before and after the laser marking station and their difference value. Its output end outputs the predicted value of tension change within the next 5ms to 20ms. The tension control unit adjusts the torque of the winding or unwinding servo motor in advance according to the predicted value of tension change.
5. The system according to claim 1, characterized in that, The second AI prediction model is a Long Short-Term Memory (LSTM) network or a Gated Recurrent Unit (GRU). Its training feature inputs include historical grating error sequences, historical tension sequences, and instantaneous ambient temperature data within a fixed time window.
6. The system according to claim 1, characterized in that, The displacement measuring device includes a single-frequency laser interferometer and a high-resolution optical encoder. The physical measurement axis of the single-frequency laser interferometer is coplanar or collinear with the focal plane optical axis of the composite scanning system to eliminate Abbe error.
7. The system according to claim 1, characterized in that, The cross-sectional geometry of the flat-top light spot is a rectangular light spot, with its long axis arranged along the transverse line width direction of the grating ruler and its short axis arranged along the longitudinal continuous conveying direction; in the overlapping area of adjacent transverse scanning bands during cross-line splicing, the cumulative energy density at the overlapping part of the flat-top light spot is equal to the energy density of the non-overlapping part, so as to eliminate splicing marks.
8. A method for manufacturing a flexible grating ruler based on the system described in any one of claims 1 to 7, characterized in that, Includes the following steps: (a) A flexible metal substrate is continuously conveyed through a roll-to-roll device, and instantaneous tension data is collected in real time using two precision tension sensors at the front and rear. (b) Input the instantaneous tension data into the first AI prediction model to predict the tension change trend in the future, and adjust the torque of the servo motor of the conveying device in advance to perform dynamic tension compensation and control the instantaneous tension fluctuation within ±0.2N; (c) An ultrashort pulse is generated using a ytterbium-doped femtosecond laser, which is then shaped into a rectangular flat-top spot by a DOE flat-top light and enters the AOD acousto-optic deflector and galvanometer scanning module; (d) During the continuous motion of the substrate, the controller calculates the coarse positioning command of the galvanometer and the high-frequency following deflection command of AOD in real time according to the nominal grid pitch, so that the laser ablation point always dynamically follows the theoretical mark position on the substrate, realizing the flight mark of multi-pulse superposition. (e) The grid pitch error of the ablated mark is collected in real time using a displacement measuring device, and the grid pitch error, synchronous tension data and ambient temperature data are used together as feature vectors and input into the second AI prediction model. (f) The second AI prediction model outputs the predicted position deviation of one or more future marker positions. The controller adjusts the radio frequency drive frequency of AOD or the emission delay of laser pulse in advance according to the predicted position deviation to achieve feedforward compensation of the marker position. (g) The galvanometer scanning module is offset laterally along the substrate to perform cross-line scanning, control the edge overlap rate of adjacent flat-top light spots, eliminate inter-line splicing traces, and repeat steps (d)-(f) to form a continuous precision grating scale on the flexible metal substrate.
9. The method according to claim 8, characterized in that, In step (d), for the ablation of a single marker line, the ytterbium-doped femtosecond laser continuously triggers 4 to 10 pulses at the same marker position to accumulate energy. The controller applies a continuously changing linear frequency modulation signal to the AOD acousto-optic deflector to synchronize the acousto-optic deflection speed with the substrate movement speed, thereby making the dynamic relative displacement deviation during the multi-point superimposed ablation process less than 0.1 μm.
10. A high-precision flexible metal grating ruler, characterized in that, The method described in claim 8 or 9 comprises a flexible stainless steel substrate and a plurality of microgroove graduation marks arrayed on the surface of the substrate; the microgroove graduation marks have a U-shaped cross-sectional morphology, the flatness of the groove bottom is better than 5 nm, the heat-affected zone (HAZ) at the edge of the microgroove is less than 0.1 μm and there is no molten recast layer; the overall grating pitch accuracy of the flexible metal grating ruler is better than ±1 μm / m, and the optical reflectance contrast between the interior of the microgroove of the graduation mark and the unmarked surface of the substrate is greater than 4:1.
