Application method and system of embedded system in pressure transmitter

By analyzing the operating environment and sensitivity information of the pressure transmitter, optimizing the working mode and performance of the embedded system, solving the problems of low resource utilization efficiency and poor adaptability in the prior art, and achieving an efficient and stable pressure transmitter system.

CN119916680AActive Publication Date: 2025-05-02SHENZHEN TEAN IND TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510396959.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-05-02
Estimated Expiration
2045-04-01

Smart Images

  • Figure CN119916680A_ABST
    Figure CN119916680A_ABST
Patent Text Reader

Abstract

The invention relates to the field of industrial automation control, and discloses an application method and system of an embedded system in a pressure transmitter, and the method comprises the steps: analyzing a working environment corresponding to the pressure transmitter, collecting the current pressure precision information of the pressure transmitter, and setting a working mode sequence of the embedded system in the pressure transmitter; calculating the operation efficiency loss of the embedded system in the data processing process, calculating the signal conduction efficiency loss generated by the embedded system in the transmission process, and determining the composite operation loss of the embedded system in the pressure transmitter; calculating the measurement distortion coefficient of the pressure transmitter, calculating the resource occupation evolution rate of the embedded system, and evaluating the operation steady-state performance of the embedded system in the pressure transmitter; and determining a performance optimization target of the embedded system, and executing application control management of the embedded system in the pressure transmitter to obtain an application result. According to the invention, the application efficiency of the embedded system in the pressure transmitter can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an application method and system of an embedded system in a pressure transmitter, and belongs to the field of industrial automation control. Background Art

[0002] Pressure transmitters are widely used in industrial production, aerospace, medical and other fields, and are particularly critical in industrial production. Accurate pressure monitoring is related to the stability of production processes, product quality improvement and safe production. With the growing demand for automation and intelligence in various industries, the market demand has increased and the requirements for performance and functions have become more stringent.

[0003] At present, pressure transmitters mostly use traditional general-purpose microprocessors with specific signal processing circuits. In actual applications, the measurement range, accuracy, output signal type and other functions, as well as real-time processing, communication transmission and other control requirements are first clarified, and then the microprocessor with suitable computing speed, memory and peripheral interface is selected. Then the hardware circuit is built, the microprocessor is connected to the signal conditioning, A / D conversion, and communication interface circuit, and the sensor is connected to collect pressure signals. At the software level, programs are written in C language or assembly language to realize data collection, processing, conversion and communication transmission. Finally, the system is debugged, the measurement value is calibrated, and the signal amplification factor is adjusted. The general-purpose microprocessor of this method is not customized for pressure measurement, and the resource utilization efficiency is low. It is difficult to meet the real-time and high-precision requirements. The software architecture is complex, and the development and maintenance costs are high. In the face of various application scenarios, the flexibility and scalability are poor, which makes the measurement accuracy susceptible to interference, difficult to adapt to complex working environments, and cannot meet the high-performance requirements of modern industry for pressure monitoring. Therefore, a method is needed to improve the application efficiency of embedded systems in pressure transmitters. Summary of the invention

[0004] The present invention provides an application method and system of an embedded system in a pressure transmitter, the main purpose of which is to improve the application efficiency of the embedded system in the pressure transmitter.

[0005] To achieve the above object, the present invention provides an application method of an embedded system in a pressure transmitter, comprising: Acquire a pressure transmitter to which an embedded system is applied, analyze an operating environment corresponding to the pressure transmitter, collect current pressure precision sensitivity information of the pressure transmitter, and set a working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure precision sensitivity information; Calculating the computing efficiency loss of the embedded system during data processing, and calculating the signal conduction efficiency loss generated by the embedded system during transmission, and combining the computing efficiency loss and the conduction efficiency loss to determine the composite operation loss of the embedded system in the pressure transmitter; Record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy evolution rate of the embedded system based on the system operation status parameters, and evaluate the operation steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate; In combination with the pressure sensitivity information and the composite operating loss, the performance optimization target of the embedded system is determined, and according to the operating steady-state performance and the performance optimization target, an operation optimization strategy of the embedded system in the pressure transmitter is formulated. Based on the operation optimization strategy and the working mode sequence, application control and management of the embedded system in the pressure transmitter is performed to obtain application results.

[0006] Optionally, setting a working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure sensitivity information includes: Collecting parameters of the working environment to obtain environmental parameters; Performing index analysis on the pressure sensitivity information to obtain a sensitivity index; Based on the environmental parameter and the sensitivity index, identifying an applicable working mode of the pressure transmitter; The applicable working modes are prioritized to obtain a working mode sequence of the embedded system in the pressure transmitter.

[0007] Optionally, the calculating the computing performance loss of the embedded system during data processing includes: Collecting and processing the operation data of the embedded system to obtain system operation data; Preprocessing the system operation data to obtain preprocessed data; Performing feature extraction on the preprocessed data to obtain system operation features; Based on the system operation characteristics, the computing performance loss of the embedded system during data processing is calculated.

[0008] Optionally, the calculating the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Monitoring the signal of the embedded system during the transmission process to obtain signal transmission data; Performing filtering on the signal transmission data to obtain filtered signal data; Performing feature extraction on the filtered signal data to obtain signal transmission features; Based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated.

