A method and system for detecting concentration of gas inside a welding furnace

By using multi-sensor synchronous acquisition and a Gaussian process regression model, the chip deflection problem caused by gas inlet impact in a double-row inlet welding furnace was solved, enabling accurate prediction and control of gas concentration in the chip area, and improving the reliability and consistency of the welding process.

CN123176166APending Publication Date: 2026-11-27저지앙 리딩 테크놀로지 컴퍼니 리미티드
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611198337.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In double-row bore welding furnaces, existing technologies cannot effectively quantify and assess the risk of chip deflection caused by gas inlet impact. This leads to gas inlet parameter design relying on experience, making it difficult to avoid chip displacement and affecting the reliability and consistency of the welding process.

Method used

A multi-sensor synchronous acquisition mechanism is adopted to acquire raw sensing data from multiple detection points in the welding furnace. Gas partial pressure compensation is performed through baseline drift correction and temperature and pressure cross-compensation mechanism. A concentration field model is constructed by training with mixed kernel Gaussian process. Combined with periodic spatial concentration inference and feedforward flow calculation, the gas concentration in the chip-occupied area can be predicted and controlled.

Benefits of technology

It improves the airflow stability and chip positioning accuracy during the welding process, reduces the probability of chip deflection caused by sudden changes in concentration, and enhances the reliability and production efficiency of the welding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176166A_ABST
    Figure CN123176166A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of gas sensor detection, and discloses a welding furnace internal gas concentration detection method and system, wherein the method comprises the following steps: synchronously collecting original sensing data at multiple preset detection points; performing baseline drift correction and temperature and pressure cross-compensation collection; training a mixed kernel Gaussian process regression model within a preset working condition range to obtain a chip occupation area gas concentration prediction model; periodically acquiring current sensing data, inferring the maximum predicted oxygen concentration of the chip occupation area; performing out-of-limit judgment and nitrogen supplement flow calculation according to a safety threshold, and outputting a gas regulation instruction. The application solves the problems that fixed point measurement is difficult to reflect the chip area concentration, and that sensor drift and temperature and pressure changes are easy to cause judgment deviation, and through the cooperation of multi-point compensation, space concentration prediction and regulation calculation, the concentration judgment is kept corresponding to the chip layout and the furnace cavity working condition, and the gas regulation reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of gas sensor detection technology, and in particular to a method and system for detecting the gas concentration inside a welding furnace. Background Technology

[0002] Currently, in welding furnaces employing dual-row orifice gas inlets, to ensure a low-oxygen atmosphere for chip welding, the common practice is to install a single-point oxygen sensor on the furnace wall and use proportional-integral-derivative feedback control to regulate the total nitrogen inlet flow rate. While the dual-row orifice structure reduces the gas flow pressure per orifice, the required nitrogen flow rate varies significantly across different welding stages. This abrupt change in flow rate causes abrupt changes in the jet velocity at the orifice, resulting in a non-uniform, unsteady, and complex turbulent flow field within the furnace. Existing control loops only use the single-point oxygen concentration as feedback, failing to correlate changes in the inlet gas field with the aerodynamic loads on the chip. This leads to a lack of quantitative assessment methods for chip deflection risk when designing the inlet flow rate and the flow distribution ratio between the upper and lower orifices at each stage.

[0003] For example, when soldering large-sized chips or when chips are placed off-center from the stage, sudden increases in flow rate can cause uneven local flow velocity, creating pressure differences and torques on the upper and lower surfaces of the chip. This can lead to micron-level displacement or deflection, disrupting precise alignment and resulting in uneven solder layer thickness, poor soldering, or even device failure. Process engineers can only rely on experience to repeatedly try and adjust the air intake parameters until no visible deflection occurs. The debugging cycle is long and it is difficult to cover various combinations of operating conditions such as chip size and placement. Occasional deflection problems can never be completely eliminated, especially in continuous mass production, where changes in chip placement or pipe characteristic drift can easily cause batch soldering defects.

[0004] Therefore, there is an urgent need for a method that, under the conditions of a double-row inlet gas welding furnace, can comprehensively consider factors such as chip size, placement position, and nitrogen flow rate, and use a data-driven model to pre-evaluate the gas concentration distribution in the chip area and implement feedforward collaborative control. This method can reduce the risk of chip deflection caused by inlet gas impact while ensuring a low-oxygen atmosphere, thereby improving the reliability, consistency, and production efficiency of the welding process. Summary of the Invention

[0005] To address the aforementioned technical shortcomings, the purpose of this invention is to propose a method for detecting the gas concentration inside a welding furnace. This method aims to solve the technical problem in the prior art, particularly under conditions of changes in chip size, placement, and nitrogen flow rate, where it is impossible to quantitatively predict the chip deflection caused by the inlet gas impact. Consequently, the design of inlet gas parameters relies on experience, making it difficult to systematically avoid chip displacement.

