KR101288944B1 - Flow rate measuring algorithm of digital meter using MF sensor - Google Patents

Flow rate measuring algorithm of digital meter using MF sensor Download PDF

Info

Publication number
KR101288944B1
KR101288944B1 KR1020110088794A KR20110088794A KR101288944B1 KR 101288944 B1 KR101288944 B1 KR 101288944B1 KR 1020110088794 A KR1020110088794 A KR 1020110088794A KR 20110088794 A KR20110088794 A KR 20110088794A KR 101288944 B1 KR101288944 B1 KR 101288944B1
Authority
KR
South Korea
Prior art keywords
pulse signal
previous
sensor
current
signal
Prior art date
Application number
KR1020110088794A
Other languages
Korean (ko)
Other versions
KR20130025483A (en
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 KR1020110088794A priority Critical patent/KR101288944B1/en
Publication of KR20130025483A publication Critical patent/KR20130025483A/en
Application granted granted Critical
Publication of KR101288944B1 publication Critical patent/KR101288944B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/05Measuring 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 mechanical effects
    • G01F1/06Measuring 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 mechanical effects using rotating vanes with tangential admission
    • G01F1/075Measuring 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 mechanical effects using rotating vanes with tangential admission with magnetic or electromagnetic coupling to the indicating device
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F7/00Volume-flow measuring devices with two or more measuring ranges; Compound meters

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Measuring Volume Flow (AREA)

Abstract

본 발명은 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘에 관한 것으로써, 특히, 유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계와, 출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상차를 가져서, 기구적인 회전을 감소시켜서 기구적인 소음을 감소시키고, 하나의 센서를 통해 정역방향 회전을 감지하고, 채터링을 감지하고, 외부영향에 의해 자기장 변화를 감지하여 측정 정확도를 높이는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘에 관한 것이다.The present invention relates to a flow rate measurement algorithm of a digital meter using the MF sensor, in particular, the sensing step of outputting an analog signal by sensing a magnet moving in accordance with the flow of the fluid through the MF sensor, and the output analog signal to the digital signal And a converting step of converting the signal into an analog signal, wherein the analog signal includes a first output voltage and a second output voltage, and in the converting step, the digital signal includes a first pulse signal and a second pulse signal. The first output voltage and the second output voltage has a phase difference of 45 degrees, and the first pulse signal and the second pulse signal have a phase difference of 45 degrees, thereby reducing mechanical rotation, thereby reducing mechanical noise, and one sensor. MF detects forward and reverse rotation, chattering and magnetic field changes due to external influences to increase measurement accuracy. It relates to a flow rate measurement algorithm of the digital meter with the document.

Description

MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘{Flow rate measuring algorithm of digital meter using MF sensor}Flow rate measuring algorithm of digital meter using MF sensor

본 발명은 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘에 관한 것으로써, 특히, 유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계와, 출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가져서 상기 제1펄스신호와 상기 제2펄스신호도 45도의 위상차를 가지는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘에 관한 것이다.The present invention relates to a flow rate measurement algorithm of a digital meter using the MF sensor, in particular, the sensing step of outputting an analog signal by sensing a magnet moving in accordance with the flow of the fluid through the MF sensor, and the output analog signal to the digital signal And a converting step of converting the signal into an analog signal, wherein the analog signal includes a first output voltage and a second output voltage, and in the converting step, the digital signal includes a first pulse signal and a second pulse signal. The first output voltage and the second output voltage have a phase difference of 45 degrees, and the first pulse signal and the second pulse signal also relates to a flow rate measuring algorithm of a digital meter using an MF sensor having a phase difference of 45 degrees.

도 1은 종래 유량 감지 시스템의 개략적인 블럭 구성도이다.1 is a schematic block diagram of a conventional flow sensing system.

유량 감지 시스템은 유량 감지 장치(110), 디스플레이부(120), 중앙 처리 장치(130), 메모리(140), 배터리(150), 배터리 감시부(160) 및 통신부(170)를 포함한다.The flow rate sensing system includes a flow rate sensing unit 110, a display unit 120, a central processing unit 130, a memory 140, a battery 150, a battery monitoring unit 160, and a communication unit 170.

여기서, 유량 감지 장치(110)는 제 1 센서(112), 제 2 센서(114), 마그네틱부(116) 및 임펠러(118)로 구성된다. 공급관을 통하여 유체가 흐르기 시작하면 임펠러(118)가 회전을 한다. 임펠러(118)가 회전을 하기 시작하면 임펠러(118)와 같은 회전축에 연결되어 있는 마그네틱부(116)도 회전한다. 마그네틱부(116)가 회전함에 따라 제 1 센서(112) 및 제 2 센서(114)는 마그네틱부(116)의 극 변화를 감지하게 되고, 감지된 결과를 중앙 처리 장치(130)로 전송한다. 제2 센서(114)는 제 1 센서(112)와 함께 동작하여 유체가 흐르는 방향과 유량을 파악하는 용도로 사용 된다.Here, the flow rate sensing device 110 is composed of a first sensor 112, a second sensor 114, a magnetic portion 116 and an impeller 118. When the fluid starts to flow through the supply pipe, the impeller 118 rotates. When the impeller 118 starts to rotate, the magnetic part 116 connected to the same rotating shaft as the impeller 118 also rotates. As the magnetic unit 116 rotates, the first sensor 112 and the second sensor 114 detect a change in the polarity of the magnetic unit 116, and transmit the detected result to the central processing unit 130. The second sensor 114 works with the first sensor 112 to be used to determine the flow direction and flow rate of the fluid.

도 1에서의 예와 같이 좌에서 우로 유체가 흐르는 경우에는, 자성의 변화를 제 2 센서(114)가 먼저 감지하고 그 후에 제 1 센서(112)가 자성의 변화를 감지한다. 그리고 반대 방향으로 유체가 흐르는 경우에는, 제 1 센서(112)가 먼저 자성의 변화를 감지하게 되고 그 후에 제 2 센서(114)가 변화를 감지한다. 이와 같이, 제 1 센서(112)와 제 2 센서(114)중 어느 부분이 먼저 자성의 변화를 감지하는가에 따라서 유체가 흐르는 방향을 파악할 수 있다.When the fluid flows from left to right as in the example of FIG. 1, the second sensor 114 first detects the change in the magnetism, and then the first sensor 112 detects the change in the magnetism. In the case where the fluid flows in the opposite direction, the first sensor 112 first detects the change in the magnetic property, and then the second sensor 114 detects the change. As such, the direction in which the fluid flows may be determined according to which part of the first sensor 112 and the second sensor 114 first detects a change in magnetic property.

제 1 센서(112)와 제 2 센서(114)에 의해 유량 감지 장치(110)에서 유체의 방향과 자성의 변화 횟수가 측정되어 중앙처리 장치(130)로 전송되면, 중앙 처리 장치(130)는 이 신호들을 연산하여 유량의 값으로 환산을 한 후 디스플레이부(120)를 통하여 표시한다. 디스플레이부(120)는 유량뿐 아니라, 유속, 기기 상태 등 유량 감지 시스템의 정보를 운용자가 볼 수 있도록 표시한다.When the number of changes in the direction and the direction of the fluid is measured by the first sensor 112 and the second sensor 114 and transmitted to the central processing unit 130, the central processing unit 130 is These signals are calculated and converted into values of the flow rate and then displayed through the display unit 120. The display unit 120 displays not only the flow rate but also information of the flow rate detection system such as the flow rate and the device state so that the operator can view it.

제 1 및 제 2 센서(112, 114)는 주로 MR(Magneto-Resistive) 센서나 홀(Hall) 센서를 이용하는데, MR 센서는 자기저항 효과를 이용한 센서로서, 자계의 변화와 자성체의 유무를 전압의 변화로 검출할 수 있는 센서이고, 홀 센서는 홀효과(Hall Effect)에 따라 자기장에 의해 발생하는 홀 기전력을 이용하여 속도나 위치를 검출하는데 사용되는 센서이다.The first and second sensors 112 and 114 mainly use a magnetoresistive (MR) sensor or a hall (Hall) sensor, and the MR sensor is a sensor using a magnetoresistive effect. It is a sensor that can be detected by the change of, and the Hall sensor is a sensor used to detect the speed or position by using the Hall electromotive force generated by the magnetic field according to the Hall Effect.

메모리(140)는 유량 값, 유속, 방향 등의 유량 감지 시스템에서 필요로 하는 정보를 저장하는 기능을 수행한다.The memory 140 stores the information required by the flow rate sensing system such as the flow rate value, flow rate, and direction.

배터리(150)는 유량 감지 시스템에 필요한 전원을 공급하되 운용자가 자주 유지 보수하기 어려운 유량 감지 시스템의 특성상 한번 장착되면 최소 5년 이상의 수명을 가진다. 배터리 감시부(160)에서는 배터리(150)의 상태, 예컨대, 이상유무, 잔류 전압 등을 감시하여, 이를 중앙 처리 장치(130)로 알려준다.The battery 150 has a life span of at least 5 years when it is once installed because of the characteristics of the flow sensing system, which supplies power required for the flow sensing system but is difficult for the operator to maintain frequently. The battery monitoring unit 160 monitors the state of the battery 150, for example, abnormality, residual voltage, and the like, and informs the central processing unit 130 of this.

통신부(170)는 유무선망 또는 전화망(PSTN : Public Switched Telephone Network)에 연결되어 있어서, 검침 센터(미도시)로 계량 값 및 각종 유량 정보를 전송하는 기능을 수행한다.The communication unit 170 is connected to a wired / wireless network or a telephone network (PSTN), and performs a function of transmitting a weighing value and various flow rate information to a meter reading center (not shown).

도 2는 종래 유량 감지 장치의 마그네틱부(116)를 나타낸 도면이다.2 is a view showing the magnetic portion 116 of the conventional flow sensor.

마그네틱부(116)는 유량과 유체의 방향을 측정하기 위하여 임펠러(118)와 함께 회전하는 부분으로 회전축(230)과 이 회전축(230)을 기준으로 회전하는 N극(210)과 S극(220)을 가지는 자석으로 이루어진다. 임펠러(118)가 유체의 흐름에 따라 회전을 하면, 회전축(230)의 회전으로 인해 자석도 같이 회전을 한다. 이러한 종래의 유량 감지 장치는 N극과 S극 중 한쪽만을 감지하는 경우에 임펠러(118)의 회전을 1회전 단위로 감지할 수 있고, S극과 N극 모두를 감지하는 경우는 임펠러(118)의 회전을 1/2 회전 단위로 감지할 수 있다.The magnetic part 116 is a part which rotates together with the impeller 118 to measure the flow rate and the direction of the fluid, and the N pole 210 and the S pole 220 which rotate about the rotation axis 230 and the rotation axis 230. It is made of a magnet with. When the impeller 118 rotates as the fluid flows, the magnet also rotates due to the rotation of the rotating shaft 230. The conventional flow rate sensing device may detect the rotation of the impeller 118 in units of one rotation when detecting only one of the N pole and the S pole, and the impeller 118 when detecting both the S pole and the N pole. The rotation of can be detected in 1/2 rotation units.

따라서, 회전당 1/2 이상의 스테이트 변화를 검출하려면 센서를 추가로 구비해야 하는 문제점이 있다.Therefore, there is a problem in that a sensor must be additionally provided to detect a state change of more than 1/2 per revolution.

또한, 종래의 유량 감지 장치는 임펠러(118)의 회전방향을 감지하기 위해서는 센서를 두개를 구비하여야 하는 문제점이 있다.In addition, the conventional flow rate sensing device has a problem in that two sensors must be provided to detect the rotation direction of the impeller 118.

주기체적이 1.6m3이고 분해능이 200CC인 기존 방식의 디지털 가스미터에서, 하나의 MR SENSOR를 적용하면 마그네틱부(116)는 주기체적 당 8회전되어야 하여, 기구물의 회전에 의한 소음이 발생하게 된다.In the conventional digital gas meter having a periodic volume of 1.6 m 3 and a resolution of 200 CC, when one MR sensor is applied, the magnetic part 116 should be rotated 8 times per periodic volume, thereby generating noise due to rotation of the apparatus. .

기존 방식의 디지털 가스미터에 적용되는 MR SENSOR나 HALL IC의 경우, 출력 신호가 HIGH/LOW의 2 STATE 뿐이기 때문에 외부 자기장에 의해 STATE가 변화하더라도 이를 감지할 수 없어서 정상적으로 STATE가 변한 것으로 인식하여 적산유량 값이 증가하는 문제점이 있다.In case of MR SENSOR or HALL IC applied to the conventional digital gas meter, the output signal is only 2 STATE of HIGH / LOW, so even if the STATE is changed by the external magnetic field, it cannot be detected. There is a problem that the oil flow rate value increases.

또한, 기존 방식의 유량 감지 장치에 적용되는 MR SENSOR나 HALL IC의 경우 출력 신호가 HIGH/LOW의 2 STATE 뿐이기 때문에 원형 자석의 극성 경계 부분에 SENSOR가 위치할 때 SENSOR의 출력신호에 CHATTERING이 발생하거나 기구적인 진동으로 CHATTERING이 발생하면 이를 감지하지 못하고 정상적으로 STATE가 변한것으로 인식하여 적산유량 값이 증가하는 문제점이 있다.In addition, in case of MR SENSOR or HALL IC which is applied to the conventional flow sensing device, the output signal is only 2 STATE of HIGH / LOW, so when the sensor is located at the polar boundary of the circular magnet, there is a chattering on the output signal of the sensor. If there is a chattering caused by mechanical vibration or mechanical vibration, there is a problem that the accumulated flow value is increased because it is recognized as a normal state change.

대한민국공개특허공보 공개번호 제10-2005-0010449호Republic of Korea Patent Publication No. 10-2005-0010449

본 발명은 전술한 문제를 해결하기 위하여 안출된 것으로, 기구적인 회전을 감소시켜서 기구적인 소음을 감소시키고, 하나의 센서를 통해 정역방향 회전을 감지하고, 채터링을 감지하고, 외부영향에 의해 자기장 변화를 감지하여 측정 정확도를 높이는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘을 제공하는데 그 목적이 있다.The present invention has been made to solve the above-described problem, and by reducing the mechanical rotation to reduce the mechanical noise, to detect the forward and reverse rotation through one sensor, detect chattering, the magnetic field by external influence The purpose of the present invention is to provide a flow measurement algorithm of a digital meter using an MF sensor that detects a change and improves measurement accuracy.

전술한 목적을 달성하기 위한 본 발명의 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘은, 유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계와, 출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상차를 가지는 것을 특징으로 한다.Flow measuring algorithm of the digital meter using the MF sensor of the present invention for achieving the above object, the sensing step of outputting an analog signal by sensing a magnet moving in accordance with the flow of the MF sensor, and the output analog signal And converting the digital signal into a digital signal, wherein the analog signal includes a first output voltage and a second output voltage, and the digital signal includes a first pulse signal and a second pulse signal. The first output voltage and the second output voltage have a phase difference of 45 degrees, and the first pulse signal and the second pulse signal have a phase difference of 45 degrees.

상기 변환단계 이후에,
After the conversion step,

현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 다르면 외부로부터 영향을 받은 것으로 판단하는 제1판단단계를 포함하고,
A first judging step of determining that the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are different from each other;

제1판단단계에 해당하지 않고,Does not correspond to the first judging stage,

현재의 제1펄스신호 및 제 2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 같으면 자석이 회전하지 않은 것으로 판단하는 제2판단단계를 포함하고,
And a second judging step of determining that the magnet is not rotated when both the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same.

제1판단단계와 제2판단단계에 해당하지 않고It does not correspond to the first judgment step and the second judgment step

현재의 제1펄스신호 및 제2펄스신호와 이전전의 제1펄스신호 및 제2펄스신호가 모두 같으면 채터링이 발생한 것으로 판단하는 제3판단단계를 포함하고,
And a third judging step of determining that chattering has occurred when both the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same.

제1판단단계, 제2판단단계, 제3판단단계에 해당하지 않고,It does not correspond to the first judging step, the second judging step, or the third judging step,

현재의 제1펄스신호와 이전의 제1펄스신호가 같고 현재의 제2펄스신호와 이전의 제2펄스신호가 다른 경우,When the current first pulse signal and the previous first pulse signal are the same and the current second pulse signal and the previous second pulse signal are different,

이전의 제1펄스신호와 제2펄스신호가 같으면 정방향 회전으로 판단하고, 이전의 제1펄스신호와 제2펄스신호가 다르면 역방향 회전으로 판단하는 제4판단단계를 포함하고,
And determining a forward rotation when the previous first pulse signal and the second pulse signal are the same, and determining the reverse rotation when the previous first pulse signal and the second pulse signal are different from each other.

제1판단단계, 제2판단단계, 제3판단단계, 제4판단단계에 해당하지 않고,It does not correspond to the first judging step, the second judging step, the third judging step, the fourth judging step,

현재의 제1펄스신호와 이전의 제1펄스신호가 다르고 현재의 제2펄스신호와 이전의 제2펄스신호가 같은 경우,When the current first pulse signal and the previous first pulse signal are different and the current second pulse signal and the previous second pulse signal are the same,

이전의 제1펄스신호와 제2펄스신호가 같으면 역방향 회전으로 판단하고, 이전의 제1펄스신호와 제2펄스신호가 다르면 정방향 회전으로 판단하는 제5판단단계를 포함한다.And determining a reverse rotation when the previous first pulse signal and the second pulse signal are the same, and determining the forward rotation when the previous first pulse signal and the second pulse signal are different from each other.

이상에서 설명한 바와 같은 본 발명의 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘에 따르면, 다음과 같은 효과가 있다.According to the flow measurement algorithm of the digital meter using the MF sensor of the present invention as described above, has the following effects.

유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계와, 출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상차를 가져서, 상기 변환단계에서 상기 디지털 신호는 자석의 1회전당 8회의 스테이트 변화를 가져서 기구적인 회전을 1/8로 줄이고, 기구물의 회전에 의한 소음을 감소시킬 수 있다.A sensing step of sensing a magnet moving in accordance with the flow of the fluid through the MF sensor and outputting an analog signal, and converting the output analog signal into a digital signal, wherein the analog signal is a first output voltage. And a second output voltage, wherein, in the converting step, the digital signal includes a first pulse signal and a second pulse signal, and the first output voltage and the second output voltage have a phase difference of 45 degrees. The pulse signal and the second pulse signal also have a phase difference of 45 degrees, and in the converting step, the digital signal has eight state changes per one revolution of the magnet, thereby reducing mechanical rotation to one eighth and reducing noise caused by the rotation of the object. Can be reduced.

상기 변환단계 이후에,After the conversion step,

현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 다르면 외부로부터 영향을 받은 것으로 판단하여(제1판단단계), 외부영향에 의한 자기장 변화를 감지하여 측정 정확도를 높일 수 있다.
If both the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are different from each other, it is determined that the external influence is effected (first determination step). Measurement accuracy can be increased.

제1판단단계에 해당하지 않고,Does not correspond to the first judging stage,

현재의 제1펄스신호 및 제 2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 같으면 자석이 회전하지 않은 것으로 판단(제2판단단계)할 수 있다.
If both the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same, it may be determined that the magnet is not rotated (second determination step).

제1판단단계와 제2판단단계에 해당하지 않고It does not correspond to the first judgment step and the second judgment step

현재의 제1펄스신호 및 제2펄스신호와 이전전의 제1펄스신호 및 제2펄스신호가 모두 같으면 채터링이 발생한 것으로 판단하여(제3판단단계), 채터링 발생을 감지하여 측정 정확도를 높일 수 있다.
If both the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same, it is determined that chattering has occurred (third decision step), and the occurrence of chattering is detected to improve measurement accuracy. Can be.

제1판단단계, 제2판단단계, 제3판단단계에 해당하지 않고,It does not correspond to the first judging step, the second judging step, or the third judging step,

현재의 제1펄스신호와 이전의 제1펄스신호가 같고 현재의 제2펄스신호와 이전의 제2펄스신호가 다른 경우,When the current first pulse signal and the previous first pulse signal are the same and the current second pulse signal and the previous second pulse signal are different,

이전의 제1펄스신호와 제2펄스신호가 같으면 정방향 회전으로 판단하고, 이전의 제1펄스신호와 제2펄스신호가 다르면 역방향 회전으로 판단하여(제4판단단계), 자석의 정방향과 역방향의 회전을 감지할 수 있다.
If the previous first pulse signal and the second pulse signal are the same, it is determined to be a forward rotation, and if the previous first pulse signal and the second pulse signal are different, it is determined to be reverse rotation (fourth judging step). Rotation can be detected.

제1판단단계, 제2판단단계, 제3판단단계, 제4판단단계에 해당하지 않고,It does not correspond to the first judging step, the second judging step, the third judging step, the fourth judging step,

현재의 제1펄스신호와 이전의 제1펄스신호가 다르고 현재의 제2펄스신호와 이전의 제2펄스신호가 같은 경우,When the current first pulse signal and the previous first pulse signal are different and the current second pulse signal and the previous second pulse signal are the same,

이전의 제1펄스신호와 제2펄스신호가 같으면 역방향 회전으로 판단하고, 이전의 제1펄스신호와 제2펄스신호가 다르면 정방향 회전으로 판단하여(제5판단단계), 자석의 정방향과 역방향의 회전을 감지할 수 있다.If the previous first pulse signal and the second pulse signal are the same, it is determined as reverse rotation. If the previous first pulse signal and the second pulse signal are different, it is determined as forward rotation (fifth judging step). Rotation can be detected.

도 1은 종래의 유량 감지 시스템의 개략적인 블럭 구성도
도 2는 종래 유량 감지 장치의 마그네틱부를 나타낸 도면.
도 3은 본 발명의 바람직한 실시예에 따른 MF센서를 이용한 디지털 계량기의 아날로그신호와 변환된 디지털 신호.
도 4는 본 발명의 바람직한 실시예에 따른 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
1 is a schematic block diagram of a conventional flow detection system
2 is a view illustrating a magnetic part of a conventional flow sensing device.
3 is an analog signal and a converted digital signal of the digital meter using the MF sensor according to an embodiment of the present invention.
Figure 4 is a flow rate measurement algorithm of the digital meter using the MF sensor in accordance with a preferred embodiment of the present invention.

이하, 본 발명의 바람직한 일실시예를 첨부도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

참고적으로, 이하에서 설명될 본 발명의 구성들 중 종래기술과 동일한 구성에 대해서는 전술한 종래기술을 참조하기로 하고 별도의 상세한 설명은 생략한다.For reference, the same components as those of the conventional art will be described with reference to the above-described prior art, and a detailed description thereof will be omitted.

본 발명은 디지털 수도미터, 디지털 온수미터, 디지털 가스미터 등 기구적인 회전 운동을 감지(Sensing)하여 유량을 측정하는 계량기에 있어서 정/역 회전을 감지하고 측정 정확도를 높이기 위한 알고리즘이다.The present invention is an algorithm for detecting forward / reverse rotation and increasing measurement accuracy in a meter for measuring flow rate by sensing mechanical rotational motion such as a digital water meter, a digital hot water meter, and a digital gas meter.

이후 실시예는 디지털 가스미터를 예로 하며, 다른 디지털 계량기에 동일하게 적용된다.The following embodiment takes a digital gas meter as an example and applies equally to other digital meters.

도 3 및 도 4에 도시된 바와 같이, 본 실시예의 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘은, 유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계와, 출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상 차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상 차를 가진다.3 and 4, the flow rate measurement algorithm of the digital meter using the MF sensor of the present embodiment, the sensing step of outputting an analog signal by detecting a magnet moving in accordance with the flow of the fluid through the MF sensor, and the output Converting the converted analog signal into a digital signal, wherein the analog signal includes a first output voltage and a second output voltage, and in the converting step, the digital signal includes a first pulse signal and a second pulse. And a pulse signal, wherein the first output voltage and the second output voltage have a phase difference of 45 degrees such that the first pulse signal and the second pulse signal have a phase difference of 45 degrees.

상기 감지단계에서는 유체의 흐름에 따라 움직이는 자석을 MF센서(magnetic field sensor)를 통해 감지하여 아날로그 신호를 출력한다. 상기 자석은 영구자석이 될 수 있다.In the sensing step, an analog signal is output by detecting a magnet moving in accordance with the flow of the fluid through a magnetic field sensor. The magnet may be a permanent magnet.

도 3에 도시된 바와 같이, 상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가진다. 이와 같이 센서와 필드 방향 사이의 각도가 a인 경우 45도의 위상차를 갖는 cos(2a) 및 sin(2a) 형태의 아날로그 신호를 발생시키는 MF센서는 본 기술분야에서는 잘 알려지지 않은 기술이지만 기존에 공지된 센서기술이므로 이에 대한 설명은 생략하기로 한다. 예를 들어 이러한 MF센서는 필립스가 2009년에 발행한 카달로그(제품번호 KMZ43T) 등에 나타나 있다.(www.nxp.com 참조)As shown in FIG. 3, in the sensing step, the analog signal includes a first output voltage and a second output voltage, and the first output voltage and the second output voltage have a phase difference of 45 degrees. As described above, the MF sensor generating the cos (2a) and sin (2a) analog signals having a phase difference of 45 degrees when the angle between the sensor and the field direction is a is not well known in the art, but is known in the art. Since the sensor technology, a description thereof will be omitted. For example, these MFP sensors appear in a catalog published by Philips in 2009 (product number KMZ43T) (see www.nxp.com).

상기 변환단계는 비교기를 이용하여 출력된 제1 및 제2 아날로그신호를 디지털 신호로 바꾼다. 즉, 도3에 도시된 바와 같이 사인파 형태의 아날로그 신호를 일정 값 이상인 경우 1, 일정 값 이하인 경우 0과 같이 제1 및 제2 디지털 신호로 바꿀 수 있다.The converting step converts the first and second analog signals output using the comparator into digital signals. That is, as shown in FIG. 3, the sinusoidal analog signal may be replaced with the first and second digital signals as 1 when the value is greater than or equal to a certain value and 0 when the value is less than or equal to the predetermined value.

상기 변환단계에서 상기 디지털 신호는 상기 제1출력전압이 변환된 제1펄스신호와 상기 제2출력전압이 변환된 제2펄스신호를 가진다. In the converting step, the digital signal has a first pulse signal converted from the first output voltage and a second pulse signal converted from the second output voltage.

상기 제1출력전압과 상기 제2출력전압은 45도의 위상 차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상 차를 가진다.The first output voltage and the second output voltage have a phase difference of 45 degrees, so that the first pulse signal and the second pulse signal have a phase difference of 45 degrees.

상기 제1펄스신호와 상기 제2펄스신호는 아래 <표1>에 나타나 있는 것과 같다. 이하의 표에서 상기 제1펄스신호는 VOUT1이며, 상기 제2펄스신호는 VOUT2이다.The first pulse signal and the second pulse signal are as shown in Table 1 below. In the following table, the first pulse signal is VOUT1 and the second pulse signal is VOUT2.

<표1><Table 1>

Figure 112011068662970-pat00001
Figure 112011068662970-pat00001

이로 인해, 본 발명은 <표1>과 같이 자석의 회전에 따라 규칙적인 스테이트 변화를 확인할 수 있고, 자석의 1회전당 8번의 스테이트 변화를 확인할 수 있다. 또한, <표2>와 같이 상기 제1펄스신호와 상기 제2펄스신호는 번갈아 값이 변한다.For this reason, the present invention can check the regular state change according to the rotation of the magnet, as shown in Table 1, it can be confirmed 8 state changes per rotation of the magnet. In addition, as shown in Table 2, the first pulse signal and the second pulse signal are alternately changed in value.

<표2><Table 2>

Figure 112011068662970-pat00002
Figure 112011068662970-pat00002

이와 같이, 본원발명은 1회전당 8회의 스테이트 변화를 이용할 수 있으므로 자석의 회전 속도를 기존의 디지털 가스미터에 비해 1/8로 줄일 수 있고 이에따라 기구물의 회전에 의한 소음을 감소시킬 수 있다.As such, the present invention can use 8 state changes per revolution, so that the rotational speed of the magnet can be reduced to 1/8 compared to the conventional digital gas meter, thereby reducing the noise caused by the rotation of the apparatus.

상기 변환단계 이후에, 현재 센서를 통해 감지된(이하 '현재의'라고 함)(PO0) 제1펄스신호 및 제2펄스신호와 이전에 센서를 통해 감지된(이하 '이전의'라고 함)(PO1) 제1펄스신호 및 제2펄스신호가 모두 다른지 여부를 판단하는 제1판단단계(S3)를 포함한다.After the conversion step, the first pulse signal and the second pulse signal detected by the current sensor (hereinafter referred to as 'now') (hereinafter referred to as 'previous') and previously detected by the sensor (hereinafter referred to as 'previous') (PO1) A first determination step S3 of determining whether the first pulse signal and the second pulse signal are different.

현재(PO0)의 제1펄스신호 및 제2펄스신호와 이전(PO1)의 제1펄스신호 및 제2펄스신호가 모두 다르면 외부에 영향을 받은 것으로 판단한다.If the first pulse signal and the second pulse signal of the current (PO0) and the first pulse signal and the second pulse signal of the previous (PO1) are all different, it is determined that the external influence.

<표3><Table 3>

Figure 112011068662970-pat00003
Figure 112011068662970-pat00003

<표3>에서 보이는 바와 같이, 자석의 회전이 빨라 MF센서가 자석의 회전을 감지(READ)하지 못하는 슬립이 발생하거나, 외부의 자기장이 MF센서에 영향을 미치게 되면 현재(PO0)의 제1펄스신호와 제2펄스신호가 이전(PO1)의 제1펄스신호와 제2펄스신호와 모두 달라진다.As shown in Table 3, when the magnet rotates quickly and the MFF sensor does not detect the rotation of the magnet, a slip occurs or when an external magnetic field affects the MFF sensor. The pulse signal and the second pulse signal are different from both the first and second pulse signals of the previous PO1.

한편, 디지털 가스미터(디지털 계량기)에서 MF센서를 감지(READ)하는 샘플링 레이트(SAMPLING RATE) 설정은 자석의 회전 속도를 고려하여 설정되므로 슬립이 일어나는 경우는 없다. On the other hand, the sampling rate (SAMPLING RATE) setting for detecting the MF sensor in the digital gas meter (digital meter) is set in consideration of the rotational speed of the magnet so that no slip occurs.

따라서 상기 제1판단단계(S3)에서 현재(PO0)와 이전(PO1)의 제1펄스신호와 제2펄스신호가 모두 다르게 되는 경우는 외부의 자기장에 영향을 받은 것으로 판단하고 유량 값을 적산하지 않는다.Therefore, when the first pulse signal and the second pulse signal of the current (PO0) and the previous (PO1) are different in the first determination step (S3), it is determined that the external magnetic field is affected and does not add up the flow rate value. Do not.

나아가, 이후에, 현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 같은지 판단하는 제2판단단계(S7)를 포함한다.Further, thereafter, a second determination step S7 of determining whether the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same.

현재(PO0)의 제1펄스신호 및 제2펄스신호와 이전(PO1)의 제1펄스신호 및 제2펄스신호가 모두 같으면 자석이 회전하지 않은 것으로 판단한다.If the first pulse signal and the second pulse signal of the current PO0 and the first pulse signal and the second pulse signal of the previous PO1 are the same, it is determined that the magnet does not rotate.

현재(PO0)의 제1펄스신호 및 제2펄스신호와 이전(PO1)의 제1펄스신호 및 제2펄스신호가 모두 같지도 않고 모두 다르지도 않으면, 다음에, 현재(PO0)의 제1펄스신호 및 제2펄스신호와 이전전(PO2)의 제1펄스신호 및 제2펄스신호가 모두 같은지 여부를 판단하는 제3판단단계(S11)를 포함하고, <표4>와 같이 현재(PO0)의 제1펄스신호 및 제2펄스신호와 이전전(PO2)의 제1펄스신호 및 제2펄스신호가 모두 같으면 채터링이 발생한 것으로 판단한다.If neither the first pulse signal nor the second pulse signal of the current PO0 and the first pulse signal and the second pulse signal of the previous PO1 are the same or different from each other, then the first pulse signal of the current PO0 is next. And a third determination step S11 of determining whether the second pulse signal, the first pulse signal before the previous PO2 and the second pulse signal are the same, and as shown in Table 4, If both the first pulse signal and the second pulse signal and the first pulse signal and the second pulse signal before the previous PO2 are the same, it is determined that chattering has occurred.

이와 같이 채터링을 감지하여 측정정확도를 더욱 높일 수 있다.In this way, chattering can be detected to further increase measurement accuracy.

<표4><Table 4>

Figure 112011068662970-pat00004
Figure 112011068662970-pat00004

상기 채터링은 상기 자석의 기구적인 진동으로 발생하거나, 상기 자석의 극경계 부분에서 발생한다.The chattering may be caused by mechanical vibration of the magnet or may occur at an extreme boundary portion of the magnet.

이로 인해, 상기 채터링이 발생하면 상기 자석은 정방향 회전과 역방향 회전이 반복되게 된다.For this reason, when the chattering occurs, the magnet rotates forward and backward.

따라서, 상기 채터링이 발생했을 경우에는 현재(PO0)와 이전전(PO2)의 제1펄스신호와 제2펄스신호가 모두 동일하게 된다.Therefore, when the chattering occurs, both the first and second pulse signals of the current PO0 and the previous PO2 become the same.

이로 인해, 상기 제1펄스신호와 상기 제2펄스신호의 현재(PO0)와 이전전(PO2)의 값을 비교하여, 모두 같은 값이면 채터링으로 판단할 수 있다. 이와 같이 채터링으로 판단되면 유량 값을 적산하지 않아서, 유량이 정확하게 측정될 수 있다.For this reason, by comparing the values of the current (PO0) and the previous (PO2) of the first pulse signal and the second pulse signal, it can be determined that chattering if all values are the same. When it is determined as chattering as described above, the flow rate value is not integrated, so that the flow rate can be accurately measured.

나아가, 외부 영향을 감지하거나, 채터링을 상기와 같이 감지하면 사용자에게 알려서 에러가 발생했음을 사용자가 바로 알 수 있도록 할 수 있다. Furthermore, when the external influence is detected or the chattering is detected as described above, the user may be notified so that the user may immediately know that an error has occurred.

상기와 같은 채터링이나 외부 자기장의 영향이 없는 경우에는 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 다르거나, 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 달라야 한다.If there is no influence of the above chattering or external magnetic field, the first pulse signal of current (PO0) and the first pulse signal of previous (PO1) are different, or the second pulse signal of current (PO0) and the previous (PO1) The second pulse signal of) must be different.