[0009] Optionally, the calculating, based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Extracting original signal features and output signal features from the signal transmission features; Extracting the original signal strength, original signal frequency, and original signal phase of the embedded system during transmission from the original signal features; Extracting the output signal strength, output signal frequency, and output signal phase of the embedded system during transmission from the output signal characteristics; The time delay value of the embedded system during the transmission process is calculated, and the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated by combining the original signal strength, the original signal frequency, the original signal phase, the output signal strength, the output signal frequency, the output signal phase and the time delay value through the following formula: ; Among them, A represents the signal conduction efficiency loss generated by the embedded system during the transmission process. represents the original signal strength of the i-th signal, represents the output signal strength of the i-th signal, represents the original signal frequency of the i-th signal, represents the output signal frequency of the i-th signal, represents the original signal phase of the i-th signal, represents the output signal phase of the i-th signal, represents the time delay value of the i-th signal, represents the ideal transmission time of the i-th signal, i represents the signal sequence number, and n represents the number of signals.

[0010] Optionally, the calculating the measurement distortion coefficient of the pressure transmitter based on the pressure detection data includes: Performing data smoothing processing on the pressure detection data to obtain smoothed pressure detection data; extracting a pressure detection value from the smoothed pressure detection data; Based on the pressure detection value, calculating the pressure mean and pressure standard deviation corresponding to the pressure transmitter; Performing signal decomposition processing on the smoothed pressure detection data to obtain a pressure signal component and a signal noise component; calculating a noise level corresponding to the smoothed pressure detection data based on the pressure signal component and the signal noise component; The measurement distortion coefficient of the pressure transmitter is calculated by combining the pressure detection value, the pressure mean value, the pressure standard deviation and the noise level.

[0011] Optionally, the calculating a measurement distortion coefficient of the pressure transmitter by combining the pressure detection value, the pressure mean, the pressure standard deviation and the noise level includes: Based on the pressure detection value, calculating the signal distortion corresponding to the pressure transmitter; Combining the signal distortion, the pressure mean, the pressure standard deviation and the noise level, the measurement distortion coefficient of the pressure transmitter is calculated by the following formula: ; Where F represents the measurement distortion coefficient of the pressure transmitter, represents the mean pressure, represents the ideal pressure mean, represents the pressure standard deviation, represents the ideal standard deviation, represents the noise level, represents the maximum permissible noise level, Indicates signal distortion.

[0012] Optionally, the calculating the resource occupancy evolution rate of the embedded system based on the system operation status parameter includes: Performing time calibration processing on the system operation status parameter to obtain a calibrated operation status parameter; Dividing the calibration operation status parameter into interval windows to obtain a window status parameter set; Performing trend analysis on the window situation parameter set to obtain a window situation trend; Based on the window situation trend, a resource occupancy evolution rate of the embedded system is calculated.

[0013] Optionally, the step of evaluating the steady-state performance of the embedded system in the pressure transmitter by combining the measured distortion coefficient and the resource occupancy variation rate includes: Normalizing the measured distortion coefficient and the resource occupancy variation rate to obtain a normalized distortion coefficient and a normalized variation rate; Querying the system description function corresponding to the embedded system, and analyzing the function sensitive factors corresponding to the system description function; Based on the functional sensitivity factor, weight coefficients corresponding to the measured distortion coefficient and the resource occupancy evolution rate are allocated to obtain a distortion weight and an evolution weight; Calculate the running steady-state score of the embedded system in the pressure transmitter by combining the distortion weight, the derivative weight, the normalized distortion coefficient and the normalized derivative rate; Based on the steady-state operation score, the steady-state operation performance of the embedded system in the pressure transmitter is evaluated.

[0014] In order to solve the above problems, the present invention also provides an application system of an embedded system in a pressure transmitter, the system comprising: A working mode sequence setting module is used to obtain a pressure transmitter to which an embedded system is applied, analyze the working environment corresponding to the pressure transmitter, collect the current pressure precision sensitivity information of the pressure transmitter, and set the working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure precision sensitivity information; An operation loss calculation module, used to calculate the computing efficiency loss of the embedded system during data processing, and calculate the signal conduction efficiency loss generated by the embedded system during transmission, and determine the composite operation loss of the embedded system in the pressure transmitter by combining the computing efficiency loss and the conduction efficiency loss; An operation steady-state performance evaluation module, used to record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy evolution rate of the embedded system based on the system operation status parameters, and evaluate the operation steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate; An application control management module is used to determine the performance optimization target of the embedded system in combination with the pressure sensitivity information and the composite operating loss, formulate an operation optimization strategy for the embedded system in the pressure transmitter according to the operating steady-state performance and the performance optimization target, and execute application control management of the embedded system in the pressure transmitter based on the operation optimization strategy and the working mode sequence to obtain application results.

[0015] Compared with the problem described in the background technology, the present invention sets the working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure sensitivity information, and can obtain the working state optimization plan of the pressure transmitter in different environments, thereby laying a foundation for the subsequent adjustment of the working mode of the embedded system. Furthermore, the present invention can accurately understand the resource utilization efficiency of the system in the data calculation link by calculating the computing performance loss of the embedded system in the data processing process, and clarify the potential loss points caused by hardware performance bottlenecks, algorithm complexity and other factors, which provides an important basis for the subsequent determination of the composite operating loss of the embedded system in the pressure transmitter. The present invention is based on the The pressure detection data is used to calculate the measurement distortion coefficient of the pressure transmitter, which can quantify the degree of deviation of the pressure transmitter measurement results, and provide a basis for the subsequent evaluation of the steady-state performance of the embedded system in the pressure transmitter. Furthermore, the present invention determines the performance optimization target by combining the pressure sensitivity information and the composite operating loss, and then formulates the operation optimization strategy of the embedded system in the pressure transmitter according to the steady-state performance and the performance optimization target, and finally performs application control management in combination with the working mode sequence. This multi-step and comprehensive approach can comprehensively and accurately optimize the operation of the embedded system in the pressure transmitter and improve the overall performance and stability of the system. Therefore, the application method and system of the embedded system in the pressure transmitter provided in the embodiment of the present invention can improve the application efficiency of the embedded system in the pressure transmitter. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic flow chart of a method for applying an embedded system in a pressure transmitter provided by an embodiment of the present invention; Figure 2 A schematic diagram of a module for implementing a method for applying the embedded system in a pressure transmitter provided in an embodiment of the present invention.

