Optical coating online monitoring signal diagnosis and preprocessing method, system and medium
By synchronously acquiring and measuring light intensity and reference baseline light intensity sequences, calculating correlation coefficients and identifying the causes of drift, and assigning appropriate treatment paths, the problem of insufficient cause identification in existing online monitoring signals for optical coatings is solved, thereby improving monitoring accuracy and reliability.
Patent Information
- Application Number
- CN202611698039.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
Existing online monitoring signal preprocessing methods for optical coatings fail to effectively distinguish and process common-mode and differential-mode drift, resulting in decreased monitoring accuracy. Existing solutions lack a pathogenesis identification step, leading to ineffective treatment or even reverse deterioration.
By simultaneously acquiring and measuring light intensity sequences and reference baseline light intensity sequences, the Pearson correlation coefficient is calculated. Based on the correlation coefficient, the cause of drift is identified, and corresponding treatment paths are assigned, including ratio calculation, hardware rectification alarms, and large-window detrending, forming an automated diagnosis and preprocessing system.
It achieves accurate identification and assignment of common-mode and differential-mode drift, improves the availability of monitoring signals and the reliability of layer-by-layer determination, and reduces misjudgment and maintenance costs of hardware rectification.
Smart Images

Figure CN123173076A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vacuum coating optical monitoring technology, and in particular to a method, system and medium for diagnosing and preprocessing online monitoring signals of optical coating. Background Technology
[0002] Online optical monitoring is the core method for film thickness control in vacuum coating equipment. Its basic principle is as follows: During the coating process, the transmittance of the monitoring sheet changes periodically as the film thickness increases. The optical monitoring system collects the light intensity signal transmitted through the monitoring sheet, identifies the extreme values of this signal (extreme value cutting criterion), determines the film thickness, and triggers cutting. To ensure monitoring accuracy, the system simultaneously collects two signals: a measurement channel signal (light intensity transmitted through the monitoring sheet) and a reference baseline channel signal (background light intensity without passing through the monitoring sheet). The latter is used to characterize light source fluctuations and changes in common gain.
[0003] The monitoring signals from a real magnetron sputtering machine contain three types of interference, each with different physical sources and degrees of harm: The first type is common-mode noise. It originates from light source fluctuations and detector common gain drift, affecting both the measurement channel and the reference baseline channel simultaneously, manifesting as simultaneous rise and fall of the two signals. In principle, common-mode noise can be eliminated in software by calculating the ratio of the two signals, making it a type of interference that can be handled by software.
[0004] The second type is high-frequency random noise. It originates from photon shot noise, detector dark current noise, etc., and its frequency is far from the coating oscillation signal frequency band. It can be effectively suppressed by small window moving average or median filtering.
[0005] The third type is low-frequency slow drift. This is the most destructive interference. Its frequency overlaps with the coating oscillation signal, and digital filtering cannot separate it. The filter either fails to remove the drift or flattens the signal envelope along with it; a slow drift of ±0.4% can disrupt the extreme value cutting layer determination. The causes of slow drift are divided into two types: common-mode slow drift (originating from the slow change of the light source / common gain) can be eliminated by ratio calculation; differential-mode slow drift (originating from the independent channel electronics of the measurement channel and the reference baseline channel, such as the power supply fluctuation of the transimpedance amplifier) cannot be eliminated by ratio calculation in principle and must be modified by hardware.
[0006] In existing technologies, the preprocessing of monitoring signals mainly employs the following four methods, all of which have significant shortcomings: First, the ratio calculation (measurement signal / baseline signal) is enabled unconditionally. This scheme implicitly assumes that "drift is always common-mode." When the drift is differential-mode, the ratio not only fails to suppress the drift but also adds noise from both paths, thus worsening the situation. Actual measurements provide evidence of differential-mode drift, showing "each path fluctuating by ±0.29%, and after division, the transmittance is actually ±0.46%." Therefore, the ratio calculation is not always beneficial.
[0007] Secondly, digital filtering (moving average / low-pass) can control drift. Slow drift frequencies are in the same frequency band as the coating oscillations; filtering either fails to remove the drift or flattens the signal envelope. In control scenarios where extreme value positions are used as the cutting criterion, envelope distortion is equivalent to extreme value distortion, and filtering may introduce new risks.
[0008] Third, large-window detrending does not impose window constraints. If the detrending window is on the same order of magnitude as the oscillation period, it will treat the oscillation envelope as a "trend" and subtract it, thus destroying the amplitude information required for fitting. This is the most common pitfall when applying general detrending methods in this field. In addition, if the filtering window is calculated by padding zeros at the sequence boundaries, it will produce spurious boundary extrema, which will also destroy the layer cutting determination.
[0009] Fourth, relying on experience to manually determine the source of noise. The symptoms of light source problems and channel electronics problems (curve jitter) are the same, and there are no quantitative criteria on site. Common mistreatments include: changing the light source does not solve differential mode drift, and repeatedly adjusting software parameters does not solve hardware problems.
[0010] A search revealed that the combination of "correlation coefficient to determine common / differential mode + drift baseline + adaptive / automatic selection + preprocessing" under the vacuum coating optical monitoring category (C23C14 / 54) had zero hits globally; although there were more than 300 generalized "signal quality / reference channel" items (including Evatec, Leybold, SIOM, etc.), none of them had a step for identifying the cause and assigning treatment.
[0011] In summary, the fundamental problem with existing technologies is that the effectiveness of preprocessing methods depends on the cause of the interference. However, current solutions lack a "cause identification" step, treating all drift as the same thing. Software is used to treat situations where it shouldn't be used, leading to ineffective treatment or even worsening the problem. Therefore, there is an urgent need for a diagnostic and preprocessing method, system, and medium for online monitoring signals of optical coatings that can automatically identify the cause of drift and assign appropriate treatment paths. Summary of the Invention
[0012] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a diagnostic and preprocessing method, system and medium for online monitoring signals of optical coating that can automatically identify the causes of common mode / differential mode drift and assign treatment paths accordingly.
[0013] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: A method for diagnosing and preprocessing online monitoring signals of optical coating includes the following steps: S1: The hard real-time inner loop synchronously acquires the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate in a deterministic period. S2: Calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B:
[0014] In the formula, To measure the Pearson correlation coefficient between the light intensity sequence and the reference baseline light intensity sequence; To measure the covariance between the light intensity sequence S and the reference baseline light intensity sequence B; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; S3: Based on the correlation coefficient corr, the current signal drift is classified into three etiology categories: common mode, differential mode, or mixed. When corr > 0.9, it is classified as common mode; when corr < 0.5, it is classified as differential mode; and when 0.5 ≤ corr ≤ 0.9, it is classified as mixed. S4: Perform large-window detrending on the signal and quantify the slow drift share by the ratio of fluctuations before and after detrending.
[0015] In the formula, slowDriftShare represents the proportion of slow drift. The standard deviation of the fluctuation of the signal after detrending; The standard deviation of the original signal's fluctuation before detrending; the large-window detrending is performed using the following formula:
[0016] In the formula, The original sequence, The signal sequence after detrending; To use a window much larger than the oscillation period of the monitoring signal The slow baseline estimate obtained by performing a moving average; Original signal sequence The mean; S5: Assign treatment path according to the etiology category: when it is determined to be common mode, enable the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence to eliminate common mode drift; when it is determined to be differential mode, do not enable the ratio calculation and output a hardware rectification alarm pointing to the channel electronics; when it is determined to be mixed, combine the ratio calculation and large window detrending.
[0017] As a further improvement to the above solution: In step S4, the baseline estimation window for large-window detrending is constrained to be much larger than the oscillation period of the monitoring signal, and each filter window is calculated by shrinking at the sequence boundary without padding with zeros, so as to keep the oscillation envelope and extreme value position from being distorted by preprocessing; the baseline estimation window is taken by default as half the sequence length and not less than the preset lower limit, and is forced to be an odd number of windows.
[0018] In step S4, the slow drift ratio slowDriftShare and the correlation coefficient corr are combined and mapped to a graded alarm according to a preset threshold. The handling suggestion for differential alarms points to hardware rectification rather than software parameter adjustment.
[0019] In step S5, the signal sequence after the dispatch processing is provided to the film thickness cutting layer control based on the extreme value position; when the differential mode cause alarm is effective, it indicates that the reliability of the extreme value position of the cutting layer determination has decreased.
[0020] The treatment path also includes median filtering to suppress impulsive outliers. The median filtering and moving average are applied in a configurable order, and the combination order and window are saved as configurations with the project.
[0021] In step S5, the ratio calculation, the large window detrending, the small window moving average, and the median filtering are applied sequentially according to the step array; the preprocessing pipeline uses an input parameter copying method, which has no side effects; each filtering window is an odd-numbered window.
[0022] In S3, the correlation coefficient corr is determined based on the joint statistical structure of the measured light intensity sequence S and the reference baseline light intensity sequence B, rather than single-path characteristics. The cause of common mode is light source fluctuation or common gain drift, while the cause of differential mode is the independent channel electronics of the measurement channel and the reference baseline channel.
[0023] In S5, when the signal is determined to be differential mode, the hardware rectification alarm output points to the transimpedance amplifier power supply or channel electronics; when the signal is determined to be common mode, the software eliminates the drift without requiring hardware rectification.
[0024] In step S1, the measured light intensity sequence S and the reference baseline light intensity sequence B are synchronously acquired within the same time period; the reference baseline light intensity sequence B is the background light intensity without monitoring.
[0025] A diagnostic and preprocessing system for online monitoring signals of optical coating, comprising: The dual-channel acquisition module is configured to synchronously acquire, at a deterministic period, the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate. The etiology diagnosis module is configured to calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B:
[0026] In the formula, Pearson correlation coefficient; Let be the covariance of the two sequences; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; The treatment assignment module is configured to assign treatment paths based on the etiology category: when it is determined to be common mode, the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence is enabled to eliminate common mode drift; when it is determined to be differential mode, the ratio calculation is not enabled and a hardware rectification alarm pointing to the channel electronics is output; when it is determined to be mixed, the ratio calculation and large window detrending are combined. The interface module is configured to output processed signals and reliability indicators to the film thickness control stage.
[0027] As a further improvement to the above solution: The etiology diagnosis module includes: The correlation coefficient calculation unit is configured to calculate the Pearson correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B; The etiology tri-state discrimination unit is configured to distinguish common mode when corr > 0.9, differential mode when corr < 0.5, and mixed mode when 0.5 ≤ corr ≤ 0.9. The slow drift share calculation unit is configured to perform large-window detrending on the signal and quantify the slow drift share (slowDriftShare) by the ratio of fluctuations before and after detrending.
[0028] The disposal and assignment module includes: The common mode handling unit is configured to enable ratio calculation preprocessing so that common mode drift is eliminated on the software side; The differential mode processing unit is configured to disable ratio calculation to avoid invalid noise superposition, and upgrade the hardware rectification alarm to point to the channel electronics or transimpedance amplifier power supply. The hybrid treatment unit is configured to combine ratio calculation with large window detrending and continuously observe changes in the proportion of slow drift.
[0029] The system also includes an envelope protection module, configured to make the baseline estimation window of the large window detrending much larger than the oscillation period of the monitoring signal, and each filter window shrinks at the sequence boundary without padding with zeros; the baseline estimation window is by default half the sequence length and not less than a preset lower limit, and is forced to be an odd number of windows.
[0030] The system also includes a tiered alarm module, configured to map the slow drift ratio (slowDriftShare) and the correlation coefficient (corr) to a tiered alarm by combining them according to a preset threshold; the handling suggestions for differential alarms in the tiered alarms point to hardware rectification rather than software parameter adjustment.
[0031] The preprocessing pipeline in the disposal and assignment module includes ratio calculation, large window detrending, small window moving average and median filtering, which are applied in the order of the step array; the preprocessing pipeline adopts the input parameter copying method, which has no side effects; each filtering window is an odd-numbered window.
[0032] The interface module is also configured to indicate a decrease in the reliability of the extreme value position of the cutting layer determination when the differential mode cause alarm is valid.
[0033] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-described method for diagnosing and preprocessing online monitoring signals of optical coating.
[0034] Compared with the prior art, the advantages of the present invention are as follows: The diagnostic and preprocessing method for online monitoring signals of optical coating of this invention simultaneously acquires the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate through S1. Then, it calculates the Pearson correlation coefficient corr between the two signals through S2. Finally, through S3, it classifies signals as common mode if corr > 0.9, differential mode if corr < 0.5, and mixed if 0.5 ≤ corr ≤ 0.9. This upgrades signal preprocessing from a fixed pipeline to first diagnosing the cause and then assigning appropriate treatment. The discrimination criterion is the joint statistical structure of the two signals rather than the characteristics of a single signal, solving the problem of existing solutions lacking a cause identification step and treating all drift as the same thing.
[0035] The online monitoring signal diagnosis and preprocessing system for optical coating of this invention consists of a dual-channel acquisition module, a cause diagnosis module, a treatment assignment module, and an interface module, forming a complete automated link of "dual-channel acquisition, cause diagnosis, treatment assignment, and interface output". The cause diagnosis module includes a correlation coefficient calculation unit, a cause tri-state discrimination unit, and a slow drift ratio calculation unit; the treatment assignment module includes a common-mode treatment unit, a differential-mode treatment unit, and a mixed treatment unit; the system also includes an envelope protection module and a graded alarm module; the interface module is further configured to indicate a decrease in the reliability of the extreme value position of the slice determination when the differential-mode cause alarm is valid. The modules work collaboratively, enabling the system to achieve the same technical effect as the method.
[0036] When a computer program stored on a computer-readable storage medium is executed by a processor, the above-described method is implemented, enabling equipment manufacturers to obtain complete diagnostic and preprocessing capabilities through software upgrades without modifying existing hardware, thereby reducing implementation costs and deployment barriers. Attached Figure Description
[0037] Figure 1 This is a schematic diagram of the overall process for the diagnosis and preprocessing method of online monitoring signals for optical coating according to the present invention.
[0038] Figure 2 This is a block diagram illustrating the principle of dual-channel signal acquisition and etiology diagnosis in this invention.
[0039] Figure 3 This is a logical diagram illustrating the three-state identification and treatment allocation of the etiology in this invention.
[0040] Figure 4 This is a schematic diagram of the large window detrending envelope protection constraint of the present invention.
[0041] Figure 5 This is a schematic diagram illustrating the connection between the present invention and the cutting criterion.
[0042] Figure 6 This is a structural block diagram of the online monitoring signal diagnosis and preprocessing system for optical coating of the present invention. Detailed Implementation
[0043] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0044] like Figures 1 to 5 As shown, the diagnostic and preprocessing method for online monitoring signals of optical coating in this embodiment includes the following steps: S1: The hard real-time inner loop synchronously acquires the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate in a deterministic period. S2: Calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B.
[0045] In the formula, To measure the Pearson correlation coefficient between the light intensity sequence and the reference baseline light intensity sequence; To measure the covariance between the light intensity sequence S and the reference baseline light intensity sequence B; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; S3: Based on the correlation coefficient corr, the current signal drift is classified into three etiologies: common mode, differential mode, or mixed. When corr > 0.9, it is classified as common mode; when corr < 0.5, it is classified as differential mode; and when 0.5 ≤ corr ≤ 0.9, it is classified as mixed. S4: Perform large-window detrending on the signal and quantify the slow drift share by the ratio of fluctuations before and after detrending.
[0046] In the formula, slowDriftShare represents the proportion of slow drift. The standard deviation of the fluctuation of the signal after detrending; The standard deviation of the original signal's volatility before detrending; large-window detrending is performed using the following formula:
[0047] In the formula, The original sequence, The signal sequence after detrending; To use a window much larger than the oscillation period of the monitoring signal The slow baseline estimate obtained by performing a moving average; Original signal sequence The mean; S5: Assign treatment path according to etiology category: When it is determined to be common mode, enable the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence to eliminate common mode drift; when it is determined to be differential mode, do not enable the ratio calculation and output a hardware rectification alarm pointing to the channel electronics; when it is determined to be mixed, combine the ratio calculation and large window detrending.
[0048] In practical applications, the coating equipment's hard real-time inner loop synchronously acquires the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate at a deterministic period of 2ms. If the measurement channel signal fluctuates at a certain moment, the system calculates the Pearson correlation coefficient corr between the two sequences according to the formula. If corr = 0.96, it is determined to be common mode based on corr > 0.9; the system further calculates slowDriftShare = 0.42 and enables the ratio operation R = S / B, so that the common mode drift is canceled out during the division process, and the transmittance fluctuation is reduced from approximately 0.45% to approximately 0.16%. If corr = 0.28 is calculated at another moment, it is determined to be differential mode based on corr < 0.5, the system does not enable the ratio operation, and outputs a hardware rectification alarm pointing to the channel electronics. If corr = 0.68 is calculated, it is determined to be mixed based on 0.5 ≤ corr ≤ 0.9, and the system combines the ratio operation with a large window detrending. By diagnosing the cause of the problem before assigning treatment, the problem of blindly using ratio calculations for differential mode drift, which leads to the superposition and deterioration of noise from both channels, is avoided. It also avoids misjudging common mode drift as a hardware problem and making ineffective rectifications. This upgrades signal preprocessing from a fixed pipeline to a diagnostic-driven process, improving the availability of monitoring signals and the reliability of layer-by-layer determination.
[0049] In this embodiment, in S4, the baseline estimation window for large-window detrending is constrained to be much larger than the oscillation period of the monitoring signal, and each filter window shrinks at the sequence boundaries without zero padding to prevent preprocessing distortion of the oscillation envelope and extreme value positions. The baseline estimation window defaults to half the sequence length and is not less than a preset lower limit, and is forced to be an odd-numbered window. In specific applications, the oscillation period of the monitoring signal is approximately 20 sampling points. The sequence length N=200 within an analysis window. The baseline estimation window for large-window detrending defaults to half the sequence length, i.e., 101 sampling points, which is much larger than the oscillation period of 20 sampling points, and 101 is an odd-numbered window. At the boundaries of the start and end of the sequence, the moving average window shrinks to the actual usable data points without zero padding. For example, at point 1 of the sequence, the moving average window only uses data from point 1 to point 51; at point 200 of the sequence, the moving average window only uses data from point 150 to point 200. Therefore, large-window detrending subtracts the slow baseline spanning multiple oscillation periods, rather than the oscillation envelope itself, and avoids generating spurious extrema at the boundaries. Through window constraints and boundary contraction, large-window detrending ensures its safe application in control scenarios where "extreme value locations are used as slicing criteria." If the detrending window is on the same order of magnitude as the oscillation period, the oscillation envelope will be treated as a "trend" and subtracted, destroying the amplitude information required for fitting; if zero-padding is used at the boundaries, spurious extrema will be generated. This claim avoids these pitfalls, ensuring that the oscillation envelope and extreme value locations are not distorted by preprocessing.
[0050] In this embodiment, in S4, the slow drift percentage (slowDriftShare) and the correlation coefficient (corr) are mapped to a tiered alarm based on a preset threshold combination. The handling recommendations for differential-mode alarms point to hardware rectification rather than software parameter adjustments. In specific applications, the preset threshold combination is as follows: when corr < 0.5 and slowDriftShare > 0.3, a Level 1 differential-mode alarm is generated, with the alarm message: "The correlation between the measurement channel and the reference baseline channel is less than 0.5, and the slow drift percentage exceeds 30%, suspected to be a channel electronic anomaly; it is recommended to check the transimpedance amplifier power supply." When corr > 0.9 and slowDriftShare > 0.3, a Level 1 common-mode alarm is generated, with the alarm message: "The two signals are highly correlated, and the slow drift percentage exceeds 30%; there is light source or common gain drift; it is recommended to enable ratio calculation." When 0.5 ≤ corr ≤ 0.9 and slowDriftShare > 0.3, a mixed alarm is generated, and it is recommended to handle it in combination and continue monitoring. Mapping the slow drift percentage and correlation coefficient together to a tiered alarm system allows for direct on-site differentiation between "light source replacement" and "checking the transimpedance amplifier power supply," preventing mishandling. The handling recommendations for differential-mode alarms point to hardware rectification rather than software parameter adjustments, resolving the problem in existing technologies where relying on experience to manually determine noise sources and repeatedly adjusting software parameters fails to address hardware issues.
[0051] In this embodiment, in step S5, the processed signal sequence is provided to the film thickness cutting control based on the extreme value position. When the differential mode cause alarm is valid, it indicates a decrease in the reliability of the extreme value position for cutting. In specific applications, the film thickness cutting control module receives the processed signal sequence, determines the film thickness by identifying the extreme value position of the sequence, and triggers cutting. When the differential mode cause alarm is valid, the interface module simultaneously outputs a "decreased reliability of extreme value position" flag. Upon receiving this flag, the cutting control module reduces the weight of the current extreme value position or waits for confirmation from the next analysis window before triggering cutting. This ensures that the cutting determination not only receives a cleaner input signal but also obtains a reliability indicator. When the differential mode cause alarm is valid, it indicates a decrease in the reliability of the extreme value position, avoiding cutting based on unreliable extreme values and improving the safety of film thickness control.
[0052] In this embodiment, the processing path also includes median filtering to suppress impulsive outliers. Median filtering and moving average are applied in a configurable order, and the combination order and window are saved as configurations with the project. In a specific application scenario, the configured step array is median filtering, small-window moving average, with a median filtering window of 5 points and a small-window moving average window of 7 points. When impulsive outliers appear in the signal, median filtering first removes them, and then small-window moving average smooths them. This combination order and window parameters are saved as project configurations in the equipment control system and can be directly called in the next coating process with the same parameters. Median filtering suppresses impulsive outliers, avoiding interference from outliers in determining extreme value locations. The median filtering and moving average are applied in a configurable order, and the combination order and window are saved as configurations with the project, enhancing the flexibility and reusability of preprocessing.
[0053] In this embodiment, in step S5, ratio calculation, large-window detrending, small-window moving average, and median filtering are applied sequentially according to the step array. The preprocessing pipeline uses an input parameter copying method, which has no side effects. Each filtering window is an odd-numbered window. In specific applications, the step array is configured as [ratio calculation, large-window detrending, median filtering, small-window moving average]. The filtering windows are: large window 101 points, median 5 points, and small window 7 points, all of which are odd numbers. Each time the preprocessing pipeline is called, the input sequence is copied, and the original acquired data is not modified during the processing. For example, when the etiology is determined to be mixed, the preprocessing pipeline executes the following sequentially: calculate R=S / B; apply large-window detrending to R; apply 5-point median filtering to the detrended sequence; and then apply 7-point small-window moving average. The processed sequence is output to the layer cutting control module. By applying each preprocessing method sequentially through the step array, the pipeline becomes configurable and reusable. The input parameter copying method ensures that the preprocessing has no side effects, the original data is not modified, and it facilitates backtracking and debugging. Each filtering window is an odd-numbered window to ensure symmetrical filtering and avoid phase shift.
[0054] In this embodiment, in S3, the correlation coefficient (corr) is determined based on the joint statistical structure of the measured light intensity sequence S and the reference baseline light intensity sequence B, rather than single-path characteristics. Common-mode interference originates from light source fluctuations or common gain drift, while differential-mode interference originates from the independent channel electronics of the measurement channel and the reference baseline channel. In practical applications, when the light source fluctuates, the measurement channel and the reference baseline channel change simultaneously in the same direction, resulting in a highly correlated joint statistical structure with a corr value exceeding 0.95, indicating common-mode interference, and the cause is attributed to light source fluctuations or common gain drift. When the power supply to the transimpedance amplifier of the measurement channel fluctuates independently, the measurement channel signal changes while the reference baseline channel signal remains essentially unchanged, resulting in a low correlation in the joint statistical structure of the two signals, with a corr value below 0.3, indicating differential-mode interference, and the cause is attributed to the independent channel electronics of the measurement channel and the reference baseline channel. It is clear that the corr determination is based on the joint statistical structure of the two signals, rather than single-path characteristics. Single-path analysis cannot obtain information for determining "treatability" in principle; only joint statistical structures can distinguish between common moduli and differential moduli. This claim ensures accurate etiological attribution and provides a reliable basis for subsequent treatment allocation.
[0055] In this embodiment, in step S5, when the signal is determined to be differential mode, the hardware rectification alarm output points to the transimpedance amplifier power supply or channel electronics; when the signal is determined to be common mode, the software eliminates the drift without requiring hardware rectification. In specific applications, when the signal is determined to be differential mode, the alarm message is "The correlation between the measurement channel and the reference baseline channel is less than 0.5, suspected to be a fluctuation in the transimpedance amplifier power supply. Please check the power supply ripple and channel electronics." When the signal is determined to be common mode, the alarm message is "The two signals are highly correlated, the light source fluctuates or the common gain drifts, and the ratio calculation has been enabled to eliminate it," without requiring hardware rectification. This clearly indicates that the differential mode alarm points to the transimpedance amplifier power supply or channel electronics, while the common mode alarm eliminates the drift in software without requiring hardware rectification. This avoids mishandling such as "changing the light source to cure differential mode drift" or "repeatedly adjusting software parameters to cure hardware problems," reducing maintenance costs and improving problem location efficiency.
[0056] In this embodiment, in S1, the measured light intensity sequence S and the reference baseline light intensity sequence B are acquired synchronously within the same time period; the reference baseline light intensity sequence B is the background light intensity without passing through the monitoring chip. In practical applications, the hard real-time inner loop synchronously acquires the measurement channel and reference baseline channel data within the same analysis window. The measurement channel optical path passes through the substrate and the monitoring chip, while the reference baseline channel optical path does not pass through the monitoring chip and only acquires the background light intensity. The two sequences are strictly aligned in time. This ensures that the measured light intensity sequence and the reference baseline light intensity sequence are acquired synchronously within the same time period, and that the reference baseline is the background light intensity without passing through the monitoring chip. This ensures that the corr calculation is effective, and that the reference baseline can truly reflect the common-mode components, providing a reliable data foundation for etiology determination.
[0057] like Figure 6As shown, the online monitoring signal diagnosis and preprocessing system for optical coating in this embodiment includes: The dual-channel acquisition module is configured to synchronously acquire, at a deterministic period, the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate. The etiology diagnosis module is configured to calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B.
[0058] In the formula, Pearson correlation coefficient; Let be the covariance of the two sequences; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; The treatment assignment module is configured to assign treatment paths based on the cause category: when it is determined to be common mode, the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence is enabled to eliminate common mode drift; when it is determined to be differential mode, the ratio calculation is not enabled and a hardware rectification alarm pointing to the channel electronics is output; when it is determined to be mixed, the ratio calculation and large window detrending are combined. The interface module is configured to output processed signals and reliability indicators to the film thickness control stage.
[0059] In practical applications, the system is deployed in the control system of a multi-cavity vacuum coating equipment. A dual-channel acquisition module synchronously acquires two sensor signals—the measurement channel and the reference baseline channel—at a 2ms cycle. The cause diagnosis module calculates the correlation coefficient (corr) and slow drift share (slowDriftShare) cycle by cycle and identifies the three states of the cause. The treatment assignment module assigns treatment paths based on the cause category: ratio calculation is enabled for common-mode conditions, hardware rectification alarms are output for differential-mode conditions, and ratio calculation and large-window detrending are combined for mixed conditions. The interface module outputs processed signals and reliability indicators to the film thickness control stage. These modules constitute a complete automated chain of "dual-channel acquisition, cause diagnosis, treatment assignment, and interface output." Through the collaboration of the dual-channel acquisition module, cause diagnosis module, treatment assignment module, and interface module, a complete automated diagnosis and preprocessing system is formed. Each module, defined by its functional characteristics, collaboratively achieves the technical effect of diagnosis-driven treatment assignment, solving the problem of existing technologies lacking a cause identification step and treating all drift as the same thing.
[0060] In this embodiment, the etiology diagnosis module includes: The correlation coefficient calculation unit is configured to calculate the Pearson correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B. The etiology tri-state discrimination unit is configured to distinguish common mode when corr > 0.9, differential mode when corr < 0.5, and mixed mode when 0.5 ≤ corr ≤ 0.9. The slow drift share calculation unit is configured to perform large-window detrending on the signal and quantify the slow drift share (slowDriftShare) by the ratio of fluctuations before and after detrending.
[0061] In specific application scenarios, the correlation coefficient calculation unit receives the measured light intensity sequence S and the reference baseline light intensity sequence B, and calculates the Pearson correlation coefficient corr. The etiology tri-state discrimination unit receives corr, classifying it as common mode when corr=0.96, differential mode when corr=0.32, and mixed mode when corr=0.72. The slow drift proportion calculation unit calculates the standard deviation of signal fluctuation before and after large window detrending and outputs slowDriftShare. Subdividing the etiology diagnosis module into the correlation coefficient calculation unit, etiology tri-state discrimination unit, and slow drift proportion calculation unit clarifies the functions and facilitates maintenance and upgrades. Each unit independently executes its own function, collaboratively completing the etiology diagnosis.
[0062] In this embodiment, the disposal and assignment module includes: The common mode handling unit is configured to enable ratio calculation preprocessing so that common mode drift is eliminated on the software side; The differential mode processing unit is configured to disable ratio calculation to avoid invalid noise superposition, and upgrade the hardware rectification alarm to point to the channel electronics or transimpedance amplifier power supply. The hybrid treatment unit is configured to combine ratio calculation with large window detrending and continuously observe changes in the proportion of slow drift.
[0063] In practical applications, when the three-state discrimination unit outputs common-mode, the common-mode processing unit uses the ratio calculation R=S / B to eliminate common-mode drift in software. When outputting differential-mode, the differential-mode processing unit does not use the ratio calculation to avoid ratio superposition noise, and simultaneously outputs a hardware rectification alarm, pointing to the channel electronics or transimpedance amplifier power supply. When outputting mixed mode, the mixed processing unit combines the ratio calculation with a large window detrending and continuously monitors the slowDriftShare change; if slowDriftShare decreases, it indicates effective processing. The processing assignment module is subdivided into common-mode processing, differential-mode processing, and mixed-mode processing units to clarify the processing logic. The differential-mode processing unit does not use the ratio calculation to avoid invalid superposition noise and reverse degradation; the mixed-mode processing unit continuously monitors the slow drift ratio change to facilitate evaluation of the processing effect.
[0064] In this embodiment, the system also includes an envelope protection module, configured to ensure that the baseline estimation window for large-window detrending is much larger than the oscillation period of the monitoring signal, and that each filtering window is calculated by shrinking at the sequence boundaries without zero padding; the baseline estimation window is by default half the sequence length and not less than a preset lower limit, and is forced to be an odd-numbered window. In specific applications, the envelope protection module constrains the baseline estimation window for large-window detrending. The oscillation period of the monitoring signal is approximately 20 sampling points, the sequence length N=200, and the baseline estimation window is set to 101 points by default, which is much larger than the oscillation period and is an odd-numbered window. Each filtering window is calculated by shrinking at the sequence boundaries without zero padding. For example, at point 1 of the sequence, the moving average window only uses points 1 to 51; at point 200 of the sequence, only points 150 to 200 are used. This keeps the oscillation envelope and extreme value positions free from preprocessing distortion. Through the envelope protection module, it is ensured that large-window detrending subtracts the slow baseline spanning multiple oscillation periods rather than the oscillation envelope itself, avoiding spurious extreme values at the boundaries. This module enables large-window detrending to be safely used in control scenarios where extreme value positions are used as the cutting criterion.
[0065] In this embodiment, the system also includes a hierarchical alarm module, configured to map the slow drift percentage (slowDriftShare) and correlation coefficient (corr) to hierarchical alarms by combining them according to a preset threshold. The handling recommendations for differential-mode alarms in the hierarchical alarms point to hardware rectification rather than software parameter adjustments. In specific application scenarios, the hierarchical alarm module receives slowDriftShare and corr. When corr < 0.5 and slowDriftShare > 0.3, a Level 1 differential-mode alarm is generated, with the handling recommendation being "check the transimpedance amplifier power supply and channel electronics." When corr > 0.9 and slowDriftShare > 0.3, a Level 1 common-mode alarm is generated, with the handling recommendation being "enable ratio calculation to eliminate common-mode drift." When 0.5 ≤ corr ≤ 0.9 and slowDriftShare > 0.3, a hybrid alarm is generated, with the handling recommendation being "combined application of ratio calculation and large-window detrending, and continuous observation." By mapping the slow drift percentage and correlation coefficient to hierarchical alarms through the hierarchical alarm module, numerical basis is provided for alarm classification and handling priority. The handling recommendations for differential alarms point to hardware rectification rather than software parameter adjustment to avoid mishandling.
[0066] The preprocessing pipeline in the disposal module includes ratio calculation, large-window detrending, small-window moving average, and median filtering, applied sequentially according to the step array. The preprocessing pipeline uses an input parameter copying method, eliminating side effects; each filtering window is an odd-numbered window. In specific applications, the preprocessing pipeline's step array is configured as ratio calculation, large-window detrending, median filtering, and small-window moving average. The filtering windows are: large window 101 points, median 5 points, and small window 7 points, all odd numbers. Each time the preprocessing pipeline is called, the input sequence is copied; the processing does not modify the original acquired data. For example, in mixed-state scenarios, ratio calculation, large-window detrending, 5-point median filtering, and 7-point small-window moving average are executed sequentially, outputting the processed sequence. Applying each preprocessing method sequentially through the step array makes the pipeline configurable and reusable. The input parameter copying method ensures no side effects in preprocessing, and the original data is not modified, facilitating backtracking and debugging. The odd-numbered filtering windows ensure symmetrical filtering and avoid phase shift.
[0067] In this embodiment, the interface module is further configured to indicate a decrease in the reliability of the extreme value position in the slice determination when the differential mode cause alarm is valid. In a specific application scenario, when the differential mode cause alarm is valid, the interface module outputs a "decrease in reliability of extreme value position" flag while outputting the processed signal to the film thickness control stage. Upon receiving this flag, the slice control module reduces the weight of the current extreme value position or waits for confirmation in the next analysis window before triggering slice determination. By indicating a decrease in the reliability of the extreme value position in the slice determination when the differential mode alarm is valid, the slice control can reduce the weight or wait for confirmation accordingly, avoiding slice determination based on unreliable extreme values and improving the safety of film thickness control.
[0068] This embodiment uses a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the aforementioned method for diagnosing and preprocessing online monitoring signals for optical coating. In specific applications, the storage medium is a DVD-ROM or a USB flash drive, containing an installation program for implementing the method of this invention. After inserting the disc or USB flash drive into the coating equipment control computer, the user runs the installation program to deploy the program modules to the computer's hard drive. The program modules include: a dual-channel acquisition module, a cause diagnosis module, a treatment assignment module, an interface module, an envelope protection module, and a graded alarm module. After deployment, the coating equipment control system becomes an intelligent control system with online monitoring signal diagnosis and preprocessing functions for optical coating. Equipment manufacturers can obtain complete diagnostic and preprocessing capabilities through software upgrades without modifying existing hardware, significantly reducing implementation costs and deployment barriers.
[0069] While the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Any person skilled in the art can make many possible variations and modifications to the technical solutions of the present invention, or modify them into equivalent embodiments, without departing from the scope of the present invention. Therefore, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention, without departing from the scope of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for diagnosing and preprocessing online monitoring signals of optical coating, characterized in that, Includes the following steps: S1: The hard real-time inner loop synchronously acquires the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate in a deterministic period. S2: Calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B: In the formula, To measure the Pearson correlation coefficient between the light intensity sequence and the reference baseline light intensity sequence; To measure the covariance between the light intensity sequence S and the reference baseline light intensity sequence B; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; S3: Based on the correlation coefficient corr, the current signal drift is classified into three etiology categories: common mode, differential mode, or mixed. When corr > 0.9, it is classified as common mode; when corr < 0.5, it is classified as differential mode; and when 0.5 ≤ corr ≤ 0.9, it is classified as mixed. S4: Perform large-window detrending on the signal and quantify the slow drift share by the ratio of fluctuations before and after detrending. In the formula, slowDriftShare represents the proportion of slow drift. The standard deviation of the fluctuation of the signal after detrending; The standard deviation of the original signal's fluctuation before detrending; the large-window detrending is performed using the following formula: In the formula, The original sequence, The signal sequence after detrending; To use a window much larger than the oscillation period of the monitoring signal The slow baseline estimate obtained by performing a moving average; Original signal sequence The mean; S5: Assign treatment path according to the etiology category: when it is determined to be common mode, enable the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence to eliminate common mode drift; when it is determined to be differential mode, do not enable the ratio calculation and output a hardware rectification alarm pointing to the channel electronics; when it is determined to be mixed, combine the ratio calculation and large window detrending.
2. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 1, characterized in that, In S4, the baseline estimation window for the large-window detrending is constrained to be much larger than the oscillation period of the monitoring signal, and each filter window is calculated by shrinking at the sequence boundary without zero padding, so as to keep the oscillation envelope and extreme value position from being distorted by preprocessing. The baseline estimation window is set to half the sequence length by default and not less than a preset lower limit, and is forced to be an odd number of windows.
3. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 2, characterized in that, In step S4, the slow drift ratio slowDriftShare and the correlation coefficient corr are combined and mapped to a graded alarm according to a preset threshold. The handling suggestion for differential alarms points to hardware rectification rather than software parameter adjustment.
4. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 3, characterized in that, In step S5, the signal sequence after the dispatch processing is provided to the film thickness cutting layer control based on the extreme value position; when the differential mode cause alarm is effective, it indicates that the reliability of the extreme value position of the cutting layer determination has decreased.
5. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 4, characterized in that, The treatment path also includes median filtering to suppress impulsive outliers. The median filtering and moving average are applied in a configurable order, and the combination order and window are saved as configurations with the project.
6. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 5, characterized in that, In step S5, the ratio calculation, the large window detrending, the small window moving average, and the median filtering are applied in the order of the step array. The pretreatment pipeline uses an input parameter copying method, which has no side effects; Each filter window is an odd-numbered window.
7. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 6, characterized in that, In S3, the correlation coefficient corr is determined based on the joint statistical structure of the measured light intensity sequence S and the reference baseline light intensity sequence B, rather than single-path features. The cause of common-mode errors is light source fluctuations or common gain drift, while the cause of differential-mode errors is the independent channel electronics of the measurement channel and the reference baseline channel.
8. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 7, characterized in that, In S5, when the signal is determined to be differential mode, the hardware rectification alarm output points to the transimpedance amplifier power supply or channel electronics; when the signal is determined to be common mode, the software eliminates the drift without requiring hardware rectification.
9. The method for diagnosing and preprocessing online monitoring signals of optical coating according to claim 8, characterized in that, In step S1, the measured light intensity sequence S and the reference baseline light intensity sequence B are synchronously acquired within the same time period. The reference baseline light intensity sequence B is the background light intensity without monitoring.
10. A diagnostic and preprocessing system for online monitoring signals of optical coating, characterized in that, include: The dual-channel acquisition module is configured to synchronously acquire, at a deterministic period, the measured light intensity sequence S passing through the substrate and the reference baseline light intensity sequence B not passing through the substrate. The etiology diagnosis module is configured to calculate the correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B: In the formula, The Pearson correlation coefficient; Let be the covariance of the two sequences; To measure the standard deviation of the light intensity sequence S; The standard deviation of the reference baseline light intensity sequence B; The treatment assignment module is configured to assign treatment paths based on the etiology category: when it is determined to be common mode, the ratio calculation of the measured light intensity sequence and the reference baseline light intensity sequence is enabled to eliminate common mode drift; when it is determined to be differential mode, the ratio calculation is not enabled and a hardware rectification alarm pointing to the channel electronics is output; when it is determined to be mixed, the ratio calculation and large window detrending are combined. The interface module is configured to output processed signals and reliability indicators to the film thickness control stage.
11. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 10, characterized in that, The etiology diagnosis module includes: The correlation coefficient calculation unit is configured to calculate the Pearson correlation coefficient corr between the measured light intensity sequence S and the reference baseline light intensity sequence B; The etiology tri-state discrimination unit is configured to distinguish common mode when corr > 0.9, differential mode when corr < 0.5, and mixed mode when 0.5 ≤ corr ≤ 0.
9. The slow drift percentage calculation unit is configured to perform large-window detrending on the signal and quantify the slow drift percentage (slowDriftShare) by the ratio of fluctuations before and after detrending.
12. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 11, characterized in that, The disposal and assignment module includes: The common mode handling unit is configured to enable ratio calculation preprocessing so that common mode drift is eliminated on the software side; The differential mode processing unit is configured to disable ratio calculation to avoid invalid noise superposition, and upgrade the hardware rectification alarm to point to the channel electronics or transimpedance amplifier power supply. The hybrid treatment unit is configured to combine ratio calculation with large window detrending and continuously observe changes in the proportion of slow drift.
13. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 12, characterized in that, The system also includes an envelope protection module, configured to make the baseline estimation window of the large window detrending much larger than the oscillation period of the monitoring signal, and each filter window shrinks at the sequence boundary without padding with zeros; the baseline estimation window is by default half the sequence length and not less than a preset lower limit, and is forced to be an odd number of windows.
14. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 13, characterized in that, The system also includes a tiered alarm module, configured to map the slow drift ratio (slowDriftShare) and the correlation coefficient (corr) to a tiered alarm by combining them according to a preset threshold; the handling suggestions for differential alarms in the tiered alarms point to hardware rectification rather than software parameter adjustment.
15. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 14, characterized in that, The preprocessing pipeline in the disposal and assignment module includes ratio calculation, large-window detrending, small-window moving average, and median filtering, which are applied in the order of the step array; the preprocessing pipeline uses an input parameter copying method, which has no side effects. Each filter window is an odd-numbered window.
16. The diagnostic and preprocessing system for online monitoring signals of optical coating according to claim 15, characterized in that, The interface module is also configured to indicate a decrease in the reliability of the extreme value position of the cutting layer determination when the differential mode cause alarm is valid.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the diagnostic and preprocessing method for online monitoring signals of optical coating as described in any one of claims 1 to 9.
