Intelligent Measurement Method and System for Monocrystalline Silicon Differential Pressure Transmitter
By generating measurement optimization instructions and particle swarm algorithm to optimize resource allocation, the data acquisition problem of single crystal silicon differential pressure transmitter in multi-point monitoring scenarios is solved, and efficient resource utilization and intelligent measurement under limited bandwidth are realized.
Patent Information
- Application Number
- CN202510431577.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-04-08
AI Technical Summary
In the multi-point monitoring scenario, the existing single-crystal silicon differential pressure transmitter fails to effectively utilize bandwidth, resulting in data sequence problems. Especially when the bandwidth is limited, it is impossible to achieve efficient measurement data acquisition.
By generating measurement optimization instructions, the resource investment ratio of each transmitter is randomly determined, the resource investment ratio is adjusted based on the characteristic value, the particle swarm algorithm is used to optimize resource allocation, and the execution is performed cyclically until the preset conditions are met, the bandwidth is allocated and data analysis is performed to achieve intelligent resource adjustment.
It realizes a better measurement data acquisition solution under limited bandwidth, improves resource utilization, adapts to actual monitoring scenarios, and provides intelligent measurement functions.
Smart Images

Figure CN119935397B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent measurement, and specifically to an intelligent measurement method and system for a single-crystal silicon differential pressure transmitter. Background Art
[0002] A single-crystal silicon differential pressure transmitter is a high-precision and high-stability pressure measurement device, which is widely used in various industrial fields, including the oil and gas industry, the chemical and pharmaceutical industries, the power and energy industries, and the water treatment and environmental protection industries, etc. Most of the existing scenarios using single-crystal silicon differential pressure transmitters are multi-point monitoring scenarios. It does not only monitor one or two points, but monitors an area, which requires installing multiple single-crystal silicon differential pressure transmitters to collect multi-point data. During the multi-point collection process, there is a problem of data sequence, especially under the premise of limited bandwidth. The prior art actually does not consider this problem. The conventional method for obtaining measurement data is still a multi-threaded acquisition method, and the bandwidth is not intentionally adjusted. How to provide a measurement process that better fits the actual situation is the technical problem that the technical solution of the present invention wants to solve. Summary of the Invention
[0003] The purpose of the present invention is to provide an intelligent measurement method and system for a single-crystal silicon differential pressure transmitter to solve the problems raised in the above background art.
[0004] To achieve the above purpose, the present invention provides the following technical solutions:
[0005] An intelligent measurement method for a single-crystal silicon differential pressure transmitter, the method includes:
[0006] Obtain and count measurement data based on the transmitter label, and construct a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data also includes a time label.
[0007] Generate a measurement optimization instruction every preset duration, extract measurement data from the data storage unit, identify the measurement data, and determine the characteristic value of each transmitter.
[0008] Randomly determine the resource input ratio of each transmitter, adjust the resource input ratio according to the characteristic value, and execute in a loop. When the adjusted resource input ratio reaches the preset output condition, obtain the resource input ratio of each transmitter; the sum of the resource input ratios of all transmitters is one.
[0009] Allocate bandwidth for each transmitter according to the resource input ratio, obtain measurement data, analyze the measurement data to obtain a measurement result, and synchronously adjust the resource input ratio; the amplitude of adjusting the resource input ratio is less than the preset threshold.
[0010] As a further solution of the present invention: The step of generating a measurement optimization instruction every preset time duration, extracting measurement data from the data storage unit, and identifying the measurement data to determine the characteristic value of each transmitter includes:
[0011] Generate a measurement optimization instruction every preset time duration;
[0012] Read the measurement data at each moment from the data storage units of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measured value;
[0013] Determine the characteristic value of the transmitter according to the derivative characteristics and integral characteristics of the measurement function;
[0014] Among them, the derivative characteristic includes the total time interval of the function segment in the derivative function that is greater than the preset derivative threshold; the integral characteristic includes the integral value of the measurement function within the time duration; the characteristic value is jointly determined by the derivative characteristic and the integral value, and the weights of both the derivative characteristic and the integral value are preset values.
[0015] As a further solution of the present invention: The step of randomly determining the resource input ratio of each transmitter, adjusting the resource input ratio according to the characteristic value, and looping until the adjusted resource input ratio reaches the preset output condition to obtain the resource input ratio of each transmitter includes:
[0016] Randomly determine the resource input ratio of each transmitter, loop for a preset number of times to obtain a preset number of initial solutions; the sum of the resource input ratios of all transmitters is one;
[0017] Calculate the required input ratio according to the characteristic value of each transmitter;
[0018] For any initial solution, compare the required input ratio and the resource input ratio of each transmitter to determine the historical optimal allocation plan;
[0019] Count the historical optimal allocation plans of all initial solutions to determine the overall optimal allocation plan;
[0020] Adjust each initial solution according to the overall optimal allocation plan and the historical optimal allocation plan;
[0021] Loop until the adjusted initial solutions reach the preset output condition, read the final overall optimal allocation plan to obtain the resource input ratio of each transmitter.
[0022] As a further solution of the present invention: The step of comparing the required input ratio and the resource input ratio of each transmitter for any initial solution to determine the historical optimal allocation plan includes the following steps:
[0023] For the same transmitter, compare the required input ratio and the resource input ratio, and calculate the difference rate;
[0024] Statistically analyze the difference rates of each transmitter, calculate the average difference rate, and use it as the evaluation value of the current solution;
[0025] Select the solution with the minimum evaluation value during the historical adjustment process as the historical optimal allocation solution;
[0026] The steps of statistically analyzing the historical optimal allocation solutions of all initial solutions to determine the overall optimal allocation solution include:
[0027] Statistically analyze the historical optimal allocation solutions of all initial solutions, and select the solution with the minimum evaluation value as the overall optimal allocation solution.
[0028] As a further solution of the present invention: the steps of adjusting each initial solution according to the overall optimal allocation solution and the historical optimal allocation solution include:
[0029] Calculate the adjustment step size according to the overall optimal allocation solution and the historical optimal allocation solution;
[0030] Read the solution after the last adjustment of the initial solution and adjust it according to the adjustment step size;
[0031] The calculation process of the adjustment step size is:
[0032] ;
[0033] The adjustment process is:
[0034] ;
[0035] denotes the adjustment step size at the -th adjustment of the -th solution, denotes the adjustment step size at the -th adjustment of the -th solution, is the preset inertial weight, and are the preset learning factors, and are random numbers between [0, 1]; is the historical optimal allocation solution of the -th solution, is the current overall optimal allocation solution; denotes the solution after the -th adjustment of the -th solution, denotes the The solution after the th adjustment;
[0036] The output conditions include: the mean value of the adjustment step sizes of all solutions is less than a preset threshold; the data structure of the threshold is the same as that of the adjustment step size.
[0037] As a further solution of the present invention: the steps of allocating bandwidth for each transmitter according to the resource input ratio, acquiring measurement data, analyzing the measurement data to obtain a measurement result, and synchronously adjusting the resource input ratio include:
[0038] Allocating bandwidth for each transmitter according to the resource input ratio;
[0039] Acquiring measurement data based on the allocated bandwidth, inputting the measurement data into a preset analysis model to obtain an abnormality degree;
[0040] Generating a warning message according to the abnormality degree;
[0041] Determining an additional ratio according to the abnormality degree, and adjusting the resource input ratio according to the additional ratio; the additional ratio is directly proportional to the abnormality degree;
[0042] The determination process of the additional ratio is:
[0043] ; where is the additional ratio, represents the abnormality degree, represents the total number of transmitters.
[0044] The technical solution of the present invention also provides a smart measurement system for a single-crystal silicon differential pressure transmitter, and the system includes:
[0045] A data storage module, configured to acquire and count measurement data based on a transmitter label, and construct a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data further includes a time label;
[0046] A feature value calculation module, configured to generate a measurement optimization instruction every preset time period, extract measurement data from the data storage unit, identify the measurement data, and determine the feature value of each transmitter;
[0047] A resource input adjustment module, configured to randomly determine the resource input ratio of each transmitter, adjust the resource input ratio according to the feature value, and execute in a loop. When the adjusted resource input ratio reaches a preset output condition, obtain the resource input ratio of each transmitter; the sum of the resource input ratios of all transmitters is one;
[0048] A measurement data application module, which is used to allocate bandwidth for each transmitter according to the resource input ratio, obtain measurement data, analyze the measurement data to obtain a measurement result, and synchronously adjust the resource input ratio; the amplitude of adjusting the resource input ratio is less than a preset threshold value.
[0049] As a further solution of the present invention: the eigenvalue calculation module includes:
[0050] An instruction generation unit, which is used to generate a measurement optimization instruction once every preset time duration;
[0051] A function fitting unit, which is used to read the measurement data at each moment from the data storage unit of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measured value;
[0052] A calculation execution unit, which is used to determine the eigenvalue of the transmitter according to the derivative feature and integral feature of the measurement function;
[0053] Wherein, the derivative feature includes the total time interval length of the function segment in the derivative function that is greater than the preset derivative threshold value; the integral feature includes the integral value of the measurement function within the time duration; the eigenvalue is jointly determined by the derivative feature and the integral value, and the weights of the derivative feature and the integral value are both preset values.
[0054] As a further solution of the present invention: the resource input adjustment module includes:
[0055] An initial scheme generation unit, which is used to randomly determine the resource input ratio of each transmitter, execute a preset number of times in a loop, and obtain a preset number of initial schemes; the sum of the resource input ratios of all transmitters is one;
[0056] A demand calculation unit, which is used to calculate the required input ratio according to the eigenvalue of each transmitter;
[0057] A historical optimal determination unit, which is used to compare the required input ratio and the resource input ratio of each transmitter for any initial scheme to determine the historical optimal allocation scheme;
[0058] An overall optimal determination unit, which is used to count the historical optimal allocation schemes of all initial schemes to determine the overall optimal allocation scheme;
[0059] An adjustment execution unit, which is used to adjust each initial scheme according to the overall optimal allocation scheme and the historical optimal allocation scheme;
[0060] A loop execution unit, which is used to execute in a loop. When the adjusted initial schemes reach the preset output conditions, read the final overall optimal allocation scheme to obtain the resource input ratio of each transmitter.
[0061] As a further solution of the present invention: The measurement data application module includes:
[0062] An allocation and execution unit for allocating bandwidth to each transmitter according to the resource input ratio;
[0063] A data analysis unit for obtaining measurement data based on the allocated bandwidth, inputting the measurement data into a preset analysis model to obtain an abnormality degree;
[0064] A warning information generation unit for generating warning information according to the abnormality degree;
[0065] An additional adjustment unit for determining an additional ratio according to the abnormality degree and adjusting the resource input ratio according to the additional ratio; the additional ratio is directly proportional to the abnormality degree;
[0066] The determination process of the additional ratio is as follows:
[0067] ; where, is the additional ratio, represents the abnormality degree, represents the total number of transmitters.
[0068] Compared with the prior art, the beneficial effects of the present invention are: The present invention generates measurement optimization instructions regularly, randomly determines the resource input ratio of each transmitter, then evaluates and optimizes the randomly determined scheme, and further determines a better measurement data acquisition scheme that fits the actual situation. It analyzes the to-be-monitored scenario based on the measurement data, realizes the intelligent measurement function, and has extremely high resource utilization rate. Description of the Drawings
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0070] Figure 1 It is a flow block diagram of the intelligent measurement method for a single-crystal silicon differential pressure transmitter.
[0071] Figure 2 It is the first sub-flow block diagram of the intelligent measurement method for a single-crystal silicon differential pressure transmitter.
[0072] Figure 3 It is the second sub-flow block diagram of the intelligent measurement method for a single-crystal silicon differential pressure transmitter.
[0073] Figure 4 It is the third sub-flow block diagram of the intelligent measurement method for a single-crystal silicon differential pressure transmitter.
[0074] Figure 5 It is the composition structure block diagram of the intelligent measurement system for a single-crystal silicon differential pressure transmitter. Detailed implementation manners
[0075] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0076] Figure 1 FIG. is a flowchart of an intelligent measurement method for a single-crystal silicon differential pressure transmitter. In an embodiment of the present invention, an intelligent measurement method for a single-crystal silicon differential pressure transmitter includes:
[0077] Step S100: Obtain and count measurement data based on the transmitter label, and construct a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data further includes a time label;
[0078] In the present invention, the single-crystal silicon differential pressure transformers are collectively referred to as transmitters. The transmitters are installed in a certain scenario. Based on the transmitters, measurement data can be obtained. The measurement data needs to contain an identity label and a time label. The identity label indicates which transmitter the measurement data is sent by, which is the transmitter label in the above content. The time label is the moment when the measurement data is obtained. These are all necessary parameters during data acquisition, and the acquisition process is not complicated.
[0079] Step S200: Generate a measurement optimization instruction every preset time duration, extract the measurement data from the data storage unit, identify the measurement data, and determine the characteristic value of each transmitter;
[0080] Generate a measurement optimization instruction every once in a while. The purpose of the measurement optimization instruction is to adjust the resource allocation of each transmitter. The resource to be allocated in this application is bandwidth, which is used to adjust the data transmission speed of the measurement data of each transmitter; extract the measurement data from the data storage unit, identify the measurement data, and determine the characteristic value of each transmitter. The characteristic value is used to characterize the importance of the measurement data and represents the degree of resource demand. The larger the characteristic value, the more resources are needed.
[0081] Step S300: Randomly determine the resource input ratio of each transmitter, adjust the resource input ratio according to the characteristic value, and execute in a loop. When the adjusted resource input ratio reaches the preset output condition, obtain the resource input ratio of each transmitter; the sum of the resource input ratios of all transmitters is one;
[0082] The total amount of resources in different scenarios is different. What this application aims to provide is a migratable resource adjustment scheme. Therefore, the parameter of ratio is adopted to represent the resource input situation. The resource input ratio of each transmitter is randomly determined, and the resource input ratio is adjusted according to the eigenvalue. The adjustment process is continuously looped. When the adjusted resource input ratio reaches the preset output condition, the finally adjusted resource input ratio obtained is the resource input ratio of each transmitter. It should be noted that the resource input ratio in this application is the ratio relative to the total amount of resources, and the sum of the resource input ratios of all transmitters is one.
[0083] In addition, the adjustment process in this application is a loop process. The function of the eigenvalue is to evaluate the quality of each adjustment result. The loop is executed multiple times to obtain multiple adjustment results, and the best solution is selected as the final solution.
[0084] Step S400: Allocate bandwidth for each transmitter according to the resource input ratio, obtain measurement data, analyze the measurement data to get a measurement result, and synchronously adjust the resource input ratio; the amplitude of adjusting the resource input ratio is less than the preset threshold.
[0085] After the resource input ratio is determined, bandwidth is allocated for each transmitter according to the resource input ratio, and measurement data is obtained based on the allocated bandwidth. This process is actually equivalent to step S100. In other words, the bandwidth in the acquisition process of step S100 changes regularly; the measurement data can be analyzed to obtain a measurement result, which depends on the specific scenario and will not be elaborated in this application. A conventional data analysis scheme can be adopted. The key point of this application is that according to the measurement result, the already determined resource input ratio also needs to be synchronously adjusted. For example, for some special transmitters, it is necessary to appropriately increase the resource input ratio, but this adjustment is a "fine-tuning", that is, on the basis of the already determined resource input ratio, some fine-tuning is carried out, such as within a range of 5%; the way to achieve fine-tuning is relatively simple. Some auxiliary resources can be additionally equipped to meet the additional needs of each transmitter. Of course, it can also be adjusted within the limited resources, but this method is more complex, which involves which transmitters need to reduce resources to meet the resource increase needs of other transmitters.
[0086] Specifically, in actual applications, assuming there is 100% of resources, it can be first divided into 90% of resources and 10% of resources. The 90% of resources are used as direct resources and allocated according to the resource input ratio, and the 10% are used as auxiliary resources for fine-tuning. If the requirements cannot be met, then it cannot be met. At this time, the original resource amount of each transmitter will not be reduced.
[0087] Figure 2It is the first sub - process block diagram of the intelligent measurement method for a single - crystal silicon differential pressure transmitter. The steps of generating a measurement optimization instruction every preset time interval, extracting measurement data from the data storage unit, and identifying the measurement data to determine the characteristic value of each transmitter include:
[0088] Step S201: Generate a measurement optimization instruction every preset time interval;
[0089] Step S202: Read the measurement data at each moment from the data storage units of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measured value;
[0090] Step S203: Determine the characteristic value of the transmitter according to the derivative characteristics and integral characteristics of the measurement function;
[0091] Among them, the derivative characteristic includes the total time interval length of the function segment greater than the preset derivative threshold in the derivative function; the integral characteristic includes the integral value of the measurement function within the time period; the characteristic value is jointly determined by the derivative characteristic and the integral value, and the weights of both the derivative characteristic and the integral value are preset values.
[0092] In an example of the technical solution of the present invention, the calculation process of the characteristic value is defined. A measurement optimization instruction is generated every preset time interval. Each measurement optimization process requires separate analysis of each transmitter. Read the measurement data at each moment from the data storage units of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function, and determine the characteristic value of the transmitter according to the derivative characteristics and integral characteristics of the measurement function, which is used to characterize the importance of the transmitter.
[0093] Among them, the functional processing process can adopt the conventional functionalization scheme for discrete data. The obtained derivative characteristics include: calculating the derivative function of the measurement function, querying the function segments greater than the preset derivative threshold in the derivative function, calculating the time intervals of the function segments, and then merging them to obtain the total duration. The total duration reflects how long the data of the transmitter has mutations. The longer the time, the more unstable the measurement data of the transmitter, the more important its data, and the larger the characteristic value; the obtained integral characteristics include: calculating the integral of the measurement function within the measurement optimization instruction generation period, which actually represents the total amount of data. The larger the total amount, the more important its data, and the larger the characteristic value; adding the total duration and the integral based on the preset weight coefficient to obtain the final characteristic value, and the characteristic value is directly proportional to both the total duration and the integral.
[0094] Figure 3It is the second sub - process block diagram of the intelligent measurement method for a single - crystal silicon differential pressure transmitter. The steps of randomly determining the resource input ratio of each transmitter, adjusting the resource input ratio according to the eigenvalue, and looping until the adjusted resource input ratio reaches the preset output condition to obtain the resource input ratio of each transmitter are as follows:
[0095] Step S301: Randomly determine the resource input ratio of each transmitter, loop for a preset number of times to obtain a preset number of initial solutions; the sum of the resource input ratios of all transmitters is one;
[0096] Step S302: Calculate the required input ratio according to the eigenvalue of each transmitter;
[0097] Step S303: For any initial solution, compare the required input ratio and the resource input ratio of each transmitter to determine the historical optimal allocation solution;
[0098] Step S304: Statistically analyze the historical optimal allocation solutions of all initial solutions to determine the overall optimal allocation solution;
[0099] Step S305: Adjust each initial solution according to the overall optimal allocation solution and the historical optimal allocation solution;
[0100] Step S306: Loop until the adjusted initial solutions reach the preset output condition, then read the final overall optimal allocation solution to obtain the resource input ratio of each transmitter.
[0101] In an example of the technical solution of the present invention, the process of determining and adjusting the resource input ratio is specifically described. In fact, it uses the particle swarm algorithm. First, randomly determine multiple solutions, such as 30 or 50. Each solution includes the resource input ratio of each transmitter, and the obtained solutions are called initial solutions. Then, calculate the required input ratio according to the eigenvalue of each transmitter. The relationship between the eigenvalue and the required input ratio is a preset value. Generally, a linear function can be used to achieve the conversion.
[0102] For any initial solution, by comparing the required input ratio and the resource input ratio of each transmitter in the solution, the solution can be evaluated. When the solution is continuously adjusted, an optimal solution can be determined in real time according to the evaluation result, which is called the historical optimal allocation solution of the transmitter; at each adjustment, the historical optimal allocation solutions of all transmitters are counted, and an optimal one is selected from these solutions, which is called the overall optimal allocation solution. According to the overall optimal allocation solution of each adjustment and the historical optimal allocation solutions of each transmitter, the resource input ratio of each transmitter is adjusted to obtain the next adjustment result, and the adjustment process is executed in a loop. When each adjusted initial solution meets the preset output conditions, the final overall optimal allocation solution is read, and the final overall optimal allocation solution includes the resource input ratio of each transmitter.
[0103] As a preferred embodiment of the technical solution of the present invention, the steps of comparing the required input ratio and the resource input ratio of each transmitter for any initial solution to determine the historical optimal allocation solution include the following steps:
[0104] For the same transmitter, compare the required input ratio and the resource input ratio, and calculate the difference rate;
[0105] Count the difference rates of each transmitter, calculate the average value of the difference rates, and use it as the evaluation value of the current solution;
[0106] Select the solution with the smallest evaluation value in the historical adjustment process as the historical optimal allocation solution;
[0107] The steps of counting the historical optimal allocation solutions of all initial solutions and determining the overall optimal allocation solution include:
[0108] Count the historical optimal allocation solutions of all initial solutions, and select the solution with the smallest evaluation value as the overall optimal allocation solution.
[0109] The required input ratio determined by the eigenvalue plays an evaluation function. Specifically, for the same transmitter, compare the required input ratio and the resource input ratio, and calculate the difference rate. The difference rate can be the absolute value of the difference between the required input ratio and the resource input ratio divided by the required input ratio. Once determined, the calculation process for each transmitter is the same; for a solution, the solution includes the resource input ratios of multiple transmitters. Correspondingly, multiple difference rates can also be calculated. Count the difference rates of each transmitter, calculate the average value of the difference rates, and use it as the evaluation value of the current solution. The evaluation value reflects the difference between it and the true optimal state. The smaller the evaluation value, the better the solution.
[0110] For any initial solution, during multiple adjustment processes, select the solution with the minimum evaluation value as the historical optimal allocation solution; each initial solution has a historical optimal allocation solution. In this application, assuming that 30 solutions are initially generated, there will be 30 historical optimal allocation solutions. Select the solution with the minimum evaluation value among all historical optimal allocation solutions to obtain the overall optimal allocation solution.
[0111] As a preferred embodiment of the technical solution of the present invention, the step of adjusting each initial solution according to the overall optimal allocation solution and the historical optimal allocation solution includes:
[0112] Calculate the adjustment step size according to the overall optimal allocation solution and the historical optimal allocation solution;
[0113] Read the solution after the last adjustment of the initial solution and adjust it according to the adjustment step size;
[0114] The calculation process of the adjustment step size is as follows:
[0115] ;
[0116] The adjustment process is as follows:
[0117] ;
[0118] represents the th adjustment step size when the th solution is adjusted for the th time, is the preset inertial weight, and are the preset learning factors, and are random numbers between [0, 1]; is the historical optimal allocation solution of the th solution, is the current overall optimal allocation solution; represents the th adjusted solution of the th th adjustment of the solution.
[0119] In an example of the technical solution of the present invention, the adjustment process of the solution is described. It is essentially a particle swarm algorithm. Each solution corresponds to a particle. Each solution in the present invention is actually abstracted into an array. Each serial number in the array corresponds to a transmitter, and each value corresponds to the resource input ratio. Since the number of transmitters is finite and known, therefore, and are both arrays with the same dimension. The addition operation in the above process is the addition operation of the arrays.
[0120] Specifically, the output conditions include: the mean value of the adjustment step sizes of all solutions is less than a preset threshold; the data structure of the threshold is the same as the data structure of the adjustment step size; as the number of loops increases, term sum term will become smaller and smaller, and the adjustment step size will probably become smaller and smaller ( and are uncertain, but the overall trend is getting smaller), and the mean value of the adjustment step sizes of all solutions will also get closer and closer to a certain threshold (array). When the conditions are met, the loop is exited.
[0121] It is worth mentioning that there is also a simpler output condition, that is, first determine an adjustment number, such as one hundred times. When the adjustment process is executed one hundred times, the loop is exited.
[0122] Figure 4 is the third sub - process block diagram of the intelligent measurement method for single - crystal silicon differential pressure transmitters. The steps of allocating bandwidth for each transmitter according to the resource input ratio, obtaining measurement data, analyzing the measurement data to obtain a measurement result, and synchronously adjusting the resource input ratio include:
[0123] Step S401: Allocate bandwidth for each transmitter according to the resource input ratio;
[0124] Step S402: Obtain measurement data based on the allocated bandwidth, input the measurement data into a preset analysis model to obtain an abnormality degree;
[0125] Step S403: Generate a warning message according to the abnormality degree;
[0126] Step S404: Determine an additional ratio according to the abnormality degree, and adjust the resource input ratio according to the additional ratio; the additional ratio is directly proportional to the abnormality degree.
[0127] In an example of the technical solution of the present invention, the application process of the resource input ratio is described. After obtaining the final resource input ratio, bandwidth is allocated to each transmitter according to the resource input ratio, measurement data is acquired based on the allocated bandwidth, the measurement data is input into a preset analysis model to obtain an abnormality degree, when the abnormality degree reaches a preset abnormality degree threshold, a warning message is generated, and then, an additional ratio is determined according to the abnormality degree, and the resource input ratio is adjusted according to the additional ratio; wherein, the additional ratio is directly proportional to the abnormality degree.
[0128] Among them, the determination process of the additional ratio is as follows:
[0129] ; in the formula, is the additional ratio, represents the abnormality degree, represents the total number of transmitters.
[0130] The function of the additional ratio is to first pre-determine the additional resource amount, and multiplying the additional ratio by the additional resource amount can obtain the final additional resource amount.
[0131] It is worth mentioning that there is another way, which is to sort the transmitters in descending order according to the abnormality degree. After the descending order is completed, the abnormality degrees of the transmitters are read in sequence, and the additional ratio is calculated. The calculation method is: , is a preset correction coefficient. The meaning of this method is that the higher the abnormality degree, the larger its additional ratio. This method can meet the resource requirements of transmitters with higher abnormality degrees, but for transmitters with lower abnormality degrees (the later transmitters), it may not be able to increase additional resources because the sum of the additional ratios reaches 100%; of course, a peak value can also be provided for each transmitter. When reaches , select as the additional resource amount; at this time, the total additional resource amount is the product of and the transmitter, which can ensure that each transmitter can obtain additional resources; in the technical solution of the present invention, the additional resource is bandwidth.
[0132] Figure 5 is the composition structure block diagram of the intelligent measurement system of the single-crystal silicon differential pressure transmitter. In an embodiment of the present invention, an intelligent measurement system of a single-crystal silicon differential pressure transmitter, the system 10 includes:
[0133] A data storage module 11, configured to acquire and count measurement data based on the transmitter label and construct a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data further includes a time label;
[0134] The eigenvalue calculation module 12 is used to generate a measurement optimization instruction every preset duration, extract measurement data from the data storage unit, identify the measurement data, and determine the eigenvalue of each transmitter;
[0135] The resource input adjustment module 13 is used to randomly determine the resource input ratio of each transmitter, adjust the resource input ratio according to the eigenvalue, and execute in a loop. When the adjusted resource input ratio reaches the preset output condition, the resource input ratio of each transmitter is obtained; the sum of the resource input ratios of all transmitters is one;
[0136] The measurement data application module 14 is used to allocate bandwidth for each transmitter according to the resource input ratio, obtain measurement data, analyze the measurement data to obtain a measurement result, and synchronously adjust the resource input ratio; the amplitude of adjusting the resource input ratio is less than the preset threshold.
[0137] Furthermore, the eigenvalue calculation module 12 includes:
[0138] The instruction generation unit is used to generate a measurement optimization instruction every preset duration;
[0139] The function fitting unit is used to read the measurement data at each moment from the data storage unit of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measured value;
[0140] The calculation execution unit is used to determine the eigenvalue of the transmitter according to the derivative feature and integral feature of the measurement function;
[0141] Among them, the derivative feature includes the total time interval of the function segment in the derivative function that is greater than the preset derivative threshold; the integral feature includes the integral value of the measurement function within the duration; the eigenvalue is jointly determined by the derivative feature and the integral value, and the weights of the derivative feature and the integral value are both preset values.
[0142] Specifically, the resource input adjustment module 13 includes:
[0143] The initial scheme generation unit is used to randomly determine the resource input ratio of each transmitter, execute in a loop for a preset number of times to obtain a preset number of initial schemes; the sum of the resource input ratios of all transmitters is one;
[0144] The demand calculation unit is used to calculate the required input ratio according to the eigenvalue of each transmitter;
[0145] The historical optimal determination unit is used to compare the required input ratio and the resource input ratio of each transmitter for any initial scheme to determine the historical optimal allocation scheme;
[0146] An overall optimal determination unit, configured to count the historical optimal allocation schemes of all initial schemes and determine the overall optimal allocation scheme;
[0147] An adjustment execution unit, configured to adjust each initial scheme according to the overall optimal allocation scheme and the historical optimal allocation scheme;
[0148] A loop execution unit, configured to execute in a loop. When each adjusted initial scheme meets the preset output conditions, read the final overall optimal allocation scheme to obtain the resource input ratio of each transmitter.
[0149] Furthermore, the measurement data application module 14 includes:
[0150] An allocation execution unit, configured to allocate bandwidth for each transmitter according to the resource input ratio;
[0151] A data analysis unit, configured to obtain measurement data based on the allocated bandwidth, input the measurement data into a preset analysis model to obtain an abnormality degree;
[0152] A warning information generation unit, configured to generate warning information according to the abnormality degree;
[0153] An additional adjustment unit, configured to determine an additional ratio according to the abnormality degree and adjust the resource input ratio according to the additional ratio; the additional ratio is directly proportional to the abnormality degree.
[0154] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent measurement method for a single-crystal silicon differential pressure transmitter, characterized in that, The method includes: Obtaining and counting measurement data based on the transmitter label, and constructing a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data also includes a time label; Generating a measurement optimization instruction every preset time duration, extracting measurement data from the data storage unit, identifying the measurement data, and determining the characteristic value of each transmitter; Randomly determining the resource input ratio of each transmitter, adjusting the resource input ratio according to the characteristic value, and executing in a loop. When the adjusted resource input ratio reaches the preset output condition, the resource input ratio of each transmitter is obtained; the sum of the resource input ratios of all transmitters is one; Allocating bandwidth for each transmitter according to the resource input ratio, obtaining measurement data, analyzing the measurement data to obtain a measurement result, and synchronously adjusting the resource input ratio; the amplitude of adjusting the resource input ratio is less than the preset threshold; The step of randomly determining the resource input ratio of each transmitter, adjusting the resource input ratio according to the characteristic value, and executing in a loop. When the adjusted resource input ratio reaches the preset output condition, obtaining the resource input ratio of each transmitter includes: Randomly determining the resource input ratio of each transmitter, executing in a loop for a preset number of times to obtain a preset number of initial schemes; the sum of the resource input ratios of all transmitters is one; Calculating the required input ratio according to the characteristic value of each transmitter; For any initial scheme, comparing the required input ratio and the resource input ratio of each transmitter to determine the historical optimal allocation scheme; Counting the historical optimal allocation schemes of all initial schemes to determine the overall optimal allocation scheme; Adjusting each initial scheme according to the overall optimal allocation scheme and the historical optimal allocation scheme; Executing in a loop. When the adjusted initial schemes reach the preset output condition, reading the final overall optimal allocation scheme to obtain the resource input ratio of each transmitter.
2. The intelligent measurement method of the single-crystal silicon differential pressure transmitter according to claim 1, characterized in that, The step of generating a measurement optimization instruction every preset time duration, extracting measurement data from the data storage unit, identifying the measurement data, and determining the characteristic value of each transmitter includes: Generating a measurement optimization instruction every preset time duration; Reading the measurement data at each moment from the data storage unit of each transmitter, performing a functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measurement value; Determining the characteristic value of the transmitter according to the derivative characteristic and the integral characteristic of the measurement function; Among them, the derivative characteristic includes the total time interval length of the function segment in the derivative function that is greater than the preset derivative threshold; the integral characteristic includes the integral value of the measurement function within the time duration; the characteristic value is jointly determined by the derivative characteristic and the integral value, and the weights of the derivative characteristic and the integral value are both preset values.
3. The intelligent measurement method of the single-crystal silicon differential pressure transmitter according to claim 1, wherein, The step of comparing the required input ratio and the resource input ratio of each transmitter for any initial scheme to determine the historical optimal allocation scheme includes the steps of: For the same transmitter, comparing the required input ratio and the resource input ratio, and calculating the difference rate; Counting the difference rates of each transmitter, calculating the average difference rate as the evaluation value of the current scheme; Select the solution with the minimum evaluation value during the historical adjustment process as the historical optimal allocation solution; The steps of statistically determining the overall optimal allocation solution for all initial solutions by counting the historical optimal allocation solutions of all initial solutions include: Statistically determine the historical optimal allocation solutions of all initial solutions, and select the solution with the minimum evaluation value as the overall optimal allocation solution.
4. The intelligent measurement method of the single-crystal silicon differential pressure transmitter according to claim 1, characterized in that, The steps of adjusting each initial solution according to the overall optimal allocation solution and the historical optimal allocation solution include: Calculate the adjustment step size according to the overall optimal allocation solution and the historical optimal allocation solution; Read the solution after the last adjustment of the initial solution and adjust it according to the adjustment step size; The calculation process of the adjustment step size is: ; The adjustment process is: ; Indicates the th adjustment step size during the th adjustment of the th solution, Indicates the th adjustment step size during the th adjustment of the th solution; is a preset inertial weight, and are preset learning factors, and are random numbers between [0, 1]; is the historical optimal allocation plan for the th solution, is the current overall optimal allocation plan; Indicates the solution after the th adjustment of the th solution, is the solution after the The output conditions include: the average value of the adjustment step sizes of all solutions is less than a preset threshold; the data structure of the threshold is the same as that of the adjustment step size.
5. The intelligent measurement method of the single-crystal silicon differential pressure transmitter according to claim 1, characterized in that, The steps of allocating bandwidth to each transmitter according to the resource input ratio, obtaining measurement data, analyzing the measurement data to obtain measurement results, and synchronously adjusting the resource input ratio include: Allocate bandwidth to each transmitter according to the resource input ratio; Obtain measurement data based on the allocated bandwidth, input the measurement data into a preset analysis model to obtain the abnormality degree; Generate a warning message according to the abnormality degree; Determine the additional ratio according to the abnormality degree, and adjust the resource input ratio according to the additional ratio; the additional ratio is directly proportional to the abnormality degree; The determination process of the additional ratio is: ; where is the additional ratio, represents the abnormality degree, represents the total number of transmitters.
6. A smart measurement system for a single-crystal silicon differential pressure transmitter, characterized in that, The system includes: A data storage module, which is used to obtain and statistically analyze measurement data based on the transmitter label, and construct a data storage unit for each transmitter; the transmitter is a single-crystal silicon differential pressure transmitter, and the measurement data also includes a time label; An eigenvalue calculation module, which is used to generate a measurement optimization instruction every preset time period, extract measurement data from the data storage unit, identify the measurement data, and determine the eigenvalue of each transmitter; A resource input adjustment module, which is used to randomly determine the resource input ratio of each transmitter, adjust the resource input ratio according to the eigenvalue, and execute in a loop. When the adjusted resource input ratio reaches the preset output condition, obtain the resource input ratio of each transmitter; the sum of the resource input ratios of all transmitters is one; A measurement data application module, which is used to allocate bandwidth to each transmitter according to the resource input ratio, obtain measurement data, analyze the measurement data to obtain measurement results, and synchronously adjust the resource input ratio; the amplitude of adjusting the resource input ratio is less than a preset threshold; The resource input adjustment module includes: An initial solution generation unit, which is used to randomly determine the resource input ratio of each transmitter, execute in a loop for a preset number of times, and obtain a preset number of initial solutions; the sum of the resource input ratios of all transmitters is one; A demand calculation unit, which is used to calculate the required input ratio according to the eigenvalue of each transmitter; A historical optimal determination unit, which is used to compare the required input ratio and the resource input ratio of each transmitter for any initial solution, and determine the historical optimal allocation solution; An overall optimal determination unit, which is used to statistically determine the historical optimal allocation solutions of all initial solutions and determine the overall optimal allocation solution; An adjustment execution unit, configured to adjust each initial plan according to the overall optimal allocation plan and the historical optimal allocation plan; A loop execution unit, configured to execute in a loop. When the adjusted initial plans reach the preset output conditions, read the final overall optimal allocation plan to obtain the resource input ratio of each transmitter.
7. The intelligent measurement system of the single-crystal silicon differential pressure transmitter according to claim 6, wherein The eigenvalue calculation module includes: An instruction generation unit, configured to generate a measurement optimization instruction every preset time period; A function fitting unit, configured to read the measurement data at each moment from the data storage units of each transmitter, perform functional processing on the measurement data at each moment to obtain a measurement function; the independent variable of the measurement function is time, and the dependent variable is the measurement value; A calculation execution unit, configured to determine the eigenvalue of the transmitter according to the derivative feature and the integral feature of the measurement function; Wherein, the derivative feature includes the total time interval of the function segment in the derivative function that is greater than the preset derivative threshold; the integral feature includes the integral value of the measurement function within the time period; the eigenvalue is jointly determined by the derivative feature and the integral value, and the weights of both the derivative feature and the integral value are preset values.
8. The intelligent measurement system for a single-crystal silicon differential pressure transmitter according to claim 6, characterized in that The measurement data application module includes: An allocation execution unit, configured to allocate bandwidth for each transmitter according to the resource input ratio; A data analysis unit, configured to obtain measurement data based on the allocated bandwidth, input the measurement data into a preset analysis model to obtain the abnormality degree; A warning information generation unit, configured to generate warning information according to the abnormality degree; An additional adjustment unit, configured to determine an additional ratio according to the abnormality degree, and adjust the resource input ratio according to the additional ratio; the additional ratio is proportional to the abnormality degree; The determination process of the additional ratio is: ; wherein, is the additional ratio, represents the abnormality degree, represents the total number of transmitters.
Citation Information
Patent Citations
Service-oriented manufacturing resource optimization scheduling system based on adaptive learning algorithm
CN118586643A