[0017] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0018] 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.

[0019] The embodiment of the present application provides an application method of an embedded system in a pressure transmitter. The execution subject of the application method of the embedded system in the pressure transmitter includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the application method of the embedded system in the pressure transmitter can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0020] Example 1 Reference Figure 1 FIG. 1 is a flow chart of an application method of an embedded system in a pressure transmitter provided by an embodiment of the present invention. In this embodiment, the application method of the embedded system in a pressure transmitter includes: S1. Obtain a pressure transmitter using an embedded system, analyze the operating environment corresponding to the pressure transmitter, collect current pressure sensitivity information of the pressure transmitter, and set a working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure sensitivity information.

[0021] The present invention sets the working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure sensitivity information, and can obtain an optimization scheme for the working state of the pressure transmitter in different environments, thereby laying a foundation for subsequent adjustment of the working mode of the embedded system.

[0022] It should be explained that the pressure transmitter is a device for measuring and transmitting pressure signals, usually composed of sensors, signal processing circuits and embedded systems, and has high-precision pressure detection and signal transmission capabilities. The operating environment is the working conditions of the pressure transmitter, such as temperature, humidity, pressure range, etc. The pressure sensitivity information is the pressure measurement accuracy and sensitivity data of the pressure transmitter in the current environment. The working mode sequence is a combination of working modes set by the embedded system according to environmental conditions and pressure sensitivity information, such as low power consumption mode, high precision mode, fast response mode, etc. Furthermore, the operating environment analysis of the pressure transmitter can be achieved through sensor data acquisition and environmental monitoring equipment; the collection of pressure sensitivity information can be obtained through pressure calibration equipment.

[0023] In detail, the step of setting the working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure sensitivity information includes: Collecting parameters of the working environment to obtain environmental parameters; Performing index analysis on the pressure sensitivity information to obtain a sensitivity index; Based on the environmental parameter and the sensitivity index, identifying an applicable working mode of the pressure transmitter; The applicable working modes are prioritized to obtain a working mode sequence of the embedded system in the pressure transmitter.

[0024] It should be explained that the environmental parameters are key data in the operating environment, such as temperature, humidity, pressure range, etc. The sensitivity index is the quantitative data of the pressure measurement accuracy and sensitivity of the pressure transmitter in the current environment. The applicable working mode is the working mode of the embedded system that can optimize the performance of the pressure transmitter under specific environmental conditions.

[0025] Furthermore, data collection of the operating environment can be achieved through multi-sensor fusion technology; the index analysis of the pressure sensitivity information can be achieved through data fitting and statistical analysis; based on the environmental parameters and the sensitivity index, the applicable working mode of the pressure transmitter is identified. For example, certain environmental parameters may indicate that the current ambient temperature is high. At this time, the low power consumption mode can be preferentially selected to reduce equipment heating; if the pressure sensitivity information shows that the current measurement accuracy requirement is high, the high-precision mode can be selected to improve the measurement accuracy. The priority sorting of the applicable working modes can be achieved through a multi-objective optimization algorithm, such as using a non-dominated sorting genetic algorithm (NSGA-II), comprehensively considering multiple objectives such as the measurement accuracy, response speed, and energy consumption of the pressure transmitter, and comprehensively evaluating and sorting different working modes to determine the priority of each working mode.

[0026] S2. Calculate the computing efficiency loss of the embedded system during data processing, and calculate the signal conduction efficiency loss generated by the embedded system during transmission. Combine the computing efficiency loss and the conduction efficiency loss to determine the composite operation loss of the embedded system in the pressure transmitter.

[0027] By calculating the computing performance loss of the embedded system in the data processing process, the present invention can accurately understand the resource utilization efficiency of the system in the data computing link, clarify the potential loss points caused by hardware performance bottlenecks, algorithm complexity and other factors, and provide an important basis for the subsequent determination of the composite operating loss of the embedded system in the pressure transmitter. It should be explained that the computing performance loss refers to the loss caused by the waste of computing resources and reduced processing efficiency due to hardware performance limitations, algorithm complexity and other factors when the embedded system performs data processing tasks.

[0028] Specifically, the calculation of the computing performance loss of the embedded system during data processing includes: Collecting and processing the operation data of the embedded system to obtain system operation data; Preprocessing the system operation data to obtain preprocessed data; Performing feature extraction on the preprocessed data to obtain system operation features; Based on the system operation characteristics, the computing performance loss of the embedded system during data processing is calculated.

[0029] It should be explained that the system operation data includes indicators such as CPU utilization, memory occupancy, disk I / O, etc. The pre-processed data is the system operation data after removing noise and outliers. The system operation characteristics are key indicators reflecting the system operation status, such as the change trend of CPU utilization, the peak value of memory occupancy, etc. Further, the collection of the system operation data can be achieved through system monitoring tools, such as the top command in the Linux system; the processing of the pre-processed data can be achieved through data cleaning algorithms, such as outlier detection based on statistical methods; the feature extraction of the system operation characteristics can be achieved through time series analysis methods, such as Fourier transform or wavelet transform; based on the system operation characteristics, the computing efficiency loss of the embedded system is calculated, such as for CPU load, within time T, if the CPU busy time is t1, the CPU load rate L=t1 / T, the higher the load rate, the greater the computing efficiency loss. In terms of memory occupancy, the actual occupied memory M1 and the total available memory M0 are recorded, and the memory occupancy rate R=M1 / M0. High occupancy will increase computing efficiency loss. Data processing time refers to the time from when data enters the system to when processing is completed. Assume that the theoretical shortest processing time is t0, the actual processing time is t2, and the extension coefficient E=t2 / t0. The larger the coefficient, the higher the loss. Standardize the above coefficients and add the results to obtain the computing performance loss of the embedded system.