현재(PO0)의 제1펄스신호가 이전(PO1)의 제1펄스신호와 같고, 현재(PO0)의 제 2펄스신호가 이전(PO1)의 제2펄스신호와 다른 경우, 이전(PO1)의 제1펄스신호 와 제2펄스신호가 같으면 정회전으로 판단하고, 이전(PO2)의 제1펄스신호 와 제2펄스신호가 같지 않으면 역회전으로 판단한다.If the first pulse signal of the current PO0 is the same as the first pulse signal of the previous PO1 and the second pulse signal of the current PO0 is different from the second pulse signal of the previous PO1, the previous (PO1) If the first pulse signal and the second pulse signal are the same, it is determined as forward rotation, and if the first and second pulse signals of previous (PO2) are not equal, it is determined as reverse rotation.

현재(PO0)의 제1펄스신호가 이전(PO1)의 제1펄스신호와 다르고, 현재(PO0)의 제 2펄스신호가 이전(PO1)의 제2펄스신호와 같은 경우, 이전(PO1)의 제1펄스신호 와 제2펄스신호가 같으면 역회전으로 판단하고, 이전(PO2)의 제1펄스신호 와 제2펄스신호가 같지 않으면 정회전으로 판단한다.If the first pulse signal of the current PO0 is different from the first pulse signal of the previous PO1 and the second pulse signal of the current PO0 is the same as the second pulse signal of the previous PO1, the previous (PO1) If the first pulse signal and the second pulse signal are the same, it is determined as reverse rotation, and if the first pulse signal and the second pulse signal are not equal to the previous (PO2), it is determined as forward rotation.