[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: The present invention provides a method for detecting the gas concentration inside a welding furnace.

[0007] The method for detecting the internal gas concentration of a welding furnace includes:

[0008] Step S10: Acquire raw sensing data of multiple preset detection points in the welding furnace, and perform data acquisition tasks using a multi-sensor synchronous acquisition mechanism based on the preset detection point layout parameters, and output multi-point raw sensing datasets.

[0009] Step S20: Based on the multi-point original sensor dataset, a baseline drift correction and temperature and pressure cross-compensation mechanism are used to perform a gas partial pressure compensation task, and a multi-point compensated sensor dataset is output.

[0010] Step S30: Based on the multi-point compensation sensor dataset and the preset operating condition parameter range, the concentration field model construction task is performed using a hybrid kernel Gaussian process regression training mechanism, and the gas concentration prediction model of the chip-occupied area is output.

[0011] Step S40: Obtain the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, use a periodic spatial concentration inference mechanism to perform the chip-occupied area concentration prediction task, and output the maximum predicted oxygen concentration of the chip-occupied area.

[0012] Step S50: Based on the maximum predicted oxygen concentration in the area occupied by the chip and the preset oxygen concentration safety threshold, determine the concentration exceeding the limit and calculate the nitrogen replenishment flow rate, and output the gas control command;

[0013] Preferably, step S10, which involves acquiring raw sensing data from multiple preset detection points within the welding furnace, performing data acquisition based on the preset detection point layout parameters using a multi-sensor synchronous acquisition mechanism, and outputting a multi-point raw sensing dataset, specifically includes:

[0014] Step S101: Five detection points are set in the furnace cavity of the welding furnace with the upper and lower double-row air inlet structure. The five detection points are respectively located at the geometric center of the central section between the upper and lower air inlets, 10mm above the left edge of the chip stage, 10mm above the right edge of the chip stage, the inside of the exhaust port, and the rear corner of the bottom of the furnace cavity.

[0015] Step S102: Set up an oxygen partial pressure sensor, a nitrogen partial pressure sensor, a K-type thermocouple and a miniature pressure sensor at each detection point, and synchronously collect the original oxygen partial pressure signal, the original nitrogen partial pressure signal, the temperature signal and the pressure signal at each detection point according to the preset sampling frequency, wherein the preset sampling frequency is 10Hz;

[0016] Step S103: Synchronously acquire the real-time nitrogen inlet flow rate, upper exhaust flow rate, total exhaust flow rate, and chip-occupied area information fed back by the nitrogen mass flow controller; calculate the ratio of the upper exhaust flow rate to the total exhaust flow rate to obtain the exhaust flow rate ratio; convert the chip-occupied area information into a chip-occupied area encoding vector; and perform time alignment on the original oxygen partial pressure signal, the original nitrogen partial pressure signal, the temperature signal, the pressure signal, the real-time nitrogen inlet flow rate, the exhaust flow rate ratio, and the chip-occupied area encoding vector according to the timestamps corresponding to each sampling time to obtain the multi-point original sensor dataset.

[0017] Preferably, step S20, which involves performing a gas partial pressure compensation task based on the multi-point original sensor dataset using a baseline drift correction and temperature and pressure cross-compensation mechanism, and outputting a multi-point compensated sensor dataset, specifically includes:

[0018] Step S201: Extract the original oxygen partial pressure signal, nitrogen partial pressure signal, temperature signal and pressure signal of each detection point from the multi-point original sensor dataset, and read the initial zero bias and drift rate corresponding to each oxygen partial pressure sensor and each nitrogen partial pressure sensor.

[0019] Step S202: Determine the cumulative running time from the most recent zero calibration time to the current sampling time. Based on the initial zero bias, the drift rate, and the cumulative running time, determine the baseline drift amount corresponding to each oxygen partial pressure sensor and each nitrogen partial pressure sensor. Subtract the corresponding baseline drift amount from the original oxygen partial pressure signal and the original nitrogen partial pressure signal respectively to obtain the drift-corrected oxygen partial pressure signal and the drift-corrected nitrogen partial pressure signal.

[0020] Step S203: Determine the temperature deviation between the temperature signal and the preset reference temperature and the pressure deviation between the pressure signal and the preset reference pressure at each detection point. Use a partial pressure compensation relationship consisting of a first-order temperature compensation term, a second-order temperature compensation term, a first-order pressure compensation term, and a temperature and pressure cross-compensation term to compensate the drift-corrected oxygen partial pressure signal and the drift-corrected nitrogen partial pressure signal, obtaining the compensated oxygen partial pressure value and the compensated nitrogen partial pressure value at each detection point. Combine the compensated oxygen partial pressure value, the compensated nitrogen partial pressure value, the temperature signal, the pressure signal, the real-time nitrogen intake flow rate, the exhaust flow rate ratio, and the chip-occupied area encoding vector according to the sampling time to obtain the multi-point compensated sensor dataset, where the preset reference temperature is 25℃ and the preset reference pressure is 101.325kPa.

[0021] Preferably, in step S202, the initial zero bias value ranges from 0.01 kPa to 0.05 kPa for each oxygen partial pressure sensor and each nitrogen partial pressure sensor, and the drift rate ranges from 0.001 kPa / h to 0.005 kPa / h for each oxygen partial pressure sensor and each nitrogen partial pressure sensor.

[0022] A preset zero gas is introduced into the furnace cavity of the welding furnace and continuously introduced until a preset replacement time is reached. The output signals of each oxygen partial pressure sensor and each nitrogen partial pressure sensor are collected during a preset stable sampling period. The arithmetic mean of each output signal during the preset stable sampling period is determined as the corresponding initial zero bias.

[0023] Perform at least two zero-air calibrations at a preset calibration time interval, and determine the corresponding drift rate by the ratio of the absolute difference between the initial zero biases obtained from two adjacent zero-air calibrations to the time interval between the two adjacent zero-air calibrations.

[0024] Preferably, step S30, based on the multi-point compensation sensor dataset and the preset operating condition parameter range, employs a hybrid kernel Gaussian process regression training mechanism to perform the concentration field model construction task and outputs the chip-occupied area gas concentration prediction model, specifically includes:

[0025] Step S301: Set multiple combinations of operating parameters within the preset operating parameter range of nitrogen inlet flow rate of 10L / min to 80L / min, exhaust flow rate ratio of 0.3 to 0.7, average furnace temperature of 25℃ to 300℃, and average furnace pressure of 100kPa to 105kPa. Use computational fluid dynamics simulation to obtain the steady-state gas concentration field corresponding to each combination of operating parameters. Divide the concentration field grid nodes at a distance of 3mm above the chip stage plane with a grid spacing of 1mm, and record the true values ​​of oxygen concentration and nitrogen concentration corresponding to each concentration field grid node to obtain the concentration field true value sample set.

[0026] Step S302: Obtain chip occupancy area information corresponding to each combination of operating parameters, and convert the chip occupancy area information into a chip occupancy area training encoding vector; according to the combination of operating parameters, associate the nitrogen inlet flow rate, exhaust flow rate ratio, furnace cavity average temperature, furnace cavity average pressure, concentration field grid node coordinates, and chip occupancy area training encoding vector in the concentration field true value sample set with the compensated oxygen partial pressure value and the compensated nitrogen partial pressure value in the multi-point compensation sensing dataset to form a concentration field training sample set with the oxygen concentration true value and the nitrogen concentration true value as the regression target;

[0027] Step S303: Using the true values ​​of oxygen and nitrogen concentrations in the training sample set of the concentration field as regression targets, respectively, a Gaussian process regression sub-model for oxygen concentration and a Gaussian process regression sub-model for nitrogen concentration are trained using a hybrid kernel function formed by combining the squared exponential kernel function, the Matérn 3 / 2 kernel function, and the linear kernel function with non-negative weights. The sum of the non-negative weights corresponding to the squared exponential kernel function, the Matérn 3 / 2 kernel function, and the linear kernel function is 1. The Gaussian process regression sub-models for oxygen concentration and nitrogen concentration are combined to obtain the gas concentration prediction model for the chip-occupied area.

[0028] Preferably, in step S40, the steps of acquiring the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, performing the chip-occupied area concentration prediction task using a periodic spatial concentration inference mechanism, and outputting the maximum predicted oxygen concentration of the chip-occupied area, specifically include:

[0029] Step S401: According to the preset model call cycle, acquire the current nitrogen inlet flow rate, current upper exhaust flow rate, current total exhaust flow rate, current oxygen partial pressure raw signal, current nitrogen partial pressure raw signal, current temperature signal, current pressure signal, and current chip occupied area information. Calculate the ratio of the current upper exhaust flow rate to the current total exhaust flow rate to obtain the current exhaust flow rate ratio. Combine the current nitrogen inlet flow rate, the current exhaust flow rate ratio, the current oxygen partial pressure raw signal, the current nitrogen partial pressure raw signal, the current temperature signal, the current pressure signal, and the current chip occupied area information according to the current sampling time to obtain the current sensing data.

[0030] Step S402: Based on the current sensing data, the baseline drift correction and temperature and pressure cross-compensation mechanism in step S20 are used to compensate the original signals of the current oxygen partial pressure and the current nitrogen partial pressure to obtain the current compensated oxygen partial pressure value and the current compensated nitrogen partial pressure value; the arithmetic mean of the current temperature signal and the arithmetic mean of the current pressure signal at each detection point are calculated to obtain the current furnace cavity average temperature and the current furnace cavity average pressure; the current chip occupied area information is converted into the current chip occupied area encoding vector; and the current nitrogen inlet flow rate, the current exhaust flow rate ratio, the current furnace cavity average temperature, the current furnace cavity average pressure, the current compensated oxygen partial pressure value, the current compensated nitrogen partial pressure value, and the current chip occupied area encoding vector are combined into the current operating condition data; the current operating condition data and the coordinates of each concentration field grid node are input into the gas concentration prediction model of the chip occupied area to obtain the predicted oxygen concentration and predicted nitrogen concentration corresponding to each concentration field grid node;

[0031] Step S403: Based on the current chip occupied area information, select target grid nodes located within the current chip occupied area from each concentration field grid node, and extract the maximum value from the predicted oxygen concentration corresponding to each target grid node to obtain the maximum predicted oxygen concentration of the chip occupied area.

[0032] Preferably, step S50, which involves determining the concentration exceeding the limit and calculating the nitrogen replenishment flow rate based on the maximum predicted oxygen concentration in the area occupied by the chip and a preset oxygen concentration safety threshold, and then outputting a gas control command, specifically includes:

[0033] Step S501: Compare the maximum predicted oxygen concentration in the chip-occupied area with a preset oxygen concentration safety threshold. When the maximum predicted oxygen concentration in the chip-occupied area is greater than the preset oxygen concentration safety threshold, generate an exhaust start field; when the maximum predicted oxygen concentration in the chip-occupied area is less than or equal to the preset oxygen concentration safety threshold, generate an exhaust hold field.

[0034] Step S502: Obtain the effective volume of the welding furnace cavity, the preset oxygen concentration recovery time constant, the residual oxygen concentration in the supplied nitrogen, the preset reference absolute temperature, and the preset reference pressure. Convert the current average furnace cavity temperature into the current average absolute furnace cavity temperature expressed in Kelvin. Calculate the nitrogen replenishment flow rate increment at the current sampling time using the following formula:

[0035]

[0036] In the formula, This is the current sampling time; To replenish the nitrogen flow rate increment at the current sampling time; The effective volume of the welding furnace cavity; This is the preset oxygen concentration recovery time constant; The maximum predicted oxygen concentration in the chip-occupied area at the current sampling time; To preset a safe threshold for oxygen concentration, and ; To supply the residual oxygen concentration in nitrogen, and ; The preset reference absolute temperature, and ; This represents the average absolute temperature of the furnace cavity at the current sampling time. The average pressure in the furnace cavity at the current sampling time; To preset the reference pressure, and ;

[0037] Step S503: The product of the preset flow rate change rate limit and the preset model call period is determined as the single flow allowable increment. The smaller value between the nitrogen replenishment flow increment and the single flow allowable increment is determined as the nitrogen execution flow increment. The sum of the current nitrogen intake flow and the nitrogen execution flow increment is determined as the nitrogen intake target flow. The nitrogen intake target flow and the exhaust opening field or the exhaust holding field are encapsulated as the gas control command.

[0038] The present invention also provides a gas concentration detection system inside a welding furnace, the system comprising:

[0039] The multi-point acquisition module is used to acquire raw sensing data from multiple preset detection points inside the welding furnace. Based on the preset detection point layout parameters, a multi-sensor synchronous acquisition mechanism is used to perform data acquisition tasks and output multi-point raw sensor datasets.

[0040] The compensation and correction module is used to perform gas partial pressure compensation tasks based on the multi-point original sensor dataset by using baseline drift correction and temperature and pressure cross compensation mechanism, and output multi-point compensated sensor dataset.

[0041] The model building module is used to perform the concentration field model building task based on the multi-point compensation sensor dataset and the preset operating condition parameter range, using a hybrid kernel Gaussian process regression training mechanism, and outputs a gas concentration prediction model for the chip-occupied area.

[0042] The concentration prediction module is used to acquire the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, it uses a periodic spatial concentration inference mechanism to perform the concentration prediction task of the chip-occupied area and outputs the maximum predicted oxygen concentration of the chip-occupied area.

[0043] The control command generation module is used to determine the concentration exceeding the limit and calculate the nitrogen replenishment flow rate based on the maximum predicted oxygen concentration in the area occupied by the chip and the preset oxygen concentration safety threshold, and output the gas control command.

[0044] The present invention also provides a gas concentration detection device inside a welding furnace, the gas concentration detection device inside a welding furnace includes: a memory, a processor, and a gas concentration detection program inside a welding furnace stored in the memory and executable on the processor, the gas concentration detection program inside a welding furnace being executed by the processor to implement the above method.

[0045] The present invention also provides a computer program product, the computer program product including a welding furnace internal gas concentration detection program, which implements the above method when executed by a processor.

[0046] The beneficial effects of this invention are as follows:

[0047] This invention acquires gas partial pressure, temperature, and pressure signals simultaneously from multiple points and uses a temperature-pressure cross-compensation mechanism to correct sensor drift in real time. The compensated gas partial pressure values ​​obtained in this way can more accurately reflect the actual gas composition state in the furnace cavity, laying a data foundation for high-precision concentration field reconstruction.

[0048] This invention utilizes hybrid kernel Gaussian process regression to establish a mapping relationship between nitrogen inlet parameters, temperature, pressure, chip-occupied area, and oxygen concentration at fine grid nodes on the chip platform. This surrogate model can predict the maximum local oxygen concentration at the chip location, compensating for the shortcomings of relying solely on feedback from fixed-point sensors, and providing a reference quantity that is closer to the actual atmospheric state of the chip for control decisions.

[0049] After obtaining the predicted oxygen concentration in the chip area, this invention combines feedforward flow calculation with gas extraction coordination control. It can pre-compensate with a small nitrogen increment before the oxygen concentration reaches the critical danger value, and avoid sudden changes in furnace pressure by coordinating the timing of gas extraction and gas filling. This reduces the probability of chip deflection caused by sudden large flow of gas filling due to critical concentration, and improves the airflow stability and chip positioning accuracy during the welding process. Attached Figure Description

[0050] Figure 1 This is a schematic flowchart of the first embodiment of a method for detecting the internal gas concentration of a welding furnace according to the present invention. Detailed Implementation

[0051] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0052] Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0053] Example 1: As Figure 1 The diagram shown is a flowchart of a first embodiment of a method for detecting the internal gas concentration of a welding furnace according to the present invention.