[0030] By calculating the signal conduction efficiency loss generated by the embedded system during the transmission process, the present invention can accurately understand the extent to which the signal transmission is affected by the system, and provide a key basis for optimizing the signal transmission path and improving the overall performance of the system. It should be explained that the conduction efficiency loss refers to the loss caused by the pressure signal during the transmission process through the relevant circuits and interfaces of the embedded system, due to signal attenuation, interference and other reasons that lead to the decline in signal quality.

[0031] In detail, the calculating of the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Monitoring the signal of the embedded system during the transmission process to obtain signal transmission data; Performing filtering on the signal transmission data to obtain filtered signal data; Performing feature extraction on the filtered signal data to obtain signal transmission features; Based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated.

[0032] It should be explained that the signal transmission data includes indicators such as signal delay time and signal strength attenuation, the filtered signal data is the signal transmission data after noise removal, and the signal transmission characteristics are key indicators reflecting the quality of signal transmission, such as the fluctuation of signal delay, the attenuation degree of signal strength, etc. Further, the monitoring of the signal transmission data can be achieved through a signal analyzer; the processing of the filtered signal data can be achieved through a digital filtering algorithm, such as Kalman filtering; the feature extraction of the signal transmission characteristics can be achieved through a signal processing method, such as spectrum analysis.

[0033] Further, as an optional embodiment of the present invention, the calculating, based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Extracting original signal features and output signal features from the signal transmission features; Extracting the original signal strength, original signal frequency, and original signal phase of the embedded system during transmission from the original signal features; Extracting the output signal strength, output signal frequency, and output signal phase of the embedded system during transmission from the output signal characteristics; The time delay value of the embedded system during the transmission process is calculated, and the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated by combining the original signal strength, the original signal frequency, the original signal phase, the output signal strength, the output signal frequency, the output signal phase and the time delay value through the following formula: ; Among them, A represents the signal conduction efficiency loss generated by the embedded system during the transmission process. represents the original signal strength of the i-th signal, represents the output signal strength of the i-th signal, represents the original signal frequency of the i-th signal, represents the output signal frequency of the i-th signal, represents the original signal phase of the i-th signal, represents the output signal phase of the i-th signal, represents the time delay value of the i-th signal, represents the ideal transmission time of the i-th signal, i represents the signal sequence number, and n represents the number of signals.

[0034] It should be explained that the original signal characteristics and the output signal characteristics are key components of the signal transmission characteristics. The original signal strength, the original signal frequency, and the original signal phase are the basic signal attribute characteristics of the embedded system in the transmission process in the original signal characteristics. The output signal strength, the output signal frequency, and the output signal phase are the corresponding signal attribute characteristics of the embedded system after the transmission process. The time delay value is the signal transmission time change characteristic of the embedded system in the transmission process. The ideal transmission time is the time it should take for the signal to complete the transmission under ideal conditions such as no interference.

[0035] Furthermore, a multimodal sensor can be used to collect data at the start and end of signal transmission to extract original signal features and output signal features from the signal transmission features; signal spectrum analysis, amplitude detection and other technical means can be used to extract the original signal strength, original signal frequency, and original signal phase of the embedded system during transmission from the original signal features; the same signal spectrum analysis, amplitude detection and signal processing algorithm can be used to process the data at the end of transmission to extract the output signal strength, output signal frequency, and output signal phase of the embedded system during transmission from the output signal features; and the time delay value of the embedded system during transmission can be calculated by comparing the sending timestamp of the signal at the start and the receiving timestamp of the signal at the end.

[0036] The present invention determines the composite operating loss of the embedded system in the pressure transmitter by combining the computing efficiency loss and the conduction efficiency loss, so as to comprehensively evaluate the operating efficiency of the system and provide a basis for optimizing the system performance. It should be explained that the composite operating loss is a comprehensive performance measurement indicator of the embedded system in the pressure transmitter, which integrates the computing efficiency loss and the conduction efficiency loss, comprehensively reflects the resource consumption and efficiency reduction of the system in the process of data processing and signal transmission, and provides a key basis for evaluating the overall operating status and optimization direction of the system. Furthermore, the computing efficiency loss and the conduction efficiency loss are combined to determine the composite operating loss of the embedded system in the pressure transmitter. For example, a specific loss superposition algorithm is used to add the numerical values ​​of the computing efficiency loss and the conduction efficiency loss, and then the coupling influence coefficient of the two is considered when the system is running to make corrections, so as to determine the composite operating loss. This value can help evaluate the comprehensive energy consumption level of the system in the pressure transmitter.

[0037] S3. Record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy variation rate of the embedded system based on the system operation status parameters, and evaluate the operating steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy variation rate.

[0038] The present invention calculates the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, thereby quantifying the degree of deviation of the measurement result of the pressure transmitter, and providing a basis for the subsequent evaluation of the steady-state performance of the embedded system in the pressure transmitter. It should be explained that the pressure detection data is the data obtained by the pressure transmitter to measure the pressure under the control of the embedded system, reflecting the real-time status of the pressure; the system operation status parameter is the relevant parameter describing the operating status of the embedded system, such as CPU usage, memory occupancy, number of threads, etc.; the measurement distortion coefficient is an indicator to measure the degree of deviation between the measurement result of the pressure transmitter and the true value. The recording of the pressure detection data can be achieved through a data acquisition card, and the recording of the system operation status parameter can be achieved through system monitoring software.

