A method for extracting macromodel of thermal wind speed sensor based on state space method

The thermal wind speed sensor macro model is constructed through the state space method, which solves the problem of high time consumption and cost of thermal wind speed sensor design and optimization in the prior art, and achieves rapid and accurate design and optimization, reducing R&D costs.

CN115017865BActive Publication Date: 2024-11-05SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210724303.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2024-11-05
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

The prior art has problems of time consumption and high cost in the design and optimization of thermal wind speed sensors. The sensor parameter setting requires a lot of experiments or simulations, and there is a lack of system-level simulation methods to shorten the design cycle.

Method used

The thermal wind speed sensor macro model extraction method based on the state space method is adopted. Through three-dimensional modeling, finite element simulation, polynomial fitting and Verilog-A language coupling, the state space model is constructed and packaged into circuit components for system level Simulation and optimization.

Benefits of technology

A relatively accurate and complete macro model extraction of thermal wind speed sensors is achieved, reducing the calculation amount, rapidly designing and optimizing sensors, reducing costs and improving R&D efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017865B_ABST
    Figure CN115017865B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for extracting a macro model of a thermal wind speed sensor based on a state space method: the method first extracts the size, structure and material parameters of the thermal wind speed sensor and performs three-dimensional modeling, sets an air domain, initializes boundary conditions for finite element simulation, obtains the step response of the thermal wind speed sensor model when the wind speed is 0 and the convective heat transfer coefficient on the surface of a heating unit and upstream and downstream temperature measurement units of the thermal wind speed sensor model when the wind speed is not 0, constructs a state space model of the thermal sensor based on the step response of the thermal wind speed sensor model by using the state space method, and simultaneously fits the convective heat transfer coefficient to obtain a polynomial of an equivalent wind speed, couples the state space model and the equivalent wind speed polynomial through the Verilog‑A language, obtains a complete macro model of the thermal wind speed sensor, and finally calls the macro model into a constant power circuit for verification simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of thermal sensor simulation, and in particular relates to a method for extracting a macro model of a thermal wind speed sensor based on a state space method. Background Art

[0002] MEMS thermal wind sensor can measure the size and direction of wind speed by the change of heat. It involves three physical fields: fluid, thermal and electrical. It is a typical complex multi-physical field coupling device. At present, the simulation of thermal wind speed sensor is mainly based on traditional calculation equations or modeling simulation. These methods are very time-consuming and labor-intensive, which is quite unfavorable for sensor design and optimization. And the setting of sensor parameters requires a lot of experiments or simulations to summarize the optimal solution. In order to shorten the design cycle and reduce costs, it is urgent to simulate the sensor at the system level. In system-level simulation, the extraction of sensor macro model is a key link, so a universally applicable process method for extracting sensor macro model is urgently needed. Using equivalent circuit method to establish the macro model of the device is a common method. It is based on the analogy of electricity and non-electricity, and the non-electrical part is represented by the corresponding circuit. Its main advantage is that it can clearly understand the dynamic characteristics of the device and perform small signal analysis. However, the equivalent circuit method can describe few types of models and is limited to linear models. However, this method combines the state space method, hardware description language method and polynomial fitting method, and can extract macro models from nonlinear models. It can also perform large signal analysis and small signal analysis on macro models. Most importantly, it can insert system-level simulation tools (such as Cadence) to perform collaborative simulation with circuits for optimization. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for extracting a macro model of a thermal wind speed sensor based on the state space method, so as to form a relatively accurate and complete basic device unit model that can fully reflect the response characteristics of the thermal wind speed sensor. Then, by directly calling the unit model and co-simulating with the designed circuit, the response characteristics of the sensor in the entire system are predicted, providing a reference for the design optimization of the thermal wind speed sensor.

[0004] Technical solution, in order to achieve the above invention object, the present invention proposes a method for extracting a macro model of a thermal wind speed sensor based on a state space method, the method comprising the following steps:

[0005] 1) According to the size, structure and material parameters of the thermal wind speed sensor, a three-dimensional modeling of the thermal wind speed sensor chip is performed to obtain a thermal wind speed sensor model;

