Liquid level detection system and liquid level detection method using same
阅读说明:本技术 液面检测系统及应用该系统的液面检测方法 (Liquid level detection system and liquid level detection method using same ) 是由 张朝钦 于 2019-02-27 设计创作,主要内容包括:本发明的公开一种液面检测系统及应用该系统的液面检测方法,液面检测系统适用于容器,容器用以容纳液体且包括容纳体和盖体,盖体设置于容纳体上。液面检测系统包括浮标、第二通讯模块、第二陀螺仪及处理器。浮标包括光电测距组件、第一陀螺仪及第一通讯模块,光电测距组件及第一陀螺仪电性连接第一通讯模块,光电测距组件面向盖体以量测光电测距组件与盖体之间的一距离值,第一通讯模块用以传送第一陀螺仪的信号。第二陀螺仪配置于盖体。第二通讯模块配置于盖体且电性连接第二陀螺仪用以传送第二陀螺仪的信号。处理器用以:判断第一陀螺仪的垂直轴向与第二陀螺仪的垂直轴向是否平行;及,当第一陀螺仪的垂直轴向与第二陀螺仪的垂直轴向平行时,依据光电测距组件所量测的距离值,计算液体的体积。(The invention discloses a liquid level detection system and a liquid level detection method using the same. The liquid level detection system comprises a buoy, a second communication module, a second gyroscope and a processor. The buoy comprises a photoelectric distance measuring assembly, a first gyroscope and a first communication module, the photoelectric distance measuring assembly and the first gyroscope are electrically connected with the first communication module, the photoelectric distance measuring assembly faces the cover body to measure a distance value between the photoelectric distance measuring assembly and the cover body, and the first communication module is used for transmitting signals of the first gyroscope. The second gyroscope is arranged on the cover body. The second communication module is configured on the cover body and electrically connected with the second gyroscope for transmitting signals of the second gyroscope. The processor is used for: judging whether the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope; and when the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope, calculating the volume of the liquid according to the distance value measured by the photoelectric distance measuring assembly.)
1. A liquid level detection system is suitable for a container, the container is used for containing a liquid and comprises a containing body and a cover body, the cover body is arranged on the containing body, and the liquid level detection system is characterized by comprising:
the buoy is used for floating on the liquid and comprises a photoelectric distance measuring assembly, a first gyroscope and a first communication module, the photoelectric distance measuring assembly and the first gyroscope are electrically connected with the first communication module, the photoelectric distance measuring assembly faces the cover body to measure a distance value between the photoelectric distance measuring assembly and the cover body, and the first communication module is used for transmitting a signal of the first gyroscope and the distance value;
a second gyroscope disposed on the cover;
the second communication module is configured on the cover body, electrically connected with the second gyroscope and used for transmitting signals of the second gyroscope; and
a processor configured to:
judging whether the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope according to the signal of the first gyroscope and the signal of the second gyroscope; and
when the vertical axis of the first gyroscope is parallel to the vertical axis of the second gyroscope, calculating a volume of the liquid according to the distance value measured by the photoelectric distance measuring component.
2. The system of claim 1, wherein when the processor is disposed on the float, the processor is electrically connected to the electro-optical distance measuring device, the first gyroscope and the first communication module, and the second communication module is configured to transmit a signal of the second gyroscope to the first communication module; when the processor is configured on the cover body, the processor is electrically connected with the second gyroscope and the second communication module, and the first communication module is used for transmitting the signal of the first gyroscope and the distance value measured by the photoelectric distance measuring assembly to the second communication module.
3. The fluid level sensing system of claim 1, wherein the processor is disposed outside the float and the container, and the first communication module is configured to transmit the signal of the first gyroscope and the distance value measured by the electro-optical ranging module to the processor, and the second communication module is configured to transmit the signal of the second gyroscope to the processor.
4. The fluid level detection system of claim 1, wherein the processor is further configured to:
and calculating the volume of the liquid according to the sectional area of the container, the height of the container, the distance value between the photoelectric distance measuring assembly and the liquid level of the liquid and the distance value measured by the photoelectric distance measuring assembly.
5. The fluid level detection system of claim 1, wherein the processor is further configured to:
and obtaining the volume of the liquid corresponding to the distance value according to a corresponding relation between the distance value and the volume.
6. The liquid level detecting system according to claim 1, wherein the float further comprises a first battery, the cover further comprises a second battery, the first battery is electrically connected to the electro-optical distance measuring device, the first gyroscope and the first communication module, and the second battery is electrically connected to the second gyroscope and the second communication module.
7. The fluid level detection system defined in claim 1, wherein the container has an opening and the cover is disposed entirely over the opening, the fluid level detection system further comprising a connection line connecting the cover and the float.
8. The fluid level sensing system of claim 1, wherein the float has an arcuate upper surface extending outwardly from a periphery of the electro-optical ranging assembly.
9. The fluid level detection system defined in claim 1, wherein the outer surface of the float is formed with a coating to prevent the fluid from sticking to the outer surface of the float.
10. A liquid level detection method, comprising:
providing a fluid level detection system according to claim 1;
judging whether the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope according to the signal of the first gyroscope and the signal of the second gyroscope; and
when the vertical axis of the first gyroscope is parallel to the vertical axis of the second gyroscope, the volume of the liquid is calculated according to the distance value measured by the photoelectric distance measuring component.
11. The liquid level detection method according to claim 10, further comprising:
when the vertical axis of the first gyroscope is non-parallel to the vertical axis of the second gyroscope, the volume of the liquid is not calculated.
Technical Field
The present invention relates to a liquid level detection system and a liquid level detection method using the same, and more particularly, to a liquid level detection system having two gyroscopes and a liquid level detection method using the same.
Background
The traditional liquid level detection mainly comprises a light source which is emitted from the inside of the photoelectric distance measuring assembly, the light source is totally reflected to a receiver of the photoelectric distance measuring assembly through transparent resin, but when the liquid level is met, part of light is refracted to the liquid, and therefore the photoelectric distance measuring assembly detects the reduction of the total reflection light value to monitor the liquid level. However, such an approach is not suitable for liquids with low light reflectance (insufficient light reflectance, which may result in low accuracy of the measured distance value) or non-transparency.
Disclosure of Invention
According to an embodiment of the present invention, a liquid level detecting system is provided. The liquid level detection system is suitable for a container which is used for containing liquid and comprises a containing body and a cover body, wherein the cover body is arranged on the containing body. The liquid level detection system comprises a buoy, a second communication module, a second gyroscope and a processor. The buoy is used for floating on liquid and comprises a photoelectric distance measuring assembly, a first gyroscope and a first communication module, the photoelectric distance measuring assembly and the first gyroscope are electrically connected with the first communication module, the photoelectric distance measuring assembly faces the cover body to measure a distance value between the photoelectric distance measuring assembly and the cover body, and the first communication module is used for transmitting signals of the first gyroscope. The second gyroscope is arranged on the cover body. The second communication module is configured on the cover body, electrically connected with the second gyroscope and used for transmitting signals of the second gyroscope. The processor is used for: judging whether the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope; and when the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope, calculating the volume of the liquid according to the distance value measured by the photoelectric distance measuring assembly.
According to another embodiment of the present invention, a liquid level detecting method is provided. The liquid level detection method includes the following steps. Providing a fluid level detection system as described above; judging whether the vertical axial direction of the first gyroscope is parallel to the vertical axial direction of the second gyroscope or not according to the signal of the first gyroscope and the signal of the second gyroscope; and when the vertical axis of the first gyroscope is parallel to the vertical axis of the second gyroscope, calculating the volume of the liquid according to the distance value measured by the photoelectric distance measuring assembly.
The invention is described in detail below with reference to the drawings and specific examples, but the invention is not limited thereto.
Drawings
FIG. 1A is a schematic view of a fluid level detection system according to an embodiment of the invention;
FIG. 1B is a schematic illustration of the container of FIG. 1A when tilted;
FIG. 2 is a schematic diagram of a fluid level detection system according to another embodiment of the invention;
FIG. 3 is a schematic diagram of a fluid level detection system according to another embodiment of the invention;
FIG. 4 is a schematic diagram of a fluid level detection system according to another embodiment of the invention;
FIG. 5 is a schematic view of a buoy according to another embodiment of the invention;
FIG. 6 is a flow chart illustrating a liquid level detection method according to an embodiment of the invention.
Detailed Description
The invention will be described in detail with reference to the following drawings, which are provided for illustration purposes and the like:
referring to fig. 1A and 1B, fig. 1A is a schematic diagram illustrating a liquid level detection system 100 according to an embodiment of the invention, and fig. 1B is a schematic diagram illustrating a
The liquid level detection system 100 includes a float 120, a
The level detection system 100 is adapted for use with a
Further, when the vertical axis Z1 of the first gyroscope 122 is parallel to the vertical axis Z2 of the second gyroscope 140, the processor 150 calculates the volume of the liquid L (the liquid stock amount), so the computational burden on the processor 150 can be reduced, and the error between the calculated volume of the liquid and the actual stock amount of the liquid L in the
As shown in fig. 1B, when the
In the embodiment, the liquid L is stored in the accommodating space 112r of the
As shown in fig. 1A and 1B, the vertical axis Z1 of the first gyroscope 122 is in the same direction regardless of the position of the float 120 floating on the liquid L, such that the vertical axis Z1 of the first gyroscope 122 provides a fixed reference. Thus, by determining the difference change of the vertical axis Z2 of the second gyroscope 140 relative to the fixed reference, it can be known that the posture of the
In the present embodiment, the processor 150 is disposed outside the buoy 120 and the
In an embodiment, the processor 150 is further configured to: the volume of the liquid L is calculated according to the cross-sectional area a of the accommodating space 112r of the container 110 (the label a in fig. 1A indicates the top-view area of the accommodating space 112 r), the height H of the accommodating space 112r of the
VL=A×(H-h-D)...........................(1)
In another embodiment, the processor 150 calculates or looks up a table to obtain the volume of the liquid L corresponding to the distance value D according to a corresponding relationship (not shown) between the distance value D and the liquid volume. The corresponding relationship is, for example, a discrete numerical relationship (such as a table) or a curve equation. The corresponding relationship can be obtained by performing an experiment on the relationship between the distance value D and the liquid volume in the
As shown in fig. 1A, the buoy 120 further includes a
Referring to fig. 2, a schematic diagram of a liquid
As shown in fig. 2, the processor 150 is disposed in the
Referring to fig. 3, a schematic diagram of a liquid level detection system 300 according to another embodiment of the invention is shown. The liquid level detecting system 300 includes a float 120, a
As shown in fig. 3, the processor 150 is disposed in the
In summary, the signal transmission between the first communication module 122, the
Referring to fig. 4, a schematic diagram of a liquid level detection system 400 according to another embodiment of the invention is shown. The liquid level detecting system 400 includes a float 120, a
As shown in fig. 4, the cover 411 may be disposed on the accommodating body 412. For example, the container 412 of the container 410 has an opening 412a, and the cover 411 is detachably (e.g., screwed or fastened) disposed in the opening 412a of the container 412. The connection line 470 connects the
Referring to fig. 5, a schematic diagram of a buoy 520 according to another embodiment of the invention is shown. The buoy 520 includes a buoy body 524, the electro-optical
In addition, a paint (not shown) may be formed on the outer surface of the float body 524 to prevent the liquid L from sticking to the outer surface of the float body 524. The paint is, for example, a nano paint or an antifouling paint, and can effectively prevent the thick or highly viscous liquid L from adhering to the outer surface of the float body 524.
Referring to fig. 6, a flow chart of a liquid level detection method according to an embodiment of the invention is shown.
In step S110, the aforementioned liquid level detection system 100 is provided.
In step S120, the processor 150 of the liquid level detection system 100 determines whether the vertical axis Z1 of the first gyroscope 122 is parallel to the vertical axis Z2 of the second gyroscope 140 according to the signal S1 of the first gyroscope 122 and the signal S2 of the second gyroscope 140. When the vertical axis Z1 of the first gyroscope 122 is parallel to the vertical axis Z2 of the second gyroscope 140, the flow advances to step S130; when the vertical axis Z1 of the first gyroscope 122 is not parallel to the vertical axis Z2 of the second gyroscope 140, the flow advances to step S140.
In step S130, when the vertical axis Z1 of the first gyroscope 122 is parallel to the vertical axis Z2 of the second gyroscope 140 (as shown in fig. 1A), the processor 150 calculates the volume VL of the liquid L according to the distance value D measured by the electro-optical
In step S140, when the vertical axis Z1 of the first gyroscope 122 is not parallel to the vertical axis Z2 of the second gyroscope 140 (as shown in fig. 1B), the processor 150 does not calculate the volume VL of the liquid L, so as to reduce the operation burden of the processor 150. In other words, the liquid level detection method according to the embodiment of the present invention calculates the volume VL of the liquid L when the vertical axis Z1 of the first gyroscope 122 is parallel to the vertical axis Z2 of the second gyroscope 140, and thus can effectively reduce the operation load of the processor 150.
The liquid level detection method of the liquid
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.