[0054] In the first embodiment, the method for detecting the gas concentration inside a welding furnace includes:

[0055] Step S10: Acquire raw sensing data of multiple preset detection points in the welding furnace, and perform data acquisition tasks using a multi-sensor synchronous acquisition mechanism based on the preset detection point layout parameters, and output multi-point raw sensing datasets.

[0056] The raw sensing data is used to describe the local gas composition, thermal state, pressure state, air intake and exhaust states, and chip arrangement state of the welding furnace at the same sampling moment. Five preset detection points are set at the geometric center of the central section between the upper and lower air intake holes, 10 mm above the left edge of the chip stage, 10 mm above the right edge of the chip stage, inside the exhaust port, and at the rear corner of the furnace bottom. Each detection point is equipped with an oxygen partial pressure sensor, a nitrogen partial pressure sensor, a K-type thermocouple, and a miniature pressure sensor, which synchronously collect the raw oxygen partial pressure signal, the raw nitrogen partial pressure signal, the temperature signal, and the pressure signal at a preset sampling frequency of 10 Hz. This point layout covers the area where the air jets converge and the sides of the chip stage, as well as the exhaust channel and the corners of the furnace cavity where gas stagnation is likely to occur, so that the data can reflect the concentration differences at different flow locations.

[0057] The multi-sensor synchronous acquisition mechanism also synchronously reads the real-time nitrogen inlet flow rate, top exhaust flow rate, and total exhaust flow rate fed back by the nitrogen mass flow controller, and uses the ratio of the two exhaust flow rates to represent the current exhaust distribution status. Chip occupancy area information is derived from the current batch's wafer mounting record. During processing, one or more areas on the stage covered by the chip are converted into a chip occupancy area encoding vector. According to the timestamp of each sampling moment, the system combines the four types of sensor signals, the real-time nitrogen inlet flow rate, the exhaust flow rate ratio, and the chip occupancy area encoding vector at each detection point into a single synchronous record. Continuous synchronous records constitute a multi-point raw sensor dataset. Therefore, the flow rate, partial pressure, temperature, pressure, and chip layout used in subsequent processing all correspond to the same furnace cavity state, avoiding the splicing of intake and exhaust changes at different times into a non-existent operating condition.