[0006] 2) Wrap the thermal wind speed sensor model in the established air domain, mesh the entire model including the air domain, divide the model into several nodes, initialize the temperature conditions of the air domain and the model, and perform finite element simulation to obtain the step response of the thermal wind speed sensor model and the convective heat transfer coefficient of the thermal wind speed sensor heating unit and the temperature measurement unit in the wind speed direction;

[0007] 3) fitting the convective heat transfer coefficient in step 2) to obtain a polynomial relationship between the convective heat transfer coefficient and the wind speed;

[0008] 4) constructing a state space model for the thermal wind speed sensor, wherein the step response of the state space model is the same as the step response of the thermal wind speed sensor model when the wind speed is 0;

[0009] 5) The equivalent wind speed polynomial obtained in step 3) is coupled with the state space model obtained in step 4) using Verilog-A language to obtain a macro model of the thermal wind speed sensor, which is then packaged as a circuit element by Cadence Virtuoso.

[0010] Furthermore, the component can be connected to a circuit for simulation.

[0011] Furthermore, in step 1), the thermal wind speed sensor model includes a substrate, a heating unit and a temperature measuring unit; the heating unit is located in the center of the substrate, and the temperature measuring units are distributed in four directions of the heating unit, namely, the up, down, left and right directions, wherein the temperature measuring unit on the left side of the heating unit is the upstream temperature measuring unit, and the temperature measuring unit on the right side of the heating unit is the downstream temperature measuring unit.

[0012] Furthermore, in step 2), the thermal wind speed sensor model is located at the center of the air domain, one side of the air domain in the same direction as the upstream temperature measuring unit is set as an inlet, and one side of the air domain in the same direction as the downstream temperature measuring unit is set as an outlet, the wind enters from the inlet and flows out from the outlet, the remaining surfaces of the air domain are insulating walls, the air in the air domain is an incompressible fluid, and the flow state is laminar.

[0013] Furthermore, the initialization temperature range is: 250-300K.

[0014] Furthermore, in step 2), when calculating the convective heat transfer coefficient of the center point of the surface of the model heating unit and the temperature measuring unit, multiple groups of wind speed values ​​are set at the entrance of the air domain, and a fixed power is applied to the heating unit. The corresponding convective heat transfer coefficient is obtained after steady-state simulation. The range of the wind speed value is: 0-30m / s.

[0015] Furthermore, in step 3), the relationship between the convection coefficient and the velocity is obtained by fitting the convection heat transfer coefficient:

[0016] Polynomial for the convective heat transfer coefficient of the heating unit: h r=a 01 x 5 +a 02 x 4 +a 03 x 3 +a 04 x 2 +a 05 x+a 06 ;

[0017] Polynomial of the convective heat transfer coefficient of the upstream temperature measuring unit: h w =a 11 x 5 +a 12 x 4 +a 13 x 3 +a 14 x 2 +a 15 x+a 16 ;

[0018] The polynomial of the convective heat transfer coefficient of the downstream temperature measuring unit is: h e =a 21 x 5 +a 22 x 4 +a 23 x 3 +a 24 x 2 +a 25 x+a 26 ,

[0019] Among them, a 01 ,a 02 …,a 26 represents the fitting coefficient.

[0020] Further, in step 2), obtaining the step response of the thermal wind speed sensor model includes the following steps:

[0021] (1) Set the wind speed to 0, set two input powers P1 and P2 on the heating unit, and set the input power P w , the downstream temperature measurement unit sets the input power P e The output of the thermal wind speed sensor is the center point temperature T of the heating unit. h , the center point temperature T of the upstream temperature measuring unit w and the center point temperature T of the downstream temperature measuring unit e ;

[0022] (2) The input of the thermal wind speed sensor model system is set up in the following four cases:

[0023] 1) P1 = P, P2 = 0, Pe =0,P w =0;

[0024] 2) P2=P,P1=0,P e =0,P w =0;

[0025] 3) P e =P, P1=0, P2=0, P w =0;

[0026] 4) P w =P, P1=0, P2=0, P e =0;