[0039] In detail, the calculating the measurement distortion coefficient of the pressure transmitter based on the pressure detection data includes: Performing data smoothing processing on the pressure detection data to obtain smoothed pressure detection data; extracting a pressure detection value from the smoothed pressure detection data; Based on the pressure detection value, calculating the pressure mean and pressure standard deviation corresponding to the pressure transmitter; Performing signal decomposition processing on the smoothed pressure detection data to obtain a pressure signal component and a signal noise component; calculating a noise level corresponding to the smoothed pressure detection data based on the pressure signal component and the signal noise component; The measurement distortion coefficient of the pressure transmitter is calculated by combining the pressure detection value, the pressure mean value, the pressure standard deviation and the noise level.

[0040] It should be explained that the smoothed pressure detection data is the data obtained after the pressure detection data has been processed by noise reduction, filtering, etc. to reduce fluctuations and interference. The pressure detection value is a specific numerical value in the smoothed pressure detection data used to characterize the pressure magnitude. The pressure signal component and the signal noise component are respectively the components of the smoothed pressure detection data. The former reflects the actual pressure change, and the latter represents the interfering fluctuations. The noise level is a measure of the noise intensity corresponding to the smoothed pressure detection data, reflecting the degree of noise interference to the data.

[0041] Furthermore, the pressure detection data can be smoothed by a moving average filtering algorithm to obtain smoothed pressure detection data; the pressure detection value in the smoothed pressure detection data can be extracted by direct reading or specific indexing; based on the pressure detection value, the pressure mean and pressure standard deviation corresponding to the pressure transmitter can be calculated by the arithmetic mean formula and the standard deviation calculation formula; the smoothed pressure detection data can be subjected to signal decomposition processing by a wavelet decomposition algorithm to obtain a pressure signal component and a signal noise component; based on the pressure signal component and the signal noise component, the noise level corresponding to the smoothed pressure detection data can be calculated by calculating the power ratio of the noise component.

[0042] Further, as an optional embodiment of the present invention, the combining of the pressure detection value, the pressure mean value, the pressure standard deviation and the noise level to calculate the measurement distortion coefficient of the pressure transmitter includes: Based on the pressure detection value, calculating the signal distortion corresponding to the pressure transmitter; Combining the signal distortion, the pressure mean, the pressure standard deviation and the noise level, the measurement distortion coefficient of the pressure transmitter is calculated by the following formula: ; Where F represents the measurement distortion coefficient of the pressure transmitter, represents the mean pressure, represents the ideal pressure mean, represents the pressure standard deviation, represents the ideal standard deviation, represents the noise level, represents the maximum permissible noise level, Indicates signal distortion.

[0043] It should be explained that the signal distortion indicates the degree of deviation between the measurement signal corresponding to the pressure transmitter and the actual pressure signal in terms of waveform, amplitude, etc.; the ideal pressure mean is the average pressure value that the pressure transmitter should output under standard working conditions, which serves as a reference standard for measuring the accuracy of the actual pressure mean; the ideal standard deviation is the theoretical value of the discreteness of the pressure measurement data under an ideal stable state, which is used to compare the actual pressure standard deviation to evaluate the measurement stability; the maximum allowable noise level is the upper limit of the noise intensity that can be tolerated in the measurement data under the premise that the measurement accuracy of the pressure transmitter is not significantly affected. Furthermore, the ideal pressure mean and the ideal standard deviation can be calculated by conducting a large number of tests on the pressure transmitter under standard working conditions, collecting and analyzing data; the maximum allowable noise level can be determined from the product specification of the pressure transmitter or based on relevant industry standards and the accuracy requirements of actual application scenarios.

[0044] The present invention calculates the resource occupancy evolution rate of the embedded system based on the system operation status parameters, so as to timely detect the dynamic change trend of system resource usage, predict possible resource bottleneck problems in advance, provide a strong basis for reasonably optimizing system resource configuration and ensuring stable system operation, and effectively avoid system freezes, crashes and other failures caused by insufficient or excessive resource occupation. It should be explained that the resource occupancy evolution rate indicates the speed of change of resource occupancy (such as CPU usage, memory occupancy, etc.) of the embedded system in unit time, and is used to measure the dynamic change trend of system resource usage.

[0045] In detail, the calculation of the resource occupancy evolution rate of the embedded system based on the system operation status parameter includes: Performing time calibration processing on the system operation status parameter to obtain a calibrated operation status parameter; Dividing the calibration operation status parameter into interval windows to obtain a window status parameter set; Performing trend analysis on the window situation parameter set to obtain a window situation trend; Based on the window situation trend, a resource occupancy evolution rate of the embedded system is calculated.

[0046] It should be explained that the calibrated operating status parameters are the data obtained after the system operating status parameters have been time-calibrated to ensure that the time series is accurate and consistent; the window status parameter set is the calibrated operating status parameters divided into a series of data sets containing status parameters in different time intervals according to a specific interval window division method; the window status trend is the quantitative result of the window status parameter set obtained through trend analysis (such as linear regression and other methods), which reflects the trend of resource occupancy in each window over time.

[0047] Furthermore, the calibrated operating status parameters can be obtained by comparing the system's internal high-precision clock or external standard time source, and performing time calibration processing on the system's operating status parameters according to the time deviation; the calibrated operating status parameters can be divided into interval windows according to a pre-set fixed window duration or a dynamically adjusted window strategy to obtain a window status parameter set; the window status parameter set can be trend analyzed using algorithms such as least squares linear regression and moving average method to obtain a window status trend; based on the window status trend, each window trend value is converted according to the window time span and the expected time unit and summarized and counted, and then the resource occupancy evolution rate of the embedded system is calculated, such as first converting each window trend value into a rate of change under a unified time scale according to the conversion relationship between the window time span and the expected time unit, and then using statistical means such as summation or median to comprehensively obtain the resource occupancy evolution rate of the embedded system.