<표5><Table 5>

Figure 112011068662970-pat00005
Figure 112011068662970-pat00005

<표6><Table 6>

Figure 112011068662970-pat00006
Figure 112011068662970-pat00006

<표5>는 정방향으로 회전할 때의 제1펄스신호와 제2펄스신호의 흐름을 나타내고, <표6>은 역방향으로 회전할 때의 제1펄스신호와 제2펄스신호의 흐름을 나타낸다.Table 5 shows the flow of the first pulse signal and the second pulse signal when rotating in the forward direction, and Table 6 shows the flow of the first pulse signal and the second pulse signal when rotating in the reverse direction.

<표5>에 나타난 바와 같이, 정방향 회전에서 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 다르고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 같을 때, 이전(PO1)의 제1펄스신호와 제2펄스신호가 다르고, 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 같고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 다를 때, 이전(PO1)의 제1펄스신호와 제2펄스신호가 같다.
As shown in Table 5, in the forward rotation, the first pulse signal of the current PO0 and the first pulse signal of the previous PO1 are different, and the second pulse signal of the current PO0 and the second of the previous PO1 are different. When the pulse signal is the same, the first pulse signal of the previous (PO1) and the second pulse signal are different, and the first pulse signal of the current (PO0) and the first pulse signal of the previous (PO1) are the same and the current of the current (PO0) When the two pulse signal is different from the second pulse signal of the previous PO1, the first pulse signal and the second pulse signal of the previous PO1 are the same.