[0027] Finite element simulations were performed for 1)-4) respectively, and the step responses h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under 1) were obtained respectively. 13 (t), h 21 (t), h 31 (t); 2) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 12 (t), h 22 (t), h 32 (t); 3) The step response of the thermal wind speed sensor under the condition h 13 (t), h 23 (t), h 33 (t); 4) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 14 (t), h 24 (t), h 34 (t).

[0028] Furthermore, in step 4), the state-space method requires that the step response of the thermal wind speed sensor and the step response of the state-space model are the same. The thermal wind speed sensor model consists of 12 step responses. Description, according to a one-to-one mapping relationship, construct the step responses of 12 state-space models to match them, and obtain the state-space model of the thermal wind speed sensor by combining the 12 state-space models.

[0029] Further, the method of constructing a state space model using the state space method is as follows:

[0030] (1) Let the wind speed be 0, the input of the heating unit of the thermal wind speed sensor is P1 = P, P2, P w , P e =0, simulate and obtain the node temperature distribution of the thermal wind speed sensor model, and randomly select two node temperatures T1 and T2 to construct the second-order state space model;

[0031] (2) The second-order state space model is expressed by the equation system:

[0032]

[0033] in, represents the derivative of node temperature T1 with respect to time t, represents the derivative of node temperature T2 with respect to time t, u represents the input of the second-order state-space model, y refers to the output of the second-order state-space model, A is the 2×2 dimensional system matrix of the second-order state-space model, B is the 2×1 dimensional input matrix of the second-order state-space model, let This gives the specific equation representation of the second-order state space model:

[0034]

[0035] Among them, a, b, c, d, f, g represent the parameters to be found;

[0036] (3) The simulation results show that the step response of the thermal wind speed sensor is convergent, and the step response of the second-order state space model is also convergent. The system matrix A is set to be a diagonal normal form, that is, the parameters b = 0, c = 0, and the input u of the second-order state space is set to 1. The state transfer matrix e At Do a linear transformation on formula (2), the matrix According to matrix operation, the state transfer matrix e At Convert to e at and e dt The node temperatures T1 and T2 and the state transfer matrix e are obtained. at and e dt The relationship is:

[0037]

[0038] (4) From formula (2) The output response y=T1+T2 of the second-order state-space model is obtained. Substituting the parameters of Formula 4 into y=T1+T2, the expression of the output response y of the second-order state-space model is obtained:

[0039]

[0040] According to the unit step input and the theory of the system in the time domain, the output response y of the second-order state space model is equal to the step response h, so:

[0041]

[0042] (5) The curve represented by the second-order state space model step response h expressed by formula (5) approximates the step response h of the thermal wind speed sensor 11 (t), obtain the values ​​of a, d, f, g, and get the expression of the second-order state space model:

[0043]

[0044] (6) Repeat (1)-(5) to obtain the remaining 11 second-order state-space models, whose equation form is the same as formula (6). The 12 second-order state-space models are linearly combined to obtain the state-space model of the thermal wind speed sensor constructed by 24 node temperature variables, which is expressed as:

[0045]

[0046] Among them, the input of the state space model of the thermal wind speed sensor is u1, u2, u3 and u4 correspond to the inputs P1, P2, P w and P e The outputs y1, y2, and y3 of the state space model of the thermal wind speed sensor correspond to the outputs T of the thermal wind speed sensor. h , T w and T e , A2 is the 24×24 dimensional system matrix of the state space model of the thermal wind speed sensor, B2 is the 24×4 dimensional input matrix of the state space model of the thermal wind speed sensor, and C2 is the 3×24 dimensional output matrix of the state space model of the thermal wind speed sensor.

[0047] Furthermore, in step 5), the input u1 of the state space model of the thermal wind speed sensor remains unchanged, and the convective heat transfer coefficient h r ,h w and h e Replace the u2, u3 and u4 input interfaces of the thermal wind speed sensor state space model, establish the connection between the wind speed and thermal wind speed sensor state space models, and realize the coupling between the two.

[0048] Beneficial effects: Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects:

[0049] (1) The present invention realizes the extraction of macro models of nonlinear systems such as thermal wind speed sensors by splitting nonlinear systems such as thermal wind speed sensors into nonlinear parts and linear parts, first reducing the order of the linear part, and then adding the nonlinear part to the linear part by re-coupling.

