CN106840287B - Flow sensor, flowmeter and flow detection method - Google Patents
Flow sensor, flowmeter and flow detection method Download PDFInfo
- Publication number
- CN106840287B CN106840287B CN201710004707.3A CN201710004707A CN106840287B CN 106840287 B CN106840287 B CN 106840287B CN 201710004707 A CN201710004707 A CN 201710004707A CN 106840287 B CN106840287 B CN 106840287B
- Authority
- CN
- China
- Prior art keywords
- flow
- detection resistor
- resistor
- constant current
- differential voltage
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 146
- 238000011144 upstream manufacturing Methods 0.000 claims abstract description 56
- 238000010438 heat treatment Methods 0.000 claims abstract description 18
- 238000000034 method Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 6
- 238000005259 measurement Methods 0.000 abstract description 12
- 238000005070 sampling Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000009795 derivation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/56—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects
- G01F1/64—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects by measuring electrical currents passing through the fluid flow; measuring electrical potential generated by the fluid flow, e.g. by electrochemical, contact or friction effects
Landscapes
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Volume Flow (AREA)
Abstract
本发明公开了一种流量传感器、流量计及流量检测方法,该流量传感器包括:加热元件以及一个或多个检测单元;其中,检测单元包括:上游检测电阻、下游检测电阻、与上游检测电阻串联连接的第一恒流源、和与下游检测电阻串联连接的第二恒流源;上游检测电阻和下游检测电阻分别设置于被测介质的流通路径的上游侧和下游侧,加热元件设置于上游检测电阻和下游检测电阻之间。通过恒流源为检测电阻提供恒定电流,能够避免被测介质的温度对流量检测结果产生的影响,保证了流量计量的精度。
The invention discloses a flow sensor, a flow meter and a flow detection method. The flow sensor includes: a heating element and one or more detection units; wherein, the detection unit includes: an upstream detection resistor, a downstream detection resistor, and an upstream detection resistor in series A first constant current source connected, and a second constant current source connected in series with the downstream detection resistor; the upstream detection resistor and the downstream detection resistor are respectively arranged on the upstream and downstream sides of the flow path of the measured medium, and the heating element is arranged upstream between the sense resistor and the downstream sense resistor. The constant current source is used to provide a constant current for the detection resistor, which can avoid the influence of the temperature of the measured medium on the flow detection result, and ensure the accuracy of the flow measurement.
Description
技术领域technical field
本发明涉及传感器技术领域,具体来说,涉及一种检测被测介质流量的流量传感器、流量计及流量检测方法。The invention relates to the technical field of sensors, and in particular, to a flow sensor, a flow meter and a flow detection method for detecting the flow of a measured medium.
背景技术Background technique
在流量计量过程中,常用的流量检测方法一般是基于温度差的检测方法。温度差检测方法的工作原理是在流量传感器的中间设置一个加热元件,通过温控电路来控制加热元件以保持与被测介质的温度差恒定。还在加热元件的上游和下游设置一对对称的检测电阻。当被测介质(例如气体)从加热元件上方以层流状态经过时,由于受到被测介质的流动方向的影响,上游检测电阻的温度会有所降低,而下游检测电阻的温度会有所升高,即:温度场会发生迁移,导致两个检测电阻之间形成温度差ΔT。对应于不同种类和不同流量的被测介质,检测电阻之间所形成的温度差ΔT不同。利用在不同温度下检测电阻对应的电阻值不同的特性,可以用两个检测电阻的电阻值的差值变化来体现检测电阻之间的温度差ΔT,两个检测电阻电阻值的差值变化又可以转化为差分电压的形式输出,从而实现将被测介质流量所引起的两个检测电阻产生的温度差转化为一个差分电压输出,此差分电压与被测介质的流量为一一对应关系,如图1所示,即可通过此差分电压得出相对应的被测介质的质量流量。In the flow measurement process, the commonly used flow detection method is generally based on the temperature difference detection method. The working principle of the temperature difference detection method is to set a heating element in the middle of the flow sensor, and control the heating element through the temperature control circuit to keep the temperature difference with the measured medium constant. A pair of symmetrical sense resistors are also provided upstream and downstream of the heating element. When the measured medium (such as gas) passes over the heating element in a laminar flow state, the temperature of the upstream detection resistor will decrease and the temperature of the downstream detection resistor will increase due to the influence of the flow direction of the measured medium. high, that is, the temperature field will migrate, resulting in a temperature difference ΔT between the two sense resistors. Corresponding to the measured medium of different types and different flow rates, the temperature difference ΔT formed between the detection resistors is different. Using the characteristics of different resistance values corresponding to the detection resistors at different temperatures, the difference change of the resistance values of the two detection resistors can be used to reflect the temperature difference ΔT between the detection resistors, and the difference change of the resistance values of the two detection resistors It can be output in the form of differential voltage, so that the temperature difference generated by the two detection resistors caused by the flow of the measured medium can be converted into a differential voltage output. This differential voltage has a one-to-one correspondence with the flow of the measured medium, such as As shown in Figure 1, the corresponding mass flow rate of the measured medium can be obtained from this differential voltage.
在实际应用中,如图2所示,通常采用惠斯通电桥电路测量传感器的上述差分电压ΔU来代表两个检测电阻R1和R2的温度差ΔT。但是,采用惠斯通电桥存在的一个问题是,除了由被测介质的流动方向所引起的两个检测电阻R1和R2温度不同使得二者的电阻值会发生变化之外,被测介质本身温度的不同也会引起两个检测电阻R1和R2的电阻值变化。由于惠斯通电桥中的固定电压U0不变,因此两个检测电阻R1和R2的电阻值变化会使得流经检测电阻R1和R2的电流发生变化,进而会引起差分电压ΔU的改变,即当被测介质的温度不同时,所输出的差分电压ΔU中还包括了由被测介质的温度所引起的变化,因此使差分电压ΔU并不能真正的代表被测介质的流量。In practical applications, as shown in FIG. 2 , the above-mentioned differential voltage ΔU of the sensor is usually measured by a Wheatstone bridge circuit to represent the temperature difference ΔT between the two detection resistors R1 and R2 . However, a problem with using the Wheatstone bridge is that, in addition to the change in the resistance values of the two detection resistors R1 and R2 caused by the flow direction of the measured medium, the temperature of the measured medium itself will change. The difference will also cause the resistance value of the two sense resistors R1 and R2 to change. Since the fixed voltage U0 in the Wheatstone bridge does not change, the change in the resistance values of the two detection resistors R1 and R2 will cause the current flowing through the detection resistors R1 and R2 to change, which in turn will cause the differential voltage ΔU to change, that is, when When the temperature of the measured medium is different, the output differential voltage ΔU also includes the change caused by the temperature of the measured medium, so the differential voltage ΔU cannot truly represent the flow rate of the measured medium.
一般可以采用温度补偿系数的方法来消除被测介质的温度对流量检测所带来的影响,但是温度补偿系数的方法比较复杂,且不能满足流量计量过程中对计量精度的要求。Generally, the method of temperature compensation coefficient can be used to eliminate the influence of the temperature of the measured medium on the flow detection, but the method of temperature compensation coefficient is more complicated and cannot meet the requirements of measurement accuracy in the flow measurement process.
针对相关技术中被测介质的温度影响流量检测结果、进而影响计量精度的问题,目前尚未提出有效的解决方案。Aiming at the problem in the related art that the temperature of the measured medium affects the flow detection result and thus the measurement accuracy, no effective solution has yet been proposed.
发明内容SUMMARY OF THE INVENTION
针对相关技术中被测介质的温度影响流量检测结果、进而影响计量精度的问题,本发明提出一种检测被测介质流量的流量传感器、流量计及流量检测方法,能够避免被测介质的温度影响流量检测结果的问题,从而保证流量计量的精度。Aiming at the problem in the related art that the temperature of the measured medium affects the flow detection result and thus the measurement accuracy, the present invention proposes a flow sensor, a flow meter and a flow detection method for detecting the flow of the measured medium, which can avoid the influence of the temperature of the measured medium. The problem of flow detection results, so as to ensure the accuracy of flow measurement.
本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:
根据本发明的一个方面,提供了一种流量传感器,包括:加热元件以及一个或多个检测单元;其中,检测单元包括:上游检测电阻、下游检测电阻、与上游检测电阻串联连接的第一恒流源、和与下游检测电阻串联连接的第二恒流源;上游检测电阻和下游检测电阻分别设置于被测介质的流通路径的上游侧和下游侧,加热元件设置于上游检测电阻和下游检测电阻之间。According to one aspect of the present invention, a flow sensor is provided, comprising: a heating element and one or more detection units; wherein, the detection unit includes: an upstream detection resistor, a downstream detection resistor, a first constant voltage connected in series with the upstream detection resistor flow source, and a second constant current source connected in series with the downstream detection resistor; the upstream detection resistor and the downstream detection resistor are respectively arranged on the upstream side and the downstream side of the flow path of the measured medium, and the heating element is arranged on the upstream detection resistor and the downstream detection resistor between the resistors.
根据本发明的一个实施例,检测单元还包括:差分电压输出端口,用于输出差分电压;其中,差分电压输出端口的第一输出节点连接至上游检测电阻Ru的第一端,差分电压输出端口的第二输出节点连接至下游检测电阻Rd的第一端,上游检测电阻Ru的第二端和下游检测电阻Rd的第二端连接至接地端。According to an embodiment of the present invention, the detection unit further includes: a differential voltage output port for outputting a differential voltage; wherein the first output node of the differential voltage output port is connected to the first end of the upstream detection resistor Ru, and the differential voltage output port The second output node of Rd is connected to the first terminal of the downstream detection resistor Rd, and the second terminal of the upstream detection resistor Ru and the second terminal of the downstream detection resistor Rd are connected to the ground terminal.
根据本发明的一个实施例,检测单元还包括:上拉电阻器,上拉电阻器为低温度漂移电阻,上游检测电阻和下游检测电阻均经由上拉电阻器连接至接地端。According to an embodiment of the present invention, the detection unit further includes: a pull-up resistor, the pull-up resistor is a low temperature drift resistor, and both the upstream detection resistor and the downstream detection resistor are connected to the ground terminal through the pull-up resistor.
根据本发明的一个实施例,第一恒流源输出的第一恒定电流与第二恒流源输出的第二恒定电流的电流值相等。According to an embodiment of the present invention, the current values of the first constant current output by the first constant current source and the second constant current output by the second constant current source are equal.
根据本发明的一个实施例,流量传感器为MEMS传感器。According to one embodiment of the present invention, the flow sensor is a MEMS sensor.
根据本发明的一个实施例,第一恒流源输出的第一恒定电流与第二恒流源输出的第二恒定电流的电流值均在100μA-300μA以内。According to an embodiment of the present invention, the current values of the first constant current output by the first constant current source and the second constant current output by the second constant current source are both within 100 μA-300 μA.
根据本发明的一个实施例,上拉电阻器的电阻值在500Ω-2000Ω以内。According to an embodiment of the present invention, the resistance value of the pull-up resistor is within 500Ω-2000Ω.
根据本发明的另一方面,提供了一种流量计,包括:上述流量传感器;以及处理模块,与流量传感器连接,用于根据差分电压得到被测介质流量。According to another aspect of the present invention, a flow meter is provided, comprising: the above-mentioned flow sensor; and a processing module connected to the flow sensor for obtaining the flow rate of the measured medium according to the differential voltage.
根据本发明的又一个方面,提供了一种流量检测方法,包括:为上游检测电阻和下游检测电阻提供恒定电流;利用恒定电流生成与被测介质流量相关的差分电压;根据差分电压得到被测介质流量。According to another aspect of the present invention, a flow detection method is provided, comprising: providing a constant current for an upstream detection resistor and a downstream detection resistor; using the constant current to generate a differential voltage related to the flow rate of the medium to be measured; media flow.
根据本发明的一个实施例,根据差分电压得到被测介质流量包括:获取差分电压与被测介质流量的对应关系;根据对应关系和差分电压得到被测介质流量。According to an embodiment of the present invention, obtaining the measured medium flow rate according to the differential voltage includes: obtaining a correspondence between the differential voltage and the measured medium flow rate; and obtaining the measured medium flow rate according to the corresponding relationship and the differential voltage.
根据本发明的一个实施例,获取差分电压与被测介质流量的对应关系包括:获取多个确定被测介质流量下对应的多个标定差分电压;根据被测介质流量和标定差分电压得到对应关系,其中对应关系为线性关系。According to an embodiment of the present invention, obtaining the corresponding relationship between the differential voltage and the flow rate of the measured medium includes: obtaining a plurality of calibrated differential voltages corresponding to the flow rate of the measured medium; obtaining the corresponding relationship according to the flow rate of the measured medium and the calibrated differential voltage , where the corresponding relationship is linear.
本发明通过设置恒流源为检测电阻提供恒定电流,能够避免被测介质的温度对流量检测结果产生的影响,保证了流量计量的精度。By setting a constant current source to provide a constant current for the detection resistor, the invention can avoid the influence of the temperature of the measured medium on the flow detection result and ensure the accuracy of the flow measurement.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1现有技术中检测电阻间的差分电压与被测介质的质量流量的对应关系的示意图;1 is a schematic diagram of the correspondence between the differential voltage between the detection resistors and the mass flow rate of the measured medium in the prior art;
图2是现有技术采用惠斯通电桥电路测量差分电压的原理图;2 is a schematic diagram of the prior art using a Wheatstone bridge circuit to measure differential voltage;
图3是根据本发明实施例的流量传感器的示意图;3 is a schematic diagram of a flow sensor according to an embodiment of the present invention;
图4是根据本发明一个实施例的流量传感器的检测单元的电路示意图;4 is a schematic circuit diagram of a detection unit of a flow sensor according to an embodiment of the present invention;
图5是根据本发明另一个实施例的流量传感器的检测单元的电路示意图;5 is a schematic circuit diagram of a detection unit of a flow sensor according to another embodiment of the present invention;
图6是根据本发明实施例的流量检测方法的流程图。FIG. 6 is a flowchart of a flow detection method according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of the present invention.
根据本发明的实施例,提供了一种流量传感器。According to an embodiment of the present invention, a flow sensor is provided.
同时参考图3、图4和图5所示,根据本发明实施例的流量传感器包括:加热元件Rh以及一个或多个检测单元100;其中,检测单元100包括:上游检测电阻Ru、下游检测电阻Rd、串联连接于上游检测电阻Ru的第一恒流源Is1、和串联连接于下游检测电阻Rd的第二恒流源Is2;上游检测电阻Ru和下游检测电阻Rd分别设置于被测介质的流通路径的上游侧和下游侧,加热元件设置于上游检测电阻Ru和下游检测电阻Rd之间。3, 4 and 5, the flow sensor according to the embodiment of the present invention includes: a heating element Rh and one or
第一恒流源Is1和第二恒流源Is2用于为上游检测电阻Ru和下游检测电阻Rd分别提供恒定的电流,以得到上游检测电阻Ru和下游检测电阻Rd利用恒定电流生成的与被测介质流量相关的差分电压。恒流源是指能够提供恒定电流的电路,恒流源的特点是不因环境温度变化而发生变化,能够保证输出的电流稳定。因此上述差分电压中不包括由被测介质的温度所引起的变化,即能够使被测介质的温度不对流量检测结果产生影响,保证了流量计量的精度。The first constant current source Is1 and the second constant current source Is2 are used to provide a constant current for the upstream detection resistor Ru and the downstream detection resistor Rd respectively, so as to obtain the difference between the upstream detection resistor Ru and the downstream detection resistor Rd generated by the constant current and the measured value. Differential voltage related to medium flow. Constant current source refers to a circuit that can provide constant current. The characteristic of constant current source is that it does not change due to changes in ambient temperature, and can ensure the stability of the output current. Therefore, the above-mentioned differential voltage does not include the change caused by the temperature of the measured medium, that is, the temperature of the measured medium can not affect the flow detection result, and the accuracy of the flow measurement is ensured.
具体地,如图3所示,当管道200中有被测介质按照图中箭头所示的方向流动时,由于被测介质流经加热元件Rh时带走了加热元件Rh产生的热量并传递给下游检测电阻Rd,因此能够导致加热元件Rh的上游检测电阻Ru的电阻值减小,下游检测电阻Rd的电阻值增大;而由于高精度低温漂的第一恒流源Is1和第二恒流源Is2分别施加在上游检测电阻Ru和下游检测电阻Rd上的第一恒定电流Iu和第二恒定电流Id不变,则根据欧姆定律得到对应的电压值uu和ud,进而能够得到上游检测电阻Ru和下游检测电阻Rd之间的差分电压Δu。Specifically, as shown in FIG. 3 , when the measured medium in the pipeline 200 flows in the direction indicated by the arrow in the figure, the measured medium takes away the heat generated by the heating element Rh when it flows through the heating element Rh and transfers it to the heating element Rh. The downstream detection resistor Rd can therefore cause the resistance value of the upstream detection resistor Ru of the heating element Rh to decrease, and the resistance value of the downstream detection resistor Rd to increase. The first constant current I u and the second constant current I d applied by the source Is2 to the upstream detection resistor Ru and the downstream detection resistor Rd respectively remain unchanged, then the corresponding voltage values u u and ud d are obtained according to Ohm’s law, and then we can obtain The differential voltage Δu between the upstream sense resistor Ru and the downstream sense resistor Rd.
根据本发明的一个实施例,同时参考图4和图5,检测单元100还包括差分电压输出端口,用于输出差分电压;其中,差分电压输出端口的第一输出节点连接至上游检测电阻Ru的第一端,差分电压输出端口的第二输出节点连接至下游检测电阻Rd的第一端,上游检测电阻Ru的第二端和下游检测电阻Rd的第二端连接至接地端。According to an embodiment of the present invention, referring to FIG. 4 and FIG. 5 at the same time, the
根据本发明的一个实施例,第一恒流源Is1输出的第一恒定电流Iu与第二恒流源Is2输出的第二恒定电流Id的电流值相等。According to an embodiment of the present invention, the current values of the first constant current I u output by the first constant current source Is1 and the second constant current I d output by the second constant current source Is2 are equal.
根据本发明的一个实施例,第一恒流源Is1输出的第一恒定电流Iu与第二恒流源Is2输出的第二恒定电流Id的电流值均在100μA-300μA以内。According to an embodiment of the present invention, the current values of the first constant current I u output by the first constant current source Is1 and the second constant current I d output by the second constant current source Is2 are both within 100 μA-300 μA.
优选地,第一恒定电流Iu和第二恒定电流Id的电流值均为200μA。Preferably, the current values of the first constant current I u and the second constant current I d are both 200 μA.
通过高精度低温漂的第一恒流源Is1和第二恒流源Is2分别对上游检测电阻Ru和下游检测电阻Rd提供恒定的电流,为了避免因电流过大而导致上游检测电阻Ru和下游检测电阻Rd自身发热、从而不能真实地反映流动的被测介质传递的温度,因此需要对上游检测电阻Ru和下游检测电阻Rd均施加电流值较小的电流。根据上游检测电阻Ru和下游检测电阻Rd的不同,施加的电流也会有所不同。具体地,当上游检测电阻Ru和下游检测电阻Rd的电阻值较大时,可以施加电流值相对较小的电流;而当上游检测电阻Ru和下游检测电阻Rd的电阻值较小时,则可以施加电流值相对较大的电流。否则,电流太大,可能会引起上游检测电阻Ru和下游检测电阻Rd本身发热;电流太小,则可能又会使得检测单元100输出的差分电压Δu过小,影响测量精准度。因此可对上游检测电阻Ru和下游检测电阻Rd施加电流值均在100μA-300μA以内的第一恒定电流Iu和第二恒定电流Id。优选地,第一恒定电流Iu和第二恒定电流Id的电流值均为200μA。The first constant current source Is1 and the second constant current source Is2 with high precision and low temperature drift respectively provide constant current to the upstream detection resistor Ru and the downstream detection resistor Rd, in order to avoid the upstream detection resistor Ru and the downstream detection resistor caused by excessive current The resistor Rd generates heat by itself, and thus cannot truly reflect the temperature transmitted by the flowing measured medium. Therefore, it is necessary to apply a current with a small current value to both the upstream detection resistor Ru and the downstream detection resistor Rd. The applied current varies depending on the upstream sense resistor Ru and the downstream sense resistor Rd. Specifically, when the resistance values of the upstream detection resistor Ru and the downstream detection resistor Rd are relatively large, a current with a relatively small current value can be applied; and when the resistance values of the upstream detection resistor Ru and the downstream detection resistor Rd are relatively small, a current with a relatively small current value can be applied A current with a relatively large current value. Otherwise, if the current is too large, the upstream detection resistor Ru and the downstream detection resistor Rd may heat themselves; if the current is too small, the differential voltage Δu output by the
根据本发明的一个实施例,流量传感器为MEMS(Microelectro MechanicalSystems,微机电系统)传感器。According to an embodiment of the present invention, the flow sensor is a MEMS (Microelectro Mechanical Systems, Micro Electro Mechanical Systems) sensor.
根据本发明的一个实施例,还包括:模数转换模块,连接于一个或多个检测单元100,用于将差分电压由模拟量转换为数字量。可选地,模数转换模块为24位AD采样模块。通过高精度的24位AD采样模块来进行模数转换,进而可得到输出的差分电压Δu与被测介质流量的对应关系。According to an embodiment of the present invention, it further includes: an analog-to-digital conversion module, connected to one or
根据本发明的一个实施例,如图5所示,检测单元100还包括:上拉电阻器Rs,上拉电阻器Rs为低温度漂移电阻,上游检测电阻Ru和下游检测电阻Rd均经由上拉电阻器Rs连接至接地端。低温漂电阻指电阻值随温度变化小的电阻。上拉电阻器Rs的主要目的是为了抬高输出的差分电压Δu,以便于满足某些24位AD采样模块对最低采样输入电压的要求。若使用的AD采样模块没有最低采样输入电压的要求,则不需要设置上拉电阻器Rs。According to an embodiment of the present invention, as shown in FIG. 5 , the
根据本发明的一个实施例,上拉电阻器Rs的电阻值在500Ω-2000Ω以内。According to an embodiment of the present invention, the resistance value of the pull-up resistor Rs is within 500Ω-2000Ω.
优选地,上拉电阻器Rs的电阻值为1000Ω。具体地,可根据差分电压Δu需要被太高的需求,设置上拉电阻器Rs的电阻值。例如,当上拉电阻器Rs为1000Ω、第一恒定电流Iu和第二恒定电流Id的电流值均为200μA时,可以将差分电压Δu的对地电压抬高400mV左右。Preferably, the resistance value of the pull-up resistor Rs is 1000Ω. Specifically, the resistance value of the pull-up resistor Rs can be set according to the requirement that the differential voltage Δu needs to be too high. For example, when the pull-up resistor Rs is 1000Ω and the current values of the first constant current I u and the second constant current I d are both 200 μA, the ground voltage of the differential voltage Δu can be raised by about 400 mV.
根据本发明的实施例,还提供了一种流量计,包括:上述流量传感器以及处理模块;处理模块与流量传感器连接,可以用于根据差分电压得到被测介质流量。通过处理模块可以使流量计直接输出被测介质的流量。According to an embodiment of the present invention, a flow meter is also provided, including: the above-mentioned flow sensor and a processing module; the processing module is connected to the flow sensor and can be used to obtain the flow rate of the measured medium according to the differential voltage. Through the processing module, the flowmeter can directly output the flow rate of the measured medium.
可选地,处理模块可以包括获取模块,用于获取差分电压与被测介质流量的对应关系;以及生成与输出模块,用于根据对应关系和差分电压得到并输出被测介质流量。Optionally, the processing module may include an acquiring module for acquiring the corresponding relationship between the differential voltage and the measured medium flow; and a generating and outputting module for obtaining and outputting the measured medium flow according to the corresponding relationship and the differential voltage.
进一步地,上述获取模块可以包括:第一子模块,用于获取多个确定被测介质流量下对应的多个标定差分电压;以及第二子模块,用于根据被测介质流量和标定差分电压得到对应关系,其中对应关系为线性关系。Further, the above acquisition module may include: a first sub-module for acquiring a plurality of calibration differential voltages corresponding to a plurality of determined measured medium flow rates; and a second sub-module for calibrating differential voltages according to the measured medium flow rates and The corresponding relationship is obtained, where the corresponding relationship is a linear relationship.
如图6所示,根据本发明的实施例,又提供了一种流量检测方法,包括以下步骤:As shown in FIG. 6 , according to an embodiment of the present invention, a traffic detection method is provided, including the following steps:
步骤S110,为上游检测电阻和下游检测电阻提供恒定电流;Step S110, providing a constant current for the upstream detection resistor and the downstream detection resistor;
步骤S120,利用恒定电流生成与被测介质流量相关的差分电压;Step S120, using a constant current to generate a differential voltage related to the flow rate of the measured medium;
步骤S130,根据差分电压得到被测介质流量。In step S130, the measured medium flow rate is obtained according to the differential voltage.
在步骤S110中,可以分别通过第一恒流源和第二恒流源为上游检测电阻和下游检测电阻提供恒定电流;在步骤S120中上游检测电阻和下游检测电阻利用此恒定电流生成与被测介质流量相关的差分电压,因此该差分电压中不包括由被测介质的温度所引起的变化,即能够使被测介质的温度不对流量检测结果产生影响,保证了流量计量的精度。In step S110, a constant current may be provided for the upstream detection resistor and the downstream detection resistor through the first constant current source and the second constant current source respectively; in step S120, the upstream detection resistor and the downstream detection resistor use this constant current to generate and measure The differential voltage related to the medium flow, so the differential voltage does not include the change caused by the temperature of the measured medium, that is, the temperature of the measured medium can not affect the flow detection result, and the accuracy of the flow measurement is guaranteed.
根据本发明的一个实施例,步骤S130可包括以下步骤:According to an embodiment of the present invention, step S130 may include the following steps:
步骤S131,获取差分电压与被测介质流量的对应关系;Step S131, obtaining the corresponding relationship between the differential voltage and the flow rate of the measured medium;
步骤S132,根据对应关系和差分电压得到被测介质流量。In step S132, the measured medium flow rate is obtained according to the corresponding relationship and the differential voltage.
进一步地,步骤S131可包括以下步骤:Further, step S131 may include the following steps:
获取多个确定被测介质流量下对应的多个标定差分电压;Obtain multiple calibration differential voltages corresponding to multiple determined measured medium flow rates;
根据被测介质流量和标定差分电压得到对应关系,其中对应关系为线性关系。The corresponding relationship is obtained according to the flow rate of the measured medium and the calibration differential voltage, and the corresponding relationship is a linear relationship.
下面对步骤S130进行具体说明。可通过不同气体质量流量下的qm对应的Δu的关系完成标定,可以发现利用恒流源,差分电压信号Δu和被测介质流量qm成线性关系。Step S130 will be specifically described below. The calibration can be completed through the relationship of Δu corresponding to q m under different gas mass flow rates. It can be found that using a constant current source, the differential voltage signal Δu has a linear relationship with the measured medium flow q m .
根据欧姆定律,可推导出差分电压Δu的表达式为:According to Ohm's law, the expression of differential voltage Δu can be deduced as:
Δu=ud-uu=(IdRd-IuRu)Δu=u d −u u =(I d R d −I u R u )
优选地,设定Iu=Id=I,差分电阻ΔR=Rd-Ru,则有:Preferably, set I u =I d =I, and differential resistance ΔR=R d -R u , then there are:
Δu=ud-uu=I(Rd-Iu)=IΔR,Δu=u d −u u =I(R d −I u )=IΔR,
因此有:So there are:
ΔR=Δu/IΔR=Δu/I
进一步地,上游检测电阻的电阻值Ru和上游检测电阻的温度Tu的关系、下游检测电阻的电阻值Rd和下游检测电阻的温度Td的关系可分别表示为:Further, the relationship between the resistance value R u of the upstream detection resistor and the temperature T u of the upstream detection resistor, and the relationship between the resistance value R d of the downstream detection resistor and the temperature T d of the downstream detection resistor can be expressed as:
Ru=Ru0(1+auTu);Rd=Rd0(1+adTd)R u =R u0 (1+a u T u ); R d =R d0 (1+a d T d )
其中,Ru0和Rd0分别为上游检测电阻和下游检测电阻在零摄氏度时的电阻值,au和ad分别为上游检测电阻和下游检测电阻的温度系数;所以上述表达式又可推导为:Among them, R u0 and R d0 are the resistance values of the upstream sensing resistor and the downstream sensing resistor at zero degrees Celsius, respectively, and a u and a d are the temperature coefficients of the upstream sensing resistor and the downstream sensing resistor, respectively; so the above expression can be deduced as :
Δu=I(Rd0+Rd0adTd-Ru0-Ru0auTu)Δu=I(R d0 +R d0 a d T d −R u0 −R u0 a u T u )
又因为Ru=Rd=R0、ad=au=a,故:And because R u =R d =R 0 , a d =a u =a, so:
Ru=Ru0(1+aTu),Rd=Rd0(1+aTd);R u =R u0 (1+aT u ), R d =R d0 (1+aT d );
加热元件的上游检测电阻和下游检测电阻的温度差Td-Tu=ΔT,则:The temperature difference between the upstream detection resistor and the downstream detection resistor of the heating element is T d −T u =ΔT, then:
Δu=IR0a(Td-Tu)=IR0aΔT;(1)Δu=IR 0 a(T d −T u )=IR 0 aΔT; (1)
其中,I、R0、a均为固定常数,可设定k=IR0a,则将ΔT=Δu/IR0a代入关系式(1)可得质量流量qm为:Among them, I, R 0 , and a are all fixed constants, and k=IR 0 a can be set, then ΔT=Δu/IR 0 a is substituted into the relational formula (1), and the mass flow rate q m can be obtained as:
由此可以看出通过理论推导,证明采用恒流源电路的方法得到的差分电压Δu只与被测量介质的质量流量qm对应相关,而与测量介质的温度变化无关。It can be seen that through theoretical derivation, it is proved that the differential voltage Δu obtained by the method of the constant current source circuit is only related to the mass flow qm of the measured medium, and has nothing to do with the temperature change of the measured medium.
进一步地,对G4型MEMS家用表进行的试验验证也证实了本发明的正确性。如表1所示,为采用现有技术中的惠斯通电桥电路的G4型MEMS家用表的测试数据,表2所示为采用本发明的流量传感器的G4型MEMS家用表的测试数据。Further, the test verification of the G4 type MEMS household watch also confirms the correctness of the present invention. As shown in Table 1, it is the test data of the G4 type MEMS household meter using the Wheatstone bridge circuit in the prior art, and Table 2 is the test data of the G4 type MEMS household meter using the flow sensor of the present invention.
由表1和表2中数据可以看出,当环境温度为20℃时,采用现有技术与采用本发明的流量传感器得到的检测结果的误差均较小,但是当环境温度较低(例如0℃)或者较高(例如40℃)时,采用本发明的流量传感器得到的检测结果的误差明显低于采用现有技术得到的检测结果的误差。进一步说明,本发明能够避免现有技术中被测介质的温度对流量检测结果产生的影响,提高了计量精度。As can be seen from the data in Table 1 and Table 2, when the ambient temperature is 20 ° C, the errors of the detection results obtained by using the prior art and the flow sensor of the present invention are all smaller, but when the ambient temperature is lower (for example, 0 °C) or higher (for example, 40 °C), the error of the detection result obtained by using the flow sensor of the present invention is significantly lower than the error of the detection result obtained by using the prior art. To further illustrate, the present invention can avoid the influence of the temperature of the measured medium on the flow detection result in the prior art, and improve the measurement accuracy.
表1Table 1
表2Table 2
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710004707.3A CN106840287B (en) | 2017-01-04 | 2017-01-04 | Flow sensor, flowmeter and flow detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710004707.3A CN106840287B (en) | 2017-01-04 | 2017-01-04 | Flow sensor, flowmeter and flow detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106840287A CN106840287A (en) | 2017-06-13 |
CN106840287B true CN106840287B (en) | 2020-02-11 |
Family
ID=59118611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710004707.3A Active CN106840287B (en) | 2017-01-04 | 2017-01-04 | Flow sensor, flowmeter and flow detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106840287B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108801379B (en) * | 2018-06-20 | 2020-06-02 | 北京无线电计量测试研究所 | Device and method for measuring hydrogen flow of hydrogen atom frequency standard |
JP7129746B2 (en) * | 2019-01-17 | 2022-09-02 | Koa株式会社 | Flow sensor device and flow sensor device with cover |
CN115468615B (en) * | 2022-09-01 | 2024-10-18 | 北京华丞电子有限公司 | Flow sensor, setting method and setting device thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5685194A (en) * | 1995-07-27 | 1997-11-11 | Delta M Corporation | Differential twin sensor system |
US5809827A (en) * | 1995-09-25 | 1998-09-22 | Smc Kabushiki Kaisha | Flow rate detector |
CN101897588A (en) * | 2009-05-27 | 2010-12-01 | 霍尼韦尔国际公司 | Multi-dynamic-range sensor |
CN103080703A (en) * | 2010-09-08 | 2013-05-01 | 日立汽车系统株式会社 | Gas flow rate measurement device |
CN204064363U (en) * | 2014-06-27 | 2014-12-31 | 天津大学 | A kind of sensor circuit for thermal type gas quality flow meter |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1255923A (en) * | 1985-12-23 | 1989-06-20 | Dimitri Petrov | Non-obstructive thermodynamic flow meter |
JP3753057B2 (en) * | 2001-12-04 | 2006-03-08 | 株式会社日立製作所 | Gas flow measuring device |
US6883370B2 (en) * | 2002-06-28 | 2005-04-26 | Heetronix | Mass flow meter with chip-type sensors |
CN105222843A (en) * | 2015-09-21 | 2016-01-06 | 天津大学 | A kind of thermal type gas quality flow meter based on tabilized current power supply |
CN106020311A (en) * | 2016-07-16 | 2016-10-12 | 江南大学 | 80mA high-precision constant current source circuit |
-
2017
- 2017-01-04 CN CN201710004707.3A patent/CN106840287B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5685194A (en) * | 1995-07-27 | 1997-11-11 | Delta M Corporation | Differential twin sensor system |
US5809827A (en) * | 1995-09-25 | 1998-09-22 | Smc Kabushiki Kaisha | Flow rate detector |
CN101897588A (en) * | 2009-05-27 | 2010-12-01 | 霍尼韦尔国际公司 | Multi-dynamic-range sensor |
CN103080703A (en) * | 2010-09-08 | 2013-05-01 | 日立汽车系统株式会社 | Gas flow rate measurement device |
CN204064363U (en) * | 2014-06-27 | 2014-12-31 | 天津大学 | A kind of sensor circuit for thermal type gas quality flow meter |
Also Published As
Publication number | Publication date |
---|---|
CN106840287A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114061684B (en) | Flow sensor flow calculation method based on environment temperature measurement compensation | |
CN104458121B (en) | Silicon pressure sensor temperature excursion compensating circuit and circuit establishing method | |
US8874387B2 (en) | Air flow measurement device and air flow correction method | |
US9255826B2 (en) | Temperature compensation module for a fluid flow transducer | |
CN108151919A (en) | A kind of pressure sensor temperature drift compensation circuit and compensation method | |
CN106840287B (en) | Flow sensor, flowmeter and flow detection method | |
WO2015034081A1 (en) | Thermal flow meter, temperature measurement device, and thermal flow meter program | |
CN111542760A (en) | System and method for correcting current value of shunt resistor | |
CN100472182C (en) | flow measuring device | |
AU2014202006B2 (en) | Flow sensor with improved linear output | |
CN103411699B (en) | A kind of high precision measuring temperature instrument | |
CN107907250A (en) | A kind of temperature-compensation method and device of silicon on sapphire pressure sensor | |
CN115468615B (en) | Flow sensor, setting method and setting device thereof | |
JP5680178B1 (en) | Flow sensor and control system for internal combustion engine | |
US20140137651A1 (en) | System and method for passively compensating pressure sensors | |
CN106802170B (en) | Flow sensor, mass flow conveying measure and control device and its temperature drift suppressing method | |
CN112857493B (en) | Lead resistance elimination circuit and thermal mass flowmeter | |
CN115265861A (en) | Pressure sensing circuit and pressure detection equipment with temperature compensation | |
CN109564139A (en) | Sensor device | |
JP2789272B2 (en) | Flow meter flow compensation method | |
JP2019066253A (en) | Flow rate measuring device | |
CN114442018B (en) | Temperature drift correction method and model construction method for current transformer | |
CN114019443B (en) | A temperature calibration method, device and system for electric energy meter | |
JP5062720B2 (en) | Flow detection device | |
JP2019109190A (en) | Flow detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230417 Address after: 300392 North 2-204 Industrial Incubator-5-1039, No. 18, Haitai West Road, Huayuan Industrial Zone, Binhai New Area, Tianjin Patentee after: Tianjin Xinzhi Perception Technology Co.,Ltd. Address before: 065001 B, South District, new Austrian Science and Technology Park, Huaxiang Road, Langfang economic and Technological Development Zone, Hebei Patentee before: ENN SCIENCE & TECHNOLOGY DEVELOPMENT Co.,Ltd. |