<표6>에 나타난 바와 같이, 역방향 회전에서, 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 다르고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 같을 때, 이전(PO1)의 제1펄스신호와 제2펄스신호가 같고, 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 같고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 다를 때, 이전(PO1)의 제1펄스신호와 제2펄스신호가 다르다.
As shown in Table 6, in the reverse rotation, the first pulse signal of the current PO0 is different from the first pulse signal of the previous PO1, and the second pulse signal of the current PO0 and the first of the previous PO1 are different. When the two pulse signals are the same, the first pulse signal of the previous (PO1) and the second pulse signal are the same, the first pulse signal of the current (PO0) and the first pulse signal of the previous (PO1) are the same and the current (PO0) When the second pulse signal is different from the second pulse signal of the previous PO1, the first pulse signal and the second pulse signal of the previous PO1 are different.

따라서, 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 같고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 다른지 여부를 판단하고(S15), 현재(PO0)의 제1펄스신호와 이전의 제1펄스신호가 같고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 다르면, 이전(PO1)의 제1펄스신호와 제2펄스신호가 같은지 여부를 판단한다.(S17) 같으면 정방향회전으로 판단하고(S19), 같지 않으면 역방향 회전으로 판단할 수 있다.(S21)Accordingly, it is determined whether the first pulse signal of the current PO0 is the same as the first pulse signal of the previous PO1 and the second pulse signal of the current PO0 is different from the second pulse signal of the previous PO1 (S15). ), If the first pulse signal of the current PO0 and the previous first pulse signal are the same and the second pulse signal of the current PO0 and the second pulse signal of the previous PO1 are different, the first pulse of the previous PO1 is different. It is determined whether the signal and the second pulse signal are the same (S17). If it is equal, it is determined as forward rotation (S19), and if not, it can be determined as reverse rotation. (S21)