[0050] (2) The present invention uses simulation tools to obtain the output response of the model, which can further reduce the amount of calculation. This method can effectively and quickly extract the macro model of the thermal wind speed sensor, and the performance of the thermal wind speed sensor in the actual circuit can be obtained through circuit simulation of the macro model, which can speed up the design and optimization of the sensor, significantly reduce costs, and improve research and development efficiency.

[0051] (3) The present invention adopts the state space method to reduce the order of the linear part of the thermal wind speed sensor system, which can maximize the output response of the reduced-order model and the original model, that is, the outputs of the two models are basically the same when the inputs are the same.

[0052] (4) The polynomial fitting method adopted by the present invention to fit the convective heat transfer coefficient can further approach the influence of the actual wind speed on the model.

[0053] (5) In summary, the modeling of the thermal wind speed sensor in the present invention only requires the extraction of some parameters for modeling, and the working process of the complex device is reproduced by using a simplified model. Moreover, the macro model extracted based on the simplified model can be closer to the real sensor model within the allowable error range. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is the structure of a through silicon via thermal wind speed sensor chip on a glass substrate;

[0055] Figure 2 is a schematic diagram of a thermal wind speed sensor chip with an air domain;

[0056] Figure 3 is a flow chart of the invention;

[0057] Figure 4 It is a schematic diagram of the macro model of the thermal wind speed sensor and a circuit diagram of the macro model of the constant power circuit control;

[0058] Figure 5 This is the relationship between the temperature of the heating resistor and the temperature measuring resistor and the wind speed in the constant power mode of the thermal wind speed sensor;

[0059] Figure 6 This is the relationship between the temperature difference of the upstream and downstream temperature measuring resistors and the wind speed in the constant power mode of the thermal wind speed sensor. DETAILED DESCRIPTION

[0060] The following describes the embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings. The method of the present invention is applied to a non-packaged thermal wind speed sensor chip. Figure 3 The flowchart shown illustrates the specific implementation process of the present invention.

[0061] The present invention proposes a method for extracting a macro model of a thermal wind speed sensor based on a state space method, the method comprising the following steps:

[0062] 1) According to the size, structure and material parameters of the thermal wind speed sensor, a three-dimensional modeling of the thermal wind speed sensor chip is performed to obtain a thermal wind speed sensor model;

[0063] 2) Wrap the thermal wind speed sensor model in the established air domain, mesh the entire model including the air domain, divide the model into several nodes, initialize the temperature conditions of the air domain and the model, and perform finite element simulation to obtain the step response of the thermal wind speed sensor model and the convective heat transfer coefficient of the thermal wind speed sensor heating unit and the temperature measurement unit in the wind speed direction;

[0064] 3) fitting the convective heat transfer coefficient in step 2) to obtain a polynomial relationship between the convective heat transfer coefficient and the wind speed;

[0065] 4) constructing a state space model for the thermal wind speed sensor, wherein the step response of the state space model is the same as the step response of the thermal wind speed sensor model when the wind speed is 0;

[0066] 5) The equivalent wind speed polynomial obtained in step 3) is coupled with the state space model obtained in step 4) using Verilog-A language to obtain a macro model of the thermal wind speed sensor, which is packaged as a circuit element by Cadence Virtuoso and connected to the circuit for simulation.

[0067] As a specific embodiment of the present invention, in step 1, a glass with a size of 4000*4000*180um is selected as the substrate of the thermal wind speed sensor chip, through holes are punched on the glass substrate, and silicon is filled as a heating unit and a temperature measuring unit. Three-dimensional modeling is performed based on the existing size structure, and boundary conditions are simplified to simplify the model. Figure 1 The structure diagram of the thermal wind speed sensor is shown in FIG. The heating unit is located in the center of the substrate, and the temperature measuring units are distributed in four directions: up, down, left, and right. The temperature measuring unit on the left side of the heating unit is the upstream temperature measuring unit, and the temperature measuring unit on the right side of the heating unit is the downstream temperature measuring unit.

