Physical characteristic parameter measurement method and device, electronic equipment and product
By establishing an estimation model for the physical property parameters of chemical substances and using optimization algorithms for iterative updates, the problem of the lag in the detection of physical property parameters during the production process of chemical substances was solved, and real-time detection and quality assurance of chemical substances were realized.
Patent Information
- Application Number
- CN202511002684.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-21
- Publication Date
- 2025-10-31
AI Technical Summary
The detection of physical property parameters of chemical substances in existing technologies is lagging and cannot be achieved in real time, which makes it difficult to guarantee the quality of chemical substances produced.
By establishing a physical property parameter estimation model and using optimization algorithms to iteratively update the model parameters, real-time detection is performed based on the detection data of sample chemical substances to ensure that the difference between the estimated and measured values of the physical property parameters of chemical substances is minimized, thereby achieving real-time detection in the chemical substance production process.
It enables real-time detection of physical property parameters during the production process of chemical substances, ensuring the quality of chemical substances, reducing detection errors, and improving the accuracy of the production process.
Smart Images

Figure CN120877901A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of detection technology, specifically relating to a method, device, electronic equipment, and product for measuring physical characteristic parameters. Background Technology
[0002] In the petroleum and chemical industries, it is often necessary to measure the physical properties of the produced chemical substances, such as concentration and viscosity. Some of these physical properties cannot be directly detected by sensors and must be determined experimentally after the chemical substances have been produced.
[0003] Using this method results in a lag in the detection of physical property parameters of chemical substances, making it impossible to achieve real-time detection of physical property parameters during the production process. Consequently, the physical property parameters of the produced chemical substances often differ significantly from actual requirements, making it difficult to guarantee the quality of the chemical substances.
[0004] Therefore, how to provide an effective solution for real-time detection of the physical properties of the produced chemical substances has become a pressing problem to be solved in the existing technology. Summary of the Invention
[0005] The purpose of this invention is to provide a method, apparatus, electronic device, and product for measuring physical characteristic parameters, in order to solve the aforementioned problems existing in the prior art.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for measuring physical property parameters, comprising: Obtain a sample parameter set, wherein the sample parameters in the sample parameter set include detection data of the produced sample chemical substance measured during the production process and related to the physical property parameters of the sample chemical substance; Establish a physical property parameter estimation model for estimating the physical property parameters of sample chemical substances; Based on the physical property parameter estimation model, the estimated values of the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set are calculated. With the goal of minimizing the difference between the estimated and measured physical property parameters of the chemical substances corresponding to each sample parameter, the model parameters of the physical property parameter estimation model are iteratively updated through an optimization algorithm, and the latest physical property parameter estimation model is used as the final physical property parameter estimation model when the iteration stopping condition is met. The detection data obtained by the chemical substance to be tested during the production process are used as the input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are the same type of chemical substance.
[0007] Based on the above disclosure, this invention provides a novel scheme for real-time detection of physical property parameters of chemical substances during the production process. Specifically, it involves acquiring a sample parameter set, where the sample parameters include detection data related to the physical property parameters of the produced chemical substances measured during the production process; establishing a physical property parameter estimation model to estimate the physical property parameters of the sample chemical substances; estimating the physical property parameters of the sample chemical substances based on the physical property parameter estimation model; iteratively updating the model parameters of the physical property parameter estimation model using an optimization algorithm, with the objective of minimizing the difference between the estimated physical property parameters and the measured physical property parameters of each sample chemical substance corresponding to each sample parameter; and using the detection data of the chemical substance to be tested measured during the production process as input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substances are of the same type. Thus, by minimizing the difference between the estimated physical property parameters of the sample chemical substance estimated by the physical property parameter estimation model and the measured physical property parameters, the model parameters of the physical property parameter estimation model are optimized. This ensures that the error between the estimated physical property parameters of the sample chemical substance estimated by the physical property parameter estimation model and the actual measured values is kept within a small range. Consequently, the physical property parameters of the chemical substance to be tested can be accurately calculated using the physical property parameter estimation model and the detection data obtained during the production process. This allows for real-time detection of the physical property parameters of the produced chemical substance during the production process, ensuring the quality of the produced chemical substance.
[0008] In one possible design, the latest physical property parameter estimation model is used as the final physical property parameter estimation model when the iteration stopping condition is met, including: When the number of iterations reaches a preset number or the mean square error between the estimated and measured physical property parameters of the chemical substances corresponding to each sample parameter is lower than a preset threshold, the latest physical property parameter estimation model will be used as the final physical property parameter estimation model.
[0009] In one possible design, the iterative update of the model parameters of the physical property parameter estimation model using an optimization algorithm includes: The model parameters of the physical property parameter estimation model are iteratively updated using the conjugate gradient algorithm or Bayesian optimization algorithm.
[0010] In one possible design, after using the detection data of the chemical substance to be tested obtained during the production process as input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, the method further includes: The physical property parameters of the chemical substance to be tested are displayed through a display device.
[0011] In one possible design, the physical property parameters of the chemical substance to be tested are the concentration or viscosity of the chemical substance to be tested.
[0012] In one possible design, the detection data related to the physical property parameters of the sample chemical substance include the temperature, pressure, flow rate of the sample chemical substance, and / or the content of a specified class of substances in the reactor.
[0013] In one possible design, the sample chemical substance is petroleum or a chemical material.
[0014] Secondly, the present invention provides a physical characteristic parameter measuring device, comprising: The acquisition unit is used to acquire a sample parameter set, wherein the sample parameters in the sample parameter set include detection data of the produced sample chemical substance measured during the production process and related to the physical property parameters of the sample chemical substance. The model building unit is used to build a physical property parameter estimation model for estimating the physical property parameters of the sample chemical substances. The first calculation unit is used to estimate the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set based on the physical property parameter estimation model. The iterative update unit is used to iteratively update the model parameters of the physical property parameter estimation model by means of minimizing the difference between the estimated value and the measured value of the physical property parameter of the sample chemical substance corresponding to each sample parameter, and when the iteration stopping condition is met, the latest physical property parameter estimation model is taken as the final physical property parameter estimation model. The second calculation unit is used to take the detection data of the chemical substance to be tested during the production process as the input of the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are the same type of chemical substance.
[0015] Thirdly, the present invention provides an electronic device comprising a memory, a processor, and a transceiver connected in sequence and communication, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the physical characteristic parameter measurement method as described in the first aspect or any possible design of the first aspect.
[0016] Fourthly, the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, perform the physical characteristic parameter measurement method described in the first aspect or any possible design of the first aspect.
[0017] Fifthly, the present invention provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform a physical characteristic parameter measurement method as described in the first aspect or any possible design of the first aspect.
[0018] Beneficial effects: The physical property parameter measurement method, device, electronic equipment, and product provided by this invention aim to minimize the difference between the estimated values of physical property parameters of a sample chemical substance estimated by the physical property parameter estimation model and the measured values of the physical property parameters. By optimizing the model parameters of the physical property parameter estimation model, the error between the estimated values and the actual measured values of the physical property parameters of the sample chemical substance is kept within a small range. This allows for accurate calculation of the physical property parameters of the chemical substance being tested using the physical property parameter estimation model and the detection data obtained during the production process. This enables real-time monitoring of the physical property parameters of the produced chemical substance during production, ensuring the quality of the produced chemical substance and facilitating practical application and promotion. Attached Figure Description
[0019] Figure 1 A flowchart of a method for measuring physical property parameters provided in an embodiment of this application; Figure 2 A block diagram of the physical characteristic parameter measuring device provided in the embodiments of this application; Figure 3 This is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in conjunction with the accompanying drawings and descriptions of the embodiments or the prior art. Obviously, the following description of the structure of the accompanying drawings is only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0021] It should be understood that although the terms first, second, etc., may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, a first unit may be referred to as a second unit, and similarly, a second unit may be referred to as a first unit, without departing from the scope of the exemplary embodiments of the invention.
[0022] It should be understood that the term "and / or" that may appear in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, and A and B exist simultaneously. The term " / and" that may appear in this document describes another relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this document generally indicates that the related objects before and after it are in an "or" relationship.
[0023] Example like Figure 1 As shown, the physical characteristic parameter measurement method provided in the first aspect of this embodiment can be executed, but is not limited to, by a computer device with certain computing resources, such as a cloud server, an edge computer configured with a GPU, a personal computer (PC, referring to a multi-purpose computer of a size, price, and performance suitable for personal use; desktop computers, laptops, mini-laptops, tablets, and ultrabooks are all personal computers), a smartphone, a personal digital assistant (PDA), or a wearable device. Figure 1 As shown, the method for measuring physical characteristic parameters may include, but is not limited to, the following steps S101 to S105.
[0024] Step S101. Obtain the sample parameter set.
[0025] The sample parameter set includes multiple sample parameters, which include detection data related to the physical property parameters of the produced chemical substances measured during the production process.
[0026] The detection data related to the physical property parameters of the sample chemical substance may include, but is not limited to, the temperature, pressure, flow rate of the sample chemical substance and / or the content of a specified type of substance in the reactor (producing the sample chemical substance) detected by sensors during the production process of the sample chemical substance. The content of the specified type of substance may be, for example, oxygen content, carbon monoxide content, etc., which may vary depending on the type of chemical substance being produced.
[0027] The physical property parameters of the sample chemical substance may include, but are not limited to, its concentration or viscosity. The sample chemical substance may be, but is not limited to, petroleum or chemical materials.
[0028] Step S102. Establish a physical property parameter estimation model for estimating the physical property parameters of the sample chemical substances.
[0029] The physical property parameter estimation model can be a mathematical formula for calculating the physical property parameters provided by a chemical substance production process provider. Alternatively, it can be a mathematical formula for calculating the physical property parameters established by extracting variables, parameters, and calculation steps.
[0030] Step S103. Based on the physical property parameter estimation model, estimate the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set.
[0031] Specifically, the sample parameters in the sample parameter set can be substituted into the physical property parameter estimation model to obtain the estimated values of the physical property parameters of the sample chemical substances corresponding to each sample parameter.
[0032] Step S104. With the goal of minimizing the difference between the estimated and measured physical property parameters of the chemical substances corresponding to each sample parameter, the model parameters of the physical property parameter estimation model are iteratively updated using an optimization algorithm. When the iteration stopping condition is met, the latest physical property parameter estimation model is taken as the final physical property parameter estimation model.
[0033] When iteratively updating the model parameters of a physical property parameter estimation model using optimization algorithms, the model parameters can be updated iteratively using, but are not limited to, conjugate gradient algorithms or Bayesian optimization algorithms. During iterative updates, the latest physical property parameter estimation model can be used as the final physical property parameter estimation model when the number of iterations reaches a preset number or when the mean square error between the estimated and measured physical property parameters of the corresponding sample chemical substances is lower than a preset threshold.
[0034] In this embodiment, the difference between the estimated and measured physical property parameters of the corresponding chemical substances for each sample parameter is expressed as mean square error. The difference between the estimated and measured physical property parameters of the corresponding chemical substances for each sample parameter can be represented as follows: Where N represents the total number of sample parameters. This represents the estimated value of the physical property parameters of the chemical substance corresponding to the i-th sample parameter. This represents the measured value of the physical property parameter of the sample chemical substance corresponding to the i-th sample parameter. It is understandable that the difference between the estimated value and the measured value of the physical property parameter of the sample chemical substance corresponding to each sample parameter can also be expressed as average error or root mean square error, etc.
[0035] Step S105. Use the detection data of the chemical substance to be tested during the production process as the input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested.
[0036] The chemical substance to be tested and the chemical substance in the sample are of the same type. The physical property parameters of the chemical substance to be tested may include, but are not limited to, its concentration or viscosity.
[0037] In one or more embodiments, after obtaining the physical property parameters of the chemical substance to be tested, the physical property parameters of the chemical substance to be tested can also be displayed through a display device so that the user can observe the physical property parameters of the chemical substance to be tested in real time.
[0038] The physical property parameter measurement method provided by this invention involves: acquiring a sample parameter set, including detection data related to the physical property parameters of a produced chemical substance during its production process; establishing a physical property parameter estimation model to estimate the physical property parameters of the chemical substance; estimating the physical property parameters of the chemical substance corresponding to each sample parameter in the sample parameter set based on the physical property parameter estimation model; iteratively updating the model parameters of the physical property parameter estimation model using an optimization algorithm, with the objective of minimizing the difference between the estimated physical property parameter values and the measured physical property parameters of the chemical substance corresponding to each sample parameter; and using the detection data of the chemical substance to be tested during its production process as the input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are of the same type of chemical substance. Thus, by minimizing the difference between the estimated and measured physical property parameters of a sample chemical substance obtained through the physical property parameter estimation model, the model parameters of the physical property parameter estimation model are optimized. This ensures that the error between the estimated and measured physical property parameters of the sample chemical substance is kept within a small range. Consequently, the physical property parameters of the chemical substance to be tested can be accurately calculated using the physical property parameter estimation model and the detection data obtained during the production process. This allows for real-time monitoring of the physical property parameters of the produced chemical substance during production, ensuring the quality of the produced chemical substance and facilitating practical application and promotion.
[0039] Please see Figure 2 The second aspect of this application provides a physical characteristic parameter measuring device, which includes: The acquisition unit is used to acquire a sample parameter set, wherein the sample parameters in the sample parameter set include detection data of the produced sample chemical substance measured during the production process and related to the physical property parameters of the sample chemical substance. The model building unit is used to build a physical property parameter estimation model for estimating the physical property parameters of the sample chemical substances. The first calculation unit is used to estimate the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set based on the physical property parameter estimation model. The iterative update unit is used to iteratively update the model parameters of the physical property parameter estimation model by means of minimizing the difference between the estimated value and the measured value of the physical property parameter of the sample chemical substance corresponding to each sample parameter, and when the iteration stopping condition is met, the latest physical property parameter estimation model is taken as the final physical property parameter estimation model. The second calculation unit is used to take the detection data of the chemical substance to be tested during the production process as the input of the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are the same type of chemical substance.
[0040] The working process, working details and technical effects of the physical characteristic parameter measuring device provided in the second aspect of this embodiment can be found in the first aspect of the embodiment, and will not be repeated here.
[0041] like Figure 3 As shown, a third aspect of this application provides an electronic device, including a memory, a processor, and a transceiver that are sequentially and communicatively connected, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the physical characteristic parameter measurement method as described in the first aspect of the embodiment.
[0042] Specifically, the memory may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, first-in-first-out (FIFO) memory, and / or last-in-first-out (FILO) memory, etc.; the processor may not be limited to microprocessors of the STM32F105 series, ARM (Advanced RISC Machines), x86 architecture processors, or processors with integrated NPU (neural-network processing units); the transceiver may be, but is not limited to, WiFi (Wireless Fidelity) wireless transceivers, Bluetooth wireless transceivers, General Packet Radio Service (GPRS) wireless transceivers, ZigBee (a low-power LAN protocol based on the IEEE 802.15.4 standard), 3G transceivers, 4G transceivers, and / or 5G transceivers, etc.
[0043] This fourth aspect of the embodiment provides a computer-readable storage medium storing instructions comprising the physical characteristic parameter measurement method described in the first aspect of the embodiment. Specifically, the computer-readable storage medium stores instructions that, when executed on a computer, perform the physical characteristic parameter measurement method as described in the first aspect. The computer-readable storage medium refers to a data storage medium, which may include, but is not limited to, floppy disks, optical disks, hard disks, flash memory, USB flash drives, and / or Memory Sticks. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0044] The fifth aspect of this embodiment provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform the physical characteristic parameter measurement method as described in the first aspect of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
[0045] It should be understood that specific details are provided in the following description to facilitate a complete understanding of the exemplary embodiments. However, those skilled in the art will understand that the exemplary embodiments can be implemented without these specific details. For example, the system may be shown in block diagrams to avoid obscuring the example with unnecessary details. In other instances, well-known processes, structures, and techniques may be shown without unnecessary details to avoid obscuring the exemplary embodiments.
[0046] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for measuring physical characteristic parameters, characterized in that, include: Obtain a sample parameter set, wherein the sample parameters in the sample parameter set include detection data of the produced sample chemical substance measured during the production process and related to the physical property parameters of the sample chemical substance; Establish a physical property parameter estimation model for estimating the physical property parameters of sample chemical substances; Based on the physical property parameter estimation model, the estimated values of the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set are calculated. With the goal of minimizing the difference between the estimated and measured physical property parameters of the chemical substances corresponding to each sample parameter, the model parameters of the physical property parameter estimation model are iteratively updated through an optimization algorithm, and the latest physical property parameter estimation model is used as the final physical property parameter estimation model when the iteration stopping condition is met. The detection data obtained by the chemical substance to be tested during the production process are used as the input to the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are the same type of chemical substance.
2. The method for measuring physical characteristic parameters according to claim 1, characterized in that, When the iteration stopping condition is met, the latest physical property parameter estimation model is used as the final physical property parameter estimation model, including: When the number of iterations reaches a preset number or the mean square error between the estimated and measured physical property parameters of the chemical substances corresponding to each sample parameter is lower than a preset threshold, the latest physical property parameter estimation model will be used as the final physical property parameter estimation model.
3. The method for measuring physical characteristic parameters according to claim 1, characterized in that, The iterative update of the model parameters of the physical property parameter estimation model through optimization algorithms includes: The model parameters of the physical property parameter estimation model are iteratively updated using the conjugate gradient algorithm or Bayesian optimization algorithm.
4. The method for measuring physical characteristic parameters according to claim 1, characterized in that, After obtaining the physical property parameters of the chemical substance under test by using the detection data obtained during the production process as input to the final physical property parameter estimation model, the method further includes: The physical property parameters of the chemical substance to be tested are displayed through a display device.
5. The method for measuring physical characteristic parameters according to claim 1, characterized in that, The physical property parameters of the chemical substance to be tested are its concentration or viscosity.
6. The method for measuring physical characteristic parameters according to claim 1, characterized in that, The detection data related to the physical property parameters of the sample chemical substance include the temperature, pressure, flow rate of the sample chemical substance, and / or the content of a specified class of substances in the reactor.
7. The method for measuring physical characteristic parameters according to claim 1, characterized in that, The chemical substance in the sample is petroleum or chemical material.
8. A device for measuring physical characteristic parameters, characterized in that, include: The acquisition unit is used to acquire a sample parameter set, wherein the sample parameters in the sample parameter set include detection data of the produced sample chemical substance measured during the production process and related to the physical property parameters of the sample chemical substance. The model building unit is used to build a physical property parameter estimation model for estimating the physical property parameters of the sample chemical substances. The first calculation unit is used to estimate the physical property parameters of the sample chemical substances corresponding to each sample parameter in the sample parameter set based on the physical property parameter estimation model. The iterative update unit is used to iteratively update the model parameters of the physical property parameter estimation model by means of minimizing the difference between the estimated value and the measured value of the physical property parameter of the sample chemical substance corresponding to each sample parameter, and when the iteration stopping condition is met, the latest physical property parameter estimation model is taken as the final physical property parameter estimation model. The second calculation unit is used to take the detection data of the chemical substance to be tested during the production process as the input of the final physical property parameter estimation model to obtain the physical property parameters of the chemical substance to be tested, wherein the chemical substance to be tested and the sample chemical substance are the same type of chemical substance.
9. An electronic device, characterized in that, The device includes a memory, a processor, and a transceiver that are sequentially and communicatively connected. The memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program and execute the physical characteristic parameter measurement method as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or the instructions are executed by the computer, they implement the physical characteristic parameter measurement method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Soft measurement method for online detection of gelatin concentration
CN103267826A
Chemical process soft measurement method based on quality-related slow characteristic analysis algorithm
CN114707424A
Thermodynamic calculation system for chemical process and intelligent construction method
CN117316317A
Method for monitoring and / or controlling chemical plant using hybrid model
CN117836730A
Soft measurement method of improved TSO optimized deep learning model
CN118228613A