A volume determination system, a volume determination method and a device, and a computer storage medium
By combining the image acquisition device and the non-contact distance measurement device in the fixed capacity system, a fluid occupancy space model is established, which solves the problem of contact required for fluid measurement in the prior art, and realizes non-contact and accurate fluid measurement.
Patent Information
- Application Number
- CN202011343691.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-25
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2040-11-25
AI Technical Summary
The prior art requires contact with the fluid when measuring the fluid in the container, which causes the fluid to be measured and the measuring equipment to be contaminated, and the measurement process is cumbersome, which may cause inaccurate measurement of the fluid volume.
The fixed capacity system is adopted, which includes an image acquisition device and a contactless distance measurement device. The image acquisition device scans the container cavity environment information, and the contactless distance measurement device measures the fluid level-related information. The terminal equipment combines this information to establish a fluid space model to realize contactless measurement.
Accurate measurement of fluid-related parameters without contacting the fluid in the container avoids contamination of fluid and equipment, simplifies the measurement process and improves measurement accuracy.
Smart Images

Figure CN112325973B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of space volume measurement, and in particular to a volume determination system, a volume determination method and device, and a computer storage medium. Background Art
[0002] At present, there are two ways to measure the fluid-related parameters of containers on the market: first, use a scale to directly weigh the weight. Second, for containers with regular shapes, measure their various data; for example, if the container is a rectangular container, measure the water depth of the fluid in the container, and the length and width of the container cavity.
[0003] Both of the above-mentioned two measurement methods require contact measurement of the fluid, and contact measurement may cause the measured fluid and the measuring equipment to contaminate each other. Summary of the invention
[0004] The object of the present invention is to provide a volume determination system, a volume determination method and device, and a computer storage medium, which are used to solve the problem of accurately measuring a fluid in a container without contacting the fluid.
[0005] In order to achieve the above-mentioned purpose, the present invention provides a constant volume system, which is applied to a container containing fluid, and the constant volume system includes: an image acquisition device, which is used to scan the environmental information of the inner cavity of the container; a non-contact distance measuring device, which is used to non-contactly measure the distance between the fluid contained in the container and the entrance of the inner cavity of the container to obtain fluid level related information; and a terminal device electrically connected to the image acquisition device and the non-contact distance measuring device.
[0006] Compared with the prior art, the constant volume system provided by the present invention includes an image acquisition device and a non-contact distance measuring device, and the image acquisition device and the non-contact distance measuring device are electrically connected to the terminal device. The image acquisition device acquires the inner cavity environment information in the container, and the non-contact distance measuring device acquires the distance information between the fluid contained in the container and the inner cavity entrance of the container, and the terminal device obtains the inner cavity environment information and the distance information between the fluid contained in the container and the inner cavity entrance of the container, so as to obtain the fluid-related parameters without contacting the fluid in the container, and avoid mutual contamination between the measured fluid and the measuring device.
[0007] The present invention also provides a volume determination method, which uses the above-mentioned volume determination system, and the volume determination system includes: receiving a container inner cavity image signal and a fluid liquid level related signal in the container inner cavity, the container inner cavity image signal is the inner cavity environment information when the container inner cavity is empty, and the fluid liquid level related signal is the distance between the container inner cavity entrance and the fluid surface contained in the container inner cavity; determining the fluid occupied space model of the container inner cavity according to the container inner cavity image signal and the fluid liquid level related signal; and measuring the fluid volume of the container inner cavity according to the fluid occupied space model of the container inner cavity.
[0008] Compared with the prior art, the beneficial effects of a volume determination method provided by the present invention are the same as the beneficial effects of a volume determination system described in the above technical solution, which will not be described in detail here.
[0009] The present invention also provides a volume determination device, comprising: a processor and a communication interface coupled to the processor, wherein the processor is used to run a computer program to implement any of the above volume determination methods.
[0010] Compared with the prior art, the beneficial effects of a constant volume device provided by the present invention are the same as the beneficial effects of a constant volume system described in the above technical solution, which will not be described in detail here.
[0011] The present invention also provides a computer storage medium, including: instructions stored in the computer storage medium, and when the instructions are executed, any of the above-mentioned volume determination methods is implemented.
[0012] Compared with the prior art, the beneficial effects of a computer storage medium provided by the present invention are the same as the beneficial effects of a constant volume system described in the above technical solution, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0014] Figure 1 is a schematic diagram of a container with an irregular inner cavity;
[0015] Figure 2 A structural block diagram of a volume control system provided by an embodiment of the present invention;
[0016] Figure 3 A schematic diagram of establishing a three-dimensional model of the inner cavity of a container by a volume determination system provided in an embodiment of the present invention;
[0017] Figure 4 A structural block diagram of a volume control system provided by an embodiment of the present invention;
[0018] Figure 5 Another structural block diagram of a volume control system provided by an embodiment of the present invention;
[0019] Figure 6 A schematic diagram of the overall structure of an expansion plate in a constant volume system provided by an embodiment of the present invention;
[0020] Figure 7 A main flow chart of a volume determination method provided by an embodiment of the present invention;
[0021] Figure 8A flowchart of a volume determination method provided in an embodiment of the present invention;
[0022] Fig. 9 Another flowchart of a volume determination method provided by an embodiment of the present invention;
[0023] Fig.10 A flowchart of a volume determination method provided in an embodiment of the present invention;
[0024] Fig.11 A structural block diagram of a volume control device provided in an embodiment of the present invention;
[0025] Fig.12 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present invention;
[0026] Fig.13 A schematic diagram of the structure of a chip provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0028] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0029] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.
[0030] Before introducing the embodiments of the present invention, the following definitions are given for the relevant terms involved in the embodiments of the present invention:
[0031] Inner cavity environment information: The inner cavity environment information may include internal environment information such as the detailed shape, structure and inner cavity boundary of the container cavity.
[0032] The fluid-occupied space model, the inner cavity of the container has a corresponding complete three-dimensional model of the inner cavity of the container, and the fluid-occupied space model is the three-dimensional model portion occupied by the fluid in the container.
[0033] Posture information: Posture information is used to determine the overall orientation of the container and the direction of gravity of the container.
[0034] Figure 1 A schematic diagram of a container cavity is shown, and its structure is an irregularly shaped cavity. In the prior art, when measuring the fluid inside the container, it is usually necessary to extract all the internal fluid before measuring. This will cause the fluid inside the container to be contaminated. The measurement process is cumbersome, time-consuming and laborious. In addition, the measuring equipment may be contaminated during the measurement process. In addition, part of the fluid may be lost during the measurement process, which may cause the measured fluid volume to be inaccurate.
[0035] The embodiment of the present invention provides a constant volume system, which can be applied to non-contact measurement of the volume of a fluid contained in a container. These fluids can be solids, liquids, etc. Taking liquids as an example, the fluids can include various acidic, alkaline or neutral liquids, such as sulfuric acid, hydrochloric acid, water, etc.
[0036] Figure 2 FIG. 2 shows a structural block diagram of a volume determination system provided by an embodiment of the present invention. Figure 2 As shown, the volume determination system 100 includes an image acquisition device 110 , a non-contact distance measurement device 120 , and a terminal device 130 electrically connected to the image acquisition device 110 and the non-contact distance measurement device 120 .
[0037] like Figure 2 As shown, the image acquisition device 110 is used to scan the environment information of the inner cavity of the container, and it can be one or more of a three-dimensional scanner, a camera, and a photoelectric sensor.
[0038] For example, when the image acquisition device 110 is a three-dimensional scanner, the three-dimensional scanner can use real-scene replication technology, single-point measurement technology and other technologies to scan the container inner cavity environment information, and the container inner cavity environment information is the container inner cavity three-dimensional model information.
[0039] For another example, the image acquisition device 110 is a camera that takes multiple sets of photos of the inner cavity of the container, and uses Magics software to convert the multiple sets of photos of the inner cavity of the container into three-dimensional model information. The camera in this example can be a depth camera.
[0040] like Figure 2 and Figure 3 As shown, the non-contact distance measuring device 120 is used to non-contactly measure the distance between the fluid contained in the container and the entrance of the container cavity to obtain information related to the fluid level. The distance can be used to determine the relative position of the entrance of the container cavity and the liquid level of the fluid in the container 5. The non-contact distance measuring device 120 includes a distance measuring device 421, and the distance measuring device 421 can be an ultrasonic distance measuring device, a laser distance measuring device, an infrared distance measuring device or a radar wave distance measuring device. For example, when the distance measuring device 421 is an ultrasonic distance measuring device or a radar wave distance measuring device, the shortest distance from a point at the entrance of the container cavity to the liquid level of the container cavity is measured. For another example, when measuring a non-transparent and viscous liquid, a laser distance measuring device or an infrared distance measuring device can be used to measure the shortest distance from a point at the entrance of the container cavity to the liquid level of the container cavity.
[0041] In one example, if Figure 6 As shown, the non-contact distance measuring device 120 further includes a diameter expansion plate 6 , and the distance measuring device 421 is clamped on the diameter expansion plate 6 .
[0042] In this implementation, the expansion plate 6 is used to cover the entrance of the container 5. When in use, the expansion plate 6 and the distance measuring device 421 are first fixedly installed, and then the measuring end of the distance measuring device 421 is extended into the inner cavity of the container 5, and then the expansion plate 6 will cover the entrance of the container 5. After the installation is completed, the measuring end of the distance measuring device 421 can be used to measure the distance of the liquid level 4. The expansion plate 6 can ensure that the distance measuring device 421 will not easily fall into the container, ensuring the safety of the distance measuring device 421.
[0043] In one example, if Figure 6 As shown, the non-contact distance measuring device 120 further includes at least two adsorbing members 8 for adsorbing on the outer wall of the container 5 , and at least two snap-in grooves 7 are provided on the expansion plate 6 , each snap-in groove 7 is used to snap on the corresponding adsorbing member 8 .
[0044] like Figure 6 As shown, the above-mentioned adsorbent 8 can be a negative pressure adsorbent or an adsorbent with adhesive at the end. There is a snap-fit structure between the snap-fit groove 7 and the adsorbent 8. The adsorbent 8 and the expansion plate 6 are used in conjunction with each other. The snap-fit groove 7 and the adsorbent 8 mainly have the following two functions:
[0045] The first function is to stabilize the expansion plate 6 and ensure the stability of the non-contact distance measuring device 120. The clamping groove 7 and the adsorbing member 8 ensure the stability of the distance measuring device 421 during measurement. Since the distance measuring device 421 is fixed on the expansion plate 6, when the expansion plate 6 is installed in place, the measuring end of the distance measuring device 421 extends into the container 5. The expansion plate 6 is stable because the adsorbing member 8 is adsorbed on the outer wall of the container 5 and the adsorbing member 8 and the clamping groove 7 are mutually engaged.
[0046] The second function is to improve the measurement efficiency of the non-contact distance measuring device 120 during secondary measurement. For a container 5 that needs to be measured frequently, the position between the non-contact distance measuring device 120 and the container needs to be repeatedly positioned each time the liquid level is measured. To increase the measurement efficiency, two or more adsorbents 8 can be fixed to the outer wall of the container 5. The adsorbents 8 fixed to the outer wall of the container 5 can position the position of the expansion plate 6.
[0047] For example, Figure 6 As shown, the expansion plate 6 is first positioned, and the adsorbent 8 is clamped in the clamping groove 7 of the expansion plate 6 to stabilize the expansion plate 6. After the distance measuring device 421 has finished measuring, two or more adsorbents 8 are retained so that they are still adsorbed on the outer wall of the container 5. When repeated measurement is required, the expansion plate 6 can be directly installed with the adsorbent 8 reserved on the outer wall of the container 5. Finally, the secondary rapid positioning of the expansion plate 6 is achieved.
[0048] In one example, the diameter expansion plate has reinforcing ribs, which can increase the strength of the diameter expansion plate 6 and prevent it from being deformed, thereby ensuring the accuracy of the distance measurement device 421 .
[0049] like Figure 2 As shown, the terminal device 130 can be a terminal device with data processing function such as a desktop computer, a laptop computer, a tablet computer, a mobile phone, etc. The terminal device 130 can also be a storage device, such as a storage device integrated inside a desktop computer, a laptop computer, a tablet computer, a mobile phone, etc.
[0050] The terminal device can determine the fluid occupied space model of the container cavity based on the container cavity image signal and the fluid level related signal, and measure the fluid volume of the container cavity based on the fluid occupied space model of the container cavity.
[0051] Specifically, a three-dimensional model of the inner cavity of the container is established according to the image signal of the inner cavity of the container, and the three-dimensional model of the inner cavity of the container is intercepted according to the signal related to the fluid level, so as to obtain a model of the space occupied by the fluid in the inner cavity of the container. The three-dimensional model information of the container 5 is used by the terminal device 130 to construct a three-dimensional model of the container. For example, the terminal device 130 uses AutoCAD, SoftImage, Maya, UG or other three-dimensional model software to construct a three-dimensional model of the container. After the terminal device receives the signal related to the fluid level, the terminal device 130 can use the distance between the fluid contained in the container and the entrance of the inner cavity of the container to construct a fluid surface model in the above three-dimensional model. The fluid surface model can intercept the model of the space occupied by the fluid, and the terminal device can then obtain the fluid volume of the inner cavity of the container through AutoCAD, SoftImage, Maya, UG or other three-dimensional model software.
[0052] As a possible implementation method, when the container is a storage box or a storage jar or other container that is easy to move, if such a container is placed at an angle. At this time, the non-contact distance measuring device 120 needs to measure three sets of distance signals, that is, the distance between the entrance of the container cavity and the surface of the fluid. When the terminal device 130 receives the three sets of distance signals, it can determine the liquid level information according to the three sets of distance signals, and then intercept the three-dimensional model of the container cavity based on the liquid level information, so as to obtain the fluid occupied space model of the container cavity.
[0053] For example: Figure 1 and Figure 3 As shown, at least three marking points can be selected on the inner cavity entrance of the three-dimensional model of the inner cavity of the container, such as a first marking point 101, a second marking point 102 and a third marking point 103. At the entrance of the actual container 5, there is a first position 1 corresponding to the first marking point 101, a second position 2 corresponding to the second marking point 102, and a third position 3 corresponding to the third marking point 103. Then, the distances between the first position 1, the second position 2 and the third position 3 and the liquid surface are measured by a non-contact distance measuring device, so as to obtain a first distance value from the first position 1 to the liquid surface 4, a second distance value from the second position 2 to the liquid surface 4, and a third distance value from the third position 3 to the liquid surface 4.
[0054] The non-contact distance measuring device 120 transmits the measured first distance value, second distance value and third distance value to the terminal device 130. At this time, the terminal device 130 can extend a first line segment with the first marking point 101 as the starting point in the three-dimensional model at the first distance. With the second marking point 102 as the starting point, a second line segment is extended with the second distance. With the third marking point 103 as the starting point, a third line segment is extended with the third distance. Since the first line segment, the second line segment and the third line segment are all perpendicular to the liquid surface 4. The first line segment, the second line segment and the third line segment can determine the position of the liquid surface 4 inside the inner cavity of the container 5, and finally the fluid occupation space model of the inner cavity of the container can be intercepted, and the terminal device 130 calculates the volume of the fluid through the fluid occupation space model.
[0055] As can be seen from the above, the constant volume system provided by the embodiment of the present invention includes an image acquisition device and a non-contact distance measuring device, and the image acquisition device and the non-contact distance measuring device are electrically connected to the terminal device. The image acquisition device acquires the inner cavity environment information in the container, and the non-contact distance measuring device acquires the distance information between the fluid contained in the container and the inner cavity entrance of the container, and the terminal device obtains the inner cavity environment information and the distance information between the fluid contained in the container and the inner cavity entrance of the container, so as to obtain the fluid-related parameters without contacting the fluid in the container, thereby avoiding mutual contamination between the measured fluid and the measuring device.
[0056] As a possible implementation, when the container is placed on the ground, the above-mentioned constant volume system also includes a plumb bob for identifying the plumb direction of the container, and the container cavity environment information includes container cavity image information and plumb bob image information. When the image acquisition device acquires the cavity environment information, the plumb bob can be placed in the container cavity, so that the container cavity environment information includes not only the container cavity image information, but also the plumb bob image signal. Since the plumb bob points to the direction of gravity, the plumb bob image signal also contains gravity information, which can determine the gravity direction by the pointing direction of the plumb bob, or by the length direction of the plumb line of the plumb bob.
[0057] When the measured container 5 is a device fixed to the ground, such as a storage tank or a storage pool, since the posture of the measured container 5 has not changed, the fact that the direction of the plumb bob is the direction of gravity has not changed, so the gravity direction information can be used again. In actual measurement, the non-contact distance measuring device 120 only needs to measure a set of distance signals.
[0058] In the case where the container is fixed to the ground, a non-contact distance measuring device 120 can be used to measure only the distance between a position point at the entrance of the container cavity and the fluid. The terminal device can use the container gravity information and the distance between a position point and the fluid to intercept the three-dimensional model of the container cavity, thereby obtaining a model of the space occupied by the fluid.
[0059] For example, Figure 1 and Figure 3 As shown, when the image acquisition device acquires the environment information of the inner cavity of the container, it is also used to acquire the plumb bob line information, and the plumb line information includes the container gravity information. The specific measurement steps are as follows: Step 1 to Step 8:
[0060] Step 1, firstly reserve a weight line in the empty container 5.
[0061] Step 2: using the image acquisition device 110 to acquire the image signal of the inner cavity of the container 5 including the weight line.
[0062] Step 3: The terminal device 130 establishes a three-dimensional model of the container including the weight line through the container inner cavity image signal including the weight line, wherein the three-dimensional model including the weight line has a weight line model.
[0063] Step 4: The terminal device 130 determines a horizontal plane according to the hammer line model, where the horizontal plane is perpendicular to the length direction of the hammer line model.
[0064] Step 5: Select a first marking point 101 at the entrance of the three-dimensional model including the hammer line.
[0065] Step 6, such as Figure 1 As shown, a first position 1 corresponding to a first marking point 101 is selected at the entrance of the actual container 5 .
[0066] Step 7: Use the non-contact distance measuring device 120 to measure the first distance from the first position 1 to the liquid surface 4, and transmit the measured first distance to the terminal device 130 for processing.
[0067] In step 8, the terminal device 130 takes the first marking point 101 as the starting point in the three-dimensional model and extends a first line segment with a first distance. Since the first line segment is the shortest distance from the first marking point 101 to the horizontal plane, the first line segment and the horizontal plane are in a vertical relationship. In this way, the position of the liquid surface 4 inside the inner cavity of the container 5 can be determined, and finally the fluid occupation space model of the inner cavity of the container can be intercepted. The terminal device 130 calculates the volume of the fluid through the fluid occupation space model. In this example, due to the setting of the plumb bob, the inner cavity environment information of the image acquisition device has the three-dimensional model information and gravity information of the inner cavity of the container.
[0068] In one example, the above-mentioned constant volume system further includes a gravity sensing device. When the image acquisition device acquires the inner cavity environment information, the gravity sensing device is used to set the gravity direction of the inner cavity environment information of the image acquisition device.
[0069] For example, Figure 1 and Figure 3As shown, in the above implementation, the image acquisition device uses a three-dimensional scanner equipped with a gravity sensor, and the gravity sensor is used to set the Z axis of the three-dimensional space of the three-dimensional scanner as the gravity direction. The specific measurement steps are as follows: Step 1 to Step 8:
[0070] Step 1: Use a three-dimensional scanner to obtain an image signal of the inner cavity of the container 5.
[0071] Step 2: The terminal device 130 establishes a three-dimensional model through the image signal of the inner cavity of the container.
[0072] Step 3: The terminal device 130 determines a horizontal plane according to the Z-axis direction of the three-dimensional model, where the horizontal plane is perpendicular to the Z-axis.
[0073] Step 4: Select a marking point in the three-dimensional coordinate system of the three-dimensional model, for example, select the second marking point 102 at the entrance of the three-dimensional model.
[0074] Step 5, such as Figure 1 As shown, the entrance of the three-dimensional model of the container 5 corresponds to the entrance position of the container 5. The entrance of the container 5 has a second position 2 corresponding to the second marking point 102.
[0075] Step 6: The non-contact distance measuring device 120 measures a second distance value from the second position 2 to the liquid surface 4, and transmits the measured second distance value to the terminal device 130 for processing.
[0076] In step 7, the terminal device 130 extends a second line segment with a second distance in the three-dimensional model from the second marking point 102 as a starting point.
[0077] Step 8: Since the second line segment is the shortest distance from the second mark point 102 to the horizontal plane, it can be determined that the second line segment and the horizontal plane are in a vertical relationship, and then the position of the liquid surface 4 inside the inner cavity of the container 5 can be determined. Finally, the fluid occupied space model of the inner cavity of the container can be intercepted, and the terminal device 130 calculates the volume of the fluid through the fluid occupied space model. In this example, due to the setting of the gravity sensing device, the inner cavity environment information of the image acquisition device has the three-dimensional model information and gravity information of the inner cavity of the container.
[0078] In the above implementation, since the inner cavity environment information of the image acquisition device has the three-dimensional model information and gravity information of the inner cavity of the container, the terminal device 130 can thereby determine the horizontal plane of the three-dimensional model information of the inner cavity of the container. During measurement, if the container is always fixed relative to the ground, only one distance value needs to be measured, that is, the distance between a position point at the entrance of the inner cavity of the container and the fluid. After obtaining the distance value, the volume of the fluid in the inner cavity of the container can be calculated.
[0079] As a possible implementation, in actual measurement, when the non-contact distance measuring device 120 measures the liquid level in the container 5, the temperature in the air is often in dynamic change, and the non-contact distance measuring device 120 may produce errors due to the different air temperatures.
[0080] To solve the above problems, Figure 5 As shown, the above-mentioned constant volume system also includes a temperature sensor 460 and a temperature compensation circuit 450. The data output end of the non-contact distance measuring device 120 and the data output end of the temperature sensor 460 are both electrically connected to the data input end of the temperature compensation circuit 450, and the data output end of the temperature compensation circuit 450 is electrically connected to the data interface of the terminal device 130.
[0081] like Figure 5 As shown, the temperature sensor 460 is a sensor that can sense temperature and convert it into a usable output signal.
[0082] like Figure 5 As shown, the temperature compensation circuit 450 can use an ultrasonic distance measuring device to measure distance. When the ambient temperature is 0-40 degrees Celsius, the sound speed changes to about 331.4m / s to 354.85m / s. The temperature compensation circuit 450 here can use the technology in the publication "Electronic Design", article number 1008-0570 (2007) 02-2-0307-03 "Temperature Compensation Circuit Design Based on Ultrasonic Distance Measurement System".
[0083] In the above implementation, since the temperature compensation circuit 450 is used to correct the data measured by the non-contact distance measuring device 120, the terminal device 130 can finally measure the fluid volume in the inner cavity of the container more accurately.
[0084] As a possible implementation, Figure 4 As shown, the terminal device 130 has a controller 431 and a display 440 electrically connected to the controller, and the three-dimensional scanning device 411 and the distance measuring device 421 are both electrically connected to the controller. The three-dimensional scanning device 411 is used to obtain three-dimensional information of the inner cavity of the container 5. The distance measuring device 421 is used to measure the distance between a point in the container 5 and the liquid surface 4. The controller can display the information obtained by the three-dimensional scanning device 411 and the distance measuring device 421 to the user through the display 440. It is convenient for the user to identify the information.
[0085] Combined with the above Figures 1 to 6 The volume setting system of the embodiment of the present invention is explained, and the volume setting method provided by the embodiment of the present invention is described. Those skilled in the art can understand that the volume setting system and the volume setting method can be combined and referenced with each other. The volume setting system provided by the embodiment of the present invention can carry the above-mentioned volume setting method and the steps performed by the above-mentioned volume setting method.
[0086] The above-mentioned method for determining the volume can be executed by the above-mentioned terminal device or by a chip used for the terminal device. Figure 7 As shown, a volume determination method provided by an embodiment of the present invention is applied to a container 5 containing a fluid, and the volume determination method includes:
[0087] In step 210, the terminal device 130 receives a container inner cavity image signal and a fluid level related signal in the container inner cavity. The container inner cavity image signal is the inner cavity environment information when the container inner cavity is empty, and the fluid level related signal is the distance between the container inner cavity entrance and the fluid surface contained in the container inner cavity.
[0088] like Figure 7 As shown, the container inner cavity image signal is collected by the image acquisition device 110. The container inner cavity image signal must be the inner cavity environment information when the container 5 is empty. The inner cavity environment information includes the total volume of the container 5 and the boundary information of the inner cavity.
[0089] like Figure 1 As shown, the fluid level related signal in the inner cavity of the above-mentioned container is collected by the non-contact distance measuring device 120, which is used to determine the relative position between the container 5 and the liquid level 4.
[0090] In step 220, the terminal device 130 determines the fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal. In this step, the relative position relationship data between the container 5 and the fluid level is obtained by acquiring the fluid level related signal of the container cavity. With the fluid level as the boundary, the fluid occupied space model of the fluid occupying the three-dimensional model can be intercepted.
[0091] For example, Figure 8 As shown, the terminal device 130 determines the fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal, including:
[0092] In step 221 , the terminal device 130 establishes a three-dimensional model of the inner cavity of the container according to the inner cavity image signal of the container.
[0093] In step 222, the terminal device 130 intercepts the three-dimensional model of the inner cavity of the container according to the fluid level related signal to obtain the fluid occupied space model of the inner cavity of the container.
[0094] In this example, the terminal device 130 may use CAD software, which first establishes a three-dimensional model of the inner cavity of the container according to the inner cavity image signal of the container. Then, the fluid level-related signal is input into the CAD software, and the CAD software constructs a plane model in the three-dimensional model through the fluid level-related signal. The plane model is equivalent to the liquid surface of the fluid, and the plane model cuts the three-dimensional model into two parts, one of which is the three-dimensional model part including the container inlet, and the other is the three-dimensional model part of the inner cavity of the container including the bottom of the container. The three-dimensional model part of the inner cavity of the container that does not include the container inlet can be selected to obtain the fluid occupied space model of the inner cavity of the container, and finally the three-dimensional model of the inner cavity of the container is obtained.
[0095] In step 230, the terminal device 130 measures the volume of the fluid in the container cavity according to the space occupied by the fluid in the container cavity. In this step, the volume of the three-dimensional model of the container cavity can be directly obtained by using a volume query tool in the CAD software.
[0096] It should be noted that if Figure 1 and Figure 3 As shown, in the above scheme, when actually measuring, the starting point of the inner cavity of the container 5 is measured, such as Figure 1 The first position 1 in the example needs to correspond interactively with the simulation starting point of the three-dimensional model of the inner cavity of the container in the terminal device 130, such as Figure 3 The first mark point 101 in Figure 1 The first position in corresponds to 1.
[0097] For example, in reality, the entrance of the inner cavity of a container has a starting point, such as Figure 1 The first position 1 in the figure, correspondingly, the entrance of the three-dimensional model of the inner cavity of the container also needs to have a corresponding simulation starting point, such as Figure 3 In reality, the distance information between the first position 1 and the surface of the fluid inside the container cavity is measured with the first position 1 as the starting point. In the simulation system, the distance information is used in reverse with the first mark point 101 as the starting point to determine the surface of the fluid.
[0098] In the above method, "the fluid level-related signal is the distance between the inlet of the container cavity and the surface of the fluid contained in the container cavity" should not be simply understood as the fluid level-related signal must select several reference points from the inlet of the container cavity, and then measure the distance from the reference point at the inlet of the container cavity to the fluid surface. "The fluid level-related signal is the distance between the inlet of the container cavity and the surface of the fluid contained in the container cavity." should not limit the scope of the claim. When selecting a reference point, it can also be selected from the inner wall of the container cavity, or a reference point suspended in the container cavity and relatively fixed to the container cavity can be selected. Regardless of where the reference point is selected, its function is the same as that of selecting a reference point from the inlet of the container cavity, and its function is to determine the relative position relationship between the container cavity and the fluid surface of the container cavity.
[0099] In the above method, the measurement of the constant volume method is divided into two stages. In the first stage, the inner cavity environment information of the container is measured when the inner cavity is empty. In the second stage, the shortest distance between the inlet of the inner cavity of the container and the surface of the fluid contained in the inner cavity of the container is measured. The measurement of the two stages does not require direct contact with the fluid in the container, thereby avoiding direct contact between the measuring equipment and the fluid.
[0100] As a possible implementation, the above-mentioned three-dimensional model of the inner cavity of the container is a three-dimensional point cloud model of the inner cavity of the container. And / or, the model of the space occupied by the fluid in the inner cavity of the container is a three-dimensional point cloud model of the space occupied by the fluid in the inner cavity of the container.
[0101] The above-mentioned three-dimensional point cloud model may be the set information of points obtained after the spatial coordinates of each sampling point on the surface of the inner cavity of the container are collected by the image acquisition device.
[0102] The above-mentioned three-dimensional point cloud model can also be an image acquisition device that uses a camera to take photos, and then synthesizes the container inner cavity three-dimensional model, and converts the above-mentioned container inner cavity three-dimensional model into a container inner cavity three-dimensional point cloud model.
[0103] In the above implementation, the 3D model of the inner cavity of the container can be a 3D point cloud model of the inner cavity of the container. When acquiring the 3D point cloud model of the inner cavity of the container, it is more convenient to obtain the 3D point cloud model by the above-mentioned single point measurement method or 3D laser scanning technology. For example, when using 3D laser scanning technology to obtain the 3D point cloud model of the inner cavity of the container, it has the advantages of high efficiency and high precision.
[0104] In the above implementation, when the terminal device 130 processes the three-dimensional point cloud model of the inner cavity of the container, the processing amount of the terminal device 130 is greatly reduced compared with the ordinary three-dimensional model, so that the three-dimensional point cloud model of the space occupied by the fluid in the inner cavity of the container can be obtained more quickly.
[0105] As a possible implementation, Figure 1As shown, when the constant volume system includes a plumb body or a gravity sensing device, the gravity information of the three-dimensional model can be provided to the terminal device. The above-mentioned inner cavity environment information includes three-dimensional model information, and the fluid surface related signal is the distance between one or two position points at the entrance of the container inner cavity and the surface of the fluid contained in the container inner cavity.
[0106] In the above implementation, when the position of the container 5 is fixed relative to the ground, only the distance between one or two positions of the entrance of the container cavity and the surface of the fluid contained in the container cavity may be collected.
[0107] For example, the state of the container 5 is fixed relative to the ground. In this case, since the orientation of the container cavity has not changed, the image acquisition device 110 can obtain the gravity information of the three-dimensional model of the container cavity of the container 5 during the measurement phase, and determine the horizontal plane of the container cavity of the container 5 based on the gravity information. In the subsequent use process, it is only necessary to measure the shortest distance between a point at the entrance of the container cavity and the surface of the fluid in the container 5. Figure 1 As shown, after the level of the liquid surface 4 is determined, it is only necessary to measure the distance from the first position 1 to the liquid surface 4. This measurement method is suitable for containers 5 whose positions are fixed in actual production. The measurement of this example is simple, fast and highly practical.
[0108] In the above implementation, when measuring the shortest distance between one point of the inlet of the inner cavity of the two groups of containers and the surface of the fluid in the container 5, the two groups of data can verify each other, thereby improving the measurement accuracy.
[0109] As another possible implementation, the fluid surface related signal includes the distances between at least three position points of the container cavity entrance and the fluid surface contained in the container cavity.
[0110] In the above implementation, since many containers 5 need to be transported, the position of the container 5 often changes. For example, the container is placed on a sloped ground. The bottom of the container is padded with a pad.
[0111] like Figure 1 As shown, the above implementation cannot determine the liquid level 1 by measuring one or two sets of distance information between a point at the inlet of the container cavity and the surface of the fluid in the container 5. At least three sets of information are needed to determine the liquid level 4.
[0112] For example, Figure 1 As shown, in actual application, after the inner cavity environment information of the inner cavity of the container 5 is obtained by the image acquisition device, the CAD software establishes a three-dimensional model. After the three-dimensional model is established, at least three marking points are selected in the three-dimensional model. For example, the first marking point 101, the second marking point 102 and the third marking point 103 located at the entrance of the three-dimensional model are selected.
[0113] In actual testing, Figure 1 As shown, the inner cavity of the container 5 is an irregular inner cavity. At the entrance of the container 5, a first position 1 corresponding to the position of the first marking point 101 is selected corresponding to the above three-dimensional model, a second position 2 corresponding to the position of the second marking point 102 is selected corresponding to the above three-dimensional model, and a third position 3 corresponding to the position of the third marking point 103 is selected corresponding to the above three-dimensional model.
[0114] like Figure 1 As shown, after selecting the first position 1, the second position 2 and the third position 3. Measure the first distance from the first position 1 to the liquid surface 4, the second distance from the second position 2 to the liquid surface 4, and the third distance from the third position 3 to the liquid surface 4 respectively. In the three-dimensional model, the first marking point 101 is used as the starting point, and the first line segment is extended with the first distance. The second marking point 102 is used as the starting point, and the second line segment is extended with the second distance. The third marking point 103 is used as the starting point, and the third line segment is extended with the third distance. Since the first line segment, the second line segment and the third line segment are all perpendicular to the liquid surface 4. The first line segment, the second line segment and the third line segment can determine the liquid surface 4 inside the inner cavity of the container 5. This example is applicable to various containers and utensils in actual production and has a wide range of applications.
[0115] As a possible implementation, Fig. 9 As shown, before the terminal device 130 determines the fluid occupation space model of the container cavity according to the container cavity image signal and the fluid level related signal, the method further includes:
[0116] In step 211, the terminal device 130 receives the posture information of the container sent by the posture detection device. The posture information in this step is measured by the posture detection device, and the relative position relationship between the container 5 and the gravity direction is finally measured and obtained. The posture detection device can be a gravity meter or a gravity sensor.
[0117] The terminal device 130 determines the fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal, and further includes:
[0118] Step 223 , the terminal device 130 determines the level information of the liquid contained in the container according to the posture information of the container and the image signal of the inner cavity of the container. In this step, the posture information is ultimately used to determine the level information of the inner cavity of the container 5 .
[0119] In step 224, the terminal device 130 intercepts the three-dimensional model of the inner cavity of the container according to the fluid level related signal and the horizontal plane information of the liquid contained in the container, and obtains the fluid occupied space model of the inner cavity of the container. In this step, after the horizontal plane information of the inner cavity of the container 5 is determined, at least one set of information of the shortest distance between a point at the entrance of the inner cavity of the container and the surface of the fluid in the container 5 is obtained to obtain the fluid occupied space model of the inner cavity of the container.
[0120] In the above implementation, the posture detection device obtaining the gravity of the container 5 can have the following advantages:
[0121] First, when the container 5 and the ground are relatively fixed and their positions remain unchanged, sufficient information can be obtained to calculate the space occupied by the fluid in the container cavity by measuring the distance information between a point at the entrance of the container cavity and the surface of the fluid in the container 5 through the non-contact distance measuring device 120.
[0122] Second, when the container 5 and the ground are relatively fixed and the position remains unchanged, if at least three sets of information of the shortest distance between a point at the entrance of the inner cavity of the container and the surface of the fluid in the container 5 are measured, the three sets of information can determine the surface of the fluid during calculation. The knowledge of the gravity information of the container 5 can verify and calibrate the obtained surface of the fluid, thereby increasing the final measurement accuracy.
[0123] As can be seen from the above, in practical applications, for containers whose positions remain fixed all year round, using posture detection equipment to obtain the initial gravity of the container has the beneficial effects of convenience and accuracy for subsequent actual measurements.
[0124] As a possible implementation, Fig.10 As shown, before the terminal device 130 determines the fluid occupation space model of the container cavity according to the container cavity image signal and the fluid level related signal, the method further includes:
[0125] Step 212: The terminal device 130 receives the internal environment information of the inner cavity of the container. The internal environment information in this step may include the temperature of the inner cavity of the container.
[0126] Step 213: The terminal device 130 corrects the fluid level related signal according to the internal environment information of the container cavity.
[0127] In the above implementation, temperature may affect the accuracy of some distance detection devices, such as ultrasonic distance measuring devices.
[0128] For example, the non-contact distance measuring device is an ultrasonic distance measuring device. When the temperature is different, the propagation speed of the ultrasonic wave will be different. In this case, the distance data measured by the ultrasonic wave needs to be corrected in combination with the temperature of the inner cavity of the container. In this implementation, the volume of the fluid to be measured can be made more accurate through the temperature sensor and the temperature compensation circuit.
[0129] The above mainly introduces the scheme of the embodiment of the present invention from the perspective of the terminal device. It is understandable that in order to realize the above functions, the terminal device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0130] In the case of using the corresponding integrated unit, Fig.11 FIG. 2 shows a structural block diagram of a volume determination device provided by an embodiment of the present invention. Fig.11 As shown, the volume determination device 300 includes a receiving unit 310 and a processing unit 320 .
[0131] In one example, the volume determination device may be a terminal device or a chip applied to a terminal device.
[0132] In this case, if Fig.11 As shown, the receiving unit 310 is used to support the volume determination apparatus 300 to execute step 210 executed by the terminal device in the above embodiment. The processing unit 320 is used to support the volume determination apparatus 300 to execute steps 220 and 230 executed by the terminal device in the above embodiment.
[0133] As a possible implementation, Fig.11 As shown, the processing unit 320 is used to support the volume determination device 300 to execute steps 221 to 222 executed by the terminal device in the above embodiment.
[0134] Further, such as Fig.11 As shown, the above-mentioned three-dimensional model of the inner cavity of the container is a three-dimensional point cloud model of the inner cavity of the container; and / or, the model of the space occupied by the fluid in the inner cavity of the container is a three-dimensional point cloud model of the space occupied by the fluid in the inner cavity of the container.
[0135] Further, such as Fig.11As shown, the inner cavity environment information includes three-dimensional model information, and the fluid surface related distance is the distance between one or two positions of the container inner cavity entrance and the fluid surface contained in the container inner cavity.
[0136] Further, such as Fig.11 As shown, the fluid surface related signal includes the distances between at least three position points of the container inner cavity inlet and the fluid surface contained in the container inner cavity.
[0137] Optionally, the processing unit 320 is used to support the volume determination device 300 to execute step 221, step 223 and step 224 executed by the terminal device in the above embodiment.
[0138] Further, such as Fig.11 As shown, the processing unit 320 is used to support the volume determination device 300 to execute step 212 and step 213 executed by the terminal device in the above embodiment.
[0139] Among them Fig.11 As shown, the above receiving unit 310 may be a communication interface of the device, used to receive signals from other devices. For example, when the device is implemented in a chip, the receiving unit 310 is the communication interface 134 of the chip for receiving or sending signals from other chips or devices.
[0140] like Fig.11 As shown, the processing unit 320 can be a processor or a controller, such as a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like.
[0141] Fig.12 FIG. 1 is a schematic diagram showing the hardware structure of a terminal device provided by an embodiment of the present invention. Fig.12 As shown, the terminal device 130 includes a processor 131 and a communication interface 134 .
[0142] like Fig.12As shown, the processor 131 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention. The communication interface 134 may be one or more. The communication interface 134 may use any transceiver-like device for communicating with other devices or communication networks.
[0143] like Fig.12 As shown, the terminal device 130 may further include a communication line 135. The communication line 135 may include a path to transmit information between the above components.
[0144] Optional, such as Fig.12 As shown, the terminal device 130 may further include a memory 133. The memory 133 is used to store computer execution instructions for executing the solution of the present invention, and is controlled to execute by the processor 131. The processor 131 is used to execute the computer execution instructions stored in the memory 133, thereby implementing the volume determination method provided in the following embodiment of the present invention.
[0145] like Fig.12 As shown, the memory 133 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory can exist independently and be connected to the processor through a communication line 135. The memory can also be integrated with the processor.
[0146] Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in the embodiment of the present invention.
[0147] In a specific implementation, as an example, Fig.12As shown, the processor 131 may include one or more CPUs, such as Fig.12 CPU0 and CPU1 in.
[0148] In a specific implementation, as an example, Fig.12 As shown, the terminal device 130 may include multiple processors, such as Fig.12 The processor 131 and the processor 132 in the embodiment of the present invention are shown in FIG. 1 . Each of these processors may be a single-core processor or a multi-core processor.
[0149] Fig.13 Schematic diagram of the structure of the chip provided by the embodiment of the present invention. Fig.13 As shown, the chip 400 includes a
[0150] Or more than two (including two) processors 410 and communication interface 420.
[0151] Optional, such as Fig.13 As shown, the chip 400 also includes a memory 430, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 410. A portion of the memory 430 may also include a non-volatile random access memory (NVRAM).
[0152] In some embodiments, Fig.13 As shown, the memory 430 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.
[0153] In the embodiment of the present invention, Fig.13 As shown, the corresponding operation is performed by calling the operation instruction stored in the memory 430 (the operation instruction may be stored in the operating system).
[0154] like Fig.13 As shown, the processor 410 controls the processing operations of any one of the terminal devices, and the processor 410 may also be referred to as a central processing unit (CPU).
[0155] like Fig.13 As shown, the memory 430 may include a read-only memory and a random access memory, and provide instructions and data to the processor 410. A portion of the memory 430 may also include an NVRAM. For example, in an application, the memory 430, the communication interface 420, and the memory 430 are coupled together through a bus system 440, wherein the bus system 440 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Fig.13 Various buses are labeled as bus system 440 .
[0156] like Fig.13 As shown, the method disclosed in the above embodiment of the present invention can be applied to the processor 410, or implemented by the processor 410. The processor 410 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 410 or the instruction in the form of software. The above processor 410 can be a general processor, a digital signal processor (digital signal processing, DSP), an ASIC, a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 430, and the processor 410 reads the information in the memory 430 and completes the steps of the above method in combination with its hardware.
[0157] In one possible implementation, Fig.13 As shown, the communication interface 420 is used to execute Figure 6 , Figure 7 and Figure 8 The receiving step of the terminal device in the embodiment shown. The processor 410 is used to execute Figures 6 to 8 The processing steps of the terminal device in the illustrated embodiment.
[0158] On the one hand, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed, the functions performed by the terminal device in the above embodiment are implemented.
[0159] On the one hand, a chip is provided, which is applied to a terminal device, the chip includes at least one processor and a communication interface, the communication interface is coupled to at least one processor, and the processor is used to run instructions to implement the functions performed by the terminal device in the above embodiment. In the above embodiment, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present invention is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disc (DVD); or it may be a semiconductor medium, such as a solid state drive (SSD).
[0160] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0161] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.
Claims
1. A constant volume system, characterized in that: Applied to a container containing a fluid, the constant volume system comprises: An image acquisition device, used for scanning the environment information of the inner cavity of the container; A non-contact distance measuring device, used for non-contactly measuring the distance between the fluid contained in the container and the entrance of the inner cavity of the container to obtain information related to the fluid level; and a terminal device electrically connected to the image acquisition device and the non-contact distance measuring device; The non-contact distance measuring device comprises an adsorbent for adsorbing on the outer wall of the container; the non-contact distance measuring device is clamped on the expansion plate, and the expansion plate is provided with a clamping groove, each of which is used to clamp on the corresponding adsorbent; When measuring the distance between the fluid contained in the container and the entrance of the container inner cavity by the non-contact distance measuring device, the measuring end of the distance measuring device is extended into the inner cavity of the container so that the adsorbent engaged with the engaging groove is adsorbed on the outer wall of the container; After the non-contact distance measuring device has finished measuring the distance between the fluid contained in the container and the inlet of the container, retaining at least two or more adsorbents engaged with the engaging grooves, so that at least two or more adsorbents are adsorbed on the outer wall of the container; When it is necessary to repeatedly measure the distance between the fluid contained in the container and the inlet of the container, the clamping groove of the expansion plate is clamped on the retained adsorption member.
2. The constant volume system according to claim 1, characterized in that: The image acquisition device includes one or more of a three-dimensional scanner, a camera, and a photoelectric sensor; The non-contact distance measuring device is an ultrasonic distance measuring device, a laser distance measuring device, an infrared distance measuring device or a radar wave distance measuring device.
3. The constant volume system according to claim 1, characterized in that: The constant volume system further includes a plumb bob for marking the plumb bob direction of the container, and the container inner cavity environment information includes container inner cavity image information and plumb bob image information; or, The constant volume system further includes a gravity sensing device, and the gravity sensing device is used to set the gravity direction of the inner cavity environment information of the image acquisition device, and the container inner cavity environment information also includes container inner cavity image information.
4. The constant volume system according to claim 1, characterized in that: The constant volume system also includes a temperature sensor and a temperature compensation circuit. The data output end of the non-contact distance measuring device and the data output end of the temperature sensor are both electrically connected to the data input end of the temperature compensation circuit. The data output end of the temperature compensation circuit is electrically connected to the data interface of the terminal device.
5. A method for determining volume, characterized in that: The volume determination system according to any one of claims 1 to 4 is applied, wherein the volume determination method comprises: Receive a container inner cavity image signal and a fluid level related signal in the container inner cavity, wherein the container inner cavity image signal is the inner cavity environment information when the container inner cavity is empty, and the fluid level related signal is the distance between the container inner cavity entrance and the surface of the fluid contained in the container inner cavity; Determining a fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal; The volume of the fluid in the container cavity is measured based on a model of the space occupied by the fluid in the container cavity.
6. The method for determining volume according to claim 5, characterized in that: Determining the fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal includes: Establishing a three-dimensional model of the inner cavity of the container according to the inner cavity image signal of the container; The three-dimensional model of the inner cavity of the container is intercepted according to the fluid level related signal to obtain the fluid occupied space model of the inner cavity of the container.
7. The method for determining volume according to claim 6, characterized in that: The three-dimensional model of the inner cavity of the container is a three-dimensional point cloud model of the inner cavity of the container; and / or, The model of the space occupied by the fluid in the inner cavity of the container is a three-dimensional point cloud model of the space occupied by the fluid in the inner cavity of the container.
8. The volume determination method according to claim 5, characterized in that: The inner cavity environment information includes three-dimensional model information, and the fluid surface related signal is the distance between one or two positions of the container inner cavity entrance and the fluid surface contained in the container inner cavity.
9. The volume determination method according to claim 5, characterized in that: The fluid surface related signal includes the distance between at least three marking points of the container inner cavity entrance and the fluid surface contained in the container inner cavity; Before determining the fluid-occupied space model of the container cavity according to the container cavity image signal and the fluid level-related signal, the method further comprises: receiving the container posture information sent by the posture detection device; Determining the fluid occupied space model of the container cavity according to the container cavity image signal and the fluid level related signal further comprises: Determining the level information of the liquid contained in the container according to the posture information of the container and the image signal of the inner cavity of the container; The three-dimensional model of the inner cavity of the container is intercepted according to the fluid level related signal and the horizontal plane information of the liquid contained in the container to obtain the fluid occupied space model of the inner cavity of the container.
10. The method for determining volume according to claim 5, characterized in that: Before determining the fluid occupation space model of the container cavity according to the container cavity image signal and the fluid level related signal, the method further includes: Receiving internal environment information of the inner cavity of the container; The fluid level related signal is corrected according to the internal environment information of the container cavity.
11. A constant volume device, characterized in that: include: A processor and a communication interface coupled to the processor; the processor is used to run a computer program to implement the volume determination method described in any one of claims 5 to 10.
12. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed, the volume determination method described in any one of claims 5 to 10 is implemented.
Citation Information
Patent Citations
Body axis system based oil level measuring method
CN104296829A
Portable practical liquid-level measuring device
CN201429447Y
Constant volume system
CN213658005U
Method for Calculating a Linearization Curve for Determining the Fill Level in a Container the Use of a Mobile End Device for Said Method
US20170370757A1