[0068] As a specific embodiment of the present invention, in step 2, an air domain is established to wrap the model therein, and the entire model including the air domain is meshed. After the temperature conditions are initialized, finite element simulation is performed to obtain the output response of the model and the convective heat transfer coefficient of the heating unit and the temperature measuring unit in the wind speed direction in the model. Figure 2 is a schematic diagram of a thermal wind speed sensor with an air domain.

[0069] As a specific embodiment of the present invention, in step 2, the convective heat transfer coefficient of the heating unit and the temperature measuring unit in the wind speed direction in the model is obtained as follows: when calculating the convective heat transfer coefficient of the center point of the surface of the heating unit and the temperature measuring unit of the model, it is necessary to set multiple groups of wind speed values ​​(0-30m / s) at the entrance of the air domain, and at the same time apply a fixed power to the heating unit, and the corresponding convective heat transfer coefficient can be obtained after steady-state simulation.

[0070] As a specific embodiment of the present invention, in step 2, multiple groups of convective heat transfer coefficients are solved, and then these coefficients are fitted with polynomials to obtain equivalent wind speed polynomials. In order to make the equivalent wind speed polynomial closer to the actual wind speed flow, the fitting of the convective heat transfer coefficient adopts the polynomial fitting method:

[0071] h=a0x n +a1x n-1 +a2x n-2 +…+a n x 0 (2)

[0072] Among them, a n It means that the fitting coefficient depends on the distribution of sample points, x is the wind speed, and h is the convective heat transfer coefficient.

[0073] The equivalent wind speed polynomial of the heating unit is obtained as:

[0074] h r =-8×10 -5 x 5 +0.0071x 4 -0.2253x 3 +3.4913x 2 -39.68x-27.332,

[0075] The equivalent wind speed polynomial of the upstream temperature measurement unit is:

[0076] h w =-9×10 -5 x 5 +0.0076x 4 -0.2629x 3 +4.7525x 2 -54.754x-18.102;

[0077] The equivalent wind speed polynomial of the downstream temperature measurement unit is:

[0078] h e =-7×10 -5 x 5 +0.0063x 4 -0.2124x 3+2.9977x 2 -16.995x-13.349;

[0079] Among them, h r 、h w and h e They are all polynomials in wind speed x.

[0080] As a specific embodiment of the present invention, in step 2, the output response of the thermal wind speed sensor model is obtained as follows:

[0081] (1) Set the wind speed to 0, set two input powers P1 and P2 on the heating unit, and set the input power P w , the downstream temperature measurement unit sets the input power P e The output of the thermal wind speed sensor is the center point temperature T of the heating unit. h , the center point temperature T of the upstream temperature measuring unit w and the center point temperature T of the downstream temperature measuring unit e ;

[0082] (2) The thermal wind speed sensor model system has the following four input settings:

[0083] 1) P1 = P, P2 = 0, P e =0,P w =0;

[0084] 2) P2=P,P1=0,P e =0,P w =0;

[0085] 3) P e =P, P1=0, P2=0, P w =0;

[0086] 4) P w =P, P1=0, P2=0, P e =0;

[0087] Finite element simulations were performed for 1)-4) respectively, and the step responses h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under 1) were obtained respectively. 11 (t), h 21 (t), h 31 (t); 2) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 12 (t), h 22 (t), h 32 (t); 3) The step response of the thermal wind speed sensor under the condition h 13 (t), h23 (t), h 33 (t); 4) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 14 (t), h 24 (t), h 34 (t).

[0088] As a specific embodiment of the present invention, in step 4, the state-space method requires that the step response of the thermal wind speed sensor and the step response of the state-space model are the same, and the behavior of the thermal wind speed sensor model consists of 12 step responses. Description, according to a one-to-one mapping relationship, construct the step responses of 12 state-space models to match them, and obtain the state-space model of the thermal wind speed sensor by combining the 12 state-space models.

[0089] As a specific embodiment of the present invention, in step 4, a state space model is constructed using a state space method, and the method is as follows:

[0090] (1) Let the wind speed be 0, the input of the heating unit of the thermal wind speed sensor is P1 = P, P2, P w , P e =0, simulate and obtain the node temperature distribution of the thermal wind speed sensor model, and randomly select two node temperatures T1 and T2 to construct the second-order state space model;

[0091] (2) The second-order state space model is expressed by the equation system:

[0092]

[0093] in, represents the derivative of node temperature T1 with respect to time t, represents the derivative of the node temperature T2 with respect to time t, u refers to the input of the second-order state-space model, y refers to the output of the second-order state-space model, A is the system matrix of the second-order state-space model, which is 2×2 dimensional, B is the input matrix of the second-order state-space model, which is 2×1 dimensional, let The specific equation representation of the second-order state space model is obtained:

[0094]

[0095] Among them, a, b, c, d, f, g represent the parameters to be found;

[0096] (3) The simulation shows that the step response of the thermal wind speed sensor is convergent, and the step response of the second-order state space model is also convergent. The system matrix A is set to be a diagonal normal form, that is, the parameters b = 0, c = 0, and the input u of the second-order state space is set to 1. The state transfer matrix e AtDo a linear transformation on formula 3, the matrix According to matrix operation, the state transfer matrix e At Convert to e at and e dt The combination form of node temperature variables T1 and T2 and the state transfer matrix e are obtained. at and e dt The relationship is:

[0097]

[0098] (4) From formula 2 The output response y=T1+T2 of the second-order state-space model is obtained. Substituting the parameters of Formula 4 into y=T1+T2, the expression of the output response y of the second-order state-space model is obtained:

[0099]

[0100] Because it is a unit step input, according to the theory of the system in the time domain, the output response y of the second-order state space model is equal to the step response h, so:

[0101]

[0102] (5) The curve represented by the second-order state space model step response h expressed in formula 5 is used to approximate the step response h of the thermal wind speed sensor. 11 (t), obtain the specific values ​​of a, d, f, g, and get the expression of the second-order state space model:

[0103]

[0104] (6) Repeat (1)-(5) to obtain the remaining 11 second-order state-space models, whose equation form is the same as that of Formula 6. The 12 second-order state-space models are linearly combined to obtain the state-space model of the thermal wind speed sensor constructed by 24 node temperature variables, which is expressed as:

[0105]

[0106] Among them, the input of the state space model of the thermal wind speed sensor is u1, u2, u3 and u4 correspond to the inputs P1, P2, P w and P e The outputs y1, y2, and y3 of the state space model of the thermal wind speed sensor correspond to the outputs T of the thermal wind speed sensor. h , T w and T e, A2 is the 24×24 dimensional system matrix of the state space model of the thermal wind speed sensor, B2 is the 24×4 dimensional input matrix of the state space model of the thermal wind speed sensor, and C2 is the 3×24 dimensional output matrix of the state space model of the thermal wind speed sensor.

[0107] As a specific embodiment of the present invention, in step 5, the A2, B2 and C2 matrices of the total state space model are described in the Verilog-A language according to the state space flow chart, and the convective heat transfer coefficient h r ,h w and h e By replacing the u2, u3 and u4 input interfaces of the thermal wind speed sensor state space model, the wind speed is coupled into the overall state space model, forming a complete macro model of the thermal wind speed sensor, which can be directly called into various circuits for use. Figure 4 The thermal wind speed sensor macro model (a) and the circuit diagram of the thermal wind speed sensor macro model under constant power mode control (b) are shown. In order to verify the effectiveness of the thermal wind speed sensor macro model, relevant verifications were carried out. Figure 5 The relationship between the temperature and wind speed of the heating resistor and the temperature measuring resistor in the constant power heating mode is shown. Figure 6 The relationship between the temperature difference of the upstream and downstream temperature measuring resistors and the wind speed in the constant power heating mode is shown. The error comparison between the macro model simulation result and the finite element simulation result meets the requirements of the specific embodiment of the present invention.