또한, 현재(PO0)의 제1펄스신호와 이전(PO1)의 제1펄스신호가 다르고 현재(PO0)의 제2펄스신호와 이전(PO1)의 제2펄스신호가 같으면, 이전(PO1)의 제1펄스신호와 제2펄스신호가 같은지 여부를 판단한다.(S23) 같으면 역방향회전으로 판단하고, 같지 않으면 정방향 회전으로 판단할 수 있다.Further, if the first pulse signal of the current PO0 and the first pulse signal of the previous PO1 are different and the second pulse signal of the current PO0 and the second pulse signal of the previous PO1 are the same, the previous (PO1) It is determined whether the first pulse signal and the second pulse signal are the same (S23). If it is the same, it can be determined as the reverse rotation, and if not, it can be determined as the forward rotation.

이와 같이 유체의 흐름이 정방향으로 흐르고 있는 것으로 감지되면 분해능에 따른 적산 단위유량을 적산한다.In this way, if it is detected that the flow of fluid flows in the forward direction, the integrated unit flow rate is integrated according to the resolution.

또한, 유체의 흐름이 반대방향으로 흐르고 있는 것으로 감지되면 분해능에 따른 적산 단위유량을 감산할 수 있다.In addition, if it is detected that the fluid flows in the opposite direction, the integrated unit flow rate may be subtracted according to the resolution.

