WO2017139960A1 - Fluid level detection method and apparatus - Google Patents

Fluid level detection method and apparatus Download PDF

Info

Publication number
WO2017139960A1
WO2017139960A1 PCT/CN2016/074070 CN2016074070W WO2017139960A1 WO 2017139960 A1 WO2017139960 A1 WO 2017139960A1 CN 2016074070 W CN2016074070 W CN 2016074070W WO 2017139960 A1 WO2017139960 A1 WO 2017139960A1
Authority
WO
WIPO (PCT)
Prior art keywords
magnet
liquid level
angle
angle measuring
measuring
Prior art date
Application number
PCT/CN2016/074070
Other languages
French (fr)
Chinese (zh)
Inventor
顾一新
Original Assignee
东莞正扬电子机械有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东莞正扬电子机械有限公司 filed Critical 东莞正扬电子机械有限公司
Priority to PCT/CN2016/074070 priority Critical patent/WO2017139960A1/en
Publication of WO2017139960A1 publication Critical patent/WO2017139960A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level, or level of fluent solid material, e.g. indicating in terms of volume, indicating by means of an alarm
    • G01F23/30Indicating or measuring liquid level, or level of fluent solid material, e.g. indicating in terms of volume, indicating by means of an alarm by floats
    • G01F23/64Indicating or measuring liquid level, or level of fluent solid material, e.g. indicating in terms of volume, indicating by means of an alarm by floats of the free float type without mechanical transmission elements
    • G01F23/72Indicating or measuring liquid level, or level of fluent solid material, e.g. indicating in terms of volume, indicating by means of an alarm by floats of the free float type without mechanical transmission elements using magnetically actuated indicating means

Abstract

A fluid level detection method, comprising: angle measuring elements (1) detect the magnetic declination of a magnet (2) rising and falling with the fluid level; and, on the basis of the angle measuring element (1) position information and magnetic declination, calculating the fluid level height of the magnet (2). The present fluid level detection method has high detection precision and high resolution. Also provided is a fluid level detection apparatus, comprising a magnet (2) able to rise and fall with the fluid level, angle measuring elements (1), and a control unit. The present fluid level detection apparatus has a simple structure and low manufacturing costs.

Description