[0048] The present invention evaluates the steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate, and can comprehensively and accurately evaluate the comprehensive stability of the system in pressure measurement and its own resource management, which lays an important foundation for the subsequent formulation of the operation optimization strategy of the embedded system in the pressure transmitter. It should be explained that the steady-state performance is the ability of the embedded system in the pressure transmitter to maintain accurate pressure measurement and stable utilization of its own resources during the pressure measurement process, thereby ensuring the overall reliable, continuous and efficient operation of the system.

[0049] In detail, the step of evaluating the steady-state performance of the embedded system in the pressure transmitter by combining the measured distortion coefficient and the resource occupancy variation rate includes: Normalizing the measured distortion coefficient and the resource occupancy variation rate to obtain a normalized distortion coefficient and a normalized variation rate; Querying the system description function corresponding to the embedded system, and analyzing the function sensitive factors corresponding to the system description function; Based on the functional sensitivity factor, weight coefficients corresponding to the measured distortion coefficient and the resource occupancy evolution rate are allocated to obtain a distortion weight and an evolution weight; Calculate the running steady-state score of the embedded system in the pressure transmitter by combining the distortion weight, the derivative weight, the normalized distortion coefficient and the normalized derivative rate; Based on the steady-state operation score, the steady-state operation performance of the embedded system in the pressure transmitter is evaluated.

[0050] It should be explained that the normalized distortion coefficient and the normalized evolution rate are respectively quantitative indicators of the measurement distortion coefficient and the resource occupancy evolution rate after normalization to eliminate dimensional differences and facilitate unified comparative analysis; the system description function is the functional characteristics corresponding to the embedded system and the set of expected goals; the functional sensitive factors are the key factors corresponding to the system description function that have a significant impact on its performance and effect; the distortion weight and the evolution weight are respectively the importance ratios of the measurement distortion coefficient and the resource occupancy evolution rate in evaluating the steady-state performance of the system operation; the steady-state operation score represents the quantitative score of the overall operational stability and reliability of the embedded system reflected by the comprehensive measurement distortion and resource occupancy in the pressure transmitter.

[0051] Furthermore, the measurement distortion coefficient and the resource occupancy evolution rate can be normalized by a minimum-maximum normalization algorithm to obtain a normalized distortion coefficient and a normalized evolution rate; the system description function corresponding to the embedded system can be queried by consulting system technical documents or calling a specific system information query interface, and the functional sensitivity factors corresponding to the system description function can be analyzed by expert experience judgment, correlation analysis or fault tree analysis; based on the functional sensitivity factors, the weight coefficients corresponding to the measurement distortion coefficient and the resource occupancy evolution rate are allocated by means of a hierarchical analysis method, an entropy weight method or a machine learning algorithm to obtain distortion weights and evolution weights; combining the distortion weight, the evolution weight, the normalized distortion coefficient and the normalized evolution rate, the weighted sum formula can be used to calculate the operating steady-state score of the embedded system in the pressure transmitter; based on the operating steady-state score, the operating steady-state performance of the embedded system in the pressure transmitter is evaluated according to a pre-set score threshold interval or by comparing with historical data.

[0052] S4. Determine the performance optimization target of the embedded system in combination with the pressure sensitivity information and the composite operating loss; formulate an operation optimization strategy for the embedded system in the pressure transmitter according to the operating steady-state performance and the performance optimization target; and execute application control and management of the embedded system in the pressure transmitter based on the operation optimization strategy and the working mode sequence to obtain application results.

[0053] The present invention determines the performance optimization target by combining the pressure sensitivity information and the composite operating loss, and then formulates the operation optimization strategy of the embedded system in the pressure transmitter according to the steady-state performance and the performance optimization target, and finally performs application control management in combination with the working mode sequence. This multi-step and multi-faceted approach can comprehensively and accurately optimize the operation of the embedded system in the pressure transmitter and improve the overall performance and stability of the system. It should be explained that the performance optimization target is a set of quantitative indicators and effects that the embedded system expects to achieve in the pressure transmitter application scenario, based on the comprehensive pressure sensitivity information and composite operating loss, and covers multiple aspects of performance improvement such as improved measurement accuracy, reduced resource loss and enhanced operating stability. The operation optimization strategy is a specific method for optimizing the operation of the embedded system in the pressure transmitter.

[0054] Furthermore, the performance optimization target of the embedded system is determined by combining the pressure sensitivity information and the composite operating loss. For example, when the pressure sensitivity is lower than the standard value, improving the measurement accuracy is set as the primary target. At the same time, according to the degree of composite operating loss, a specific indicator is formulated to reduce the loss by X% within a certain period of time. Or when the pressure sensitivity meets the requirements but the loss is too high, the focus is on reducing the composite operating loss. It is expected that after optimization, the overall energy consumption of the system can be reduced by Y% while ensuring that the measurement accuracy is not reduced.

[0055] Furthermore, according to the steady-state performance and the performance optimization target, an operation optimization strategy for the embedded system in the pressure transmitter is formulated. For example, when the steady-state performance shows that the system resource occupancy rate is high but the pressure sensitivity is acceptable, the focus is on reducing the composite operation loss. By optimizing the system software code, unnecessary processes and data processing links are reduced, and the operating frequency and voltage of the hardware are adjusted, energy saving is achieved without affecting the pressure measurement accuracy. If the pressure measurement error is large and the resource occupancy is unreasonable in the steady-state performance, and the performance optimization target requires double improvement, on the one hand, the pressure sensor hardware is upgraded to improve the measurement accuracy, and on the other hand, the software architecture is redesigned to optimize the data processing and transmission processes to improve the overall operation efficiency of the system.