이로 인해 본 발명은 단순한 구성으로 단위유량을 정확하게 측정할 수 있게 된다.This allows the present invention to accurately measure the unit flow rate with a simple configuration.

상술한 바와 같이, 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당기술분야의 당업자는 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 또는 변형하여 실시할 수 있다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims .

** 도면의 주요 부분에 대한 부호의 설명 **DESCRIPTION OF REFERENCE NUMERALS

Claims (6)

유체의 흐름에 따라 움직이는 자석을 MF센서를 통해 감지하여 아날로그 신호를 출력하는 감지단계;
출력된 아날로그신호를 디지털 신호로 바꾸는 변환단계를 포함하며,
상기 감지단계에서 상기 아날로그 신호는 제1출력전압과 제2출력전압을 포함하며,
상기 변환단계에서 상기 디지털 신호는 제1펄스신호와 제2펄스신호를 포함하며, 상기 제1출력전압과 상기 제2출력전압은 45도의 위상차를 가져서 상기 제1펄스신호와 제2펄스신호도 45도의 위상차를 가져서,
상기 MF센서는 상기 MF센서와 필드 방향 사이의 각도가 a인 경우 45도의 위상차를 갖는 cos(2a) 및 sin(2a) 형태의 아날로그 신호를 발생시키는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
Detecting a magnet moving in accordance with the flow of the fluid through the MF sensor to output an analog signal;
Converting the output analog signal into a digital signal;
In the sensing step, the analog signal includes a first output voltage and a second output voltage,
In the converting step, the digital signal includes a first pulse signal and a second pulse signal, and the first output voltage and the second output voltage have a phase difference of 45 degrees so that the first pulse signal and the second pulse signal are also 45 degrees. Has a phase difference of degrees,
The MF sensor generates a flow rate of the digital meter using the MF sensor, characterized in that for generating an analog signal in the form of c (2a) and cini (2a) having a phase difference of 45 degrees when the angle between the MF sensor and the field direction is a Measurement algorithm.
제 1항에 있어서,
상기 변환단계 이후에,
현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 다른지 여부를 판단하는 제1판단단계를 포함하고, 현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 다르면 외부에 영향을 받은 것으로 판단하는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
The method of claim 1,
After the conversion step,
And a first judging step of determining whether the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are different from each other, and the current first pulse signal and the second pulse signal The flow rate measurement algorithm of the digital meter using the MF sensor, characterized in that if the previous first pulse signal and the second pulse signal is different, it is determined that the external influence.
제 1항 또는 제 2항에 있어서,
상기 변환단계 이후에,
현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 같은지 여부를 판단하는 제2판단단계를 포함하고, 현재의 제1펄스신호 및 제2펄스신호와 이전의 제1펄스신호 및 제2펄스신호가 모두 같으면 상기 자석의 회전이 없는 것으로 판단하는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
3. The method according to claim 1 or 2,
After the conversion step,
And a second judging step of judging whether the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same, and including the current first pulse signal and the second pulse signal. And if the previous first pulse signal and the second pulse signal are the same, it is determined that there is no rotation of the magnet.
제 1항 또는 제 2항에 있어서,
상기 변환단계 이후에,
현재의 제1펄스신호 및 제2펄스신호와 이전전의 제1펄스신호 및 제2펄스신호가 모두 같은지 여부를 판단하는 제3판단단계를 포함하고, 현재의 제1펄스신호 및 제2펄스신호와 이전전의 제1펄스신호 및 제2펄스신호가 모두 같으면 채터링이 발생한 것으로 판단하는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
3. The method according to claim 1 or 2,
After the conversion step,
And a third judging step of determining whether the current first pulse signal and the second pulse signal and the previous first pulse signal and the second pulse signal are the same, and the current first pulse signal and the second pulse signal The flow rate measurement algorithm of the digital meter using the MF sensor, characterized in that it is determined that the chattering occurs if the first pulse signal and the second pulse signal before the same.
제 1항 또는 제 2항에 있어서,
상기 변환단계 이후에,
현재의 제1펄스신호와 이전의 제1펄스신호가 같고 현재의 제2펄스신호와 이전의 제2펄스신호가 다르고, 이전의 제1펄스신호와 제2펄스신호가 같은지 여부를 판단하는 제4판단단계를 포함하고, 현재의 제1펄스신호와 이전의 제1펄스신호가 같고 현재의 제2펄스신호와 이전의 제2펄스신호가 다르고, 이전의 제1펄스신호와 제2펄스신호가 같으면 정회전으로 판단하고 이전의 제1펄스신호와 제2펄스신호가 다르면 역회전으로 판단하는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
3. The method according to claim 1 or 2,
After the conversion step,
A fourth that determines whether the current first pulse signal is the same as the previous first pulse signal, the current second pulse signal is different from the previous second pulse signal, and whether the previous first pulse signal and the second pulse signal are the same. And including the determining step, wherein the current first pulse signal and the previous first pulse signal are the same, the current second pulse signal and the previous second pulse signal are different, and the previous first pulse signal and the second pulse signal are the same. The flow rate measurement algorithm of the digital meter using the MF sensor, characterized in that the forward rotation and the first pulse signal and the second pulse signal is different from the previous rotation.
제 1항 또는 제 2항에 있어서,
상기 변환단계 이후에,
현재의 제1펄스신호와 이전의 제1펄스신호가 다르고 현재의 제2펄스신호와 이전의 제2펄스신호가 같고, 이전의 제1펄스신호와 제2펄스신호가 같은지 여부를 판단하는 제5판단단계를 포함하고, 현재의 제1펄스신호와 이전의 제1펄스신호가 다르고 현재의 제2펄스신호와 이전의 제2펄스신호가 같고, 이전의 제1펄스신호와 제2펄스신호가 같으면 역회전으로 판단하고 이전의 제1펄스신호와 제2펄스신호가 다르면 정회전으로 판단하는 것을 특징으로 하는 MF센서를 이용한 디지털 계량기의 유량 측정 알고리즘.
3. The method according to claim 1 or 2,
After the conversion step,
A fifth that determines whether the current first pulse signal is different from the previous first pulse signal, the current second pulse signal is the same as the previous second pulse signal, and whether the previous first pulse signal and the second pulse signal are the same; And a determination step, wherein the current first pulse signal and the previous first pulse signal are different, the current second pulse signal and the previous second pulse signal are the same, and the previous first pulse signal and the second pulse signal are the same. The flow rate measurement algorithm of the digital meter using the MF sensor, characterized in that it is determined by the reverse rotation and the forward pulse if the previous first pulse signal and the second pulse signal is different.
KR1020110088794A 2011-09-02 2011-09-02 Flow rate measuring algorithm of digital meter using MF sensor KR101288944B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110088794A KR101288944B1 (en) 2011-09-02 2011-09-02 Flow rate measuring algorithm of digital meter using MF sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110088794A KR101288944B1 (en) 2011-09-02 2011-09-02 Flow rate measuring algorithm of digital meter using MF sensor