[0058] The multi-point raw sensor dataset provides point-by-point pressure, temperature, and pressure inputs for step S20, enabling each detection point to independently perform drift correction and temperature / pressure compensation. Furthermore, it retains the real-time nitrogen inlet flow rate, exhaust flow rate ratio, and chip occupancy area encoding, providing the conditions for step S30 to correlate simulation conditions with actual observations. Because the dataset simultaneously carries detection point and sampling time information, model training can distinguish observational differences at the central section, stage edge, exhaust port, and furnace corner. During online inference, it can accurately place the current chip layout onto the corresponding concentration field grid. This processing forms a unified data entry point from field acquisition to concentration field modeling.

[0059] When using a single oxygen sensor or storing data from each acquisition channel separately, the oxygen partial pressure at the exhaust port may decrease earlier than at the edge of the chip stage, and the controller may mistakenly interpret the former as the entire furnace cavity having undergone gas replacement. Independent timing for each channel can also cause a misalignment between flow rate changes and concentration responses, making it impossible for subsequent compensation or training to determine which set of inlet and outlet parameters corresponds to a particular concentration change. Combining five-point synchronous acquisition with timestamps places local concentration differences, thermal pressure status, and chip-occupied area information in the same data structure, enabling subsequent models to identify high-oxygen-risk locations around the chip while reducing spurious correlations caused by inconsistent sampling timing.

[0060] For example, in a welding operation, four power chips are placed within a 3×3 area of ​​the chip stage, occupying the upper left, upper right, lower left, and lower right areas respectively, while the central area is empty. Five detection points are simultaneously acquired at a frequency of 10Hz. The raw oxygen partial pressure values ​​at the detection points on the left and right sides of the stage are approximately 1.02 kPa and 0.98 kPa, respectively, while the value at the central section detection point is approximately 0.81 kPa. The temperature at the five points is approximately 240℃, and the pressure is approximately 103 kPa. The mass flow controller reports a real-time nitrogen inlet flow rate of 45 L / min, and the ratio of the upper exhaust flow rate to the total exhaust flow rate is 0.6. The system converts the chip layout into a nine-bit encoded vector and writes the above data into a multi-point raw sensor dataset with the same timestamp, thus establishing a clear correlation between the higher oxygen partial pressure at the stage edge and the corresponding chip location.

[0061] Step S20: Based on the multi-point original sensor dataset, a baseline drift correction and temperature and pressure cross-compensation mechanism are used to perform a gas partial pressure compensation task, and a multi-point compensated sensor dataset is output.

[0062] Baseline drift correction is used to eliminate the slow zero-point shift that occurs in gas partial pressure sensors during continuous high-temperature operation. The system extracts the raw oxygen partial pressure signal, nitrogen partial pressure signal, temperature signal, and pressure signal from each detection point from the multi-point raw sensor dataset, and reads the initial zero bias and drift rate of the corresponding sensors. The initial zero bias is obtained by continuously introducing a preset zero gas into the furnace cavity for a preset replacement time, and then taking the arithmetic mean of the sensor output during a stable sampling period. The drift rate is determined by the ratio of the absolute difference between the initial zero biases obtained from two adjacent zero gas calibrations to the time interval between the two calibrations. The initial zero bias can be taken in the range of 0.01 kPa to 0.05 kPa, and the drift rate can be taken in the range of 0.001 kPa / h to 0.005 kPa / h.

[0063] At each sampling moment, the system first determines the cumulative running time from the most recent zero-gas calibration to the current sampling moment. Then, it determines the baseline drift using the cumulative offset corresponding to the initial zero bias and drift rate, and subtracts it from the original oxygen partial pressure and nitrogen partial pressure signals respectively. Subsequently, using 25℃ as the preset reference temperature and 101.325kPa as the preset reference pressure, the deviations of the current temperature and pressure relative to the reference states are calculated. The partial pressure compensation relationship simultaneously considers first-order temperature compensation, second-order temperature compensation, first-order pressure compensation, and temperature and pressure cross-compensation. The drift-corrected partial pressure signals are corrected according to the compensation coefficients obtained from the calibration of each sensor, resulting in the compensated oxygen partial pressure and compensated nitrogen partial pressure values.

[0064] After compensation, the system recombines the compensated oxygen and nitrogen partial pressure values ​​at each detection point with the original data, including temperature signals, pressure signals, real-time nitrogen intake flow rate, exhaust flow rate ratio, and the chip-occupied area encoding vector, according to the sampling time, to form a multi-point compensated sensor dataset. This output is not an isolated correction value, but a complete training and inference record retaining the original operating condition information. Step S30 uses this to establish a correlation between the measured compensated partial pressure and the simulated concentration field under the same operating condition. Step S40 can also use the same compensation caliber when processing the current data, thus ensuring that the offline training input and the online inference input have consistent physical meaning.

[0065] Using only the factory-set single-temperature profile does not eliminate zero-point drift caused by prolonged exposure to high temperatures, slight positive pressures, and periodic evacuation environments. Furthermore, simply subtracting the fixed zero bias fails to cover the coupled response when both temperature and pressure deviate from the reference state simultaneously. If these errors are directly incorporated into the concentration field model, the model may mistakenly interpret them as changes in gas composition with flow rate or chip layout, leading to gradual deviations in online predictions after continuous production. Placing zero-gas calibration, cumulative operating time, and temperature / pressure cross-compensation within the same processing chain can constrain errors introduced by the sensor's own state and ensure the comparability of partial pressure values ​​at each detection point.

[0066] For example, after the welding furnace has been running continuously for 48 hours, the furnace temperature is approximately 260℃ and the pressure is 103.5 kPa. The original output of the oxygen partial pressure sensor inside the exhaust port is 0.85 kPa. This sensor has been running for 20 hours since its last zero-pressure calibration, with a drift rate of 0.002 kPa / h, corresponding to a cumulative drift of 0.04 kPa, which, after deducting, yields 0.81 kPa. The system then performs temperature and pressure cross-compensation based on the current temperature, pressure, and the sensor's four types of compensation coefficients, and recombines the result with the current nitrogen inlet flow rate, exhaust flow rate ratio, and chip-occupied area encoding. If the 0.04 kPa cumulative drift is not deducted, step S30 will treat the sensor's zero-point change as a true oxygen partial pressure change, increasing the system bias of the concentration field training samples.