[0056] Finally, based on the operation optimization strategy and the working mode sequence, the application control management of the embedded system in the pressure transmitter can be performed through an automated control feedback mechanism to obtain application results.

[0057] Compared with the problem described in the background technology, the present invention sets the working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure sensitivity information, and can obtain the working state optimization plan of the pressure transmitter in different environments, thereby laying a foundation for the subsequent adjustment of the working mode of the embedded system. Furthermore, the present invention can accurately understand the resource utilization efficiency of the system in the data calculation link by calculating the computing performance loss of the embedded system in the data processing process, and clarify the potential loss points caused by hardware performance bottlenecks, algorithm complexity and other factors, which provides an important basis for the subsequent determination of the composite operating loss of the embedded system in the pressure transmitter. The present invention is based on the The pressure detection data is used to calculate the measurement distortion coefficient of the pressure transmitter, which can quantify the degree of deviation of the pressure transmitter measurement results, and provide a basis for the subsequent evaluation of the steady-state performance of the embedded system in the pressure transmitter. Furthermore, the present invention determines the performance optimization target by combining the pressure sensitivity information and the composite operating loss, and then formulates the operation optimization strategy of the embedded system in the pressure transmitter according to the steady-state performance and the performance optimization target, and finally performs application control management in combination with the working mode sequence. This multi-step and comprehensive approach can comprehensively and accurately optimize the operation of the embedded system in the pressure transmitter and improve the overall performance and stability of the system. Therefore, the application method and system of the embedded system in the pressure transmitter provided in the embodiment of the present invention can improve the application efficiency of the embedded system in the pressure transmitter.

[0058] Example 2 like Figure 2 The figure shows a functional module diagram of an application system of an embedded system in a pressure transmitter according to the present invention.

[0059] The application system 200 of an embedded system in a pressure transmitter described in the present invention can be installed in an electronic device. According to the functions implemented, the application system of the embedded system in the pressure transmitter can work as a mode sequence setting module 201, an operation loss calculation module 202, an operation steady-state performance evaluation module 203 and an application control management module 204. The module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0060] In the embodiment of the present invention, the functions of each module / unit are as follows: The working mode sequence setting module 201 is used to obtain a pressure transmitter to which an embedded system is applied, analyze the working environment corresponding to the pressure transmitter, collect the current pressure precision sensitivity information of the pressure transmitter, and set the working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure precision sensitivity information; The operation loss calculation module 202 is used to calculate the computing efficiency loss of the embedded system during data processing, and calculate the signal conduction efficiency loss generated by the embedded system during transmission, and determine the composite operation loss of the embedded system in the pressure transmitter by combining the computing efficiency loss and the conduction efficiency loss; The operation steady-state performance evaluation module 203 is used to record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy evolution rate of the embedded system based on the system operation status parameters, and evaluate the operation steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate; The application control management module 204 is used to determine the performance optimization target of the embedded system in combination with the pressure sensitivity information and the composite operating loss, formulate an operation optimization strategy for the embedded system in the pressure transmitter according to the operating steady-state performance and the performance optimization target, and perform application control management of the embedded system in the pressure transmitter based on the operation optimization strategy and the working mode sequence to obtain application results.

[0061] In detail, the modules in the application system 200 of the embedded system in the pressure transmitter in the embodiment of the present invention are used in the same manner as described above. Figure 1 The application method of the embedded system in the pressure transmitter described in the above is the same technical means and can produce the same technical effects, so it will not be repeated here.

[0062] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. An application method of an embedded system in a pressure transmitter, characterized in that: The method comprises: Acquire a pressure transmitter to which an embedded system is applied, analyze an operating environment corresponding to the pressure transmitter, collect current pressure precision sensitivity information of the pressure transmitter, and set a working mode sequence of the embedded system in the pressure transmitter according to the operating environment and the pressure precision sensitivity information; Calculating the computing efficiency loss of the embedded system during data processing, and calculating the signal conduction efficiency loss generated by the embedded system during transmission, and combining the computing efficiency loss and the conduction efficiency loss to determine the composite operation loss of the embedded system in the pressure transmitter; Record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy evolution rate of the embedded system based on the system operation status parameters, and evaluate the operation steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate; In combination with the pressure sensitivity information and the composite operating loss, the performance optimization target of the embedded system is determined, and according to the operating steady-state performance and the performance optimization target, an operation optimization strategy of the embedded system in the pressure transmitter is formulated. Based on the operation optimization strategy and the working mode sequence, application control and management of the embedded system in the pressure transmitter is performed to obtain application results.

2. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The step of setting a working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure sensitivity information includes: Collecting parameters of the working environment to obtain environmental parameters; Performing index analysis on the pressure sensitivity information to obtain a sensitivity index; Based on the environmental parameter and the sensitivity index, identifying an applicable working mode of the pressure transmitter; The applicable working modes are prioritized to obtain a working mode sequence of the embedded system in the pressure transmitter.

3. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The calculating the computing performance loss of the embedded system during data processing includes: Collecting and processing the operation data of the embedded system to obtain system operation data; Preprocessing the system operation data to obtain preprocessed data; Performing feature extraction on the preprocessed data to obtain system operation features; Based on the system operation characteristics, the computing performance loss of the embedded system during data processing is calculated.

4. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The calculating the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Monitoring the signal of the embedded system during the transmission process to obtain signal transmission data; Performing filtering on the signal transmission data to obtain filtered signal data; Performing feature extraction on the filtered signal data to obtain signal transmission features; Based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated.