Publications (2)

Publication Number Publication Date
KR20130025483A KR20130025483A (en) 2013-03-12
KR101288944B1 true KR101288944B1 (en) 2013-07-23

Family

ID=48177100

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110088794A KR101288944B1 (en) 2011-09-02 2011-09-02 Flow rate measuring algorithm of digital meter using MF sensor

Country Status (1)

Country Link
KR (1) KR101288944B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020078111A (en) * 2001-04-04 2002-10-18 주식회사 림스코 Implement attitude control system
KR20050010449A (en) * 2003-07-21 2005-01-27 (주)제노텔 Low Power-Consuming Flow Sensing System
KR20070080661A (en) * 2006-02-08 2007-08-13 주식회사 이에스텍 Sensor for inverse rotation of the electronic water mater

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020078111A (en) * 2001-04-04 2002-10-18 주식회사 림스코 Implement attitude control system
KR20050010449A (en) * 2003-07-21 2005-01-27 (주)제노텔 Low Power-Consuming Flow Sensing System
KR20070080661A (en) * 2006-02-08 2007-08-13 주식회사 이에스텍 Sensor for inverse rotation of the electronic water mater

Also Published As

Publication number Publication date
KR20130025483A (en) 2013-03-12

Similar Documents

Publication Publication Date Title
US9013179B2 (en) Angle detecting device
US8265897B2 (en) Rotation angle detector and process for detecting rotation angle
CN105136215A (en) Device and method for measuring fluid direction
NO342653B1 (en) Fluid flow sensor
CN104011991B (en) For the method for the absolute position for determining linear actuator
CN109115293A (en) A kind of electronic counting-type water meter
JP5817992B2 (en) Flow meter, control program for flow meter, and control method for flow meter
KR101288944B1 (en) Flow rate measuring algorithm of digital meter using MF sensor
KR101638856B1 (en) Security devices for digital water meter
JP6619974B2 (en) Encoder
JP2003315181A (en) Measured value detector and torque detector
EP3783319B1 (en) Flow meter
JP4488344B2 (en) Water meter
CN114199318A (en) Gas volume measuring and calculating method, device and storage medium
CN109357639B (en) Photoelectric angle sensing device and method for measuring multi-turn angle by using same
CN110207769B (en) Coil induction type water meter capable of detecting and correcting data error
KR100676715B1 (en) An electronic pressure
JP2012127750A (en) Meter system and flowmeter
JP2020153980A (en) System for determining at least one rotation parameter of rotating member
JP2016156790A (en) Paddlewheel flowmeter and detecting method thereof
JP2015165217A (en) Rotation detection device
JP6031170B1 (en) Flow rate measurement method
CN214951545U (en) Single-flow water meter with state detection function
JP7538947B2 (en) System and method for detecting magnetic turn counter errors using redundancy - Patents.com
CN110332964B (en) Coil induction type water meter capable of detecting fault

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170118

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20171213

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181212

Year of fee payment: 7