[0067] Step S30: Based on the multi-point compensation sensor dataset and the preset operating condition parameter range, the concentration field model construction task is performed using a hybrid kernel Gaussian process regression training mechanism, and the gas concentration prediction model of the chip-occupied area is output.

[0068] The preset operating parameters cover a range of nitrogen inlet flow rate from 10 L / min to 80 L / min, exhaust flow rate ratio from 0.3 to 0.7, average furnace temperature from 25℃ to 300℃, and average furnace pressure from 100 kPa to 105 kPa. Within this range, the system sets multiple combinations of operating parameters and performs computational fluid dynamics simulations for different chip-occupied areas to obtain the steady-state gas concentration field corresponding to each combination. A concentration field grid is created 3 mm above the chip stage plane with a 1 mm grid spacing. The true oxygen and nitrogen concentration values ​​for each grid node are recorded to form a true concentration field sample set. This sampling plane is close to the area of ​​the chip actually affected by the atmosphere, and the grid spacing is used to preserve local concentration changes at the junction of the chip edge and the inlet jet.

[0069] The ground truth concentration field sample set and the multi-point compensated sensing dataset are associated according to the combination of operating condition parameters. Specifically, each training sample simultaneously includes nitrogen inlet flow rate, exhaust flow rate ratio, furnace average temperature, furnace average pressure, concentration field grid node coordinates, chip occupancy area training encoding vector, and compensated oxygen partial pressure and compensated nitrogen partial pressure values ​​at each detection point under the corresponding operating condition; the regression target is the ground truth oxygen concentration and nitrogen concentration of that grid node. In this way, the measured partial pressure at fixed points is used to constrain the simulation field, and the grid coordinates and chip occupancy encoding are used to describe the location to be predicted and the occupancy state, ultimately forming a concentration field training sample set that can simultaneously express operating conditions, spatial location, and local observations.

[0070] The hybrid kernel Gaussian process regression training uses the true values ​​of oxygen and nitrogen concentrations as regression targets. A squared exponential kernel function is used to express the overall trend of smooth changes with operating conditions and spatial location; a Matérn 3 / 2 kernel function is used to describe more prominent local changes near inlet junctions, chip edges, and furnace corners; and a linear kernel function is used to retain the approximately linear portion of changes in flow rate, temperature, or pressure. The three kernel functions are combined with non-negative weights, with a total weight sum of 1, and their relative contributions are determined based on sample fit during training. The trained oxygen and nitrogen concentration Gaussian process regression sub-models are combined to form a gas concentration prediction model for the chip-occupied area, which is periodically called in step S40.

[0071] If linear interpolation is performed based solely on five detection points, the non-uniform concentration field formed by the convergence of dual-row air intake jets, chip obstruction, and exhaust path will be excessively smoothed, and local high-oxygen regions at the chip edge may be masked by nearby low values. Furthermore, rerunning the computational fluid dynamics simulation for each prediction cycle would be insufficient to meet the time requirements of online control. By establishing spatial samples using the simulation ground truth and then regressing using a Gaussian process constrained by compensated field partial pressures, the computationally intensive concentration field patterns can be compressed into a periodically callable prediction model, while preserving the influence of different chip layouts on local gas replacement paths.

[0072] For example, in a training scenario, the nitrogen inlet flow rate is 35 L / min, the exhaust flow rate ratio is 0.5, the average furnace temperature is 220℃, and the average furnace pressure is 102.5 kPa. Five small-sized chips occupy the four corners and the central area of ​​the stage. Computational fluid dynamics simulation generates true concentration values ​​in a grid with 1 mm intervals at a distance of 3 mm above the stage. Each detection point simultaneously provides the oxygen and nitrogen partial pressure values ​​compensated in step S20. When the trained model is back-substituted for this scenario, the predicted oxygen concentration at the node above the central chip is approximately 42 ppm, and at the chip edge node at the lower left corner of the stage, it is approximately 68 ppm. These two differences indicate that the model can distinguish between local concentration accumulation caused by chip obstruction and the inlet path, providing a spatial basis for step S40 to select the maximum value within the chip-occupied area.

[0073] Step S40: Obtain the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, use a periodic spatial concentration inference mechanism to perform the chip-occupied area concentration prediction task, and output the maximum predicted oxygen concentration of the chip-occupied area.

[0074] The current sensor data is an online operating condition snapshot acquired according to the preset model call cycle, including the current nitrogen intake flow rate, the current upper exhaust flow rate, the current total exhaust flow rate, the original signals of the current oxygen partial pressure at five detection points, the original signals of the current nitrogen partial pressure, the current temperature signal, the current pressure signal, and the information on the area occupied by the chip. The system first calculates the ratio of the current upper exhaust flow rate to the current total exhaust flow rate to obtain the current exhaust flow rate ratio, and then combines the above data according to the current sampling time. This data structure maintains the same field relationships as the multi-point original sensor dataset formed in step S10, allowing online inference to use the data meaning from the training phase.

[0075] The current sensor data processing reuses the baseline drift correction and temperature and pressure cross-compensation methods from step S20 to obtain the current compensated oxygen partial pressure and the current compensated nitrogen partial pressure. The system takes the arithmetic mean of the current temperature and pressure signals at the five detection points to form the current furnace cavity average temperature and current furnace cavity average pressure, and converts the current chip-occupied area information into an encoded vector. The current nitrogen inlet flow rate, current exhaust flow rate ratio, current furnace cavity average temperature, current furnace cavity average pressure, the two types of current compensated partial pressure values, and the current chip-occupied area encoding together constitute the current operating condition data.

[0076] The current operating data and the coordinates of each concentration field grid node are sequentially input into the gas concentration prediction model for the chip-occupied area to obtain the predicted oxygen and nitrogen concentrations for each grid node. Then, based on the current chip-occupied area information, target grid nodes covered by the chip are selected, and the maximum predicted oxygen concentration is extracted only from the predicted oxygen concentrations of these nodes to form the maximum predicted oxygen concentration for the chip-occupied area. The maximum value is used instead of averaging across the entire area because high-oxygen points at the chip's local edges may correspond to locations with concentrated oxidation risks, and averaging would dilute the concentration with lower predicted values ​​within the same area. This maximum value is directly used as the input for the limit-crossing judgment in step S50.

[0077] Sensors fixed at the exhaust port or furnace wall can only describe the gas state at the installation location. When the exhaust port is displaced quickly while gas remains stagnant at the edge of the chip stage, the reading at the fixed point may have already decreased, but the area around the chip may not yet have reached the same concentration level. Periodic spatial concentration inference inputs the current compensated partial pressure, intake and exhaust states, temperature and pressure states, and chip layout into the model, ensuring that each prediction revolves around the actual stage area occupied by the current batch. Therefore, the control basis shifts from single-point concentration to the spatial maximum value of the chip coverage area, reducing information mismatch between the sensor installation location and the actual product location.