5. The method for applying the embedded system in a pressure transmitter according to claim 4, characterized in that: The calculating, based on the signal transmission characteristics, the signal conduction efficiency loss generated by the embedded system during the transmission process includes: Extracting original signal features and output signal features from the signal transmission features; Extracting the original signal strength, original signal frequency, and original signal phase of the embedded system during transmission from the original signal features; Extracting the output signal strength, output signal frequency, and output signal phase of the embedded system during transmission from the output signal characteristics; The time delay value of the embedded system during the transmission process is calculated, and the signal conduction efficiency loss generated by the embedded system during the transmission process is calculated by combining the original signal strength, the original signal frequency, the original signal phase, the output signal strength, the output signal frequency, the output signal phase and the time delay value through the following formula: ; Among them, A represents the signal conduction efficiency loss generated by the embedded system during the transmission process. represents the original signal strength of the i-th signal, represents the output signal strength of the i-th signal, represents the original signal frequency of the i-th signal, represents the output signal frequency of the i-th signal, Represents the original signal phase of the i-th signal represents the output signal phase of the i-th signal, represents the time delay value of the i-th signal, represents the ideal transmission time of the i-th signal, i represents the signal sequence number, and n represents the number of signals.

6. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The step of calculating the measurement distortion coefficient of the pressure transmitter based on the pressure detection data comprises: Performing data smoothing processing on the pressure detection data to obtain smoothed pressure detection data; extracting a pressure detection value from the smoothed pressure detection data; Based on the pressure detection value, calculating the pressure mean and pressure standard deviation corresponding to the pressure transmitter; Performing signal decomposition processing on the smoothed pressure detection data to obtain a pressure signal component and a signal noise component; calculating a noise level corresponding to the smoothed pressure detection data based on the pressure signal component and the signal noise component; The measurement distortion coefficient of the pressure transmitter is calculated by combining the pressure detection value, the pressure mean value, the pressure standard deviation and the noise level.

7. The method for applying the embedded system in a pressure transmitter according to claim 6, characterized in that: The calculating the measurement distortion coefficient of the pressure transmitter by combining the pressure detection value, the pressure mean value, the pressure standard deviation and the noise level includes: Based on the pressure detection value, calculating the signal distortion corresponding to the pressure transmitter; Combining the signal distortion, the pressure mean, the pressure standard deviation and the noise level, the measurement distortion coefficient of the pressure transmitter is calculated by the following formula: ; Where F represents the measurement distortion coefficient of the pressure transmitter, represents the mean pressure, represents the ideal pressure mean, represents the pressure standard deviation, represents the ideal standard deviation, represents the noise level, represents the maximum permissible noise level, Indicates signal distortion.

8. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The step of calculating the resource occupancy evolution rate of the embedded system based on the system operation status parameter includes: Performing time calibration processing on the system operation status parameter to obtain a calibrated operation status parameter; Dividing the calibration operation status parameter into interval windows to obtain a window status parameter set; Performing trend analysis on the window situation parameter set to obtain a window situation trend; Based on the window situation trend, a resource occupancy evolution rate of the embedded system is calculated.

9. The method for applying the embedded system in a pressure transmitter according to claim 1, characterized in that: The step of evaluating the steady-state performance of the embedded system in the pressure transmitter by combining the measured distortion coefficient and the resource occupancy variation rate includes: Normalizing the measured distortion coefficient and the resource occupancy variation rate to obtain a normalized distortion coefficient and a normalized variation rate; Querying the system description function corresponding to the embedded system, and analyzing the function sensitive factors corresponding to the system description function; Based on the functional sensitivity factor, weight coefficients corresponding to the measured distortion coefficient and the resource occupancy evolution rate are allocated to obtain a distortion weight and an evolution weight; Calculate the running steady-state score of the embedded system in the pressure transmitter by combining the distortion weight, the derivative weight, the normalized distortion coefficient and the normalized derivative rate; Based on the steady-state operation score, the steady-state operation performance of the embedded system in the pressure transmitter is evaluated.

10. An application system of an embedded system in a pressure transmitter, characterized in that: The system comprises: A working mode sequence setting module is used to obtain a pressure transmitter to which an embedded system is applied, analyze the working environment corresponding to the pressure transmitter, collect the current pressure precision sensitivity information of the pressure transmitter, and set the working mode sequence of the embedded system in the pressure transmitter according to the working environment and the pressure precision sensitivity information; An operation loss calculation module, used to calculate the computing efficiency loss of the embedded system during data processing, and calculate the signal conduction efficiency loss generated by the embedded system during transmission, and determine the composite operation loss of the embedded system in the pressure transmitter by combining the computing efficiency loss and the conduction efficiency loss; An operation steady-state performance evaluation module, used to record the pressure detection data and system operation status parameters of the pressure transmitter under the control of the embedded system, calculate the measurement distortion coefficient of the pressure transmitter based on the pressure detection data, calculate the resource occupancy evolution rate of the embedded system based on the system operation status parameters, and evaluate the operation steady-state performance of the embedded system in the pressure transmitter by combining the measurement distortion coefficient and the resource occupancy evolution rate; An application control management module is used to determine the performance optimization target of the embedded system in combination with the pressure sensitivity information and the composite operating loss, formulate an operation optimization strategy for the embedded system in the pressure transmitter according to the operating steady-state performance and the performance optimization target, and execute application control management of the embedded system in the pressure transmitter based on the operation optimization strategy and the working mode sequence to obtain application results.

Citation Information

Patent Citations

  • Embedded stress sensor calibration method

    CN116202682A

  • Optimization method for sampling analog pressure transmitter based on embedded circuit

    CN117932871A

  • Embedded sensor system for e.g. detecting pressure of automobile system, has measuring section connected with polycrystalline sensor and supplied with energy by power supply for detection of physical parameters or state changes of system

    DE102010008391A1

  • Bite guard with embedded pressure sensors

    US20240423827A1