液位检测方法及装置Liquid level detecting method and device 技术领域Technical field
本发明涉及液位检测技术领域,具体涉及一种液位检测方法及用于实现该方法的液位检测装置。The invention relates to the technical field of liquid level detection, in particular to a liquid level detecting method and a liquid level detecting device for realizing the method.
背景技术Background technique
汽车产业的迅速发展同时也带动了汽车各项技术的发展。例如,早期的油箱液位测量多采用机械原理,而现在多采用基于液位两侧介质的物理性质差异或者液位改变引起电量或非电量的物理参数变化来实现,如电容、电阻、电感以及声速和光速等。液位检测的精确度和分辨率对车辆油液显示以及进一步发展至关重要。The rapid development of the automobile industry has also driven the development of various technologies of automobiles. For example, the early tank level measurement mostly uses mechanical principles, but now it is based on the difference in physical properties of the medium on both sides of the liquid level or the change in physical parameters such as capacitance, resistance, inductance and Sound speed and speed of light. The accuracy and resolution of the level detection is critical to the vehicle's oil display and further development.
相关技术的一种液位测量设备,包括细长的本体,其包括多个连接的电阻器,其中,一个或多个单独的磁性开关连接在位于多个连接的电阻器之间的多个节点中,并且至少一个电阻器被设置在每两个相邻的开关之间,每一磁性开关可被单独驱动;磁性开关设置在细长本体的不同区域的不同位置处;磁性浮子围绕细长的本体设置,磁性浮子可通过箱体内的流体或液态气体而移动。当磁性开关闭合时能够提供闭合电路,控制装置通过不同液位输出的不同电压值判断液位值。A liquid level measuring apparatus of the related art, comprising an elongated body comprising a plurality of connected resistors, wherein one or more separate magnetic switches are connected to a plurality of nodes between the plurality of connected resistors And at least one resistor is disposed between every two adjacent switches, each of the magnetic switches can be driven separately; the magnetic switches are disposed at different positions of different regions of the elongated body; the magnetic float surrounds the elongated The body is arranged such that the magnetic float can move through the fluid or liquid gas in the tank. When the magnetic switch is closed, a closed circuit can be provided, and the control device determines the liquid level value through different voltage values of different liquid level outputs.
上述液位测量设备存在一些弊端:一、液位测量设备包括有多个磁性开关,磁性开关的数量和尺寸大小均会影响测量的精度和分辨率,无法满足一些大型车辆液位检测高精度、高分辨率的要求;二、磁性开关通常使用玻璃包装,因而无法承受剧烈震动的使用环境。The above liquid level measuring device has some drawbacks: First, the liquid level measuring device includes a plurality of magnetic switches, and the number and size of the magnetic switches affect the accuracy and resolution of the measurement, and cannot meet the high precision of liquid level detection of some large vehicles. High-resolution requirements; Second, the magnetic switch is usually used in glass packaging, so it can not withstand the use of severe vibration.
发明内容Summary of the invention
本发明实施例的一个目的是提出一种检测精度高、分辨率高的液位检测方 法。An object of an embodiment of the present invention is to provide a liquid level detecting method with high detection precision and high resolution. law.
本发明实施例的另一个目的是提出一种结构简单、制造成本低的液位检测装置。Another object of the embodiments of the present invention is to provide a liquid level detecting device which is simple in structure and low in manufacturing cost.
为达此目的,一方面,本发明实施例采用以下技术方案:To achieve this, in one aspect, the embodiments of the present invention adopt the following technical solutions:
一种液位检测方法,包括:A liquid level detecting method comprising:
角度测量元件检测随液位升降的磁铁的磁偏角;The angle measuring component detects a magnetic declination of the magnet that rises and falls with the liquid level;
根据所述角度测量元件的位置信息和所述磁偏角计算获取所述磁铁的液位高度。And calculating a liquid level height of the magnet according to the position information of the angle measuring element and the magnetic declination.
所述角度测量元件的位置信息可以包括:所述角度测量元件与所述磁铁之间的预设垂直距离H,和所述角度测量元件的预设高度。The position information of the angle measuring element may include a preset vertical distance H between the angle measuring element and the magnet, and a preset height of the angle measuring element.
在所述角度测量元件包括多个间隔设置的所述角度测量元件时,所述液位检测方法,可以包括下述步骤:When the angle measuring component includes a plurality of the angular measuring components disposed at intervals, the liquid level detecting method may include the following steps:
通过用于检测信号的控制单元检测到所述磁铁位于一组相邻的两个角度测量元件之间;Detecting, by the control unit for detecting the signal, that the magnet is located between a pair of adjacent two angle measuring elements;
所述相邻的两个角度测量元件分别检测获得所述磁铁的磁偏角为α和β;The adjacent two angle measuring elements respectively detect that the magnetic declination angle of the magnet is α and β;
所述角度测量元件根据所述预设垂直距离H和所述磁偏角α或β,利用三角函数关系计算获得所述磁铁与所述角度测量元件的距离L1或L2;The angle measuring element calculates a distance L1 or L2 between the magnet and the angle measuring element by using a trigonometric function relationship according to the preset vertical distance H and the magnetic declination angle α or β;
根据所述角度测量元件的预设高度和L1或L2计算所述磁铁所在的液位高度。The liquid level at which the magnet is located is calculated based on the preset height of the angle measuring element and L1 or L2.
所述磁铁与所述相邻的两个角度测量元件的距离L1或L2的计算方式可以包括:The calculation manner of the distance L1 or L2 between the magnet and the two adjacent angle measuring elements may include:
L1=Htan(α)或L2=Htan(β),其中,α和β的范围为-90°至90°。L1 = Htan (α) or L2 = Htan (β), wherein α and β range from -90° to 90°.
所述液位检测方法可以包括下述步骤:The liquid level detecting method may include the following steps:
通过用于检测信号的控制单元扫描每个所述角度测量元件的信号读值进而检测到所述磁铁位于与其竖直距离最小的角度测量元件处;Scanning, by a control unit for detecting a signal, a signal reading of each of said angle measuring elements to detect that said magnet is located at an angle measuring element having a minimum vertical distance therefrom;
所述与磁铁竖直距离最小的角度测量元件检测获得所述磁铁的磁偏角为γ,其中,所述磁偏角为以所述预设垂直距离方向为准向所述角度测量元件偏移的角度; The angle measuring component having the smallest vertical distance from the magnet detects that the magnetic declination angle of the magnet is γ, wherein the magnetic declination is offset from the angle measuring component with respect to the preset vertical distance direction Angle;
所述角度测量元件根据所述磁偏角γ、所述预设垂直距离H利用三角函数关系计算获得所述磁铁与所述角度测量元件的距离L3;The angle measuring element calculates a distance L3 between the magnet and the angle measuring element by using a trigonometric function relationship according to the magnetic declination angle γ and the preset vertical distance H;
根据所述角度测量元件的预设高度和L3计算获得所述磁铁的液位高度。The liquid level of the magnet is obtained according to the preset height of the angle measuring element and the L3 calculation.
所述磁铁与所述角度测量元件的距离L3的计算方式可以包括:L3=H/cot(γ),其中,γ的范围为-90°至90°。The calculation of the distance L3 between the magnet and the angle measuring element may include: L3 = H / cot (γ), wherein γ ranges from -90° to 90°.
在所述角度测量元件包括多个等间隔设置的角度测量元件时,所述液位检测方法可以包括:When the angle measuring element includes a plurality of equally spaced angular measuring elements, the liquid level detecting method may include:
通过用于检测信号的控制单元监测到所述磁铁位于一组相邻的两个角度测量元件之间;Monitoring, by the control unit for detecting the signal, that the magnet is located between a pair of adjacent two angle measuring elements;
所述相邻的两个角度测量元件分别检测获得所述磁铁的磁偏角为α和β;The adjacent two angle measuring elements respectively detect that the magnetic declination angle of the magnet is α and β;
获取所述相邻的两个角度测量元件之间的预设距离L;Obtaining a preset distance L between the two adjacent angle measuring elements;
根据磁偏角α和β和距离L计算获得所述磁铁所在的液位高度。The liquid level at which the magnet is located is calculated from the magnetic declination angles α and β and the distance L.
根据磁偏角α和β和距离L计算获得所述磁铁所在的液位高度,可以包括:Calculating the liquid level at which the magnet is located according to the magnetic declination angles α and β and the distance L may include:
依据距离L为所述磁铁到所述相邻的两个角度测量元件的距离L1和L2的绝对值的和的原则,根据磁偏角α和β确定L1与L2的比例,获取L1或L2的值;According to the principle that the distance L is the sum of the absolute values of the distances L1 and L2 of the magnets to the adjacent two angle measuring elements, the ratio of L1 to L2 is determined according to the magnetic declination angles α and β, and L1 or L2 is obtained. value;
根据L和L1或L2,计算获得所述磁铁所在的液位高度。According to L and L1 or L2, the liquid level at which the magnet is located is calculated.
所述磁偏角可以为所述磁铁以所述预设垂直距离方向为准向两侧的角度测量元件偏移的角度。The magnetic declination may be an angle at which the magnet measures the offset of the angle on both sides of the magnet with the predetermined vertical distance direction as a direction.
通过用于检测信号的控制单元检测到所述磁铁位于一组相邻的两个角度测量元件之间,可以包括:Detecting, by the control unit for detecting the signal, that the magnet is located between a pair of adjacent two angle measuring elements may include:
通过控制单元扫描每个角度测量元件的信号读值进而获取所述磁铁位于哪一组相邻的两个角度测量元件之间的信息。The signal reading of each angle measuring element is scanned by the control unit to obtain information between which set of adjacent two angle measuring elements the magnet is located.
另一方面,本发明实施例采用以下技术方案:On the other hand, the embodiment of the present invention adopts the following technical solutions:
一种用于实现上述液位检测方法的装置,包括可随液位升降的磁铁、角度测量元件以及控制单元。An apparatus for implementing the above liquid level detecting method includes a magnet that can be lifted and lowered with a liquid level, an angle measuring element, and a control unit.
作为本发明实施例的一个可选方案,上述用于实现上述液位检测方法的装置还可以包括多个角度测量元件,多个角度测量元件等间隔设置在电路板上。 As an alternative to the embodiment of the present invention, the apparatus for implementing the liquid level detecting method described above may further include a plurality of angle measuring elements, and the plurality of angle measuring elements are equally disposed on the circuit board.
作为本发明实施例的一个可选方案,所述角度测量元件可以为模拟磁阻(Analog Magneto Resistive,AMR)角度传感器,所述AMR角度传感器可以由集成电路塑料封装。As an alternative to the embodiment of the present invention, the angle measuring component may be an Analog Magneto Resistive (AMR) angle sensor, and the AMR angle sensor may be encapsulated by an integrated circuit plastic.
作为本发明实施例的一个可选方案,所述磁铁可以为环形磁铁,所述环形磁铁与所述电路板的垂直距离可以为预设值H。As an alternative to the embodiment of the present invention, the magnet may be a ring magnet, and the vertical distance between the ring magnet and the circuit board may be a preset value H.
本发明实施例的有益效果为:The beneficial effects of the embodiments of the present invention are:
本发明实施例的液位检测方法中,角度测量元件检测获得位于其附近的磁铁的磁偏角,并根据磁偏角和角度测量元件的位置信息计算获取磁铁所在的液位高度,该液位检测方法检测精度高、分辨率高,尤其可应用于大型车辆液位感测技术中,进而满足其高精度要求,适用范围十分广泛。In the liquid level detecting method of the embodiment of the present invention, the angle measuring component detects the magnetic declination angle of the magnet located in the vicinity thereof, and calculates the liquid level height at which the magnet is located according to the magnetic declination and the position information of the angle measuring component, the liquid level The detection method has high detection precision and high resolution, and can be especially applied to large-scale vehicle liquid level sensing technology, thereby satisfying the high-precision requirement, and the application range is very wide.
本发明实施例的液位检测装置用于实现上述的检测方法,该液位检测装置包括可随液位升降的磁铁、角度测量元件以及控制单元,液位检测装置结构简单、制造成本低、使用寿命长,此外,AMR角度传感器采用集成电路塑料封装,能够承受剧烈震动的使用环境,不容易损坏,降低了维修成本。The liquid level detecting device of the embodiment of the invention is used for implementing the above-mentioned detecting method, the liquid level detecting device comprises a magnet capable of lifting and lowering with a liquid level, an angle measuring component and a control unit, and the liquid level detecting device has a simple structure, low manufacturing cost and use. Long life, in addition, AMR angle sensor is packaged in integrated circuit plastic, can withstand the harsh vibration of the use environment, not easy to damage, reducing maintenance costs.
附图说明DRAWINGS
图1是本发明实施例提供的液位检测方法的流程图;1 is a flow chart of a liquid level detecting method according to an embodiment of the present invention;
图2是本发明实施例提供的液位检测方法计算液位高度时的三角结构原理图;2 is a schematic diagram of a triangular structure when a liquid level detecting method according to an embodiment of the present invention calculates a liquid level height;
图3是本发明实施例提供的液位检测装置的结构示意图。FIG. 3 is a schematic structural diagram of a liquid level detecting device according to an embodiment of the present invention.
图中标记为:The figure is marked as:
1、AMR角度传感器;2、磁铁。1, AMR angle sensor; 2, magnet.
具体实施方式detailed description
下面结合附图来说明本发明实施例的技术方案。The technical solutions of the embodiments of the present invention are described below with reference to the accompanying drawings.
本发明实施例公开一种液位检测装置和方法。如图3所示,液位检测装置包括可随液位升降的磁铁2、与磁铁2相对设置的集成模块以及控制单元,其中, 集成模块包括电路板和间隔设置在电路板上的多个角度测量元件;控制单元包括中央处理器和信号转换器,该集成模块与该信号转换器通讯连接。The embodiment of the invention discloses a liquid level detecting device and method. As shown in FIG. 3, the liquid level detecting device includes a magnet 2 that can be raised and lowered with the liquid level, an integrated module disposed opposite to the magnet 2, and a control unit, wherein The integrated module includes a circuit board and a plurality of angle measuring components spaced apart on the circuit board; the control unit includes a central processing unit and a signal converter, and the integrated module is communicatively coupled to the signal converter.
为了使用更方便、使用寿命更长,将设有角度测量元件的电路板封装在管路中,也可以将可随液位升降的磁铁2封装在中空结构中。使用时,将该中空结构与管路垂直放置于待测液位中,二者间隔一定的距离。角度测量元件的个数并不局限,可以仅是一个或两个角度测量元件设置在电路板上,在待测的液面极其低、精度要求不高的情况下粗略的使用。In order to be more convenient to use and longer in service life, the circuit board provided with the angle measuring component is packaged in the pipeline, and the magnet 2 which can be lifted and lowered with the liquid level can also be packaged in the hollow structure. When in use, the hollow structure is placed perpendicular to the pipeline in the liquid level to be tested, and the two are separated by a certain distance. The number of angle measuring components is not limited, and only one or two angle measuring components may be disposed on the circuit board, and the rough use of the liquid surface to be tested is extremely low and the precision requirement is not high.
本发明实施例中,角度测量元件可以为AMR角度传感器1(即磁性角度传感器),电路板上等间隔设置多个AMR角度传感器1,间隔距离为L(如图3中标注所示,其中,图中标注的H所在的方向即为垂直距离的方向,标注的L所在的方向即为竖直距离的方向)。实际应用中,前述间隔距离L的大小可以以能够正确感测磁铁2的磁力角度为原则进行设置;上述角度测量元件并不局限于是AMR角度传感器,还可以是其他类型的传感器,只要能够检测到磁铁的磁偏角即可;AMR角度传感器1也可以不是等间隔设置在电路板上,只要各个AMR角度传感器1之间的距离或者各个AMR角度传感器1距离液体底部的距离能够被获取到,方便计算即可。In the embodiment of the present invention, the angle measuring component may be an AMR angle sensor 1 (ie, a magnetic angle sensor), and a plurality of AMR angle sensors 1 are equally spaced on the circuit board, and the spacing distance is L (as shown in FIG. 3, wherein The direction in which the H is marked in the figure is the direction of the vertical distance, and the direction in which the labeled L is located is the direction of the vertical distance). In practical applications, the size of the spacing distance L may be set based on the principle that the magnetic force of the magnet 2 can be correctly sensed; the angle measuring component is not limited to an AMR angle sensor, and may be other types of sensors, as long as it can be detected. The magnetic declination of the magnet may be; the AMR angle sensor 1 may not be disposed on the circuit board at equal intervals, as long as the distance between the respective AMR angle sensors 1 or the distance of each AMR angle sensor 1 from the bottom of the liquid can be obtained, which is convenient. It can be calculated.
为了使得AMR角度传感器1能够承受剧烈震动、不容易损坏,并降低维修成本,可以通过集成电路塑料封装AMR角度传感器1。In order to enable the AMR angle sensor 1 to withstand severe vibration, is not easily damaged, and reduce maintenance costs, the AMR angle sensor 1 can be packaged by integrated circuit plastic.
本发明实施例中,磁铁可以为包含磁石的浮子,该浮子可以漂浮在液面上,其液位高度随着液位的变化而变化。实际情况中,为了使得该浮子可以漂浮在液面上,该浮子内部可以设有气体腔,和/或,该浮子内部可以包含塑料泡沫等质量轻的材料。该浮子中磁石的位置、大小和数量根据实际情况而定,因此,磁铁并不局限于仅具有一磁石,磁铁还可以具有多个磁石,从而实现磁偏角的角度定位的高精确度。该磁铁能够在磁性角度传感器所排列的电路板上前后滑动,其中,磁铁的磁力方向垂直于磁性角度传感器中心所成轴线,并与磁角度感测平面呈小于等于45度的夹角。In the embodiment of the present invention, the magnet may be a float containing a magnet, and the float may float on the liquid surface, and the liquid level thereof changes with the change of the liquid level. In an actual case, in order to make the float float on the liquid surface, the float may be provided with a gas chamber inside, and/or the inside of the float may contain a light-weight material such as plastic foam. The position, size and number of magnets in the float are determined according to actual conditions. Therefore, the magnet is not limited to having only one magnet, and the magnet may have a plurality of magnets, thereby achieving high precision of angular positioning of the magnetic declination. The magnet can slide back and forth on the circuit board on which the magnetic angle sensor is arranged, wherein the magnetic direction of the magnet is perpendicular to the axis of the center of the magnetic angle sensor and is at an angle of less than or equal to 45 degrees with the magnetic angle sensing plane.
上述磁铁与电路板的垂直距离为预设值H(如图2中标注所示)。使用时,磁铁可以漂浮在液面上,通过液位的高低上下移动。电路板被封装在密封的管 路当中,置于待测的液体腔体中。根据磁铁与电路板上的AMR角度传感器1组成的三角形利用三角函数关系获得液位的高度,因此,上述液位检测装置结构简单、制造成本低、检测精度高。The vertical distance between the magnet and the circuit board is a preset value H (as indicated by the mark in FIG. 2). When in use, the magnet can float on the liquid surface and move up and down by the level of the liquid level. The board is encapsulated in a sealed tube Among the roads, it is placed in the liquid chamber to be tested. According to the triangle formed by the magnet and the AMR angle sensor 1 on the circuit board, the height of the liquid level is obtained by a trigonometric function relationship. Therefore, the liquid level detecting device has a simple structure, a low manufacturing cost, and high detection precision.
本发明实施例提供一种基于上述液位检测装置的液位检测方法,如图1所示,具体包括下述步骤。The embodiment of the invention provides a liquid level detecting method based on the above liquid level detecting device, as shown in FIG. 1 , which specifically includes the following steps.
步骤A、控制单元检测到磁铁位于一组相邻的两个角度测量元件之间,其中,控制单元通过扫描每个角度测量元件的信号读值进而获取磁铁位于哪一组相邻的两个角度测量元件之间的信息。此步骤中,实际上控制单元是先检测磁铁的粗略位置,了解其位于哪两个相邻的角度测量元件之间,以便于后续步骤中控制该角度测量元件进行角度测量。Step A: The control unit detects that the magnet is located between a pair of adjacent two angle measuring elements, wherein the control unit acquires the adjacent two angles of the magnet by scanning the signal reading value of each angle measuring component. Measure information between components. In this step, the control unit actually detects the coarse position of the magnet first, and knows which two adjacent angle measuring elements are located between them, so as to control the angle measuring element to perform angle measurement in a subsequent step.
步骤B、相邻的两个角度测量元件分别检测获得磁铁的磁偏角为α和β,其中,磁偏角为磁铁到电路板的垂直方向向角度测量元件偏移的角度。Step B: The adjacent two angle measuring elements respectively detect the magnetic declination angles of the obtained magnets as α and β, wherein the magnetic declination angle is an angle at which the magnet is offset from the vertical direction of the circuit board toward the angle measuring element.
步骤C、角度测量元件利用三角函数关系计算获得磁铁所在的液位高度。Step C: The angle measuring component calculates the liquid level height of the magnet by using a trigonometric function relationship.
步骤C可以包括如下步骤:Step C may include the following steps:
角度测量元件根据磁偏角α或β、磁铁到电路板的预设垂直距离H利用三角函数关系计算获得磁铁与角度测量元件的距离L1或L2;The angle measuring element calculates the distance L1 or L2 between the magnet and the angle measuring element by using a trigonometric function relationship according to the magnetic declination angle α or β and the preset vertical distance H of the magnet to the circuit board;
根据角度测量元件的预设高度以及L1或L2计算上述磁铁的液位高度。The liquid level of the magnet is calculated based on the preset height of the angle measuring element and L1 or L2.
如图3所示,其中,磁铁与角度测量元件的距离L1或L2的计算方式为:L1=Htan(α)或L2=Htan(β),其中,α和β的范围均为-90°至90°。L1或L2分别为磁铁距离其上下两边的角度测量元件的距离,其计算方式并不局限于通过前述公式,也可以通过正弦、余弦公式间接计算,并不影响检测结果。As shown in FIG. 3, wherein the distance L1 or L2 between the magnet and the angle measuring element is calculated as: L1=Htan(α) or L2=Htan(β), wherein α and β range from -90° to 90°. L1 or L2 are the distances of the magnets from the angle measuring elements of the upper and lower sides, respectively. The calculation method is not limited to the above formula, and can also be calculated indirectly by the sine and cosine formulas, and does not affect the detection result.
上述步骤中,通过角度测量元件自身的计算功能可以获得高精度的液位值,解决了现有的利用磁簧开关通过输出不同电压进行检测时检测精度低的问题。In the above steps, the high-precision liquid level value can be obtained by the calculation function of the angle measuring element itself, which solves the problem that the detection precision of the conventional reed switch is low when outputting different voltages.
当浮子位于两个角度测量元件中间时,两个角度测量元件检测到的角度值其正负号相反。例如,在步骤C中,当磁铁位于两个角度测量元件中间时,在这两个角度测量单元中,磁铁的液面高度下方的角度测量单元测量的磁偏角为正数(其范围在0°至90°之间),磁铁的液面高度上方的角度测量单元测量的磁偏角为负数(其范围在-90°至0°之间)。 When the float is located between the two angle measuring elements, the angle values detected by the two angle measuring elements are opposite to each other. For example, in step C, when the magnet is located between the two angle measuring elements, in the two angle measuring units, the magnetic angle measured by the angle measuring unit below the liquid level of the magnet is a positive number (the range is 0) Between ° and 90°), the angle of measurement measured by the angle measuring unit above the level of the magnet is negative (the range is between -90° and 0°).
当磁铁与某个角度测量元件(设为第m个角度测量元件,m为正整数)的水平位置一致时,该角度测量单元测量到的磁偏角为0°。此时,选择第m个角度测量元件测量得到的磁偏角(即0°)作为后续计算的基础,所计算出的磁铁所在的实际液位高度的精确度,在一般情况下比其它角度测量元件更高。When the magnet is aligned with the horizontal position of an angle measuring element (set to the mth angle measuring element, m is a positive integer), the angle measuring unit measures a magnetic declination of 0°. At this time, the magnetic declination measured by the mth angle measuring element (ie, 0°) is selected as the basis for the subsequent calculation, and the calculated accuracy of the actual liquid level of the magnet is generally measured under other angles. The component is higher.
角度测量元件的预设高度可以为该角度测量元件与液体底部之间的竖直距离。The preset height of the angle measuring element may be the vertical distance between the angle measuring element and the bottom of the liquid.
磁铁所在的实际液位高度可以通过角度测量元件与液体底部之间的距离与L1或L2计算。The actual liquid level at which the magnet is located can be calculated from the distance between the angle measuring element and the bottom of the liquid with L1 or L2.
以AMR角度传感器1等间隔设置在电路板上为例(这种情况下第1个AMR角度传感器与液体底部的距离和每两个AMR角度传感器之间的距离相同),假设磁铁位于第n个和第n+1个AMR角度传感器之间,那么此时磁铁距离第n个AMR角度传感器的距离为L1,距离第n+1个AMR角度传感器的距离为L2,因此,磁铁所在的液位高度下方还包括n个等间隔距离L(即相邻两个AMR角度传感器1之间的距离),此时磁铁的实际液位高度为:n与L的乘积获得的结果再加上L1,或者,n+1与L的乘积获得的结果再加上L2(此时L2的值为负数)。For example, the AMR angle sensor 1 is equally spaced on the circuit board (in this case, the distance between the first AMR angle sensor and the liquid bottom and the distance between each two AMR angle sensors is the same), assuming that the magnet is located at the nth And the n+1th AMR angle sensor, then the distance between the magnet and the nth AMR angle sensor is L1, and the distance from the n+1th AMR angle sensor is L2, therefore, the liquid level of the magnet The bottom also includes n equally spaced distances L (ie, the distance between two adjacent AMR angle sensors 1), where the actual liquid level of the magnet is: the result of the product of n and L plus L1, or, The result of the product of n+1 and L is added to L2 (the value of L2 is negative at this time).
n的值可以根据磁铁位于哪两个AMR角度传感器之间确定。例如,n为0或正整数,n=0时,磁铁位于第1个AMR角度传感器1和液体底部之间。The value of n can be determined based on which two AMR angle sensors the magnet is located between. For example, n is 0 or a positive integer, and when n=0, the magnet is located between the first AMR angle sensor 1 and the bottom of the liquid.
例如,磁铁位于第2个AMR角度传感器和第3个AMR角度传感器之间,那么,磁铁的实际液位高度为:2*L与L1的和,或者,3*L再加上L2(此时L2的值为负数)。For example, if the magnet is located between the 2nd AMR angle sensor and the 3rd AMR angle sensor, then the actual liquid level of the magnet is: 2*L and L1, or 3*L plus L2 (at this time) The value of L2 is negative).
上述液位检测方法中,角度测量元件检测获得位于其附近的磁铁的磁偏角,并根据磁偏角和预设垂直距离计算后最终获得磁铁所在的液位高度,通过角度测量元件自身的计算功能可以获得高精度的液位值,解决了现有的利用磁簧开关通过输出不同电压进行检测时检测精度低的问题,上述液位检测方法检测精度高、分辨率高,尤其可应用于大型车辆液位感测技术中,进而满足其高精度要求,适用范围十分广泛。In the above liquid level detecting method, the angle measuring element detects the magnetic declination angle of the magnet located in the vicinity thereof, and finally calculates the liquid level height of the magnet according to the magnetic declination angle and the preset vertical distance, and calculates the angle measuring element itself. The function can obtain a high-precision liquid level value, and solves the problem that the detection precision of the existing reed switch is low when outputting different voltages. The liquid level detection method has high detection precision and high resolution, and is particularly applicable to large-scale In the vehicle level sensing technology, the high precision requirements are met, and the scope of application is very wide.
本发明实施例公开一种液位检测装置和方法。为了对图1和3对应的实施 例做更好的说明,本实施例中以具体情况为例进行描述。The embodiment of the invention discloses a liquid level detecting device and method. For the implementation of Figures 1 and 3 For a better description, the specific case will be described as an example in this embodiment.
本发明实施例提供一种液位检测装置,包括可随液位升降的磁铁、与磁铁相对设置的集成模块以及控制单元,其中,集成模块包括电路板和等间隔设置在电路板上的10个AMR角度传感器,间隔距离为0.5m;控制单元包括中央处理器和信号转换器,该集成模块与该信号转换器通讯连接;磁铁与电路板的垂直距离为预设值为0.4m。Embodiments of the present invention provide a liquid level detecting device including a magnet that can be lifted and lowered with a liquid level, an integrated module disposed opposite to the magnet, and a control unit, wherein the integrated module includes a circuit board and 10 devices equally spaced on the circuit board The AMR angle sensor has a separation distance of 0.5 m. The control unit includes a central processing unit and a signal converter. The integrated module is in communication with the signal converter; the vertical distance between the magnet and the circuit board is 0.4 m.
基于上述液位检测装置的液位检测方法,具体可以包括下述步骤:The liquid level detecting method based on the above liquid level detecting device may specifically include the following steps:
步骤A、控制单元通过扫描每个AMR角度传感器的信号读值进而获取磁铁位于哪一组相邻的两个AMR角度传感器之间的信息,例如控制单元获取到磁铁位于第4个AMR角度传感器和第5个AMR角度传感器之间的信息。Step A: The control unit scans the signal reading value of each AMR angle sensor to obtain information about which group of adjacent two AMR angle sensors the magnet is located, for example, the control unit acquires the magnet located at the 4th AMR angle sensor and Information between the 5th AMR angle sensor.
步骤B、第4个AMR角度传感器和第5个AMR角度传感器分别检测获得磁铁的磁偏角为30度和-45度,其中,磁偏角为磁铁到电路板的垂直方向向AMR角度传感器偏移的角度,即第4个角度测量元件检测到磁铁到电路板的垂直方向向该第4个AMR角度传感器偏移的角度为30度,第5个角度测量元件检测到磁铁到电路板的垂直方向向该第5个AMR角度传感器偏移的角度为-45度。Step B, the fourth AMR angle sensor and the fifth AMR angle sensor respectively detect that the magnetic declination angle of the magnet is 30 degrees and -45 degrees, wherein the magnetic declination is the polarization of the magnet to the vertical direction of the circuit board to the AMR angle sensor The angle of the shift, that is, the fourth angle measuring component detects that the vertical direction of the magnet to the board is offset to the fourth AMR angle sensor by 30 degrees, and the fifth angle measuring component detects the vertical of the magnet to the board. The angle at which the direction is offset toward the fifth AMR angle sensor is -45 degrees.
步骤C、第4个AMR角度传感器根据磁偏角30度、磁铁到电路板的预设垂直距离0.4m利用三角函数关系计算获得磁铁与第4个AMR角度传感器的距离L1,即,磁铁与第4个AMR角度传感器的距离L1的计算方式为:L1=0.4tan(30°),Step C: The fourth AMR angle sensor calculates the distance L1 between the magnet and the fourth AMR angle sensor by using a trigonometric function relationship according to the magnetic declination angle of 30 degrees and the preset vertical distance of the magnet to the circuit board of 0.4 m, that is, the magnet and the first The distance L1 of the four AMR angle sensors is calculated as: L1 = 0.4 tan (30 °),
如/或,Such as / or,
第5个AMR角度传感器根据磁偏角45度、磁铁到电路板的预设垂直距离0.4m利用三角函数关系计算获得磁铁距离第5个AMR角度传感器的距离L2,即,磁铁与第5个AMR角度传感器的距离L2的计算方式为:L2=0.4tan(-45°)。The fifth AMR angle sensor calculates the distance L2 of the magnet from the fifth AMR angle sensor by using a trigonometric function relationship according to the magnetic declination angle of 45 degrees and the predetermined vertical distance of the magnet to the board of 0.4 m, that is, the magnet and the fifth AMR. The distance L2 of the angle sensor is calculated as: L2 = 0.4 tan (-45°).
步骤D,利用第4个或第5个AMR角度传感器的液位高度以及L1和/或L2计算磁铁所在的液位高度LRIn step D, the liquid level height L R at which the magnet is located is calculated using the liquid level height of the 4th or 5th AMR angle sensor and L1 and/or L2.
实际计算磁铁所在的液位高度LR时,既可以利用L1也可以利用L2值计算。When actually calculating the liquid level height L R where the magnet is located, it can be calculated by using L1 or L2 value.
例如,可以将L1=0.4tan(30°)时算出的L1值(约等于0.23m)作为后续计算的基础,假设磁铁所在的液位高度下方还包括3个间隔距离为0.5m(即相邻两个AMR角度传感器之间的距离)的高度,则液位高度的测量值实际上为:3 与0.5m的乘积获得的结果再加上L1的值,这样即可得到实际液位高度值LR(约等于1.73m)。For example, the L1 value (about equal to 0.23 m) calculated at L1 = 0.4 tan (30°) can be used as the basis for subsequent calculations, assuming that the height of the liquid at which the magnet is located also includes three separation distances of 0.5 m (ie, adjacent The height of the distance between the two AMR angle sensors, the measured value of the liquid level height is actually: the result obtained by multiplying the product of 3 and 0.5 m plus the value of L1, so that the actual liquid level height value L can be obtained. R (approximately equal to 1.73m).
例如,可以将L2=0.4tan(-45°)时算出的L1值(为-0.4m)作为后续计算的基础,假设磁铁所在的液位高度下方还包括3个间隔距离为0.5m(即相邻两个AMR角度传感器之间的距离)的高度,则液位高度的测量值实际上为:3+1与0.5m的乘积获得的结果再加上L2的值,这样即可得到实际液位高度值LR(为1.6m)。For example, the L1 value (-0.4m) calculated at L2=0.4tan (-45°) can be used as the basis for subsequent calculations, assuming that the height of the liquid at which the magnet is located also includes three separation distances of 0.5 m (ie, phase The height of the distance between the two adjacent AMR angle sensors, the measured value of the liquid level height is actually the result of the product of 3+1 and 0.5m plus the value of L2, so that the actual liquid level can be obtained. The height value L R (1.6 m).
实际应用中,若第1个AMR角度传感器在液体底部(也就是容器内部底端),且控制单元获取到磁铁位于第1个AMR角度传感器和第2个AMR角度传感器之间的信息,那么可以判定磁铁所在的液位较低,而且磁铁所在的液位高度不再包括间隔距离,此时,L1值即为磁铁所在的液位高度LRIn practical applications, if the first AMR angle sensor is at the bottom of the liquid (that is, the bottom end of the container), and the control unit acquires the information that the magnet is located between the first AMR angle sensor and the second AMR angle sensor, then It is determined that the liquid level of the magnet is low, and the liquid level at which the magnet is located no longer includes the separation distance. At this time, the L1 value is the liquid level height L R where the magnet is located.
上述液位检测方法中,角度测量元件检测获得位于其附近的磁铁的磁偏角,并根据磁偏角和预设垂直距离计算后最终获得磁铁所在的液位高度,通过角度测量元件自身的计算功能可以获得高精度的液位值,解决了现有的利用磁簧开关通过输出不同电压进行检测时检测精度低的问题,而且上述液位检测方法检测精度高、分辨率高,尤其可应用于大型车辆液位感测技术中,进而满足其高精度要求,适用范围十分广泛。In the above liquid level detecting method, the angle measuring element detects the magnetic declination angle of the magnet located in the vicinity thereof, and finally calculates the liquid level height of the magnet according to the magnetic declination angle and the preset vertical distance, and calculates the angle measuring element itself. The function can obtain high-precision liquid level value, and solves the problem that the detection precision of the existing reed switch is low when outputting different voltages, and the above liquid level detecting method has high detection precision and high resolution, and is particularly applicable to Large-scale vehicle liquid level sensing technology, in order to meet its high-precision requirements, has a wide range of applications.
本发明实施例公开一种液位检测装置和方法。液位检测装置与图3对应的实施例的装置基本相同。可选的,液位检测装置包括可随液位升降的磁铁、与磁铁相距预设垂直距离H的角度测量元件以及控制单元。The embodiment of the invention discloses a liquid level detecting device and method. The liquid level detecting device is basically the same as the device of the embodiment corresponding to FIG. Optionally, the liquid level detecting device comprises a magnet that can be raised and lowered with the liquid level, an angle measuring component that is at a predetermined vertical distance H from the magnet, and a control unit.
与图1对应的实施例的方法不同之处在于:基于上述液位检测装置的液位检测方法具体包括下述步骤:The method of the embodiment corresponding to FIG. 1 is different in that the liquid level detecting method based on the liquid level detecting device specifically includes the following steps:
步骤A、控制单元通过扫描每个角度测量元件的信号读值进而检测到磁铁位于与其竖直距离最小的一个角度测量元件处,将与磁铁竖直距离最小的一个角度测量元件作为选定的角度测量元件。Step A: The control unit detects that the magnet is located at an angle measuring component with the smallest vertical distance by scanning the signal reading value of each angle measuring component, and adopts an angle measuring component with a minimum vertical distance from the magnet as the selected angle. Measuring component.
步骤B、选定的角度测量元件检测获得磁铁的磁偏角为γ,其中,磁偏角为以预设垂直距离方向为准向角度测量元件偏移的角度。 Step B: The selected angle measuring component detects that the magnetic declination angle of the magnet is γ, wherein the magnetic declination angle is an angle at which the component is offset by the direction of the preset vertical distance.
步骤C、选定的角度测量元件根据磁偏角γ、预设垂直距离H利用三角函数关系计算获得磁铁与该选定的角度传感器的距离L3,其中,磁铁与选定的角度测量元件之间的距离L3的计算方式为:L3=H/cot(γ),其中,γ的范围为-90°至90°。Step C: The selected angle measuring component calculates a distance L3 between the magnet and the selected angle sensor according to the magnetic yaw angle γ and the preset vertical distance H by a trigonometric relationship, wherein the magnet and the selected angle measuring component are between The distance L3 is calculated as: L3 = H / cot (γ), wherein γ ranges from -90° to 90°.
步骤D、根据步骤A中的角度测量元件的预设高度和L3计算获得磁铁的液位高度。Step D: Calculate the liquid level of the magnet according to the preset height of the angle measuring component in step A and the L3 calculation.
角度测量元件的预设高度可以为该角度测量元件与液体底部之间的竖直距离。The preset height of the angle measuring element may be the vertical distance between the angle measuring element and the bottom of the liquid.
以AMR角度传感器1等间隔设置在电路板上为例,当与磁铁竖直距离最小的角度测量元件为从液面底部起的第n个角度测量元件时,假设相邻两个AMR角度传感器之间的距离为L,第1个角度测量元件与液面底部之间的距离为L,那么,磁铁所在的液位高度下方还包括n个间隔距离L,液位高度实际上由n与L的乘积获得的结果再加上L3的值获得,其中n为0或正整数。L3的值可正可负。例如,在磁铁位于与其距离最近的角度测量元件的下方时,磁偏角γ为负值,L3也为负值;在磁铁位于与其距离最近的角度测量元件的上方时,磁偏角γ为正值,L3也为正值。Taking the AMR angle sensor 1 at equal intervals on the circuit board as an example, when the angle measuring element with the smallest vertical distance from the magnet is the nth angle measuring component from the bottom of the liquid surface, it is assumed that two adjacent AMR angle sensors are The distance between the first angle measuring element and the bottom of the liquid surface is L. Then, the distance between the liquid level of the magnet and the liquid level is further including n spacing distances L, and the liquid level height is actually n and L. The result obtained by the product is obtained by adding the value of L3, where n is 0 or a positive integer. The value of L3 can be positive or negative. For example, when the magnet is located below the angle measuring element closest to the distance, the magnetic declination γ is a negative value, and L3 is also a negative value; when the magnet is located above the angle measuring element closest to the distance, the magnetic declination γ is positive The value, L3 is also a positive value.
实际应用中,如果AMR角度传感器1不是等间隔设置在电路板上,那么可以通过控制单元检测获取之前输入的各个AMR角度传感器1之间的距离值(如果最下方的AMR角度传感器1不是位于液体底部,那么控制单元还可以获取该AMR角度传感器1与液体底部的距离)计算即可。In practical applications, if the AMR angle sensors 1 are not disposed at equal intervals on the circuit board, the distance value between the respective AMR angle sensors 1 input before can be detected by the control unit (if the lowest AMR angle sensor 1 is not located in the liquid) At the bottom, the control unit can also obtain the distance between the AMR angle sensor 1 and the bottom of the liquid.
本实施例中提供的上述检测方法中,角度测量元件检测获得位于其附近的磁铁的磁偏角,并根据磁偏角和预设垂直距离计算后最终获得磁铁所在的液位高度,通过角度测量元件自身的计算功能可以获得高精度的液位值,解决了现有的利用磁簧开关通过输出不同电压进行检测时检测精度低的问题,而且,上述液位检测方法检测精度高、分辨率高,尤其可应用于大型车辆液位感测技术中,进而满足其高精度要求,适用范围十分广泛,同时,AMR角度传感器检测方式沿用了类似传统磁簧开关技术的机构,从而降低转换成本及风险。 In the above detection method provided in the embodiment, the angle measuring component detects the magnetic declination of the magnet located in the vicinity thereof, and finally calculates the liquid level of the magnet according to the magnetic declination and the preset vertical distance, and measures the angle through the angle. The calculation function of the component itself can obtain a high-precision liquid level value, which solves the problem that the detection precision of the existing reed switch is low when outputting different voltages, and the above-mentioned liquid level detection method has high detection precision and high resolution. In particular, it can be applied to large-scale vehicle level sensing technology to meet its high-precision requirements, and its application range is very wide. At the same time, the AMR angle sensor detection method uses a mechanism similar to the traditional reed switch technology, thereby reducing conversion costs and risks. .
本发明实施例提供的液位检测方法,也可以不获取角度测量元件与磁铁之间的预设垂直距离H,通过如下步骤获取磁铁的液位高度:The liquid level detecting method provided by the embodiment of the invention may also not acquire the preset vertical distance H between the angle measuring component and the magnet, and obtain the liquid level of the magnet by the following steps:
通过用于检测信号的控制单元监测到磁铁位于一组相邻的两个角度测量元件之间;Monitoring the magnet between a set of two adjacent angular measuring elements by means of a control unit for detecting signals;
该相邻的两个角度测量元件分别检测获得该磁铁的磁偏角为α和β;The adjacent two angle measuring elements respectively detect that the magnetic declination angle of the magnet is α and β;
获取该相邻的两个角度测量元件之间的距离L;Obtaining a distance L between the adjacent two angle measuring elements;
根据磁偏角α和β和距离L计算获得该磁铁所在的液位高度。The liquid level at which the magnet is located is calculated from the magnetic declination angles α and β and the distance L.
根据磁偏角α和β和距离L计算获得磁铁所在的液位高度,可以包括:Calculating the liquid level at which the magnet is located based on the magnetic declination angles α and β and the distance L may include:
依据距离L为磁铁到相邻的两个角度测量元件的距离L1和L2的绝对值的和的原则,根据磁偏角α和β确定L1与L2的比例,获取L1或L2的值;According to the principle that the distance L is the sum of the absolute values of the distances L1 and L2 of the magnet to the adjacent two angle measuring elements, the ratio of L1 and L2 is determined according to the magnetic declination angles α and β, and the value of L1 or L2 is obtained;
根据L和L1或L2,计算获得磁铁所在的液位高度。According to L and L1 or L2, calculate the liquid level at which the magnet is located.
例如,假设磁铁位于相邻的两个角度测量元件A和B之间,角度测量元件A检测获得磁铁的磁偏角为α,设磁铁与角度测量元件A之间的距离为L1;角度测量元件B检测获得磁铁的磁偏角为β,设磁铁与角度测量元件B之间的距离为L2,两个角度测量元件A和B之间的距离为L,那么,可以通过磁偏角α和磁偏角β确定L1与L2的比例关系,再通过L为L1与L2的绝对值的和计算出L1和L2的值,选择L1或L2进行后续的磁铁的实际液位高度的计算。For example, suppose that the magnet is located between two adjacent angle measuring elements A and B, the angle measuring element A detects that the magnetic declination of the magnet is α, and the distance between the magnet and the angle measuring element A is L1; the angle measuring element B detects that the magnetic declination of the magnet is β, the distance between the magnet and the angle measuring element B is L2, and the distance between the two angle measuring elements A and B is L, then the magnetic declination α and magnetic can be The declination β determines the proportional relationship between L1 and L2, and then calculates the values of L1 and L2 by L being the sum of the absolute values of L1 and L2, and selects L1 or L2 for the calculation of the actual liquid level of the subsequent magnet.
当磁铁所在的液位高度下方还包括n个等间隔距离L(角度测量元件A下方还有n个角度测量元件)时,磁铁的实际液位高度为:n与L的乘积获得的结果再加上L1或L2的值,其中n为0或正整数。When the height of the liquid at which the magnet is located also includes n equally spaced distances L (there are n angle measuring elements below the angle measuring element A), the actual liquid level of the magnet is: the result of the product of n and L plus The value of L1 or L2, where n is 0 or a positive integer.
上述实施例中,控制单元可以包括多工器、模数转换器(ADC,Analog-to-Digital Converter)、中央处理器,角度测量元件可以为磁角度传感器。多工器将磁角度传感器输出的信号集中并传送至ADC,通过ADC实现信号数字化,然后再将数字化信号传送至中央处理器。中央处理器循序控制多工器进行信号切换,进而扫描获取每个磁角度传感器的信号读值。In the above embodiment, the control unit may include a multiplexer, an analog-to-digital converter (ADC), a central processing unit, and the angle measuring component may be a magnetic angle sensor. The multiplexer concentrates and transmits the signal from the magnetic angle sensor to the ADC, digitizes the signal through the ADC, and then transmits the digitized signal to the central processor. The central processing unit sequentially controls the multiplexer to perform signal switching, and then scans and acquires the signal reading value of each magnetic angle sensor.
在液位监测装置中包括多个间隔设置的角度测量元件时,相邻两个角度测量元件之间的距离L可以为预设值。 When a plurality of spaced angular measuring elements are included in the liquid level monitoring device, the distance L between adjacent two angular measuring elements may be a preset value.
最后,还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it is also to be understood that the term "comprises", "comprising" or any other variants thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a plurality of elements includes Those elements, but also other elements not explicitly listed, or elements that are inherent to such a process, method, item or equipment. An element defined by the phrase "comprising a ..." without further limitation does not exclude the presence of additional identical elements in the process, method, article, or device that comprises the element.
以上是结合附图给出的实施例,仅是实现本发明的可选方案而非对其限制。 The above is an embodiment given in conjunction with the drawings, and is merely an alternative to implementing the invention and is not limited thereto.

Claims (14)

  1. 一种液位检测方法,其特征在于,所述液位检测方法包括:A liquid level detecting method, characterized in that the liquid level detecting method comprises:
    角度测量元件检测随液位升降的磁铁(2)的磁偏角;The angle measuring element detects a magnetic declination angle of the magnet (2) that rises and falls with the liquid level;
    根据所述角度测量元件的位置信息和所述磁偏角计算获取所述磁铁(2)的液位高度。Obtaining a liquid level height of the magnet (2) according to position information of the angle measuring element and the magnetic declination.
  2. 根据权利要求1所述的一种液位检测方法,其特征在于,所述角度测量元件的位置信息包括:所述角度测量元件与所述磁铁之间的预设垂直距离H,和所述角度测量元件的预设高度。The liquid level detecting method according to claim 1, wherein the position information of the angle measuring element comprises: a preset vertical distance H between the angle measuring element and the magnet, and the angle The preset height of the measuring component.
  3. 根据权利要求2所述的一种液位检测方法,其特征在于,所述角度测量元件包括多个间隔设置的所述角度测量元件,根据所述角度测量元件的位置信息和所述磁偏角计算获取所述磁铁(2)的液位高度,包括下述步骤:A liquid level detecting method according to claim 2, wherein said angle measuring element comprises a plurality of said angle measuring elements spaced apart, said positional information of said measuring element and said magnetic declination angle according to said angle Calculating the liquid level of the magnet (2), including the following steps:
    通过用于检测信号的控制单元检测到所述磁铁(2)位于一组相邻的两个角度测量元件之间;Detecting that the magnet (2) is located between a group of adjacent two angle measuring elements by a control unit for detecting a signal;
    所述相邻的两个角度测量元件分别检测获得所述磁铁(2)的磁偏角为α和β;The adjacent two angle measuring elements respectively detect that the magnetic declination angle of the magnet (2) is α and β;
    所述角度测量元件根据所述预设垂直距离H和所述磁偏角α或β,利用三角函数关系计算获得所述磁铁(2)与所述角度测量元件的距离L1或L2;The angle measuring element calculates a distance L1 or L2 between the magnet (2) and the angle measuring element by using a trigonometric function relationship according to the preset vertical distance H and the magnetic declination angle α or β;
    根据所述角度测量元件的预设高度和L1或L2计算所述磁铁(2)所在的液位高度。The liquid level at which the magnet (2) is located is calculated based on the preset height of the angle measuring element and L1 or L2.
  4. 根据权利要求3所述的一种液位检测方法,其特征在于,所述磁铁(2)与所述相邻的两个角度测量元件的距离L1或L2的计算方式包括:A liquid level detecting method according to claim 3, wherein the calculation of the distance L1 or L2 between the magnet (2) and the adjacent two angle measuring elements comprises:
    L1=Htan(α)或L2=Htan(β),其中,α和β的范围为-90°至90°。L1 = Htan (α) or L2 = Htan (β), wherein α and β range from -90° to 90°.
  5. 根据权利要求2所述的一种液位检测方法,其特征在于,根据所述角度测量元件的位置信息和所述磁偏角计算获取所述磁铁(2)的液位高度,包括下述步骤:The liquid level detecting method according to claim 2, wherein the obtaining the liquid level of the magnet (2) according to the position information of the angle measuring element and the magnetic declination angle comprises the following steps :
    通过用于检测信号的控制单元扫描每个所述角度测量元件的信号读值进而检测到所述磁铁(2)位于与其竖直距离最小的角度测量元件处;Scanning, by a control unit for detecting a signal, a signal reading of each of said angle measuring elements to detect that said magnet (2) is located at an angle measuring element having a minimum vertical distance therefrom;
    所述与磁铁(2)竖直距离最小的角度测量元件检测获得所述磁铁(2)的磁偏角为γ,其中,所述磁偏角为以所述预设垂直距离方向为准向所述角度测 量元件偏移的角度;The angle measuring element having the smallest vertical distance from the magnet (2) detects that the magnetic declination angle of the magnet (2) is γ, wherein the magnetic declination is based on the direction of the preset vertical distance. Angle measurement The angle at which the component is offset;
    所述角度测量元件根据所述磁偏角γ、所述预设垂直距离H利用三角函数关系计算获得所述磁铁(2)与所述角度测量元件的距离L3;The angle measuring element calculates a distance L3 between the magnet (2) and the angle measuring element by using a trigonometric function relationship according to the magnetic declination angle γ and the preset vertical distance H;
    根据所述角度测量元件的预设高度和L3计算获得所述磁铁的液位高度。The liquid level of the magnet is obtained according to the preset height of the angle measuring element and the L3 calculation.
  6. 根据权利要求5所述的一种液位检测方法,其特征在于,所述磁铁(2)与所述角度测量元件的距离L3的计算方式包括:L3=H/cot(γ),其中,γ的范围为-90°至90°。A liquid level detecting method according to claim 5, wherein the calculation method of the distance L3 between the magnet (2) and the angle measuring element comprises: L3 = H / cot (γ), wherein γ The range is -90° to 90°.
  7. 根据权利要求1所述的一种液位检测方法,其特征在于,所述角度测量元件包括多个等间隔设置的角度测量元件,根据所述角度测量元件的位置信息和所述磁偏角计算获取所述磁铁(2)的液位高度,包括:A liquid level detecting method according to claim 1, wherein said angle measuring element comprises a plurality of equally spaced angular measuring elements, and calculating position information of said angle measuring element and said magnetic declination Obtaining the liquid level height of the magnet (2), including:
    通过用于检测信号的控制单元监测到所述磁铁(2)位于一组相邻的两个角度测量元件之间;Monitoring the magnet (2) between a set of two adjacent angular measuring elements by a control unit for detecting a signal;
    所述相邻的两个角度测量元件分别检测获得所述磁铁(2)的磁偏角为α和β;The adjacent two angle measuring elements respectively detect that the magnetic declination angle of the magnet (2) is α and β;
    获取所述相邻的两个角度测量元件之间的预设距离L;Obtaining a preset distance L between the two adjacent angle measuring elements;
    根据磁偏角α和β和距离L计算获得所述磁铁(2)所在的液位高度。The liquid level at which the magnet (2) is located is calculated from the magnetic declination angles α and β and the distance L.
  8. 根据权利要求7所述的一种液位检测方法,其特征在于,根据磁偏角α和β和距离L计算获得所述磁铁(2)所在的液位高度,包括:A liquid level detecting method according to claim 7, wherein the liquid level at which the magnet (2) is located is calculated based on the magnetic declination angles α and β and the distance L, including:
    依据距离L为所述磁铁(2)到所述相邻的两个角度测量元件的距离L1和L2的绝对值的和的原则,根据磁偏角α和β确定L1与L2的比例,获取L1或L2的值;According to the principle that the distance L is the sum of the absolute values of the distances L1 and L2 of the magnet (2) to the adjacent two angle measuring elements, the ratio of L1 to L2 is determined according to the magnetic declination angles α and β, and L1 is obtained. Or the value of L2;
    根据L和L1或L2,计算获得所述磁铁(2)所在的液位高度。According to L and L1 or L2, the liquid level at which the magnet (2) is located is calculated.
  9. 根据权利要求1-8中任一项所述的一种液位检测方法,其特征在于,所述磁偏角为所述磁铁(2)以所述预设垂直距离方向为准向两侧的角度测量元件偏移的角度。The liquid level detecting method according to any one of claims 1 to 8, wherein the magnetic declination is that the magnet (2) is aligned on both sides of the predetermined vertical distance direction. The angle measures the angle at which the component is offset.
  10. 根据权利要求3-9中任一项所述的一种液位检测方法,其特征在于,通过用于检测信号的控制单元检测到所述磁铁位于一组相邻的两个角度测量元件之间,包括: A liquid level detecting method according to any one of claims 3-9, wherein the magnet is located between a pair of adjacent two angle measuring elements by a control unit for detecting a signal , including:
    通过所述控制单元扫描每个角度测量元件的信号读值进而获取所述磁铁(2)位于哪一组相邻的两个角度测量元件之间的信息。The signal reading of each angle measuring element is scanned by the control unit to obtain information between which set of two adjacent angle measuring elements the magnet (2) is located.
  11. 一种用于实现如权利要求1-10任一所述液位检测方法的装置,其特征在于,包括随液位升降的磁铁(2)、角度测量元件以及控制单元。A device for realizing a liquid level detecting method according to any one of claims 1 to 10, characterized in that it comprises a magnet (2) that rises and falls with a liquid level, an angle measuring element, and a control unit.
  12. 根据权利要求11所述的一种液位检测装置,其特征在于,包括多个角度测量元件,所述多个角度测量元件等间隔设置在电路板上。A liquid level detecting apparatus according to claim 11, comprising a plurality of angle measuring elements, said plurality of angle measuring elements being equally spaced on the circuit board.
  13. 根据权利要求11所述的一种液位检测装置,其特征在于,所述角度测量元件为模拟磁阻(Analog Magneto Resistive,AMR)角度传感器(1),所述AMR角度传感器(1)由集成电路塑料封装。A liquid level detecting device according to claim 11, wherein said angle measuring element is an Analog Magneto Resistive (AMR) angle sensor (1), and said AMR angle sensor (1) is integrated Circuit plastic package.
  14. 根据权利要求11所述的一种液位检测装置,其特征在于,所述磁铁(2)为环形磁铁,所述环形磁铁与所述电路板的垂直距离为预设值H。 A liquid level detecting device according to claim 11, wherein the magnet (2) is a ring magnet, and a vertical distance between the ring magnet and the circuit board is a preset value H.
PCT/CN2016/074070 2016-02-18 2016-02-18 Fluid level detection method and apparatus WO2017139960A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/074070 WO2017139960A1 (en) 2016-02-18 2016-02-18 Fluid level detection method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/074070 WO2017139960A1 (en) 2016-02-18 2016-02-18 Fluid level detection method and apparatus
CN201680000081.2A CN105745516A (en) 2016-02-18 2016-02-18 Liquid level detection method and device

Publications (1)

Publication Number Publication Date
WO2017139960A1 true WO2017139960A1 (en) 2017-08-24

Family

ID=56256135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074070 WO2017139960A1 (en) 2016-02-18 2016-02-18 Fluid level detection method and apparatus

Country Status (2)

Country Link
CN (1) CN105745516A (en)
WO (1) WO2017139960A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017139960A1 (en) * 2016-02-18 2017-08-24 东莞正扬电子机械有限公司 Fluid level detection method and apparatus
CN107907187A (en) * 2017-10-31 2018-04-13 中国科学院武汉岩土力学研究所 The measuring method and device of the gas-liquid interface depth of salt hole air reserved storeroom

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2302506Y (en) * 1997-01-24 1998-12-30 谭东驰 Digital display liquid-level gauge
CN1351249A (en) * 2000-10-27 2002-05-29 中国石油化工股份有限公司 Magnetically inductive scale of magnetic-float level gauge
WO2006091107A1 (en) * 2005-02-28 2006-08-31 Jan Gismervik Magnetic switch for level measurement, level meter, and use thereof
CN101324461A (en) * 2008-07-29 2008-12-17 南京艾驰电子科技有限公司 Liquid level detector
CN201225918Y (en) * 2008-07-29 2009-04-22 南京艾驰电子科技有限公司 Liquid level detector
CN102121844A (en) * 2010-01-07 2011-07-13 李臻 Non-contact liquid level meter based on giant magneto-resistance sensors
CN103163388A (en) * 2013-03-01 2013-06-19 江苏大学 Measuring method and measuring device of non-contact electrostatic spraying charge-to-mass ratios
CN203249676U (en) * 2013-05-16 2013-10-23 陕西科技大学 Monitoring device for liquid level of nonmetal container
CN105745516A (en) * 2016-02-18 2016-07-06 东莞正扬电子机械有限公司 Liquid level detection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009236615A (en) * 2008-03-26 2009-10-15 J-Power Systems Corp Magnetic type level gage

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2302506Y (en) * 1997-01-24 1998-12-30 谭东驰 Digital display liquid-level gauge
CN1351249A (en) * 2000-10-27 2002-05-29 中国石油化工股份有限公司 Magnetically inductive scale of magnetic-float level gauge
WO2006091107A1 (en) * 2005-02-28 2006-08-31 Jan Gismervik Magnetic switch for level measurement, level meter, and use thereof
CN101324461A (en) * 2008-07-29 2008-12-17 南京艾驰电子科技有限公司 Liquid level detector
CN201225918Y (en) * 2008-07-29 2009-04-22 南京艾驰电子科技有限公司 Liquid level detector
CN102121844A (en) * 2010-01-07 2011-07-13 李臻 Non-contact liquid level meter based on giant magneto-resistance sensors
CN103163388A (en) * 2013-03-01 2013-06-19 江苏大学 Measuring method and measuring device of non-contact electrostatic spraying charge-to-mass ratios
CN203249676U (en) * 2013-05-16 2013-10-23 陕西科技大学 Monitoring device for liquid level of nonmetal container
CN105745516A (en) * 2016-02-18 2016-07-06 东莞正扬电子机械有限公司 Liquid level detection method and device

Also Published As

Publication number Publication date
CN105745516A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
US10656004B2 (en) Measuring device and method for measuring the level of a liquid in a container
US8415946B2 (en) Arrangement and method for magnetic determination of a linear length or a rotary angle
EP2944924A1 (en) Multi-turn absolute magnetic encoder
JP2005326410A (en) Magnetic mems device and its forming method
CN102818564B (en) Calibration method of three-dimensional electronic compass
KR20060004952A (en) Proximity sensor for level sensing
KR20140094333A (en) Flexible display and method for measuring angle of the same
CN102288516B (en) Integrated fluid sensor capable of simultaneously measuring density, pressure and temperature of fluid based on micro-electromechanical system (MEMS) technology
EP3224576B1 (en) Absolute rotary encoder
CN101936791B (en) Digital pressure gauge
CN101893722B (en) Giant magneto-resistance sensor-based geomagnetic roll angle measurement system and method
CN104330025B (en) Industrial robot apparatus for detecting position and posture
US20040205973A1 (en) Inclination sensor
JP2002022403A (en) Displacement detector and displacement detecting method
CN102607388B (en) Rotor displacement measurement device and method for planar motor
CN102141371A (en) Angle encoder and method for determining an angle between a sensor assembly and a magnetic field
CN101253389B (en) Rotation angle detection apparatus
US9587940B2 (en) Precision hydrostatic level and flatness measuring device, system and method
CN103376144B (en) Liquid level detection device
CN102539029A (en) Three-dimensional fluid stress sensor based on flexible MEMS (microelectromechanical system) technology and array thereof
CN102927966B (en) Method for improving monitoring accuracy of structural settlement
CN102221323B (en) Six-DOF(degree of freedom) displacement measuring method based on planar capacitor
WO2012151125A3 (en) System for measuring length of a beam extension and detecting support
US20110161008A1 (en) Land settlement measuring apparatus and system
KR20060098132A (en) Digital level measuring device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16890193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16890193

Country of ref document: EP

Kind code of ref document: A1