[0078] For example, within a certain prediction period, the average temperature at five detection points is 255℃, the average pressure is 103.8 kPa, the current nitrogen inlet flow rate is 40 L / min, the current exhaust flow rate ratio is 0.55, and the chip occupies two adjacent areas in the upper right corner of the stage. After drift correction and temperature and pressure compensation, the system inputs the current operating data and stage grid coordinates into the prediction model. The predicted oxygen concentrations in the two target areas in the upper right corner show local high values ​​of 58 ppm and 64 ppm, respectively, while the central empty area is approximately 28 ppm. The system does not use the low values ​​in the empty area for averaging, but instead outputs 64 ppm as the maximum predicted oxygen concentration in the area occupied by the chip. This value exceeds the 50 ppm safety threshold, allowing for unambiguous entry into step S50 for over-limit judgment and flow rate calculation.

[0079] Step S50: Based on the maximum predicted oxygen concentration in the area occupied by the chip and the preset oxygen concentration safety threshold, determine the concentration exceeding the limit and calculate the nitrogen replenishment flow rate, and output the gas control command;

[0080] The concentration exceeding the limit determination first compares the maximum predicted oxygen concentration in the chip-occupied area with a preset oxygen concentration safety threshold. When the maximum predicted oxygen concentration is greater than the safety threshold, a gas control command is written to the exhaust start field; when the maximum predicted oxygen concentration is less than or equal to the safety threshold, it is written to the exhaust hold field. This field only reflects the exhaust control requirements corresponding to the current concentration state. The nitrogen intake target flow rate is determined separately by the supplementary flow rate calculation. Both are ultimately encapsulated in the same command to avoid control cycle mismatch caused by separate transmission of exhaust status and supplementary gas target.

[0081] The calculation of the nitrogen replenishment flow rate increment uses the effective volume of the welding furnace cavity, the preset oxygen concentration recovery time constant, the residual oxygen concentration in the supplied nitrogen, the preset reference absolute temperature, and the preset reference pressure as fixed or calibrated parameters, and uses the current average furnace cavity temperature, the current average furnace cavity pressure, and the maximum predicted oxygen concentration in the chip-occupied area obtained in step S40 as the current state variables. When the maximum predicted oxygen concentration exceeds the safety threshold, the basic replacement flow rate is first determined based on the effective furnace cavity volume and the recovery time constant, and then the dilution requirement is determined based on the concentration difference exceeding the safety threshold and the residual oxygen concentration in the supplied nitrogen, and the state correction is performed according to the relationship between the current absolute temperature and the reference absolute temperature, and the current pressure and the reference pressure; when the safety threshold is not exceeded, the replenishment flow rate increment is treated as zero.

[0082] To avoid excessive flow rate fluctuations caused by a single model call, the system multiplies a preset upper limit for flow rate change by a preset model call period to obtain the allowable increment for a single flow rate. The smaller of the calculated nitrogen replenishment flow rate increment and the allowable increment is then used as the nitrogen execution flow rate increment. The current nitrogen intake flow rate is added to the nitrogen execution flow rate increment to obtain the nitrogen intake target flow rate. Finally, the nitrogen intake target flow rate, together with the exhaust on or exhaust hold field, constitutes the gas control command, enabling the downstream actuator to simultaneously obtain the intake target and exhaust status within one control cycle.

[0083] When using only fixed increment or proportional-integral-derivative feedback, the same concentration exceeding the limit will result in the same adjustment action under different furnace volumes, temperatures, pressures, and gas purity, easily leading to insufficient gas replenishment or sudden increases in flow rate. The current calculation incorporates the degree of exceeding the limit, furnace replacement capacity, and gas state into the same flow rate requirement, and uses a single allowable flow rate increment to limit the execution range, thus decomposing larger theoretical replacement requirements into continuous model call cycles. After synchronously encapsulating the exhaust field and nitrogen intake target flow rate, the controller does not need to automatically splice commands from two different time sources, reducing furnace pressure fluctuations caused by inconsistent intake and exhaust actions.

[0084] For example, the maximum predicted oxygen concentration in the chip-occupied area output in step S40 is 72 ppm, the preset safety threshold is 50 ppm, and the current nitrogen inlet flow rate is 40 L / min. After the system reads the effective volume of the furnace cavity, the recovery time constant, the residual oxygen concentration of the supplied nitrogen, the current average absolute temperature of the furnace cavity, and the current average pressure of the furnace cavity, the theoretical nitrogen replenishment flow rate increment obtained is higher than the single flow allowable increment for this control cycle. If the preset upper limit of the flow rate change rate is 0.5 L / min / s and the model call cycle is 1 s, then the nitrogen execution flow rate increment for this time is 0.5 L / min, and the nitrogen inlet target flow rate is 40.5 L / min; since 72 ppm is higher than 50 ppm, the instruction is simultaneously written to the exhaust start field. The next cycle continues to repeat the determination based on the updated maximum predicted oxygen concentration until the concentration no longer exceeds the limit, at which point it is rewritten to the exhaust hold field.

[0085] Example 2: Furthermore, the welding furnace internal gas concentration detection system provided by the present invention employs a welding furnace internal gas concentration detection method from the above embodiments, which can solve the technical problem of detecting internal gas concentration in a welding furnace. The beneficial effects of the welding furnace internal gas concentration detection system provided by the present invention are the same as those of the welding furnace internal gas concentration detection method from the above embodiments, and other technical features of the welding furnace internal gas concentration detection system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0086] Example 3: This invention provides a gas concentration detection device inside a welding furnace. The device includes at least one processor and a memory communicatively connected to the processor. The memory stores instructions executable by the processor, which are then executed to enable the processor to perform the gas concentration detection method described in Example 1. The gas concentration detection device in this invention may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and vehicle terminals (e.g., vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. This gas concentration detection device is merely an example and should not limit the functionality or scope of the invention. The device may also include a processing unit (e.g., a central processing unit, a graphics processing unit), which can perform various appropriate actions and processes based on a program stored in a read-only memory or a program loaded from a storage device into a random access memory. The random access memory also stores various programs and data required for the operation of a welding furnace internal gas concentration detection device. The processing unit, read-only memory, and random access memory are interconnected via a bus. The I / O interface is also connected to the bus. Typically, the following systems can be connected to the I / O interface: input devices including touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices including magnetic tapes, hard disks, etc.; and communication devices. The communication device allows the welding furnace internal gas concentration detection device to exchange data wirelessly or via wired communication with other devices. While a welding furnace internal gas concentration detection device with various systems has been described, it should be understood that it is not required to implement or possess all the systems described. Alternatively, more or fewer systems may be implemented.

[0087] Example 4: This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method for detecting the internal gas concentration of a welding furnace. The computer program product provided by this invention can solve the technical problem of detecting the internal gas concentration of a welding furnace. Compared with the prior art, the beneficial effects of the computer program product provided by this invention are the same as those of the method for detecting the internal gas concentration of a welding furnace provided in the above embodiments, and will not be repeated here.

[0088] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a read-only memory. When the computer program is executed by a processing device, it performs the functions defined in the methods of the embodiments disclosed in this invention.

[0089] It should be understood that the various parts disclosed in this invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0090] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention also intends to include these modifications and variations.

Claims