[0108] The above description is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any person familiar with the technology can understand and think of any changes or substitutions within the technical scope disclosed by the present invention, which should be included in the scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for extracting a macro model of a thermal wind speed sensor based on a state space method, characterized in that: The method comprises the following steps: 1) Performing three-dimensional modeling on the thermal wind speed sensor chip according to the size, structure, and material parameters of the thermal wind speed sensor to obtain a thermal wind speed sensor model; 2) Wrap the thermal wind speed sensor model in the established air domain, mesh the entire model including the air domain, divide the model into several nodes, initialize the temperature conditions of the air domain and the model, and perform finite element simulation to obtain the step response of the thermal wind speed sensor model and the convective heat transfer coefficient of the thermal wind speed sensor heating unit and the temperature measurement unit in the wind speed direction; 3) fitting the convective heat transfer coefficient in step 2) to obtain a polynomial relationship between the convective heat transfer coefficient and the wind speed; 4) constructing a state space model for the thermal wind speed sensor, wherein the step response of the state space model is the same as the step response of the thermal wind speed sensor model when the wind speed is 0; 5) The equivalent wind speed polynomial obtained in step 3) is coupled with the state space model obtained in step 4) using Verilog-A language to obtain a macro model of the thermal wind speed sensor, which is packaged as a circuit element by Cadence Virtuoso; The method of constructing a state-space model using the state-space method is as follows: (1) Let the wind speed be 0, the input of the heating unit of the thermal wind speed sensor is P1 = P, P2, P w , P e =0, simulate and obtain the node temperature distribution of the thermal wind speed sensor model, and randomly select two node temperatures T1 and T2 to construct the second-order state space model; (2) The second-order state space model is expressed by the equation system: in, represents the derivative of node temperature T1 with respect to time t, represents the derivative of node temperature T2 with respect to time t, u represents the input of the second-order state-space model, y refers to the output of the second-order state-space model, A is the 2×2 dimensional system matrix of the second-order state-space model, B is the 2×1 dimensional input matrix of the second-order state-space model, let This gives the specific equation representation of the second-order state space model: Among them, a, b, c, d, f, g represent the parameters to be found; (3) The simulation results show that the step response of the thermal wind speed sensor is convergent, and the step response of the second-order state space model is also convergent. The system matrix A is set to be a diagonal normal form, that is, the parameters b = 0, c = 0, and the input u of the second-order state space is set to 1. The state transfer matrix e At Do a linear transformation on formula (2), the matrix According to matrix operation, the state transfer matrix e At Convert to e at and e dt The node temperatures T1 and T2 and the state transfer matrix e are obtained. at and e dt The relationship is: (4) From formula (2) The output response y=T1+T2 of the second-order state-space model is obtained. Substituting the parameters of formula (3) into y=T1+T2, the expression of the output response y of the second-order state-space model is obtained: According to the unit step input and system time domain theory, the output response y of the second-order state space model is equal to the step response h, so: (5) The curve represented by the second-order state space model step response h expressed by formula (5) approximates the step response h of the thermal wind speed sensor 11 (t) to obtain the values ​​of a, d, f, and g, and thus obtain the expression of the second-order state space model: (6) Repeat (1)-(5) to obtain the remaining 11 second-order state space models, whose equation form is the same as formula (6). The 12 second-order state space models are linearly combined to obtain the state space model of the thermal wind speed sensor constructed by 24 node temperature variables, which is expressed as: Among them, the input of the state space model of the thermal wind speed sensor is u1, u2, u3 and u4 correspond to the inputs P1, P2, P w and P e The outputs y1, y2, and y3 of the state space model of the thermal wind speed sensor correspond to the outputs T of the thermal wind speed sensor. h , T w and T e , A2 is the 24×24 dimensional system matrix of the state space model of the thermal wind speed sensor, B2 is the 24×4 dimensional input matrix of the state space model of the thermal wind speed sensor, C2 is the 3×24 dimensional output matrix of the state space model of the thermal wind speed sensor, T1…T 24 are the node temperatures randomly selected in each second-order state-space model solution, where the wind speed is set to 0, two input powers P1 and P2 are set on the heating unit, and the input power P is set on the upstream temperature measurement unit. w , the downstream temperature measurement unit sets the input power P e .

2. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1, characterized in that: In step 1), the thermal wind speed sensor model includes a substrate, a heating unit and a temperature measuring unit; the heating unit and the temperature measuring unit are located on the substrate, and the heating unit is located in the center of the substrate; the temperature measuring units are distributed in four directions of the heating unit, namely, the up, down, left and right directions, wherein the temperature measuring unit on the left side of the heating unit is the upstream temperature measuring unit, and the temperature measuring unit on the right side of the heating unit is the downstream temperature measuring unit.

3. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1, characterized in that: In step 2), the thermal wind speed sensor model is located at the center of the air domain, one side of the air domain in the same direction as the upstream temperature measuring unit is set as the inlet, and one side of the air domain in the same direction as the downstream temperature measuring unit is set as the outlet. The wind enters from the inlet and flows out from the outlet. The remaining surfaces of the air domain are insulating walls. The air in the air domain is an incompressible fluid, and the flow state is laminar.

4. A method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1 or 3, characterized in that: In step 2), the initialization temperature range is: 250-300K.

5. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1, characterized in that: In step 2), when calculating the convective heat transfer coefficient of the center point of the surface of the model heating unit and the temperature measuring unit, multiple sets of wind speed values ​​are set at the entrance of the air domain, and a fixed power is applied to the heating unit. The corresponding convective heat transfer coefficient is obtained after steady-state simulation. The range of the wind speed value is: 0-30m / s.

6. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1, characterized in that: In step 3), the fitting of the convection heat transfer coefficient obtains the relationship between the convection coefficient and the velocity: Polynomial for the convective heat transfer coefficient of the heating unit: h r =a 01 x 5 +a 02 x 4 +a 03 x 3 +a 04 x 2 +a 05 x+a 06 ; Polynomial of the convective heat transfer coefficient of the upstream temperature measuring unit: h w =a 11 x 5 +a 12 x 4 +a 13 x 3 +a 14 x 2 +a 15 x+a 16 ; The polynomial of the convective heat transfer coefficient of the downstream temperature measuring unit is: h e =a 21 x 5 +a 22 x 4 +a 23 x 3 +a 24 x 2 +a 25 x+a 26 , Among them, a 01 , a 02 ..., a 26 represents the fitting coefficient.

7. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 6, characterized in that: In step 2), the step response of the thermal wind speed sensor model is obtained by the following steps: (1) Set the wind speed to 0, and the output of the thermal wind speed sensor to the center point temperature T of the heating unit. h , the center point temperature T of the upstream temperature measuring unit w , the center point temperature of the downstream temperature measuring unit T e ; (2) The thermal wind speed sensor model system has the following four input settings: 1)P1=P,P2=0,P e =0,P w =0; 2)P2=P,P1=0,P e =0,P w =0; 3)P e =P,P1=0,P2=0,P w =0; 4)P w =P,P1=0,P2=0,P e =0; Finite element simulations were performed for 1)-4) respectively, and the step responses h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under 1) were obtained respectively. 11 (t), h 21 (t), h 31 (t); 2) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 12 (t), h 22 (t), h 32 (t); 3) The step response of the thermal wind speed sensor under the condition h 13 (t), h 23 (t), h 33 (t); 4) The step response h of the heating unit, upstream temperature measurement unit and downstream temperature measurement unit of the thermal wind speed sensor under the condition 14 (t), h 24 (t), h 34 (t).

8. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 7, characterized in that: In step 4), when the wind speed is 0, the state-space method requires that the step response of the thermal wind speed sensor and the step response of the state-space model are the same. The thermal wind speed sensor model consists of 12 step responses. Description, according to a one-to-one mapping relationship, construct the step responses of 12 state-space models to match them, and obtain the state-space model of the thermal wind speed sensor by combining the 12 state-space models.

9. The method for extracting a macro model of a thermal wind speed sensor based on a state space method according to claim 1, characterized in that: In step 5), the input u1 of the state space model of the thermal wind speed sensor remains unchanged, and the convective heat transfer coefficient h r ,h w and h e Replace the u2, u3 and u4 input interfaces of the thermal wind speed sensor state space model, establish the connection between the wind speed and thermal wind speed sensor state space models, realize the coupling between the two, and obtain the complete thermal sensor macro model.