Dynamic compensation method for humidity sensor
Through humidity step response testing and state space model transformation, the problems of long response time and large temperature influence of the polyimide capacitive humidity sensor are solved, and accurate humidity measurement compensation is achieved when the temperature changes.
Patent Information
- Application Number
- CN202111622564.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-12-28
AI Technical Summary
Polyimide capacitive humidity sensors have long response times, poor dynamic characteristics, and large deviations in measurement results when temperature changes. Traditional compensation methods are difficult to effectively handle dynamic temperature and humidity environments.
By selecting the average concentration of water molecules in the outside air and the average concentration of water molecules in the humidity sensor as identification objects, conduct a humidity step response test, determine the system transfer function and convert it into a state space model, and use the equivalent temperature influence of the state transition matrix to Calculate the compensated humidity measurement.
The test difficulty is reduced, the accuracy of the compensation model is ensured when the temperature changes, and the dynamic measurement accuracy of the humidity sensor is improved.
Smart Images

Figure CN114324501B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of sensor compensation, and in particular, to a dynamic compensation method for a humidity sensor. Background Art
[0002] Polyimide capacitive humidity sensor is a widely used humidity sensor. The main working principle of polyimide capacitive humidity sensor is that the humidity sensing capacitor medium absorbs water vapor molecules in the air, and the dielectric constant of the sensitive capacitor changes, thereby causing the capacitance value to change. In the MEMS process of processing polyimide capacitive humidity sensor, a humidity sensing medium such as polyimide is coated between comb-shaped electrodes. After the humidity sensing medium between the electrodes absorbs moisture, the dielectric constant changes, and the capacitance value between the electrodes also changes. Then, the capacitance change is converted into a digital signal output through steps such as capacitance voltage conversion and ADC. Polyimide capacitive humidity sensor has a series of advantages such as high sensitivity, low power consumption, and small temperature offset, so it has become the mainstream solution of widely used miniaturized humidity sensor. However, polyimide capacitive humidity sensor has problems such as long response time, poor dynamic characteristics, and distortion in transient change measurement.
[0003] At the same time, polyimide capacitive humidity sensors are greatly affected by temperature during humidity measurement. Traditional single-variable sensor compensation methods are suitable for linear steady-state systems. Polyimide capacitive humidity sensors themselves are greatly affected by temperature. When the temperature changes to a certain extent during humidity measurement, the results obtained by traditional dynamic compensation methods will have large deviations. If the sensor system is regarded as a binary input system of temperature and humidity for system identification, it is required to test the output of the sensor system when the temperature and humidity change simultaneously, and the control of the dynamic temperature and humidity environment has high precision requirements, which greatly increases the difficulty of testing. Summary of the invention
[0004] In view of this, the present disclosure provides a dynamic compensation method for a humidity sensor to solve at least one of the above and other technical problems.
[0005] In order to achieve the above-mentioned purpose, the present disclosure provides a dynamic compensation method for a humidity sensor, comprising: S1: selecting the average concentration of water molecules u(k) in the outside air and the average concentration of water molecules y(k) in the humidity probe of the humidity sensor as identification objects, and obtaining the functional relationship between the identification objects and humidity and temperature; S2: performing a humidity step response test on the humidity sensor under constant temperature; S3: determining the system transfer function G(Z) of the humidity sensor through an algorithm according to the humidity step response test result; S4: converting the sensor system transfer function G(Z) into the sensor system state space model Σ 0; S5: According to the diffusion equation, the effect of temperature variables on water molecule diffusion or humidity is equivalent to the effect of water molecule diffusion time change on water molecule diffusion or humidity within the measurement interval at constant temperature, and the sensor system state space model is transformed into a homogeneous equation form; S6: According to the sensor system state space model in the form of homogeneous equation Σ 0 The measured temperature T k The state transfer matrix is used to quantify and determine the temperature-dependent humidity sensor system transfer function G. K (Z); S7: Calculate the compensated humidity measurement value RHc(k).
[0006] According to the embodiments of the present disclosure, the average concentration of water molecules in the external air of the identification object u(k) and the average concentration of water molecules in the humidity probe of the humidity sensor y(k) can be expressed as:
[0007]
[0008] In formula (1), ρ v (T) is the saturated steam density at the corresponding ambient temperature, M v is the molar mass of water, RHi is the ambient humidity input humidity, and Rho is the sensor output humidity.
[0009] According to an embodiment of the present disclosure, the algorithm used for the humidity step response test result includes any one of the least squares method, particle swarm optimization, and neural network.
[0010] According to an embodiment of the present disclosure, the system transfer function G(Z) of the humidity sensor is:
[0011]
[0012] Where n is the order of the sensor model, Z is the delay factor, and a and b are the model parameters of the system transfer function.
[0013] According to an embodiment of the present disclosure, the state space model Σ corresponding to the system transfer function G(Z) 0 The standard type is selected.
[0014] Among them, the corresponding observable standard state space model is:
[0015]
[0016] In formula (3):
[0017]
[0018]
[0019]
[0020] C=[0 0 … 1]
[0021] According to an embodiment of the present disclosure, the diffusion equation of water molecules in the sensor probe is:
[0022]
[0023] In formula (4), D e (t) is the diffusion rate of water molecules;
[0024] D e (t) is the diffusion rate of water molecules that changes with temperature, and its function relationship with temperature is:
[0025]
[0026] In formula (5), T 0 Temperature Diffusion rate of water molecules.
[0027] According to an embodiment of the present disclosure, the variables of the diffusion equation are separated, and N=N t (t)·N r (x, y, z), and substitute it into equation (4):
[0028]
[0029] Separation variables are Ignore N r , for N t have
[0030]
[0031] Since the temperature measurement is also discrete, the temperature change in the measurement interval is ignored and the temperature is assumed to be
[0032] T(t)=T(k) kτ≤t<(k+1)τ (8)
[0033] In the formula, τ is the sampling interval time. We examine the time kτ≤t<(k+1)τ separately and convert the equivalent time t * =t·(T / T 0 ) 1.75 Substituting into (7) we can get:
[0034]
[0035] Its form and temperature are T 0 Same when constant.
[0036] According to an embodiment of the present disclosure, the diffusion process of a sampling interval at different temperatures is replaced by the diffusion of different times at the standard reference temperature, and the substitution relationship is:
[0037] τ * =τ·(T / T 0 ) 1.75 (10)
[0038] Temperature sampling is discrete, and it can be considered that the temperature remains unchanged within the sampling interval. The temperature within the k and k+1 sampling intervals is T(k), and the external environmental humidity does not change to u(k).
[0039] According to an embodiment of the present disclosure, the state space model of the sensor system is transformed into a homogeneous equation form within a sampling interval, and the state transfer matrix is used for quantification to determine the humidity sensor system transfer function G that changes with temperature. K (Z) process, including:
[0040] The state space model of the sensor system is transformed into a homogenization process, introducing the state transfer matrix coefficient Φ,
[0041]
[0042] In formula (11),
[0043]
[0044] The above formula is the time interval is the sampling interval τ and the temperature is constant when the temperature T of the identification sensor system is 0 The state transition matrix for the case where the temperature is different from T 0 When the temperature and input concentration remain unchanged, only the sampling interval becomes τ * =τ·(T(k) / T 0 ) 1.75 When , the system status becomes:
[0045]
[0046]
[0047] τ * / τ=(T(k) / T 0 ) 1.75 (14)
[0048] The state space model of the sensor that changes with temperature is assumed to be Σ K :
[0049]
[0050] Then there is
[0051]
[0052] The above formula determines the state space model of the sensor that changes with temperature as Σ K Parameters.
[0053] According to an embodiment of the present disclosure, the humidity sensor system transfer function G that varies with temperature K (Z) By eliminating the state variable x(k), we can obtain the transfer functions of y(k) and u(k) as a function of temperature:
[0054]
[0055] Therefore, the relative humidity RHo(k) and T(k) output by the humidity sensor can be used to obtain the compensation value RHc(k) of the air environment humidity:
[0056]
[0057] According to the dynamic compensation method of the humidity sensor of the above embodiment of the present disclosure, the humidity sensor system is identified by introducing the average concentration of water molecules in the air u(k) and the average concentration of water molecules in the humidity probe of the sensor y(k) as identification objects; and by analyzing the diffusion equation of water molecules in the humidity sensor, the influence of the temperature variable on the probe humidity is equivalent to the influence of the change of the diffusion time of water molecules in the measurement interval under constant temperature on the humidity, and the state transfer matrix is used to quantify it, and the system transfer function G that changes with temperature is determined. K (Z), and finally the compensated humidity measurement value RHc(k) is obtained. The compensation process in this method only needs to test the humidity step response of the sensor under constant temperature conditions, which reduces the test difficulty and ensures the accuracy of the compensation model when the temperature changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a flow chart of a dynamic compensation method for a humidity sensor according to an embodiment of the present disclosure; and
[0059] Figure 2 It is a schematic diagram of the functional relationship between saturated steam density and temperature. DETAILED DESCRIPTION
[0060] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0061] Polyimide capacitive humidity sensors have problems such as long response time, poor dynamic characteristics, and distortion in transient change measurements. At the same time, polyimide capacitive humidity sensors are greatly affected by temperature during humidity measurement. Traditional single-variable sensor compensation methods are suitable for linear steady-state systems. Polyimide capacitive humidity sensors themselves are greatly affected by temperature. When the temperature changes to a certain extent during humidity measurement, the results obtained by traditional dynamic compensation methods will have large deviations. If the sensor system is regarded as a binary input system of temperature and humidity for system identification, it is required to test the output of the sensor system when the temperature and humidity change simultaneously, and the control of the dynamic temperature and humidity environment has high precision requirements, which greatly increases the difficulty of testing.
[0062] To this end, according to the present disclosure, a dynamic compensation method for a humidity sensor is provided, comprising: S1: selecting an average concentration of water molecules u(k) in the outside air and an average concentration of water molecules y(k) in a humidity probe of a humidity sensor as identification objects, and obtaining a functional relationship between the identification objects and humidity and temperature; S2: performing a humidity step response test on the humidity sensor under a constant temperature condition; S3: determining a system transfer function G(Z) of the humidity sensor through an algorithm according to the humidity step response test result; S4: converting the sensor system transfer function G(Z) into a sensor system state space model Σ 0 ; S5: According to the diffusion equation, the effect of temperature variables on water molecule diffusion or humidity is equivalent to the effect of water molecule diffusion time change on water molecule diffusion or humidity within the measurement interval at constant temperature, and the sensor system state space model is transformed into a homogeneous equation form; S6: According to the sensor system state space model in the form of homogeneous equation Σ 0 The measured temperature T k The state transfer matrix is used to quantify and determine the temperature-dependent humidity sensor system transfer function G. K (Z); S7: Calculate the compensated humidity measurement value RHc(k).
[0063] In the above-mentioned dynamic compensation method of humidity sensor, the humidity sensor system is identified by introducing the average concentration of water molecules in the air u(k) and the average concentration of water molecules in the humidity probe of the sensor y(k) as identification objects, and the influence of temperature variables on the probe humidity is equivalent to the influence of the change of water molecule diffusion time on humidity in the measurement interval under constant temperature by analyzing the diffusion equation of water molecules in the humidity sensor, and the state transfer matrix is used to quantify it and determine the system transfer function G that changes with temperature. K (Z), and finally the compensated humidity measurement value RHc(k) is obtained. The compensation process in this method only needs to test the humidity step response of the sensor under constant temperature conditions, which reduces the test difficulty and ensures the accuracy of the compensation model when the temperature changes.
[0064] The following specific embodiments are listed to illustrate the technical solution of the present disclosure in detail. It should be noted that the following specific embodiments are only used for illustration and are not used to limit the present disclosure.
[0065] Figure 1 4 is a flow chart of a dynamic compensation method for a humidity sensor according to an embodiment of the present disclosure.
[0066] like Figure 1 As shown, the dynamic compensation method of the humidity sensor includes: S1: selecting the average concentration of water molecules u(k) in the outside air and the average concentration of water molecules y(k) in the humidity probe of the humidity sensor as the identification object, and obtaining the functional relationship between the identification object and the humidity and temperature; S2: performing a humidity step response test on the humidity sensor under constant temperature; S3: determining the system transfer function G(Z) of the humidity sensor through an algorithm according to the humidity step response test result; S4: converting the sensor system transfer function G(Z) into the sensor system state space model Σ 0 ; S5: According to the diffusion equation, the effect of temperature variables on water molecule diffusion or humidity is equivalent to the effect of water molecule diffusion time change on water molecule diffusion or humidity within the measurement interval at constant temperature, and the sensor system state space model is transformed into a homogeneous equation form; S6: According to the sensor system state space model in the form of homogeneous equation Σ 0 The measured temperature T k The state transfer matrix is used to quantify and determine the temperature-dependent humidity sensor system transfer function G. K (Z); S7: Calculate the compensated humidity measurement value RHc(k). The compensation process of this method only requires the humidity step response test of the sensor under constant temperature conditions. Compared with the identification compensation method that regards temperature and humidity as a binary input system, it reduces the test difficulty and ensures the accuracy of the compensation model when the temperature changes.
[0067] According to the embodiments of the present disclosure, the capacitance change of the polyimide capacitive humidity sensor probe and the humidity output by the sensor both change directly with the temperature. Therefore, when temperature and humidity are directly used as identification variables, it is necessary to identify the two input variables of temperature and humidity, which greatly increases the difficulty of identification. Therefore, the identification objects of the present disclosure are selected as the average concentration of water molecules in the outside air u(k) and the average concentration of water molecules in the humidity probe of the humidity sensor y(k), which can be expressed as:
[0068]
[0069] In formula (1), ρ v (T) is the saturated steam density at the corresponding ambient temperature, M v is the molar mass of water, RHi is the ambient humidity input humidity, and Rho is the sensor output humidity.
[0070] Figure 2 It is a schematic diagram of the functional relationship between saturated steam density and temperature.
[0071] According to an embodiment of the present disclosure, in the above formula (1), v (T) is the saturated steam density at the corresponding ambient temperature, which is expressed by ρ v (T) The two identification variables u(k) and y(k) in equation (1) establish a functional relationship with temperature, ρ v (T) and temperature function relationship Figure 2 .
[0072] According to an embodiment of the present disclosure, the algorithm used for the humidity step response test result includes any one of the least squares method, particle swarm optimization, and neural network.
[0073] According to an embodiment of the present disclosure, the system transfer function G(Z) of the humidity sensor is obtained by calculating the humidity step response test result:
[0074]
[0075] Where n is the order of the sensor model, Z is the delay factor, and a and b are the model parameters of the system transfer function.
[0076] According to an embodiment of the present disclosure, the system transfer function G(Z) corresponds to the state space model Σ 0 The standard type is selected.
[0077] Therefore, the corresponding observable standard state space model is:
[0078]
[0079] In formula (3):
[0080]
[0081]
[0082]
[0083] C=[0 0 … 1]
[0084] According to an embodiment of the present disclosure, the diffusion equation of water molecules in the sensor probe is:
[0085]
[0086] In formula (4), D e (t) is the diffusion rate of water molecules. The only temperature-dependent factor in equation (4) is the diffusion rate of water molecules D which changes with temperature.e (t), and its functional relationship with temperature is:
[0087]
[0088] In formula (5), T 0 Temperature Diffusion rate of water molecules.
[0089] According to an embodiment of the present disclosure, the variables of the diffusion equation are separated, and N=N t (t)·N r (x, y, z), and substitute it into equation (4):
[0090]
[0091] Separation variables are Ignore N r , for N t Then we have:
[0092]
[0093] Since the temperature measurement is discrete, the temperature change in the measurement interval is ignored and the temperature is assumed to be:
[0094] T(t)=T(k) kτ≤t<(k+1)τ (8)
[0095] In formula (8), τ is the sampling interval. When considering the time kτ≤t<(k+1)τ alone, the equivalent time t * =t·(T / T 0 ) 1.75 Substituting into (7) we can get:
[0096]
[0097] At this time, the form of equation (9) and the temperature are T 0 The equation (7) is the same as that when the temperature is constant. It can be analyzed that increasing the temperature is equivalent to accelerating the diffusion process for the movement of water molecules. Therefore, the diffusion of water molecules or the change of humidity caused by the temperature difference during the humidity measurement process can be converted into the diffusion of water molecules or the change of humidity caused by the change of diffusion time during the measurement interval.
[0098] According to an embodiment of the present disclosure, the diffusion process of a sampling interval at different temperatures is replaced by the diffusion process of different time at the standard reference temperature, and the substitution relationship is:
[0099] τ * =τ·(T / T 0 ) 1.75 (10)
[0100] Temperature sampling is discrete, and it can be considered that the temperature remains unchanged within the sampling interval. The temperature within the k and k+1 sampling intervals is T(k), and the external environmental humidity does not change to u(k).
[0101] According to an embodiment of the present disclosure, the state space model of the sensor system can be transformed into a homogeneous equation form within a sampling interval:
[0102]
[0103] After the state transfer, u(k) still represents the unchanged concentration of input water molecules within an interval. Φ is the state transfer matrix coefficient, which can be obtained from the state space model Σ 0 get:
[0104]
[0105] Formula (11) is the time interval for the sampling interval τ and the temperature is constant when the temperature T of the identification sensor system is 0 The state transition matrix for the case where the temperature is different from T 0 The temperature change at τ can be equivalent to the change of sampling interval. When the temperature and input concentration remain unchanged, only the sampling interval changes to τ * =τ·(T(k) / T 0 ) 1.75 When , the system state transfer matrix becomes:
[0106]
[0107]
[0108] τ * / τ=(T(k) / T 0 ) 1.75 (14)
[0109] The state space model of the sensor that changes with temperature is assumed to be Σ K :
[0110]
[0111] Then there is
[0112]
[0113] The state space model of the sensor that changes with temperature is determined by equation (15) as Σ K Parameters. However, formula (15) also introduces the state variable x(k):
[0114]
[0115] To eliminate the above variables, the following equations are established:
[0116]
[0117] Eliminate variables in total n 2 +n+1 equations, n 2 +n state variables x(k)~x(k+n), the state variable x(k) can be eliminated.
[0118] According to an embodiment of the present disclosure, the humidity sensor system transfer function G that varies with temperature K (Z) By eliminating the state variable x(k), we can obtain the transfer functions of y(k) and u(k) as a function of temperature:
[0119]
[0120] According to an embodiment of the present disclosure, the compensation value RHc(k) of the air environment humidity is obtained by the relative humidity RHo(k) and T(k) output by the humidity sensor:
[0121]
[0122] According to the dynamic compensation method of the humidity sensor of the above embodiment of the present disclosure, the humidity sensor system is identified by introducing the average concentration of water molecules in the air u(k) and the average concentration of water molecules in the humidity probe of the sensor y(k) as identification objects, and the influence of the temperature variable on the probe humidity is equivalent to the influence of the change of the diffusion time of water molecules in the measurement interval under constant temperature on the humidity by analyzing the diffusion equation of water molecules in the humidity sensor, and the state transfer matrix is used to quantify it, and the system transfer function G that changes with temperature is determined. K (Z), and finally the compensated humidity measurement value RHc(k) is obtained. The compensation process in this method only needs to perform a humidity step response test on the sensor under constant temperature conditions, which reduces the test difficulty and ensures the accuracy of the compensation model when the temperature changes.
[0123] It should also be noted that the directional terms mentioned in the embodiments, such as "upper", "lower", "front", "back", "left", "right", etc., are only reference directions of the drawings and are not intended to limit the scope of protection of the present disclosure. Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure.
[0124] Moreover, the shapes and sizes of the components in the figures do not reflect the actual size and proportion, but only illustrate the contents of the embodiments of the present disclosure. Furthermore, the word "comprising" does not exclude the existence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the existence of a plurality of such elements.
[0125] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of invention should not be interpreted as reflecting the intention that the claimed disclosure requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of a single embodiment of the preceding invention. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present disclosure.
[0126] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present disclosure. It should be understood that the above description is only a specific embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A dynamic compensation method for a humidity sensor, include: S1: Select the average concentration of water molecules u(k) in the outside air and the average concentration of water molecules y(k) in the humidity probe of the humidity sensor as the identification object, and obtain the functional relationship between the identification object and humidity and temperature; S2: Perform humidity step response test on the humidity sensor under constant temperature; S3: According to the humidity step response test results, the system transfer function G(Z) of the humidity sensor is determined by an algorithm; S4: Convert the sensor system transfer function G(Z) into the sensor system state space model Σ 0 ; S5: According to the diffusion equation, the influence of temperature variables on the diffusion or humidity of water molecules is equivalent to the influence of the change of the diffusion time of water molecules in the measurement interval under constant temperature on the diffusion or humidity of water molecules, and the state space model of the sensor system is transformed into a homogeneous equation form; S6: Sensor system state space model Σ in terms of homogeneous equations 0 The measured temperature T(k) is quantified using the state transfer matrix to determine the temperature-dependent humidity sensor system transfer function G K (Z); The state space model of the sensor system is transformed into a homogeneous equation form within a sampling interval, and the state transfer matrix is used for quantification to determine the temperature-dependent humidity sensor system transfer function G K (Z) process, including: The state space model of the sensor system is transformed into a homogenization process, introducing the state transfer matrix coefficient Φ, In formula (1), Where n is the order of the sensor model, a and b are the model parameters of the system transfer function; The above formula is the time interval is the sampling interval τ and the temperature is constant when the temperature T of the identification sensor system is 0 The state transition matrix for the case where the temperature is different from T 0 When the temperature and input concentration remain unchanged, only the sampling interval becomes τ * =τ·(T(k) / T 0 ) 1.75 When , the system status becomes: t * / τ=(T(k) / T 0 ) 1.75 (4) Assume that the state space model of the sensor that changes with temperature is Σ K : Where, C = [0 0 … 1]; Then there is The above formula determines the state space model of the sensor that changes with temperature as Σ K Parameters; The temperature-dependent humidity sensor system transfer function G K (Z) By eliminating the state variable x(k), we can obtain the transfer functions of y(k) and u(k) as a function of temperature: Where Z is the delay factor; S7: Calculate the compensated humidity measurement value RHc(k); Therefore, the relative humidity RHo(k) and T(k) output by the humidity sensor can be used to obtain the compensation value RHc(k) of the air environment humidity: Among them, ρ v (T(k)) is the density of saturated steam at the measured temperature T(k), M v is the molar mass of water.
2. The dynamic compensation method of the humidity sensor according to claim 1, in, The average concentration of water molecules in the external air of the identification object u(k) and the average concentration of water molecules in the humidity probe of the humidity sensor y(k) can be expressed as: In formula (8), T is the ambient temperature, ρ v (T) is the saturated vapor density at the corresponding ambient temperature, RHi is the ambient humidity input humidity, and RHo is the sensor output humidity.
3. The dynamic compensation method of the humidity sensor according to claim 1, in, The algorithm used for the humidity step response test result includes any one of the least square method, particle swarm and neural network.
4. The dynamic compensation method of the humidity sensor according to claim 1, in, The system transfer function G(Z) of the humidity sensor is:
5. The dynamic compensation method of the humidity sensor according to claim 4, in, The state space model Σ corresponding to the system transfer function G(Z) 0 The standard type is selected. Among them, the corresponding observable standard state space model is:
6. The dynamic compensation method of the humidity sensor according to claim 1, in, The diffusion equation of water molecules in the sensor probe is: In formula (11), D e (T) is the diffusion rate of water molecules; D e (T) is the diffusion rate of water molecules that changes with temperature, and its functional relationship with temperature is: In formula (12), T 0 Temperature Diffusion rate of water molecules.
7. The dynamic compensation method of the humidity sensor according to claim 1, in, Separate the variables of the diffusion equation and set N = N t (t)·N r Substituting (x, y, z) into equation (11) yields: Separation variables are Ignore N r , for N t have Since the temperature measurement is also discrete, the temperature change in the measurement interval is ignored and the temperature is assumed to be T(t)=T(k) kτ≤t<(k+1)τ (15) In formula (15), τ is the sampling interval time. We consider the time kτ≤t<(k+1)τ separately and convert the equivalent time t * =t·(T / T 0 ) 1.75 Substituting into formula (14) we can get: Its form and temperature are T 0 Same when constant.
8. The dynamic compensation method of the humidity sensor according to claim 7, in, The diffusion process of a sampling interval at different temperatures is replaced by the diffusion time at the standard reference temperature. The substitution relationship is: t * =τ·(T / T 0 ) 1.75 (17) Temperature sampling is discrete, and it can be considered that the temperature remains unchanged within the sampling interval. The measured temperature within the k and k+1 sampling intervals is T(k), and the external environmental humidity does not change to u(k).