1. A method for detecting the gas concentration inside a welding furnace, characterized in that, The methods include: Step S10: Acquire raw sensing data of multiple preset detection points in the welding furnace, and perform data acquisition tasks using a multi-sensor synchronous acquisition mechanism based on the preset detection point layout parameters, and output multi-point raw sensing datasets. Step S20: Based on the multi-point original sensor dataset, a baseline drift correction and temperature and pressure cross-compensation mechanism are used to perform a gas partial pressure compensation task, and a multi-point compensated sensor dataset is output. Step S30: Based on the multi-point compensation sensor dataset and the preset operating condition parameter range, the concentration field model construction task is performed using a hybrid kernel Gaussian process regression training mechanism, and the gas concentration prediction model of the chip-occupied area is output. Step S40: Obtain the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, use a periodic spatial concentration inference mechanism to perform the chip-occupied area concentration prediction task, and output the maximum predicted oxygen concentration of the chip-occupied area. Step S50: Based on the maximum predicted oxygen concentration in the area occupied by the chip and the preset oxygen concentration safety threshold, determine the concentration exceeding the limit and calculate the nitrogen replenishment flow rate, and output the gas control command.

2. The method for detecting the gas concentration inside a welding furnace as described in claim 1, characterized in that, Step S10 involves acquiring raw sensing data from multiple preset detection points within the welding furnace, performing data acquisition based on the preset detection point layout parameters using a multi-sensor synchronous acquisition mechanism, and outputting a multi-point raw sensing dataset. This step specifically includes: Step S101: Five detection points are set in the furnace cavity of the welding furnace with the upper and lower double-row air inlet structure. The five detection points are respectively located at the geometric center of the central section between the upper and lower air inlets, 10mm above the left edge of the chip stage, 10mm above the right edge of the chip stage, the inside of the exhaust port, and the rear corner of the bottom of the furnace cavity. Step S102: Set up an oxygen partial pressure sensor, a nitrogen partial pressure sensor, a K-type thermocouple and a miniature pressure sensor at each detection point, and synchronously collect the original oxygen partial pressure signal, the original nitrogen partial pressure signal, the temperature signal and the pressure signal at each detection point according to the preset sampling frequency, wherein the preset sampling frequency is 10Hz; Step S103: Synchronously acquire the real-time nitrogen inlet flow rate, upper exhaust flow rate, total exhaust flow rate, and chip-occupied area information fed back by the nitrogen mass flow controller; calculate the ratio of the upper exhaust flow rate to the total exhaust flow rate to obtain the exhaust flow rate ratio; convert the chip-occupied area information into a chip-occupied area encoding vector; and perform time alignment on the original oxygen partial pressure signal, the original nitrogen partial pressure signal, the temperature signal, the pressure signal, the real-time nitrogen inlet flow rate, the exhaust flow rate ratio, and the chip-occupied area encoding vector according to the timestamps corresponding to each sampling time to obtain the multi-point original sensor dataset.

3. The method for detecting the gas concentration inside a welding furnace as described in claim 2, characterized in that, Step S20, which involves performing a gas partial pressure compensation task based on the multi-point raw sensor dataset using a baseline drift correction and temperature and pressure cross-compensation mechanism, and outputting a multi-point compensated sensor dataset, specifically includes: Step S201: Extract the original oxygen partial pressure signal, nitrogen partial pressure signal, temperature signal and pressure signal of each detection point from the multi-point original sensor dataset, and read the initial zero bias and drift rate corresponding to each oxygen partial pressure sensor and each nitrogen partial pressure sensor. Step S202: Determine the cumulative running time from the most recent zero calibration time to the current sampling time. Based on the initial zero bias, the drift rate, and the cumulative running time, determine the baseline drift amount corresponding to each oxygen partial pressure sensor and each nitrogen partial pressure sensor. Subtract the corresponding baseline drift amount from the original oxygen partial pressure signal and the original nitrogen partial pressure signal respectively to obtain the drift-corrected oxygen partial pressure signal and the drift-corrected nitrogen partial pressure signal. Step S203: Determine the temperature deviation between the temperature signal and the preset reference temperature and the pressure deviation between the pressure signal and the preset reference pressure at each detection point. Use a partial pressure compensation relationship consisting of a first-order temperature compensation term, a second-order temperature compensation term, a first-order pressure compensation term, and a temperature and pressure cross-compensation term to compensate the drift-corrected oxygen partial pressure signal and the drift-corrected nitrogen partial pressure signal, obtaining the compensated oxygen partial pressure value and the compensated nitrogen partial pressure value at each detection point. Combine the compensated oxygen partial pressure value, the compensated nitrogen partial pressure value, the temperature signal, the pressure signal, the real-time nitrogen intake flow rate, the exhaust flow rate ratio, and the chip-occupied area encoding vector according to the sampling time to obtain the multi-point compensated sensor dataset, where the preset reference temperature is 25℃ and the preset reference pressure is 101.325kPa.

4. The method for detecting the gas concentration inside a welding furnace as described in claim 3, characterized in that, In step S202, the initial zero bias values ​​for each oxygen partial pressure sensor and each nitrogen partial pressure sensor range from 0.01 kPa to 0.05 kPa, and the drift rates for each oxygen partial pressure sensor and each nitrogen partial pressure sensor range from 0.001 kPa / h to 0.005 kPa / h. A preset zero gas is introduced into the furnace cavity of the welding furnace and continuously introduced until a preset replacement time is reached. The output signals of each oxygen partial pressure sensor and each nitrogen partial pressure sensor are collected during a preset stable sampling period. The arithmetic mean of each output signal during the preset stable sampling period is determined as the corresponding initial zero bias. Perform at least two zero-air calibrations at a preset calibration time interval, and determine the corresponding drift rate by the ratio of the absolute difference between the initial zero biases obtained from two adjacent zero-air calibrations to the time interval between the two adjacent zero-air calibrations.

5. The method for detecting the gas concentration inside a welding furnace as described in claim 3, characterized in that, Step S30, based on the multi-point compensation sensor dataset and the preset operating condition parameter range, employs a hybrid kernel Gaussian process regression training mechanism to perform the concentration field model construction task and outputs the chip-occupied area gas concentration prediction model. This step specifically includes: Step S301: Set multiple combinations of operating parameters within the preset operating parameter range of nitrogen inlet flow rate of 10L / min to 80L / min, exhaust flow rate ratio of 0.3 to 0.7, average furnace temperature of 25℃ to 300℃, and average furnace pressure of 100kPa to 105kPa. Use computational fluid dynamics simulation to obtain the steady-state gas concentration field corresponding to each combination of operating parameters. Divide the concentration field grid nodes at a distance of 3mm above the chip stage plane with a grid spacing of 1mm, and record the true values ​​of oxygen concentration and nitrogen concentration corresponding to each concentration field grid node to obtain the concentration field true value sample set. Step S302: Obtain chip occupancy area information corresponding to each combination of operating parameters, and convert the chip occupancy area information into a chip occupancy area training encoding vector; according to the combination of operating parameters, associate the nitrogen inlet flow rate, exhaust flow rate ratio, furnace cavity average temperature, furnace cavity average pressure, concentration field grid node coordinates, and chip occupancy area training encoding vector in the concentration field true value sample set with the compensated oxygen partial pressure value and the compensated nitrogen partial pressure value in the multi-point compensation sensing dataset to form a concentration field training sample set with the oxygen concentration true value and the nitrogen concentration true value as the regression target; Step S303: Using the true values ​​of oxygen and nitrogen concentrations in the training sample set of the concentration field as regression targets, respectively, a Gaussian process regression sub-model for oxygen concentration and a Gaussian process regression sub-model for nitrogen concentration are trained using a hybrid kernel function formed by combining the squared exponential kernel function, the Matérn 3 / 2 kernel function, and the linear kernel function with non-negative weights. The sum of the non-negative weights corresponding to the squared exponential kernel function, the Matérn 3 / 2 kernel function, and the linear kernel function is 1. The Gaussian process regression sub-models for oxygen concentration and nitrogen concentration are combined to obtain the gas concentration prediction model for the chip-occupied area.

6. The method for detecting the gas concentration inside a welding furnace as described in claim 5, characterized in that, In step S40, the current sensing data of the welding furnace is acquired. Based on the current sensing data and the gas concentration prediction model of the chip-occupied area, a periodic spatial concentration inference mechanism is used to perform the chip-occupied area concentration prediction task, and the step of outputting the maximum predicted oxygen concentration of the chip-occupied area is specifically included: Step S401: According to the preset model call cycle, acquire the current nitrogen inlet flow rate, current upper exhaust flow rate, current total exhaust flow rate, current oxygen partial pressure raw signal, current nitrogen partial pressure raw signal, current temperature signal, current pressure signal, and current chip occupied area information. Calculate the ratio of the current upper exhaust flow rate to the current total exhaust flow rate to obtain the current exhaust flow rate ratio. Combine the current nitrogen inlet flow rate, the current exhaust flow rate ratio, the current oxygen partial pressure raw signal, the current nitrogen partial pressure raw signal, the current temperature signal, the current pressure signal, and the current chip occupied area information according to the current sampling time to obtain the current sensing data. Step S402: Based on the current sensing data, the baseline drift correction and temperature and pressure cross-compensation mechanism in step S20 are used to compensate the original signals of the current oxygen partial pressure and the current nitrogen partial pressure to obtain the current compensated oxygen partial pressure value and the current compensated nitrogen partial pressure value; the arithmetic mean of the current temperature signal and the arithmetic mean of the current pressure signal at each detection point are calculated to obtain the current furnace cavity average temperature and the current furnace cavity average pressure; the current chip occupied area information is converted into the current chip occupied area encoding vector; and the current nitrogen inlet flow rate, the current exhaust flow rate ratio, the current furnace cavity average temperature, the current furnace cavity average pressure, the current compensated oxygen partial pressure value, the current compensated nitrogen partial pressure value, and the current chip occupied area encoding vector are combined into the current operating condition data; the current operating condition data and the coordinates of each concentration field grid node are input into the gas concentration prediction model of the chip occupied area to obtain the predicted oxygen concentration and predicted nitrogen concentration corresponding to each concentration field grid node; Step S403: Based on the current chip occupied area information, select target grid nodes located within the current chip occupied area from each concentration field grid node, and extract the maximum value from the predicted oxygen concentration corresponding to each target grid node to obtain the maximum predicted oxygen concentration of the chip occupied area.

7. The method for detecting the gas concentration inside a welding furnace as described in claim 6, characterized in that, Step S50, which involves determining whether a concentration exceeds the limit and calculating the nitrogen replenishment flow rate based on the maximum predicted oxygen concentration in the area occupied by the chip and a preset oxygen concentration safety threshold, and then outputting a gas control command, specifically includes: Step S501: Compare the maximum predicted oxygen concentration in the chip-occupied area with a preset oxygen concentration safety threshold. When the maximum predicted oxygen concentration in the chip-occupied area is greater than the preset oxygen concentration safety threshold, generate an exhaust start field; when the maximum predicted oxygen concentration in the chip-occupied area is less than or equal to the preset oxygen concentration safety threshold, generate an exhaust hold field. Step S502: Obtain the effective volume of the welding furnace cavity, the preset oxygen concentration recovery time constant, the residual oxygen concentration in the supplied nitrogen, the preset reference absolute temperature, and the preset reference pressure. Convert the current average furnace cavity temperature into the current average absolute furnace cavity temperature expressed in Kelvin. Calculate the nitrogen replenishment flow rate increment at the current sampling time using the following formula: In the formula, This is the current sampling time; To replenish the nitrogen flow rate increment at the current sampling time; The effective volume of the welding furnace cavity; This is the preset oxygen concentration recovery time constant; The maximum predicted oxygen concentration in the chip-occupied area at the current sampling time; To preset a safe threshold for oxygen concentration, and ; To supply the residual oxygen concentration in nitrogen, and ; The preset reference absolute temperature, and ; This represents the average absolute temperature of the furnace cavity at the current sampling time. The average pressure in the furnace cavity at the current sampling time; To preset the reference pressure, and ; Step S503: The product of the preset flow rate change rate limit and the preset model call period is determined as the single flow allowable increment. The smaller value between the nitrogen replenishment flow increment and the single flow allowable increment is determined as the nitrogen execution flow increment. The sum of the current nitrogen intake flow and the nitrogen execution flow increment is determined as the nitrogen intake target flow. The nitrogen intake target flow and the exhaust opening field or the exhaust holding field are encapsulated as the gas control command.

8. A gas concentration detection system for a welding furnace, applied to the gas concentration detection method for a welding furnace as described in any one of claims 1 to 7, characterized in that, The gas concentration detection system inside the welding furnace includes: The multi-point acquisition module is used to acquire raw sensing data from multiple preset detection points inside the welding furnace. Based on the preset detection point layout parameters, a multi-sensor synchronous acquisition mechanism is used to perform data acquisition tasks and output multi-point raw sensor datasets. The compensation and correction module is used to perform gas partial pressure compensation tasks based on the multi-point original sensor dataset by using baseline drift correction and temperature and pressure cross compensation mechanism, and output multi-point compensated sensor dataset. The model building module is used to perform the concentration field model building task based on the multi-point compensation sensor dataset and the preset operating condition parameter range, using a hybrid kernel Gaussian process regression training mechanism, and outputs a gas concentration prediction model for the chip-occupied area. The concentration prediction module is used to acquire the current sensing data of the welding furnace, and based on the current sensing data and the gas concentration prediction model of the chip-occupied area, it uses a periodic spatial concentration inference mechanism to perform the concentration prediction task of the chip-occupied area and outputs the maximum predicted oxygen concentration of the chip-occupied area. The control command generation module is used to determine the concentration exceeding the limit and calculate the nitrogen replenishment flow rate based on the maximum predicted oxygen concentration in the area occupied by the chip and the preset oxygen concentration safety threshold, and output the gas control command.

9. A gas concentration detection device inside a welding furnace, characterized in that, The welding furnace internal gas concentration detection device includes: a memory, a processor, and a welding furnace internal gas concentration detection program stored in the memory and executable on the processor. When the welding furnace internal gas concentration detection program is executed by the processor, it implements a welding furnace internal gas concentration detection method according to any one of claims 1 to 7.

10. A computer program product, characterized in that, The computer program product includes a welding furnace internal gas concentration detection program, which, when executed by a processor, implements a welding furnace internal gas concentration detection method according to any one of claims 1 to 7.