JP6641744B2 - Weighing program, weighing device, weighing method - Google Patents

Weighing program, weighing device, weighing method Download PDF

Info

Publication number
JP6641744B2
JP6641744B2 JP2015134142A JP2015134142A JP6641744B2 JP 6641744 B2 JP6641744 B2 JP 6641744B2 JP 2015134142 A JP2015134142 A JP 2015134142A JP 2015134142 A JP2015134142 A JP 2015134142A JP 6641744 B2 JP6641744 B2 JP 6641744B2
Authority
JP
Japan
Prior art keywords
vibration
container
time
weighing
amount
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
Application number
JP2015134142A
Other languages
Japanese (ja)
Other versions
JP2017015614A (en
Inventor
利昭 舟久保
利昭 舟久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015134142A priority Critical patent/JP6641744B2/en
Publication of JP2017015614A publication Critical patent/JP2017015614A/en
Application granted granted Critical
Publication of JP6641744B2 publication Critical patent/JP6641744B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、容器の内容物を計量するプログラム,装置,方法に関する。   The present invention relates to a program, an apparatus, and a method for measuring the contents of a container.

従来、容器の内容物を計量する技術の一つとして、重量センサを利用したものが知られている。すなわち、重量センサで検出される力や圧力の大きさから内容物の重量を把握し、その残量を算出するものである。重量センサの種類としては、歪みゲージ型,静電容量型,差動トランス型などが挙げられる(特許文献1参照)。しかしこの手法は、内容物の残量に応じた圧力を重量センサに作用させることで計量するものであり、計量時の容器の位置や重量センサの配設位置に制限を受けやすい。例えば、重量センサの直上部から外れた位置に容器が配置された場合には、内容物の計量ができない。また、容器自体に重量センサを取り付けておくにしても、取付け箇所が容器の底面に制限されてしまう。   2. Description of the Related Art Conventionally, a technique using a weight sensor is known as one of the techniques for measuring the contents of a container. That is, the weight of the content is grasped from the magnitude of the force or pressure detected by the weight sensor, and the remaining amount is calculated. Examples of the type of the weight sensor include a strain gauge type, a capacitance type, and a differential transformer type (see Patent Document 1). However, in this method, the weight is measured by applying a pressure corresponding to the remaining amount of the content to the weight sensor, and the position of the container and the arrangement position of the weight sensor at the time of the measurement are easily limited. For example, if the container is placed at a position off the top of the weight sensor, the contents cannot be weighed. Even if the weight sensor is attached to the container itself, the attachment location is limited to the bottom surface of the container.

一方、重量センサの代わりにマイクロフォンや加速度センサなどの振動センサを用いて、内容物を計量する手法も提案されている。例えば、容器を打撃したときに生じる振動に含まれる基本波成分の周波数を検出し、その周波数に対応する容器内の残量を推定するものである(特許文献2参照)。この手法は、重量センサを利用した計量手法と比較して、計量時の容器の位置やセンサの配設位置が制限されにくく、振動センサを容器の底面以外の場所に取り付けたとしても、容器の振動を検出することができる。   On the other hand, a method of weighing contents using a vibration sensor such as a microphone or an acceleration sensor instead of a weight sensor has also been proposed. For example, it detects a frequency of a fundamental wave component included in vibration generated when a container is hit, and estimates a remaining amount in the container corresponding to the frequency (see Patent Document 2). In this method, compared to the weighing method using a weight sensor, the position of the container at the time of weighing and the arrangement position of the sensor are less restricted, and even if the vibration sensor is attached to a place other than the bottom surface of the container, Vibration can be detected.

特開平08-161615号公報JP 08-161615 A 特開平07-333037号公報JP-A-07-333037

しかしながら、容器に打撃を加えて強制的に振動させる計量手法は、打撃を受けても変形しない程度の剛性を持った容器(例えば、金属製容器)に適した手法であり、紙コップ,紙パック,ペットボトルなどに適用することが難しい。また、金属よりも低剛性の容器を計量対象とした場合、容器自体の振動と外乱によるノイズ振動(例えば、容器を掴んでいる手の振動)とを判別することも難しい。このことは、容器の振動に含まれている基本波成分の適切な抽出を阻害し、結果的に残量の計量精度を低下させうる。   However, the weighing method in which a container is hit and a vibration is forcibly applied is a method suitable for a container (eg, a metal container) having such a rigidity that it is not deformed even if it is hit. , It is difficult to apply to PET bottles. Further, when a container having a lower rigidity than a metal is to be measured, it is also difficult to distinguish between vibration of the container itself and noise vibration due to disturbance (for example, vibration of a hand grasping the container). This hinders proper extraction of the fundamental wave component contained in the vibration of the container, and as a result, the accuracy of measuring the remaining amount may be reduced.

本件の目的の一つは、上記のような課題に鑑み創案されたものであり、計量精度を向上させた計量プログラム,計量装置,計量方法を提供することである。また、この目的に限らず、後述する「発明を実施するための形態」に示す各構成により導かれる作用効果であって、従来の技術によっては得られない作用効果を奏することも本件の他の目的として位置づけることができる。   One of the objects of the present invention has been made in view of the above problems, and an object thereof is to provide a weighing program, a weighing device, and a weighing method with improved weighing accuracy. Further, the present invention is not limited to this object, and it is another effect of the present invention that it is an operation effect derived from each configuration shown in the “embodiment for carrying out the invention” described later, and that it has an operation effect that cannot be obtained by the conventional technology. It can be positioned as a purpose.

以下に説明される計量プログラムでは、容器の振動を特定する情報が取得され、前記容器の振動の開始時刻と、前記容器の振動が停止したとみなされる第二時刻とが判定される。また、前記振動の開始から所定時間以降の第一時刻から前記振動が停止したとみなされる第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態が特定される。また、前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量が算出される。これらの処理はコンピュータで実行される。 In the weighing program described below, information specifying the vibration of the container is obtained, and the start time of the vibration of the container and the second time at which the vibration of the container is considered to have stopped are determined. Further, the vibration state of the container is specified from the information acquired within a predetermined period from a first time after a predetermined time from the start of the vibration to a second time at which the vibration is considered to have stopped. Further, the amount corresponding to the vibration state is calculated from the relationship between the vibration state of the container and the amount of the contents of the container. These processes are executed by a computer.

容器の内容物を精度よく計量することができる。   The contents of the container can be accurately measured.

計量装置の実施例を示す斜視図である。It is a perspective view showing an example of a weighing device. 計量装置のハードウェア構成を例示する図である。FIG. 3 is a diagram illustrating a hardware configuration of the weighing device. 計量プログラムの機能を示すブロック図である。It is a block diagram which shows the function of a weighing program. (A)〜(C)は振動の加速度変化を例示するグラフである。(A)-(C) are graphs illustrating changes in acceleration of vibration. (A)〜(C)は振動の加速度変化を例示するグラフである。(A)-(C) are graphs illustrating changes in acceleration of vibration. (A),(B)は残量推定テーブルを例示する図である。(A), (B) is a figure which illustrates the remaining amount estimation table. 計量方法を説明するためのフローチャート例である。It is a flowchart example for demonstrating a weighing method. 計量方法を説明するためのフローチャート例である。It is a flowchart example for demonstrating a weighing method. 残量推定テーブルを設定するためのフローチャート例である。It is a flowchart example for setting a remaining amount estimation table.

図面を参照して、実施形態としての計量装置,計量方法,計量プログラムについて説明する。ただし、以下に示す実施形態はあくまでも例示に過ぎず、実施形態で明示しない種々の変形や技術の適用を排除する意図はない。すなわち、本実施形態をその趣旨を逸脱しない範囲で種々変形して(実施形態,変形例を組み合わせて)実施することができる。   A weighing device, a weighing method, and a weighing program as an embodiment will be described with reference to the drawings. However, the embodiments described below are merely examples, and there is no intention to exclude various modifications and application of techniques not explicitly described in the embodiments. That is, the present embodiment can be implemented with various modifications (combinations of the embodiments and the modifications) without departing from the spirit of the present embodiment.

[1.概要]
本実施形態の計量装置,計量方法,計量プログラムでは、容器の内部に入っている内容物の量が計量される。ここでいう「容器」には、金属製容器,紙コップ,紙パック,ペットボトル,陶磁器,合成樹脂製コップ,アルミ製真空パックなどが含まれ、その形状や剛性の大小は不問である。また、ここでいう「内容物」には、水,ジュース,薬品,調味料,コーヒー飲量,発泡酒などの液体だけでなく、流動食,ゾル,ゲル(ゼリー状飲料)などが含まれる。
[1. Overview]
In the weighing device, the weighing method, and the weighing program of the present embodiment, the amount of the contents contained in the container is measured. The “container” here includes a metal container, a paper cup, a paper pack, a plastic bottle, a porcelain, a synthetic resin cup, an aluminum vacuum pack, and the like, and the shape and rigidity thereof are irrelevant. The term "contents" used herein includes not only liquids such as water, juice, chemicals, seasonings, coffee drinks, low-malt beer, but also liquid foods, sols, gels (jelly-like drinks), and the like.

計量の手法は、容器の振動が停止する直前の運動状態に基づいて、容器の振動状態(すなわち、内容物を含む容器全体の振動状態)を特定し、その振動状態に対応する内容物の残量(量)を算出する、というものである。ここでいう「直前」には、容器の振動が時間経過とともに自然に減衰している期間が含まれる。なお、容器が強制的に加振されている状態は、ここでいう「容器の振動状態」から除外されることが好ましい。   The weighing method specifies the vibration state of the container (that is, the vibration state of the entire container including the contents) based on the motion state immediately before the vibration of the container stops, and leaves the contents corresponding to the vibration state. Calculate the amount (amount). The term "immediately before" includes a period in which the vibration of the container is naturally attenuated with time. It is preferable that the state in which the container is forcibly excited is excluded from the “vibration state of the container” here.

例えば、容器が使用されている状態や移動している状態では、その使用者や移動者により容器は加振運動となり、外部から加えられた力による外乱としての振動成分が支配的となる。つまり、容器の振動状態を精度よく特定することが難しい。これに対し、容器が机上に載置された直後から振動が停止する直前までの期間であれば、外乱によって発生した液体と容器の振動が、外乱のない状態で減衰することとなる。この期間の振動の特性は、期間の起点の初期振動状態と容器形状,液質,液量等の影響を受ける。ここで、容器形状,液質,液量等によって容器内の液体が固有の振動数で共振するスロッシング現象や、容器底面を支点とする振り子運動の固有振動数が、液量によって変化する重心の影響を受けることを考慮すると、初期振動状態では様々な周波数成分が存在したとしても、期間の終点に近づくにつれて、固有振動数以外の成分は急速に減衰し、容器形状,液質,液量等の影響を観測しやすくなる。このように、外乱の影響が小さくなった後の比較的安定した状態で容器の振動状態を特定することで、容器の振動状態と内容物の量との相関が強められ、内容物の計量精度が向上する。   For example, in a state where the container is in use or in a moving state, the container or the moving person causes the container to vibrate, and a vibration component as a disturbance due to a force applied from the outside becomes dominant. That is, it is difficult to accurately specify the vibration state of the container. On the other hand, in the period from immediately after the container is placed on the desk to immediately before the vibration stops, the liquid generated by the disturbance and the vibration of the container are attenuated without disturbance. The characteristics of the vibration during this period are affected by the initial vibration state at the start of the period, the shape of the container, the liquid quality, the liquid amount, and the like. Here, the sloshing phenomenon in which the liquid in the container resonates at a specific frequency depending on the container shape, liquid quality, liquid amount, and the like, and the natural frequency of the pendulum motion with the container bottom as a fulcrum, varies with the center of gravity, which varies with the liquid amount. In consideration of the influence, even if various frequency components exist in the initial vibration state, components other than the natural frequency rapidly attenuate as the end point of the period approaches, and the shape of the container, liquid quality, liquid volume, etc. It becomes easier to observe the effect of In this way, by specifying the vibration state of the container in a relatively stable state after the influence of the disturbance is reduced, the correlation between the vibration state of the container and the amount of the contents is strengthened, and the weighing accuracy of the contents is increased. Is improved.

また、ここでいう「振動状態」には、振動の最大周波数成分(一次の固有振動数)の状態やその高次周波数成分(二次,三次…の固有振動数)の状態,振動の振幅変化(最大振幅,基準振幅,減衰率)の状態などが含まれる。例えば、容器の減衰振動から一次の固有振動数が特定され、その固有振動数に対応する内容物の量が算出される。あるいは、減衰振動の減衰率が特定され、その減衰率に対応する内容物の量が算出される。容器の振動状態と内容物の量との関係は、試験や実験を通じてテーブル,マップ,数式,関数などの形式で、あらかじめ設定されているものとする。   The "vibration state" mentioned here includes the state of the maximum frequency component (primary natural frequency) of the vibration, the state of its higher-order frequency component (secondary, tertiary natural frequency), and the change in the amplitude of the vibration. (Maximum amplitude, reference amplitude, attenuation rate). For example, a primary natural frequency is specified from the damped vibration of the container, and the amount of contents corresponding to the natural frequency is calculated. Alternatively, the damping rate of the damped vibration is specified, and the amount of the content corresponding to the damping rate is calculated. It is assumed that the relationship between the vibration state of the container and the amount of contents is preset in the form of a table, a map, a mathematical expression, a function, or the like through tests and experiments.

なお、スロッシング(容器の揺動による内容物の共振現象)の固有振動数は、容器の水平方向寸法や直径,液体の高さ寸法(水深)に応じた値となる。また、スロッシング振動の振幅や減衰率(減衰時間)は、内容物の質量や粘度に応じた値となる。したがって、容器の形状と内容物の種類(密度,粘度)とが既知であれば、固有振動数,減衰率などの振動状態を特定することで、その振動状態に対応する内容物の残量を算出することが可能である。
また、粘性が高く縦長の容器等の場合であれば、振動はメトロノーム(振り子)と同様の原理により、支点である底面と液体を含む容器の重心までの距離の影響が支配的となる。したがって、固有振動数を特定することで、液体を含む容器の重心が算出され、既知の容器重心により液体の重心も算出される。さらに、既知の容器形状と液体の重心から、内容物の残量を算出することが可能である。
The natural frequency of the sloshing (the resonance phenomenon of the contents caused by the swinging of the container) is a value corresponding to the horizontal dimension and diameter of the container and the height (water depth) of the liquid. Further, the amplitude and the decay rate (decay time) of the sloshing vibration are values according to the mass and the viscosity of the contents. Therefore, if the shape of the container and the type (density, viscosity) of the contents are known, the remaining state of the contents corresponding to the vibration state is determined by specifying the vibration state such as the natural frequency and the damping rate. It is possible to calculate.
Further, in the case of a vertically long container or the like having a high viscosity, the influence of the distance between the bottom which is the fulcrum and the center of gravity of the container containing the liquid becomes dominant according to the same principle as that of the metronome (pendulum). Therefore, by specifying the natural frequency, the center of gravity of the container containing the liquid is calculated, and the center of gravity of the liquid is calculated from the known center of gravity of the container. Further, the remaining amount of the contents can be calculated from the known container shape and the center of gravity of the liquid.

容器の運動状態を把握するための情報としては、位置情報,速度情報,加速度情報,角度情報,角速度情報,各加速度情報など、容器の振動を特定する情報を用いることができる。これらの情報は、変位センサ,加速度センサ,ジャイロセンサなどを容器に取り付けることで取得可能である。これらのセンサは、例えばペットボトル型容器のキャップに内蔵させてもよいし、容器が収納されるカバーに内蔵させてもよい。また、センサが固定されたクリップで容器を挟み込んで固定してもよい。あるいは、容器の外周に巻き付けられたベルトにセンサを固定してもよいし、面ファスナーや粘着テープを使ってセンサを容器や容器カバーに貼り付けてもよい。   As information for grasping the motion state of the container, information that specifies the vibration of the container, such as position information, speed information, acceleration information, angle information, angular velocity information, and acceleration information, can be used. These pieces of information can be obtained by attaching a displacement sensor, an acceleration sensor, a gyro sensor, and the like to the container. These sensors may be built in a cap of a PET bottle type container, for example, or may be built in a cover in which the container is stored. Further, the container may be fixed by sandwiching the container with a clip to which the sensor is fixed. Alternatively, the sensor may be fixed to a belt wound around the outer periphery of the container, or the sensor may be attached to the container or the container cover using a hook-and-loop fastener or an adhesive tape.

また、上記のセンサと同様に、計量装置を容器のキャップやカバーに内蔵させてもよいし、容器とは別体に計量装置を設けてもよい。センサと計量装置とを別体に設ける場合には、これらの間を有線又は無線で通信可能に接続することが好ましい。なお、計量装置としての機能は、任意のコンピュータを用いて実現可能である。したがって、例えば計量装置の機能の一部又は全部をスマートフォンや携帯型情報処理装置に内蔵させてもよいし、ネットワーク上のサーバやワークステーションなどに実装してもよい。   Further, similarly to the above-described sensor, the weighing device may be incorporated in the cap or cover of the container, or the weighing device may be provided separately from the container. When the sensor and the weighing device are provided separately, it is preferable to connect them communicably by wire or wirelessly. The function as the weighing device can be realized using an arbitrary computer. Therefore, for example, some or all of the functions of the weighing device may be incorporated in a smartphone or a portable information processing device, or may be implemented in a server or a workstation on a network.

[2.ハードウェア]
図1は、実施形態としての計量装置20と計量対象である内容物37が入った容器30とを示す斜視図である。ここでは、容器30のキャップ32にセンサを内蔵させ、計量装置20としての機能をスマートフォンに実装した計量システムを例示する。
計量装置20は、実施形態としての計量プログラム11を実行するものであり、実施形態としての計量方法の適用対象である。この計量装置20は、容器30に振動が発生するたびに、その振動が停止する直前の振動状態を特定し、特定された振動状態に対応する内容物37の残量を算出する。また、その振動が発生する前の残量との比較により、内容物37の飲量(消費量,摂取量)を算出する。これらの算出結果は、その都度ユーザに報知されることとしてもよく、その結果を記録してもよい。
[2. hardware]
FIG. 1 is a perspective view showing a weighing device 20 as an embodiment and a container 30 containing contents 37 to be weighed. Here, a weighing system in which a sensor is built in the cap 32 of the container 30 and the function as the weighing device 20 is mounted on a smartphone is illustrated.
The weighing device 20 executes the weighing program 11 according to the embodiment, and is a target to which the weighing method according to the embodiment is applied. Each time the container 30 is vibrated, the weighing device 20 specifies the vibration state immediately before the vibration stops, and calculates the remaining amount of the contents 37 corresponding to the specified vibration state. In addition, the amount of consumption (consumption, intake) of the contents 37 is calculated by comparison with the remaining amount before the vibration occurs. These calculation results may be notified to the user each time, and the results may be recorded.

[2−1.計量装置]
計量装置20には、コンピュータとしての制御装置40,記録媒体ドライブ21,記憶装置22,表示装置23,入力装置24,通信装置25が内蔵され、図示しない電力源(例えば、バッテリや給電ケーブルなど)から電力供給を受けて作動する。計量機能は、スマートフォンで実行されるプログラムの一つ(計量プログラム11)として実現され、制御装置40で実行される。
図2は、計量システムのハードウェア構成を例示する図である。制御装置40には、プロセッサ41(中央処理装置),メモリ42(メインメモリ,主記憶装置),補助記憶装置43,インタフェース装置44などが内蔵され、内部バス45を介して互いに通信可能に接続される。
[2-1. Measuring device]
The weighing device 20 includes a control device 40 as a computer, a recording medium drive 21, a storage device 22, a display device 23, an input device 24, and a communication device 25, and a power source (not shown) such as a battery or a power supply cable. It operates with power supply from. The weighing function is realized as one of the programs executed by the smartphone (the weighing program 11), and is executed by the control device 40.
FIG. 2 is a diagram illustrating a hardware configuration of the weighing system. The control device 40 includes a processor 41 (central processing unit), a memory 42 (main memory, main storage device), an auxiliary storage device 43, an interface device 44, and the like, and is communicably connected to each other via an internal bus 45. You.

プロセッサ41は、制御ユニット(制御回路)や演算ユニット(演算回路),キャッシュメモリ(レジスタ群)などを内蔵する中央処理装置である。また、メモリ42は、プログラムや作業中のデータが格納される記憶装置であり、例えばROM(Read Only Memory),RAM(Random Access Memory)がこれに含まれる。一方、補助記憶装置43は、メモリ42よりも長期的に保持されるデータやファームウェアが格納されるメモリ装置であり、例えばフラッシュメモリやEEPROM(Electrically Erasable Programmable Read-Only Memory)などの不揮発性メモリがこれに含まれる。また、インタフェース装置44は、制御装置40と外部との間の入出力(Input and Output;I/O)を司るものである。制御装置40は、インタフェース装置44を介して、記録媒体ドライブ21や記憶装置22,表示装置23,入力装置24,通信装置25などに接続される。   The processor 41 is a central processing unit including a control unit (control circuit), an arithmetic unit (arithmetic circuit), a cache memory (register group), and the like. The memory 42 is a storage device that stores programs and data during work, and includes, for example, a ROM (Read Only Memory) and a RAM (Random Access Memory). On the other hand, the auxiliary storage device 43 is a memory device that stores data and firmware that are held for a longer period than the memory 42, and includes, for example, a nonvolatile memory such as a flash memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory). It is included in this. The interface device 44 controls input / output (I / O) between the control device 40 and the outside. The control device 40 is connected to the recording medium drive 21, the storage device 22, the display device 23, the input device 24, the communication device 25, and the like via the interface device 44.

記録媒体ドライブ21は、光ディスクや半導体メモリなどの記録媒体26(リムーバブルメディア)に記録,保存された情報を読み取る読取装置である。また、記憶装置22は、長期的に保持されるデータやプログラムが格納されるメモリ装置であり、例えばフラッシュメモリやEEPROMなどの不揮発性メモリがこれに含まれる。制御装置40で実行される計量プログラム11は、例えばメモリ42内に記録,保存されることとしてもよいし、補助記憶装置43や記憶装置22の内部に記録,保存されることとしてもよい。あるいは、記録媒体26上にプログラムが記録,保存され、その記録媒体26に書き込まれている計量プログラム11が、記録媒体ドライブ21を介して制御装置40に読み込まれることとしてもよい。   The recording medium drive 21 is a reading device that reads information recorded and stored on a recording medium 26 (removable medium) such as an optical disk or a semiconductor memory. The storage device 22 is a memory device that stores data and programs stored for a long period of time, and includes, for example, a nonvolatile memory such as a flash memory or an EEPROM. The weighing program 11 executed by the control device 40 may be recorded and stored in the memory 42, for example, or may be recorded and stored in the auxiliary storage device 43 and the storage device 22. Alternatively, a program may be recorded and stored on the recording medium 26, and the weighing program 11 written on the recording medium 26 may be read into the control device 40 via the recording medium drive 21.

表示装置23は、制御装置40の処理結果を視覚的に出力するためのデバイスの一つであり、例えば液晶ディスプレイ(LCD,Liquid Crystal Display)や有機ELディスプレイ(OELD,Organic Electro-Luminescence Display)である。表示装置23には、計量対象となる容器30や内容物37に関する情報を出力可能とされ、計量プログラム11での計量結果も出力可能とされる。
入力装置24は、制御装置40へと信号を入力するためのポインティングデバイスの一つである。図1中に示す入力装置24は、表示装置23の表面に重畳状態で取り付けられたタッチパネルである。計量装置20に物理キーが設けられている場合には、その物理キーを入力装置24として用いてもよい。入力装置24は、計量対象となる容器30や内容物37に関する情報の選択や再設定に利用することができる。
通信装置25は、容器30のキャップ32と計量装置20との間で通信を行うための装置であり、少なくともキャップ32側から送信されるデータ(容器30の振動を特定する情報)を受信する機能を持つ。
The display device 23 is one of devices for visually outputting the processing result of the control device 40, and is, for example, a liquid crystal display (LCD, Liquid Crystal Display) or an organic EL display (OELD, Organic Electro-Luminescence Display). is there. The display device 23 can output information on the container 30 and the contents 37 to be weighed, and can also output the weighing result of the weighing program 11.
The input device 24 is one of pointing devices for inputting a signal to the control device 40. The input device 24 shown in FIG. 1 is a touch panel mounted on the surface of the display device 23 in a superimposed state. When the weighing device 20 is provided with a physical key, the physical key may be used as the input device 24. The input device 24 can be used for selecting and resetting information on the container 30 and the contents 37 to be weighed.
The communication device 25 is a device for performing communication between the cap 32 of the container 30 and the weighing device 20, and has a function of receiving at least data (information specifying vibration of the container 30) transmitted from the cap 32 side. have.

[2−2.キャップ]
容器30の上端部には、キャップ32が取り付けられる。このキャップ32には、容器30の飲み口と螺合するねじ山やねじ溝が形成された装着機構部31が設けられる。また、装着機構部31の上部には加速度センサ33,タイプ記憶装置35,キャップ通信装置36が内蔵され、図示しない電力源(例えば、ボタン型電池やバッテリなど)から電力供給を受けて作動する。
[2-2. cap]
A cap 32 is attached to the upper end of the container 30. The cap 32 is provided with a mounting mechanism 31 in which a screw thread or a screw groove to be screwed with the spout of the container 30 is formed. Further, an acceleration sensor 33, a type storage device 35, and a cap communication device 36 are built in the upper portion of the mounting mechanism 31, and operate by receiving power supply from a power source (not shown) (for example, a button type battery or a battery).

加速度センサ33は、振動の加速度を検出する加速度検出デバイスであり、キャップ32に固定された座標軸である三軸(x軸,y軸,z軸)方向の加速度を検出する。ここで検出された加速度情報は、後述するキャップ通信装置36と通信装置25とを介して計量装置20へと伝達される。計量装置20に伝達される加速度情報(容器30の振動を特定するための情報)は、少なくとも三軸方向の加速度のうちの何れか一つの情報でよいが、好ましくは、水平方向の成分を含む加速度の情報とする。例えば、y軸方向が鉛直上下方向であるならば、x軸方向やz軸方向の加速度情報を計量装置20に伝達することが好ましく、x軸方向の加速度とz軸方向の加速度とを合成した加速度の情報〔例えば、sqrt(x2+y2)〕を計量装置20に伝達することが好ましい。 The acceleration sensor 33 is an acceleration detection device that detects acceleration of vibration, and detects acceleration in three axes (x-axis, y-axis, and z-axis) that are coordinate axes fixed to the cap 32. The acceleration information detected here is transmitted to the weighing device 20 via the cap communication device 36 and the communication device 25 described below. The acceleration information (information for specifying the vibration of the container 30) transmitted to the weighing device 20 may be at least any one of the accelerations in three axial directions, but preferably includes a horizontal component. This is information on acceleration. For example, if the y-axis direction is a vertical up-down direction, it is preferable to transmit acceleration information in the x-axis direction or the z-axis direction to the measuring device 20, and the acceleration in the x-axis direction and the acceleration in the z-axis direction are combined. It is preferable to transmit acceleration information [for example, sqrt (x 2 + y 2 )] to the weighing device 20.

タイプ記憶装置35は、各種データが保存される記憶装置であり、例えばROM,RAM,不揮発性メモリなどである。タイプ記憶装置35には、キャップ32が取り付けられる容器30(すなわち、計量対象となる容器30)や内容物37に関する情報があらかじめ記録されている。以下、これらの情報のことを「計量対象情報」と呼ぶ。計量対象情報は、上述の加速度情報とともに計量装置20へと伝達され、容器30の振動状態と内容物37の量との関係が規定されたテーブルを選択する際に用いられる。また、タイプ記憶装置35が書き換え可能な記憶装置である場合には、上記の加速度情報をここに一時的に記録,保存させてもよい。   The type storage device 35 is a storage device for storing various data, and is, for example, a ROM, a RAM, a nonvolatile memory, or the like. In the type storage device 35, information on the container 30 to which the cap 32 is attached (that is, the container 30 to be measured) and the contents 37 are recorded in advance. Hereinafter, such information is referred to as “metric information”. The measurement target information is transmitted to the measurement device 20 together with the above-described acceleration information, and is used when selecting a table in which the relationship between the vibration state of the container 30 and the amount of the contents 37 is specified. When the type storage device 35 is a rewritable storage device, the above-described acceleration information may be temporarily recorded and stored here.

なお、容器30及び内容物37の組み合わせが変化しない場合には、容器30の振動状態と内容物37の量との関係が規定されたテーブルも変化しないため、タイプ記憶装置35を省略することができる。また、計量対象情報を入力装置24からユーザに入力させるようにした場合にも、タイプ記憶装置35を省略することができる。   When the combination of the container 30 and the contents 37 does not change, the table in which the relationship between the vibration state of the container 30 and the amount of the contents 37 is not changed, so that the type storage device 35 can be omitted. it can. Also, when the user inputs the weighing target information from the input device 24, the type storage device 35 can be omitted.

キャップ通信装置36は、計量装置20との間で通信を行うための装置であり、少なくとも容器30の振動を特定するための情報を送信する機能を持つ。通信の種類,規格は任意であり、有線通信であっても無線通信であってもよい。加速度センサ33で検出された加速度情報は、キャップ通信装置36を介してリアルタイムに計量装置20へと伝達される。あるいは、タイプ記憶装置35上に記録されたデータがキャップ通信装置36を介して計量装置20へと伝達される。   The cap communication device 36 is a device for communicating with the weighing device 20 and has a function of transmitting at least information for specifying the vibration of the container 30. The type and standard of communication are arbitrary, and may be wired communication or wireless communication. The acceleration information detected by the acceleration sensor 33 is transmitted to the weighing device 20 via the cap communication device 36 in real time. Alternatively, data recorded on the type storage device 35 is transmitted to the weighing device 20 via the cap communication device 36.

[3.ソフトウェア]
図3は、制御装置40のプロセッサ41で実行される計量プログラム11の処理内容を説明するためのブロック図である。これらの処理内容は、アプリケーションプログラムとして記憶装置22,記録媒体26,補助記憶装置43などに記録され、メモリ42上に展開されて実行される。ここで実行される処理内容を機能的に分類すると、計量プログラム11には、データ取得部1,バッファ部2,判定部3,振動状態特定部4,データベース部7,残量算出部8,消費量推定部9,モニタ部10が設けられる。
[3. software]
FIG. 3 is a block diagram for explaining the processing content of the weighing program 11 executed by the processor 41 of the control device 40. These processing contents are recorded as application programs in the storage device 22, the recording medium 26, the auxiliary storage device 43, and the like, and are developed on the memory 42 and executed. When the processing contents executed here are functionally classified, the weighing program 11 includes a data acquisition unit 1, a buffer unit 2, a determination unit 3, a vibration state identification unit 4, a database unit 7, a remaining amount calculation unit 8, A quantity estimator 9 and a monitor 10 are provided.

[3−1.データ取得部]
データ取得部1(取得部)は、キャップ32側から伝達される加速度情報を取得するものである。ここでは、少なくとも容器30の振動を特定する情報が取得される。なお、キャップ32側のタイプ記憶装置35に記録されている計量対象情報が伝達された場合には、データ取得部1はその計量対象情報も取得する。ここで取得された加速度情報は、バッファ部2に伝達される。計量対象情報は、必要に応じてデータベース部7やモニタ部10,消費量推定部9などへ伝達される。
[3-1. Data acquisition section]
The data acquisition unit 1 (acquisition unit) acquires acceleration information transmitted from the cap 32 side. Here, at least information for specifying the vibration of the container 30 is obtained. When the measurement target information recorded in the type storage device 35 on the cap 32 side is transmitted, the data acquisition unit 1 also acquires the measurement target information. The acceleration information obtained here is transmitted to the buffer unit 2. The measurement target information is transmitted to the database unit 7, the monitor unit 10, the consumption estimation unit 9, and the like as needed.

[3−2.バッファ部]
バッファ部2(緩衝記憶部)は、データ取得部1で取得されたデータを一時的に蓄えて記憶するリングバッファである。ここでは、直近のバッファ期間T2分の加速度情報が、振動の履歴を表す時系列データとして記憶される。バッファ期間T2の幅は、リングバッファの最大容量以下の範囲で任意に設定可能であり、あらかじめ設定された固定幅であってもよいし、加速度情報の内容に応じて設定される可変幅であってもよい。
[3-2. Buffer section]
The buffer unit 2 (buffer storage unit) is a ring buffer that temporarily stores and stores the data acquired by the data acquisition unit 1. Here, the acceleration information of 2 minutes nearest buffer period T is stored as time-series data representing the history of vibration. The width of the buffer period T 2 are, can be set arbitrarily at the maximum capacity the range of the ring buffer may be a preset fixed width, variable width is set according to the contents of the acceleration information There may be.

[3−3.判定部]
判定部3は、バッファ部2に蓄えられたデータに基づいて、容器30の振動の開始及び終了とそれぞれの時刻とを判断するものである。ここでは、動判定条件が成立した場合に容器30に振動が生じたものと判断され、その時刻が振動の開始時刻S0とみなされる。また、動判定条件の成立下において静止判定条件が成立した場合に容器30の振動が停止したものと判断される。このとき、少なくとも静止判定条件が成立した時刻から、所定時間T1分だけ遡った時点で振動が安定していたものと判断され、所定時間T1前の時刻が振動の終了時刻S2とみなされる。ここで判定された振動の開始時刻,終了時刻の情報は、振動状態特定部4に伝達される。
[3-3. Judgment unit]
The determination unit 3 determines the start and end of the vibration of the container 30 and the respective times based on the data stored in the buffer unit 2. Here, the vibration in the container 30 is determined to have occurred when the dynamic determination condition is satisfied, the time is regarded as the start time S 0 of the vibration. Further, it is determined that the vibration of the container 30 has stopped when the stationary determination condition is satisfied while the motion determination condition is satisfied. At this time, considered from the time the least static determination condition is satisfied, the vibration at the time of going back by one minute predetermined time T is determined that was stable, the predetermined time T 1 before the time and the end time S 2 of the vibration It is. Information on the start time and end time of the vibration determined here is transmitted to the vibration state specifying unit 4.

動判定条件は、例えば以下の条件1〜3の何れかが成立することである。なお、以下の条件中の「加速度変化の大きさ」とは、加速度センサ33で検出された加速度の前回値と今回値との差の絶対値であり、加速度の時間変化勾配の絶対値に相当する。
条件1.x軸方向の加速度変化の大きさが閾値Th1x以上である
条件2.y軸方向の加速度変化の大きさが閾値Th1y以上である
条件3.z軸方向の加速度変化の大きさが閾値Th1z以上である
The motion determination condition is that one of the following conditions 1 to 3 is satisfied, for example. The “magnitude of acceleration change” in the following conditions is the absolute value of the difference between the previous value and the current value of the acceleration detected by the acceleration sensor 33, and corresponds to the absolute value of the time change gradient of the acceleration. I do.
Condition 1. 1. The magnitude of the change in acceleration in the x-axis direction is equal to or greater than the threshold Th1x. Condition 2. The magnitude of the acceleration change in the y-axis direction is equal to or greater than the threshold Th1y . The magnitude of the acceleration change in the z-axis direction is equal to or greater than the threshold Th 1z

また、静止判定条件は、動判定条件が成立したのちに、例えば以下の条件4〜6の何れかが成立した状態が所定時間T1以上継続することである。
条件4.x軸方向の加速度変化の大きさが閾値Th2x(≦Th1x)以下である
条件5.y軸方向の加速度変化の大きさが閾値Th2y(≦Th1y)以下である
条件6.z軸方向の加速度変化の大きさが閾値Th2z(≦Th1z)以下である
Further, the stationary judgment condition, after the dynamic determination condition is satisfied, for example, a state where one is established the following conditions 4-6 is that continues for a predetermined time above T 1.
Condition 4. magnitude threshold acceleration change in the x-axis direction Th 2x (≦ Th 1x) or less is condition 5. 5. The magnitude of the acceleration change in the y-axis direction is equal to or smaller than a threshold Th2y (≦ Th1y ). The magnitude of the acceleration change in the z-axis direction is equal to or smaller than the threshold Th 2z (≦ Th 1z )

ここで、図4,図5の例を用いて開始時刻S0から終了時刻S2までの振動数及び振動収束時間と内容物37の量との関係を説明する。図4のグラフは、内容物37が容器30にほぼ満杯に入っている状態での振動収束時間P1を示し、図5のグラフは内容物37の量(液量)がほぼ半分の状態での振動収束時間P2を示す。(A)〜(C)はそれぞれ、x軸方向,y軸方向,z軸方向の加速度を縦軸にとり、経過時間を横軸にとったグラフである。なお、ここでいうy軸方向は鉛直上下方向である。 Here, FIG. 4, illustrating the relationship between the amount of frequency and vibration convergence time and the contents 37 from the start time S 0 using the example of FIG. 5 to the end time S 2. The graph of FIG. 4 shows the vibration convergence time P 1 when the contents 37 are almost completely filled in the container 30, and the graph of FIG. 5 shows the case where the amount (liquid amount) of the contents 37 is almost half. This shows the vibration convergence time P 2 of FIG. (A) to (C) are graphs in which the vertical axis represents acceleration in the x-axis direction, the y-axis direction, and the z-axis direction, and the horizontal axis represents elapsed time. Here, the y-axis direction is a vertical vertical direction.

液量が比較的多い状態では、容器30内における内容物37の高さ寸法が増大することから、振動数(振動速度)が小さくなり、振動収束時間が延長される。一方、液量が減少するに連れて内容物37の高さ寸法が減少し、振動数(振動速度)が大きくなり、振動収束時間が短縮される。容器形状や液質により、これらの例の特性に従わない場合も考えられるが、振動数が定まれば液量が一意に定まる関係であればよい。ここで、異なる液量で同一の振動数となる場合は、その振動数が生じた際のみ、計測不能として処理してもよい。   In a state where the liquid amount is relatively large, the height of the contents 37 in the container 30 increases, so that the vibration frequency (vibration speed) decreases and the vibration convergence time is extended. On the other hand, as the liquid amount decreases, the height dimension of the contents 37 decreases, the vibration frequency (vibration speed) increases, and the vibration convergence time is shortened. Depending on the shape of the container and the liquid quality, the characteristics of these examples may not be followed. However, it is sufficient that the liquid amount is uniquely determined if the frequency is determined. Here, in the case where the same frequency is obtained with different liquid volumes, the measurement may be performed as being impossible to measure only when the frequency occurs.

[3−4.振動状態特定部]
振動状態特定部4(特定部)は、容器30の振動が停止する直前の振動状態を特定するものである。ここでは、振動が停止する前の第一時刻S1から振動が停止したとみなされる終了時刻S2(第二時刻)までの所定期間R内を対象区間として、容器30の振動状態が特定される。つまり、振動状態の特定に用いられる情報は、図4,図5に示すように、振動の開始時刻S0の直後に得られた情報ではなく、終了時刻S2の直前の所定期間R内に得られた情報とされる。ここで、静止判定条件が成立した時刻をS4とおけば、終了時刻S2は時刻S4から所定時間T1だけ遡った時刻であり、第一時刻S1は終了時刻S2よりも所定期間Rだけ遡った時刻である。
[3-4. Vibration state identification unit]
The vibration state specifying unit 4 (specific unit) specifies a vibration state immediately before the vibration of the container 30 stops. Here, as target section within a predetermined time period R from the first time S 1 before the end vibration is considered to have stopped time S 2 (second time) the vibration is stopped, the vibration state of the container 30 is specified You. That is, information used for specific vibration state, as shown in FIGS. 4 and 5, rather than the information obtained immediately after the start time S 0 of the vibration, within a predetermined time period R immediately before the end time S 2 The obtained information is used. Here, if put the time the still determination condition is satisfied and S 4, a time end time S 2 is traced back from the time S 4 for a predetermined time T 1, the first time S 1 is given than the end time S 2 This is a time that has been traced back by the period R.

このような設定により、動判定条件が成立した直後の不安定な振動状態が参照されないことになり、外乱の影響が抑制された振動状態を把握しやすくなる。また、静止判定条件が成立する時刻から所定時間T1だけ遡った終了時刻S2を所定期間Rの終点に設定することで、振動がほとんど収束した状態も不参照となるため、容器30の振動状態を把握しやすくなる。なお、第一時刻S1から終了時刻S2までの所定期間Rは、あらかじめ設定された固定期間であってもよいし、加速度情報の内容に応じて設定される可変期間であってもよい。例えば、開始時刻S0から終了時刻S2までの期間の内、所定期間Rに対して充分に短い区間で算出した振動数(振動速度)の変化の絶対値が、所定の閾値を連続して下回っている最長の区間を所定期間Rとして定めてもよい。 With such a setting, the unstable vibration state immediately after the motion determination condition is satisfied is not referred to, and it becomes easy to grasp the vibration state in which the influence of the disturbance is suppressed. Further, by setting the end time S 2 the still determination conditions back from the time established by the predetermined time T 1 at the end of the predetermined period R, since the state becomes non reference vibration is hardly converged, the vibration of the container 30 It becomes easy to grasp the state. The predetermined time period R from the first time S 1 to the end time S 2 may be a fixed period set in advance, may be a variable period set in accordance with the content of the acceleration information. For example, among the period from the start time S 0 to the end time S 2, the absolute value of the change in frequency calculated in a sufficiently short interval to a predetermined time period R (vibration speed) is continuously a predetermined threshold value The longest section that is shorter than the above may be determined as the predetermined period R.

ところで、容器30の形状がセンサの座標軸に対して非対称であり、容器30が所定の姿勢以外で載置されるような場合、例えば縦長の容器30を横になった姿勢で机上に載置されたような場合には、振動状態と内容物37の残量との相関関係が期待する関係とはならなくなり、精度よく残量を推定することが困難となる。そこで、本実施形態の振動状態特定部4は、容器30の静止時の姿勢が所定姿勢である場合に、容器30の振動状態を特定するものとする。また、本実施形態における所定姿勢とは、正立姿勢であるものとする。   By the way, when the shape of the container 30 is asymmetrical with respect to the coordinate axis of the sensor and the container 30 is placed in a position other than a predetermined position, for example, the container 30 is placed on a desk in a horizontal position. In such a case, the correlation between the vibration state and the remaining amount of the contents 37 is not the expected relationship, and it is difficult to accurately estimate the remaining amount. Therefore, the vibration state specifying unit 4 of the present embodiment specifies the vibration state of the container 30 when the posture of the container 30 at rest is a predetermined posture. The predetermined posture in the present embodiment is an upright posture.

正立姿勢とは、後述するデータベースに設定された容器30の振動状態が計測されたときの姿勢を意味する。また、正立状態の判定は、加速度センサ33で検出される重力加速度の方向に基づいて実施することができる。例えば、終了時刻S2の前後において、重力加速度の作用方向が特定方向(容器30の正立姿勢での鉛直下方)であるか否かを判定し、この条件の成立時に容器30の振動状態を特定する。このとき、重力加速度の作用方向が特定方向となった正立静止時刻S3を基準とし、その直前の所定期間Rを上記の対象区間としてもよい。あるいは、第一時刻S1から正立静止時刻S3までの期間を上記の対象区間としてもよい。 The upright posture means the posture when the vibration state of the container 30 set in the database described later is measured. The determination of the erect state can be performed based on the direction of the gravitational acceleration detected by the acceleration sensor 33. For example, before and after the end time S 2, the direction of action of gravitational acceleration is equal to or a (vertically downward in erecting posture of the container 30) a specific direction, the vibration state of the container 30 during the establishment of this condition Identify. At this time, the erecting stationary time S 3 to the direction of action of gravitational acceleration becomes the specific direction as a reference, it may be a predetermined period R immediately before the above target section. Alternatively, the period from the first time S 1 to erecting stationary time S 3 may be as described above for target section.

[3−5.最大周波数成分算出部]
振動状態特定部4には、最大周波数成分算出部5と振幅変化算出部6とが設けられる。
最大周波数成分算出部5は、振幅が最大となる周波数成分(最大周波数成分,一次の固有振動成分)を抽出し、その周波数(一次の固有振動数F1)や振幅を算出するものである。最大周波数成分算出部5は、容器30の振動状態の一つである「最大周波数成分」を特定する機能を持つ。この最大周波数成分は、加速度情報の時系列データに周波数解析処理〔例えば、FFT(Fast Fourier Transformation)処理,DFT(Discrete Fourier Transformation)処理など〕を施し、振幅が最大となる周波数成分を選ぶことで抽出される。ここで算出された一次の固有振動数F1や振幅の情報は、残量算出部8に伝達され、必要な場合は振幅変化算出部6に伝達される。
[3-5. Maximum frequency component calculator]
The vibration state identification unit 4 includes a maximum frequency component calculation unit 5 and an amplitude change calculation unit 6.
The maximum frequency component calculation unit 5 extracts a frequency component (maximum frequency component, primary natural vibration component) having the maximum amplitude, and calculates the frequency (primary natural frequency F 1 ) and amplitude. The maximum frequency component calculation unit 5 has a function of specifying a “maximum frequency component” that is one of the vibration states of the container 30. This maximum frequency component is obtained by performing frequency analysis processing (for example, FFT (Fast Fourier Transformation) processing, DFT (Discrete Fourier Transformation) processing, etc.) on the time-series data of the acceleration information, and selecting a frequency component having the maximum amplitude. Is extracted. Calculated here the primary natural frequency F 1 and the amplitude information is transmitted to the remaining amount calculating section 8, if necessary is transmitted to the amplitude variation calculating section 6.

[3−6.振幅変化算出部]
振幅変化算出部6は、振動の振幅変化を抽出し、その振幅変化から基準振幅Wや減衰率D1を算出するものである。振幅変化算出部6は、容器30の振動状態の一つである「振幅変化」を特定する機能を持つ。この振幅変化は、加速度情報の時系列データで特定することが可能である。例えば、基準振幅Wは、所定期間Rの二乗平均平方根(RMS:Root Mean Square)として算出してもよいし、振動状態特定部4から伝達された固有振動数F1の振幅を受け取って使用してもよい。また例えば、減衰率D1は、その時系列データに周波数解析処理を施し、半値幅法によって算出してもよいし、ローパスフィルタやヒルベルト変換を用いてエンベロープ時系列データを求め、所定期間R両端の対数減衰率として算出してもよい。
[3-6. Amplitude change calculator]
Amplitude variation calculating section 6 extracts an amplitude change in the vibration, and calculates the reference amplitude W and the damping factor D 1 from the amplitude change. The amplitude change calculator 6 has a function of specifying “amplitude change” which is one of the vibration states of the container 30. This amplitude change can be specified by the time-series data of the acceleration information. For example, the reference amplitude W may be calculated as a root mean square (RMS) of a predetermined period R, or may be used by receiving the amplitude of the natural frequency F 1 transmitted from the vibration state specifying unit 4. You may. Further, for example, attenuation rate D 1 may then subjected to a frequency analysis process to series data, it may be calculated by the half-value width method to obtain the envelope time series data using a low-pass filter and Hilbert transform, the predetermined period R ends It may be calculated as a logarithmic decay rate.

また単純に、最大周波数成分算出部5で算出された一次の固有振動数F1の逆数(1/F1)に相当する時間で、所定期間R両端における振動の二乗平均平方根を算出し、2値の傾きを採用してもよい。例えば、第一時刻S1における振動の二乗平均平方根(例えば、第一時刻S1から時間1/F1が経過するまでの振幅の二乗を平均し二乗根をとったもの)を算出するとともに、終了時刻S2における振動の二乗平均平方根(例えば、終了時刻S2-1/F1時点から時間1/F1が経過するまでの振幅の二乗を平均し二乗根をとったもの)を算出する。ここで、前者と後者の差を所定期間Rで除算したものを減衰率D1とする。ここで算出された基準振幅W,減衰率D1の情報は、残量算出部8に伝達される。
なお、振動状態特定部4と振幅変化算出部6との双方で周波数解析処理を行う実装とする場合は、振動状態特定部4で処理した結果を振幅変化算出部6に伝達することで、振幅変化算出部6における周波数解析処理を省略することが好ましい。
Further, simply, the root mean square of the vibration at both ends of the predetermined period R is calculated by a time corresponding to the reciprocal (1 / F 1 ) of the primary natural frequency F 1 calculated by the maximum frequency component calculation unit 5, and The slope of the value may be adopted. For example, to calculate a root mean square of the vibration in the first time S 1 (e.g., by averaging the amplitudes squared up to the time 1 / F 1 from the first time S 1 is passed which took square root) calculating the root mean square of vibration in the end time S 2 (e.g., by averaging the square of the amplitude from the end time S 2 -1 / F 1 time to time 1 / F 1 has elapsed that taking the square root) . Here, a material obtained by dividing the difference between the former and the latter at a predetermined period R and the attenuation factor D 1. Calculated here reference amplitude W, information decay rate D 1 is transmitted to the remaining amount calculating unit 8.
When the frequency analysis processing is performed by both the vibration state identification unit 4 and the amplitude change calculation unit 6, the result of the processing performed by the vibration state identification unit 4 is transmitted to the amplitude change calculation unit 6, so that the amplitude is calculated. It is preferable to omit the frequency analysis processing in the change calculator 6.

[3−7.データベース部]
データベース部7(データベース)は、容器30の振動状態と内容物37の残量との関係が規定されたデータ(テーブル,マップ,数式,関数など)を格納するデータベースである。これらのテーブル,マップ,数式,関数などは、試験や実験を通じて設定される。ここで、データベースに格納されるデータの例を図6に示す。図6(A)は、一次の固有振動数F1とこれに対応する第一推定残量V1との関係が規定された振動数ベースの残量推定テーブルであり、図6(B)は、減衰率D1とこれに対応する第二推定残量V2との関係が規定された減衰率ベースの残量推定テーブルである。なお、容器30の振動状態と内容物37の残量との関係が数式,関数で規定できる場合には、本データベースは用いず、残量算出部8において算出してもよい。
[3-7. Database section]
The database unit 7 (database) is a database that stores data (tables, maps, formulas, functions, and the like) in which the relationship between the vibration state of the container 30 and the remaining amount of the contents 37 is defined. These tables, maps, formulas, functions, and the like are set through tests and experiments. Here, an example of data stored in the database is shown in FIG. 6 (A) is a primary natural frequency F 1 and the first estimate of the frequency based relationship is defined between the remaining amount V 1 remaining capacity estimating table corresponding thereto, FIG. 6 (B) a second estimated relationship between the remaining amount V 2 is defined attenuation factor based remaining capacity estimating table corresponding to the attenuation factor D 1. If the relationship between the vibration state of the container 30 and the remaining amount of the contents 37 can be defined by a mathematical expression or function, the remaining amount calculating unit 8 may calculate the relationship without using this database.

図6(A)に示す例では、振動数ベースの残量推定テーブルには、固有振動数F1が高いほど第一推定残量V1が減少するような特性が設定されている。ただし、内容物37の残量が容器30の最大容量を超えることはないため、固有振動数F1が下限振動数(例えば、30[Hz])未満である場合には第一推定残量V1が不定(正しく推定されない状態)とされる。同様に、内容物37の残量がマイナスの値となることもないため、固有振動数F1が上限振動数(例えば、71[Hz])以上である場合にも第一推定残量V1が不定とされる。第一推定残量V1の刻みや各第一推定残量V1の値に対する固有振動数F1の範囲,下限振動数,上限振動数の具体的な値は、容器30及び内容物37の種類に応じて設定される。 In the example shown in FIG. 6 (A), the frequency-based fuel estimation table, properties such as first estimated remaining amount V 1 higher the natural frequency F 1 is reduced is set. However, since the remaining amount of the content 37 does not exceed the maximum capacity of the container 30, the natural frequency F 1 is the lower limit frequency (for example, 30 [Hz]) if it is less than the first estimated remaining amount V 1 is undefined (state in which estimation is not correct). Similarly, nor the remaining amount of the content 37 is a negative value, the natural frequency F 1 is an upper limit frequency (for example, 71 [Hz]) first to a case where more than the estimated remaining quantity V 1 Is undefined. Range of the natural frequency F 1 for the first estimate value of the or each first estimated remaining amount V 1 increments of the remaining amount V 1, the lower limit frequency, specific values of the upper limit frequency is of the container 30 and contents 37 It is set according to the type.

図6(B)に示す例では、減衰率ベースの残量推定テーブルには、減衰率D1が高いほど第二推定残量V2が減少するような特性が設定されている。このテーブルにも、下限減衰率(例えば、1000[mG/s])と上限減衰率(例えば、4100[mG/s])が設定され、これらに挟まれた範囲内の減衰率D1に対して内容物37の残量が対応付けられる。第二推定残量V2の刻みや各第二推定残量V2の値に対する減衰率D1の範囲,下限減衰率,上限減衰率の具体的な値は、容器30及び内容物37の種類に応じて設定される。ここでいう単位[G]は重力加速度を表し、およそ1.0[G]=9.80665[m/s2]である。 In the example shown in FIG. 6 (B), the attenuation factor based fuel estimation table, characteristics such as the second estimated remaining amount V 2 decreases the higher the attenuation rate D 1 is set. In this table, the lower limit the attenuation factor (e.g., 1000 [mG / s]) and upper damping factor (e.g., 4100 [mG / s]) is set, with respect to the attenuation factor D 1 of the range sandwiched between the The remaining amount of the contents 37 is correlated. Range of attenuation rate D 1 with respect to the second estimated value of the second estimated remaining amount V 2 and increments the remaining quantity V 2, lower attenuation rate, specific values of the upper limit the attenuation factor is the type of container 30 and contents 37 It is set according to. The unit [G] here indicates the gravitational acceleration, and is approximately 1.0 [G] = 9.80665 [m / s 2 ].

なお、各々の残量推定テーブルの数は、計量対象情報の組み合わせの数と同数である。すなわち、残量推定テーブルは、容器30の種類ごとに異なり、かつ、内容物37の種類ごとに異なるものが用意される。容器30の種類数がnであり、内容物37の種類数がmであるとき、各々の残量推定テーブル数はn×mとなる。ただし、容器形状や液質が類似しているなどの理由で、テーブルの内容が類似している場合は、統合や省略することも可能である。   The number of the remaining amount estimation tables is the same as the number of combinations of the measurement target information. That is, the remaining amount estimation table is different for each type of the container 30 and is different for each type of the contents 37. When the number of types of containers 30 is n and the number of types of contents 37 is m, the number of remaining amount estimation tables is n × m. However, if the contents of the tables are similar due to similar container shapes and liquid qualities, they can be integrated or omitted.

[3−8.残量算出部]
残量算出部8(算出部)は、データベース部7のデータベースを用いて、容器30の振動状態に対応する内容物37の残量を算出するものである。ここでは、振動数ベースの残量推定テーブルに基づき、最大周波数成分算出部5で算出された固有振動数F1に対応する第一推定残量V1が算出される。また、減衰率ベースの残量推定テーブルに基づき、振幅変化算出部6で算出された減衰率D1に対応する第二推定残量V2が算出される。
[3-8. Remaining amount calculation unit]
The remaining amount calculation unit 8 (calculation unit) calculates the remaining amount of the contents 37 corresponding to the vibration state of the container 30 using the database of the database unit 7. Here, based on the frequency-based fuel estimation table, the first estimated remaining amount V 1 corresponding to the natural frequency F 1 that is calculated at the maximum frequency component calculating unit 5 is calculated. Further, based on the attenuation factor based fuel estimation table, the second estimated remaining amount V 2 corresponding to the attenuation factor D 1 calculated by the amplitude change calculating unit 6 is calculated.

また、残量算出部8は、第一推定残量V1と第二推定残量V2との差の絶対値が誤差閾値Th3以下であるか否かを判定する。この条件が成立する場合、残量算出部8は、第一推定残量V1と第二推定残量V2とに応じた値を持つ最終推定残量Vを算出する。一方、この条件が成立しない場合には、第一推定残量V1,第二推定残量V2の何れかの誤差が大きいものと判断して、残量の推定演算を終了する。 Further, the remaining amount calculation unit 8 determines the absolute value of the difference between the first estimated remaining quantity V 1 and the second estimated remaining amount V 2 is to or less than the error threshold value Th 3. If this condition is satisfied, the remaining amount calculating unit 8 calculates a final estimated remaining quantity V having a value corresponding to a first estimated remaining quantity V 1 and the second estimated remaining amount V 2. On the other hand, if this condition is not satisfied, it is determined that either the first estimated remaining amount V 1 or the second estimated remaining amount V 2 has a large error, and the remaining amount estimation calculation is terminated.

本実施形態の最終推定残量Vは、第一推定残量V1と第二推定残量V2との平均値として算出される。ここでいう平均値には、相加平均値や二乗平均値,相乗平均値,調和平均値などが含まれ、第一推定残量V1,第二推定残量V2の尤度に応じた加重相加平均値,加重相乗平均値,加重調和平均値なども含まれる。平均値以外を最終推定残量Vとする場合には、最終推定残量Vを第一推定残量V1及び第二推定残量V2の関数で定義しておけばよい。ここで算出された最終推定残量Vの情報は、消費量推定部9に伝達される。 Final estimated remaining amount V of the present embodiment is calculated to be the first estimated remaining amount V 1 as an average value of the second estimated remaining amount V 2. The average value here includes an arithmetic mean value, a root mean square value, a geometric mean value, a harmonic mean value, and the like, and depends on the likelihood of the first estimated remaining amount V 1 and the second estimated remaining amount V 2 . Weighted arithmetic mean, weighted geometric mean, weighted harmonic mean, etc. are also included. When the addition average value as the final estimated remaining amount V may if the final estimated remaining quantity V defined by the first function of the estimated remaining quantity V 1 and the second estimated remaining amount V 2. Information on the final estimated remaining amount V calculated here is transmitted to the consumption estimating unit 9.

ただし、以下に例示する残量算出条件(条件7〜9)の何れかが不成立の場合には、残量の推定演算を不実施とし、あるいは推定演算を実施したとしてもその結果を無効化する。つまり、残量算出部8は、残量算出条件が成立した場合に、残量を算出する機能を持つ。
条件7.最終推定残量Vが不定値である
条件8.基準振幅Wが所定振幅未満である
条件9.減衰率D1が所定減衰率を超える
However, if any of the remaining amount calculation conditions (conditions 7 to 9) exemplified below is not satisfied, the remaining amount estimation calculation is not performed, or even if the estimation calculation is performed, the result is invalidated. . That is, the remaining amount calculation unit 8 has a function of calculating the remaining amount when the remaining amount calculation condition is satisfied.
Condition 7. 7. The final estimated remaining amount V is an undefined value. Condition 8 where the reference amplitude W is smaller than the predetermined amplitude. Attenuation rate D 1 exceeds a predetermined attenuation factor

[3−9.消費量推定部]
消費量推定部9(推定部)は、残量算出部8で算出された最終推定残量Vの変化量から、ユーザによる内容物37の飲量D(消費量,摂取量)を算出するものである。消費量推定部9は、残量算出部8で最終推定残量Vが算出されるたびに、最新の最終推定残量Vとその前回値Vbとの差分(Vb-V)を飲量Dとして算出する。また、ユーザが飲量Dを摂取した時刻(飲時刻td)として、最終推定残量Vに対応する時刻(例えば、振動の開始時刻S0や第一時刻S1,終了時刻S2,現在時刻など)を算出する。また、飲量Dが算出された時点で前回値Vbの値は不要となるため、最新の最終推定残量Vの値を前回値Vbに代入する。ただし、差分(Vb-V)が所定の閾値Th4未満である場合には、飲量Dがゼロだったものとみなして前回値Vbをそのまま維持する。ここで算出された飲量D,飲時刻tdの情報は、最終推定残量Vの情報とともに表示装置23に表示され、ユーザに報知される。また、データ取得部1から計量対象情報が伝達される場合は、容器種別や液体種別を合わせて表示装置23に表示してもよい。さらに、表示装置23へ出力する情報は、記憶装置22や記憶媒体ドライブを介して記録媒体26に記録してもよい。
[3-9. Consumption estimation unit]
The consumption amount estimating unit 9 (estimating unit) calculates a drinking amount D (consumption amount, intake amount) of the contents 37 by the user based on a change amount of the final estimated remaining amount V calculated by the remaining amount calculating unit 8. It is. Each time the remaining amount calculating unit 8 calculates the final estimated remaining amount V, the consumption amount estimating unit 9 sets the difference (Vb−V) between the latest final estimated remaining amount V and its previous value Vb as the drinking amount D. calculate. The time corresponding to the final estimated remaining amount V (for example, the start time S 0 of the vibration, the first time S 1 , the end time S 2 , the current time) Etc.). In addition, since the value of the previous value Vb becomes unnecessary at the time when the amount of drinking D is calculated, the latest value of the final estimated remaining amount V is substituted for the previous value Vb. However, when the difference (Vb-V) is less than a predetermined threshold Th 4 is maintains the previous value Vb is regarded as drinking amount D was zero. The information on the calculated drinking amount D and drinking time td is displayed on the display device 23 together with the information on the final estimated remaining amount V, and is notified to the user. When the measurement target information is transmitted from the data acquisition unit 1, the container type and the liquid type may be displayed together on the display device 23. Further, information output to the display device 23 may be recorded on the recording medium 26 via the storage device 22 or a storage medium drive.

[3−10.モニタ部]
モニタ部10は、データベース部7に格納されるデータベースを作成するための要素であり、容器30の振動状態と内容物37の残量との関係が規定されたテーブル,マップ,数式,関数などを設定する際に用いられる。したがって、すでにデータベースが与えられている場合には、モニタ部10を省略することが可能である。一方、モニタ部10を設けておけば、後日にデータベースを修正,更新することが容易となる。
[3-10. Monitor section]
The monitor unit 10 is an element for creating a database stored in the database unit 7, and stores a table, a map, a mathematical expression, a function, and the like in which the relationship between the vibration state of the container 30 and the remaining amount of the contents 37 is defined. Used when setting. Therefore, when a database is already provided, the monitor unit 10 can be omitted. On the other hand, if the monitor unit 10 is provided, it becomes easy to modify and update the database at a later date.

モニタ部10は、容器30及び内容物37の種類が判明している場合であって、内容物37の実残量Vrも判明している場合(計測可能である場合)に用いられる。具体的には、手に持った容器30を机上に載置するなどして容器30に振動を生じさせ、その振動の加速度情報をデータ取得部1に取得させる。また、振動が自然に減衰するまで容器30を放置し、その振動が停止する直前の所定期間R内に取得された加速度情報,角速度情報に基づいて、容器30の振動状態を特定させる。例えば、最大周波数成分の固有振動数F1を最大周波数成分算出部5に算出させるとともに、減衰率D1を振幅変化算出部6に算出させる。一方、モニタ部10は、これらの固有振動数F1,減衰率D1に外部から入力される内容物37の実残量Vrを対応付けるように、計測対象情報に応じてデータベースを修正,更新する。 The monitor unit 10 is used when the types of the container 30 and the contents 37 are known and the actual remaining amount Vr of the contents 37 is also known (measurable). Specifically, the container 30 held by the hand is placed on a desk to generate vibration in the container 30, and the data acquisition unit 1 is caused to acquire acceleration information of the vibration. Further, the container 30 is left until the vibration is naturally attenuated, and the vibration state of the container 30 is specified based on the acceleration information and the angular velocity information acquired within the predetermined period R immediately before the vibration stops. For example, the natural frequency F 1 of the maximum frequency component causes calculated to the maximum frequency component calculating unit 5, to calculate the attenuation factor D 1 to the amplitude variation calculating section 6. On the other hand, the monitor unit 10 corrects and updates the database according to the measurement target information so that the natural frequency F 1 and the attenuation rate D 1 are associated with the actual remaining amount Vr of the content 37 input from the outside. .

[4.フローチャート]
[4−1.残量・飲量の推定]
図7,図8は、計量装置20で実行される計量プログラム11の手順を例示するフローチャートである。本フローで使用される制御用のフラグStは、容器30が動状態であるか(振動している状態であるか)、それとも静止状態であるかを示すものであり、その初期値は静止状態を示すSt=0とする。まず、データ取得部1において、キャップ32側から伝達される加速度情報,計量対象情報が取得される(ステップA1)。加速度情報はバッファ部2に伝達され、直近のバッファ期間T2分の情報が蓄積される(ステップA2)。
[4. flowchart]
[4-1. Estimation of remaining amount and drinking amount]
7 and 8 are flowcharts illustrating the procedure of the weighing program 11 executed by the weighing device 20. The control flag St used in this flow indicates whether the container 30 is in a moving state (a vibrating state) or a stationary state, and its initial value is a stationary state. Is set to St = 0. First, the data acquisition unit 1 acquires acceleration information and measurement target information transmitted from the cap 32 (step A1). Acceleration information is transmitted to the buffer unit 2, information of 2 minutes nearest buffer period T is accumulated (step A2).

判定部3では、バッファ部2に蓄えられたデータに基づき、動判定条件が判定される(ステップA3)。例えば、最新の加速度変化の大きさが閾値Th1以上である場合に動判定条件が成立すると判断され、フラグStが動状態を示すSt=1に設定されるとともに、バッファ部2に蓄えられたデータに基づき、静止判定条件の判定が開始される(ステップA4〜A6)。例えば、動判定条件が成立した後に、所定時間T1の間連続して加速度変化の大きさが閾値Th2以下となった場合に静止判定条件が成立すると判断され、フラグStが静止状態を示すSt=0に設定され、振動状態の特定が開始される(ステップA7〜A8)。 The determination unit 3 determines a motion determination condition based on the data stored in the buffer unit 2 (Step A3). For example, it is determined that the dynamic determination condition when the magnitude of the most recent acceleration change is the threshold value Th 1 or more is satisfied, with a flag St is set to St = 1 showing a dynamic state, stored in the buffer section 2 The determination of the stillness determination condition is started based on the data (steps A4 to A6). Shown example, after the motion determination condition is satisfied, the magnitude of the acceleration changes continuously for the predetermined time T 1 is is determined that the stationary judgment condition when a threshold value Th 2 below is satisfied, the flag St is a stationary state St = 0 is set, and the identification of the vibration state is started (steps A7 to A8).

振動状態特定部4では、容器30の静止時の姿勢が正立姿勢であるか否かが判定される。ここで、正立姿勢時に期待される加速度計測値はセンサの取り付け方向によって決まり、例えばこれを、基準加速度ar(xr,yr,zr)=(0,1,0)[G]とし、計測される加速度をa(x,y,z)とすると、誤差加速度Δa=a-arの大きさが所定の閾値以下であるか否かによって正立姿勢か否かを判定することが可能である。なお、基準加速度の値は、容器に取り付けるセンサの上下水平方向を統一(例えばyが上下方向でx,zが水平方向)し、定数(0,1,0)[G]として扱ってもよいし、実際に計測した値を計量対象情報として受け取ってもよい。また、判定部3における動判定および静止判定の例で用いた加速度変化の大きさの代わりに、この誤差加速度の大きさを用いてもよい。正立姿勢の場合には、その振動状態を特定するためデータが抽出される対象区間が設定される(ステップA9〜A10)。対象区間は、図4,図5に示すように、容器30の振動が停止したとみなされる終了時刻S2の直前の所定期間Rに相当する区間(第一時刻S1から終了時刻S2までの区間)とされる。第一時刻S1よりも過去のデータを対象外とすることで外乱振動の影響が抑制され、終了時刻S2よりも後のデータを対象外とすることで、液量と相関の高い振動状態が把握しやすくなる。 The vibration state identification unit 4 determines whether the posture of the container 30 at rest is the upright posture. Here, the acceleration measurement value expected in the upright posture is determined by the mounting direction of the sensor. For example, the acceleration measurement value is calculated as a reference acceleration a r (x r , y r , z r ) = (0, 1, 0) [G] and then, when the acceleration is measured a (x, y, z) and, possible magnitude of the error acceleration .DELTA.a = aa r to determine whether erect posture by or less than a predetermined threshold value It is. The value of the reference acceleration may be treated as a constant (0, 1, 0) [G] by unifying the vertical and horizontal directions of the sensor attached to the container (for example, y is the vertical direction and x and z are the horizontal directions). Then, the actually measured value may be received as the measurement target information. Further, the magnitude of the error acceleration may be used instead of the magnitude of the acceleration change used in the example of the motion determination and the stillness determination in the determination unit 3. In the case of the upright posture, a target section from which data is extracted to specify the vibration state is set (steps A9 to A10). Target section, FIG. 4, as shown in FIG. 5, from the interval (first time S 1 the vibration of the container 30 corresponds to the predetermined period R immediately before the end time S 2 that are considered to have stopped to the end time S 2 Section). Influence of the disturbance vibration is suppressed than the first time S 1 to exclude the historical data, that to exclude the data later than the end time S 2, a high vibration state correlated with liquid volume Is easy to grasp.

最大周波数成分算出部5では、振動の最大周波数成分の周波数である一次の固有振動数F1が算出される(ステップA11)。また、振幅変化算出部6では、振動の振幅変化として、基準振幅W,減衰率D1が算出される(ステップA12)。その後、残量算出部8では、残量算出条件が成立するか否かが判定される(ステップA13〜A15)。 In the maximum frequency component calculation unit 5, the natural frequency F 1 is calculated in the primary is the frequency of the maximum frequency component of the vibration (step A11). Further, the amplitude variation calculating section 6, as an amplitude change in the vibration, the reference amplitude W, attenuation rate D 1 is calculated (Step A12). Thereafter, the remaining amount calculation unit 8 determines whether the remaining amount calculation condition is satisfied (steps A13 to A15).

残量算出条件が成立する場合、振動数ベースの残量推定テーブルに基づき、固有振動数F1に対応する第一推定残量V1が算出される(ステップA16)。また、減衰率ベースの残量推定テーブルに基づき、減衰率D1に対応する第二推定残量V2が算出される(ステップA17)。これらの第一推定残量V1,第二推定残量V2の差の絶対値が誤差閾値Th3以下であれば、第一推定残量V1と第二推定残量V2とに応じた最終推定残量Vが算出される(ステップA18〜A19)。一方、消費量推定部9では、残量算出部8で算出された最終推定残量Vの変化量に基づき、ユーザによる内容物37の飲量Dとその時刻が算出される(ステップA20)。そして、容器30の種類や内容物37の種類,最終推定残量V,飲量D,飲時刻tdなどの情報が、表示装置23に表示される(ステップA21)。 If the remaining amount calculation condition is satisfied, based on the frequency-based fuel estimation table, the first estimated remaining amount V 1 corresponding to the natural frequency F 1 is calculated (Step A16). Further, based on the attenuation factor based fuel estimation table, the second estimated remaining amount V 2 is calculated corresponding to the attenuation factor D 1 (step A17). First estimated remaining amount V 1 of the these, the absolute value of the difference between the second estimated remaining amount V 2 is equal to or less than the error threshold value Th 3, according to the first estimated remaining quantity V 1 and the second estimated remaining amount V 2 The final estimated remaining amount V is calculated (steps A18 to A19). On the other hand, the consumption estimating unit 9 calculates the amount D of drinking of the contents 37 by the user and the time based on the change amount of the final estimated remaining amount V calculated by the remaining amount calculating unit 8 (step A20). Then, information such as the type of the container 30 and the type of the contents 37, the final estimated remaining amount V, the amount of drink D, and the time of drink td are displayed on the display device 23 (step A21).

[4−2.データベースの設定]
図9は、データベースの初期設定や変更(例えば、残量推定テーブルの作成や変更)をするためのプログラムの手順を例示するフローチャートである。本フローは、図7に示すフローにおける符号Aまでの処理に引き続いて実施される。すなわち、容器30の状態が動状態から静止状態へと変化したときに、静止状態の直前の所定期間R内に取得されたデータに基づき、固有振動数F1,減衰率D1が算出される。また、内容物37の実残量Vrがユーザによって測定され、入力装置24から入力される(ステップA31)。モニタ部10では、固有振動数F1と実残量Vrとが対応付けられるように、計測対象情報に応じた振動数ベースの残量推定テーブルの内容が記録,更新される。また、計測対象情報に応じた減衰率ベースの残量推定テーブルは、減衰率D1と実残量Vrとが対応付けられるように、その内容が記録,更新される(ステップA32〜A33)。
[4-2. Database Settings]
FIG. 9 is a flowchart illustrating a procedure of a program for performing initial setting and change of a database (for example, creation and change of a remaining amount estimation table). This flow is performed subsequent to the processing up to the symbol A in the flow shown in FIG. That is, when the state of the container 30 changes from the moving state to the stationary state, the natural frequency F 1 and the damping rate D 1 are calculated based on the data acquired within the predetermined period R immediately before the stationary state. . Further, the actual remaining amount Vr of the content 37 is measured by the user and is input from the input device 24 (step A31). The monitor unit 10, as can be correlated with the natural frequency F 1 and Jitsuzanryou Vr, the contents of the frequency-based fuel estimation table corresponding to the measurement object information recorded and updated. Further, the measurement target information decay rate based fuel estimation table according to, like the attenuation rate D 1 and Jitsuzanryou Vr is associated, the content is recorded and updated (step A32~A33).

[5.作用,効果]
(1)上記の計量プログラム11が実行される計量装置20では、容器30の振動が停止したとみなされる終了時刻S2を基準として、その直前の所定期間R内に取得されたデータに基づいて容器30の振動状態が特定される。これにより、外乱による振動が無くなってから、外乱の影響が残存する不安定な振動状態に対応するデータを不参照とすることができ、外乱の影響が低減,抑制され、液量の影響が顕著となる減衰振動を精度よく把握することができる。したがって、特定の液量を内容する容器30固有の振動状態の特定精度を向上させることができ、内容物37を精度よく計量することができる。また、容器30の静止判定条件が成立すると、静止判定条件に含まれる所定時間T1だけ条件成立時刻S4から遡った時刻が所定期間Rの終点に設定される。これにより、振動がほとんど収束した状態に対応するデータを不参照とすることができ、容器30の振動状態の特定精度を向上させることができる。
[5. Action, effect]
(1) In the above metering program 11 weighing apparatus is executed 20, based on the end time S 2 the vibration of the container 30 is considered to have stopped, on the basis of the data obtained within the predetermined period just before R The vibration state of the container 30 is specified. As a result, the data corresponding to the unstable vibration state in which the influence of the disturbance remains after the vibration due to the disturbance disappears can be referred to, and the influence of the disturbance is reduced and suppressed, and the influence of the liquid amount is remarkable. Can be accurately grasped. Therefore, it is possible to improve the accuracy of specifying the vibration state unique to the container 30 containing the specific liquid amount, and it is possible to accurately measure the contents 37. Further, the still determination condition of the container 30 is established, the time traced back from the only trigger times S 4 predetermined time T 1 included in the still determination condition is set to the end of the predetermined period R. Thereby, the data corresponding to the state in which the vibration has almost converged can be referred to, and the accuracy of specifying the vibration state of the container 30 can be improved.

(2)上記の計量プログラム11では、振動の停止時の姿勢が所定姿勢(正立姿勢)である場合に、振動状態が特定される。このように、容器30の振動が停止したときの姿勢を考慮することで、振動状態特定部4で特定される振動状態と内容物37の残量との相関が期待する関係に近い状態を選別することができる。したがって、内容物37の計量精度を向上させることができる。   (2) In the weighing program 11, the vibration state is specified when the posture at the time of stopping the vibration is a predetermined posture (upright posture). As described above, by considering the posture when the vibration of the container 30 is stopped, the state in which the correlation between the vibration state specified by the vibration state specifying unit 4 and the remaining amount of the contents 37 is close to the expected relationship is selected. can do. Therefore, the weighing accuracy of the contents 37 can be improved.

(3)上記の計量プログラム11には、振幅が最大となる周波数成分(最大周波数成分)を抽出する最大周波数成分算出部5が設けられる。最大周波数成分を参照することで、内容物37の高さ方向の寸法(内容物37の深さ寸法)に応じた一次の固有振動数を把握することが容易となり、内容物37の計量精度を向上させることができる。
(4)上記の計量プログラム11には、振動の振幅変化を抽出する振幅変化算出部6が設けられる。振幅変化を参照することで、内容物37の重量,体積に応じた振動の大きさや振動収束時間を把握することが容易となり、内容物37の計量精度を向上させることができる。
(3) The weighing program 11 is provided with a maximum frequency component calculation unit 5 that extracts a frequency component (maximum frequency component) having the maximum amplitude. By referring to the maximum frequency component, it becomes easy to grasp the primary natural frequency corresponding to the dimension in the height direction of the content 37 (the depth dimension of the content 37), and the weighing accuracy of the content 37 can be reduced. Can be improved.
(4) The above-mentioned weighing program 11 is provided with an amplitude change calculator 6 for extracting an amplitude change of vibration. By referring to the amplitude change, it is easy to grasp the magnitude of the vibration and the vibration convergence time according to the weight and volume of the contents 37, and the measurement accuracy of the contents 37 can be improved.

(5)上記の計量プログラム11では、固有振動数F1が所定周波数範囲内にある場合に、残量の推定演算が実施される。一方、固有振動数F1が所定周波数範囲外にある場合には、その推定演算が不実施とされる。これにより、容器30から取り外されたキャップ32が机上に置かれたような場合の推定結果を無効化することができる。つまり、容器30の振動状態の誤検出や誤判定を抑制することができ、内容物37の計量精度を向上させることができる。 (5) In the above metering program 11, when the natural frequency F 1 is within a predetermined frequency range, estimation calculation of the remaining amount is carried out. On the other hand, if the natural frequency F 1 is outside a predetermined frequency range, the estimated operation is the non-implementation. This makes it possible to invalidate the estimation result when the cap 32 removed from the container 30 is placed on a desk. That is, erroneous detection and erroneous determination of the vibration state of the container 30 can be suppressed, and the measurement accuracy of the contents 37 can be improved.

(6)また、上記の計量プログラム11では、基準振幅Wが所定振幅以上である場合に、残量の推定演算が実施される。これにより、キャップ32のみが机上に置かれた場合だけでなく、振動がほとんど生じない程度にゆっくりと容器30が机上に置かれたような場合の推定結果を無効化することができる。したがって、容器30の振動状態の誤検出や誤判定を抑制することができ、内容物37の計量精度を向上させることができる。   (6) In the weighing program 11, when the reference amplitude W is equal to or larger than the predetermined amplitude, the remaining amount estimation calculation is performed. This makes it possible to invalidate the estimation result not only when only the cap 32 is placed on the desk, but also when the container 30 is placed on the desk slowly enough to cause almost no vibration. Therefore, erroneous detection and erroneous determination of the vibration state of the container 30 can be suppressed, and the measurement accuracy of the contents 37 can be improved.

(7)同様に、上記の計量プログラム11では、減衰率D1が所定減衰率以下である場合に、残量の推定演算が実施される。これにより、キャップ32のみが机上に置かれた場合だけでなく、外乱によって液量に相関の高い振動成分が発生しなかった状態での推定結果を無効化することができる。
例えば、容器30が鉛直方向からまっすぐに机上に載置され、固有周波数成分の振動が僅かしか生じなかったような場合には、残量の推定演算を停止させることができる。したがって、容器30の振動状態の誤検出や誤判定を抑制することができ、内容物37の計量精度を向上させることができる。
(7) Similarly, in the metering program 11, when the attenuation rate D 1 is less than a predetermined attenuation factor, estimation calculation of the remaining amount is carried out. This makes it possible to invalidate the estimation result not only in the case where only the cap 32 is placed on the desk, but also in a state where a vibration component highly correlated with the liquid amount is not generated due to disturbance.
For example, when the container 30 is placed on a desk straight from the vertical direction and only a small amount of vibration of the natural frequency component occurs, the calculation of estimating the remaining amount can be stopped. Therefore, erroneous detection and erroneous determination of the vibration state of the container 30 can be suppressed, and the measurement accuracy of the contents 37 can be improved.

(8)上記の計量プログラム11では、最終推定残量Vの変化量から内容物37の飲量を推定する消費量推定部9が設けられる。このように、演算精度の高い最終推定残量Vの経時変化を追跡することで、ユーザによる内容物37の摂取量を精度よく推定することができる。   (8) In the weighing program 11, the consumption estimating unit 9 for estimating the drinking amount of the contents 37 from the variation of the final estimated remaining amount V is provided. In this way, by tracking the temporal change of the final estimated remaining amount V with high calculation accuracy, it is possible to accurately estimate the intake amount of the contents 37 by the user.

[6.変形例]
上述の実施形態では、加速度センサ33が内蔵されたキャップ32と計量装置20とを別体に設けた計量システムを例示したが、これらを一体に設けることも可能である。例えば、キャップ32に制御装置40や表示装置23を内蔵させることで、上述の実施形態と同様の作用,効果を奏するシステムを実現することができる。
[6. Modification]
In the above-described embodiment, the weighing system in which the cap 32 in which the acceleration sensor 33 is incorporated and the weighing device 20 are separately provided has been illustrated, but these may be provided integrally. For example, by incorporating the control device 40 and the display device 23 in the cap 32, it is possible to realize a system having the same operation and effect as the above-described embodiment.

また、上述の実施形態では、計量プログラム11が計量装置20の記憶装置22,記録媒体26,補助記憶装置43などに記録,保存されているものとしたが、計量プログラム11が記録,保存される場所は任意に設定可能である。例えば、計量装置20が接続されるネットワーク上に配置されたサーバ,ワークステーションなどに計量プログラム11を実装してもよい。また、計量プログラム11を複数のコンポーネントに分割し、各々を別の場所に記録,保存することも可能である。例えば、容器30の振動状態と内容物37の残量との関係が規定されたデータベース(テーブル,マップ,数式,関数など)をネットワーク上のサーバ,ワークステーションなどに実装し、一つのデータベースに複数の計量装置20がアクセスするような制御構成としてもよい。   In the above-described embodiment, the weighing program 11 is recorded and stored in the storage device 22, the recording medium 26, the auxiliary storage device 43, and the like of the weighing device 20, but the weighing program 11 is recorded and stored. The location can be set arbitrarily. For example, the weighing program 11 may be mounted on a server, a workstation, or the like arranged on a network to which the weighing device 20 is connected. It is also possible to divide the weighing program 11 into a plurality of components and record and store each in a different location. For example, a database (table, map, formula, function, etc.) defining the relationship between the vibration state of the container 30 and the remaining amount of the contents 37 is mounted on a server, a workstation, or the like on a network, and a plurality of databases are stored in one database. May be configured to be accessed by the weighing device 20.

上述の実施形態では、加速度情報を検出する加速度センサ33が内蔵されたキャップ32を例示したが、容器30の振動状態を特定するための情報はこれらに限定されない。また、加速度センサ33をジャイロセンサで代替し、加速度情報の代わりとして、角速度情報を用いて容器30の振動状態を特定することも可能である。あるいは、振動波形を取得可能なセンサであれば加速度センサ33と置き換え、容器30の振動状態を特定することも可能である。   In the above-described embodiment, the cap 32 in which the acceleration sensor 33 for detecting the acceleration information is incorporated is illustrated, but the information for specifying the vibration state of the container 30 is not limited thereto. In addition, the acceleration sensor 33 may be replaced with a gyro sensor, and the vibration state of the container 30 may be specified using angular velocity information instead of the acceleration information. Alternatively, if the sensor is capable of acquiring a vibration waveform, the vibration state of the container 30 can be specified by replacing the acceleration sensor 33 with a sensor.

また、上述の実施形態では、容器30の静止時の姿勢が正立姿勢である場合に、内容物37の計量が実施されているが、ここでいう正立姿勢とはデータベースに設定された振動状態に対応する姿勢であって、必ずしも机上面に対して垂直な状態であることを意味しない。なお、上面が開放されたコップ型容器のように、静止時の姿勢が一意に定まる容器30の内容物37を計量対象とする場合には、振動状態と内容物37の残量との相関が低下しにくいため、姿勢の判定を省略したとしても残量を精度よく推定することができる。   In the above-described embodiment, the content 37 is measured when the posture of the container 30 at rest is the upright posture. However, the upright posture here is the vibration set in the database. The posture corresponds to the state, and does not necessarily mean that the state is perpendicular to the desk surface. When the contents 37 of the container 30 whose posture at rest is uniquely determined, such as a cup-shaped container having an open top surface, are measured, the correlation between the vibration state and the remaining amount of the contents 37 is determined. The remaining amount can be accurately estimated even if the determination of the posture is omitted, since the remaining amount is not easily reduced.

上述の実施形態では、内容物37の最終推定残量V,飲量D,飲時刻tdの情報が表示装置23に表示されるものとしたが、具体的な用途はこれに限定されない。例えば、業務や家庭内における食品,調味料,薬品などの各種在庫管理に適用することが考えられる。また、在宅介護や飲食業において、飲量物を提供するタイミングを検知するのに利用することも考えられる。あるいは、熱中症対策や運動時の健康管理の一環として、水分摂取量の管理に利用することも考えられる。このように、上記の計量プログラム11は、任意の容器30の内容物37を計量するために利用することができる。特に、可搬性の高い容器30の内容物37を、その容器30が載置されうる位置に左右されることなく、精度よく計量するのに利用することができる。   In the above-described embodiment, the information of the final estimated remaining amount V, the drinking amount D, and the drinking time td of the contents 37 is displayed on the display device 23, but the specific application is not limited to this. For example, it is conceivable to apply the present invention to various inventory managements of foods, seasonings, medicines, and the like in business and at home. In addition, in home care and the food and beverage industry, it may be used to detect the timing of providing drinks. Alternatively, it may be used for managing water intake as part of measures against heat stroke and health management during exercise. Thus, the above-mentioned weighing program 11 can be used to weigh the contents 37 of any container 30. In particular, the contents 37 of the highly portable container 30 can be used for accurate measurement without depending on the position where the container 30 can be placed.

[7.付記]
以上の変形例を含む実施形態に関し、さらに以下の付記を開示する。
[7−1.計量装置]
(付記1)
容器の振動を特定する情報を取得する取得部と、
前記振動の開始から所定時間以降の第一時刻から前記振動が停止したとみなされる第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定部と、
前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出部と、
を備えることを特徴とする計量装置。
(付記2)
前記振動の停止時の姿勢が所定姿勢である場合に、前記特定部が前記振動状態を特定する
ことを特徴とする、付記1記載の計量装置。
(付記3)
前記特定部が、前記振動状態の一つである前記振動の最大周波数成分を特定する
ことを特徴とする、付記1又は2記載の計量装置。
(付記4)
前記特定部が、前記振動状態の一つである前記振動の振幅変化を特定する
ことを特徴とする、付記1〜3の何れか1項に記載の計量装置。
(付記5)
前記振動の最大周波数成分の振動数が所定周波数範囲内にある場合に、前記算出部が前記量を算出する
ことを特徴とする、付記1〜4の何れか1項に記載の計量装置。
(付記6)
前記振動の振幅が所定振幅以上の場合に、前記算出部が前記量を算出する
ことを特徴とする、付記1〜5の何れか1項に記載の計量装置。
(付記7)
前記振動の減衰率が所定減衰率以下の場合に、前記算出部が前記量を算出する
ことを特徴とする、付記1〜6の何れか1項に記載の計量装置。
(付記8)
前記量の変化量から、前記内容物の消費量を推定する推定部を備える
ことを特徴とする、付記1〜7の何れか1項に記載の計量装置。
(補足)
付記1〜8において、前記所定期間は、前記振動が停止する直前の期間であることが好ましい。また、前記所定期間内に取得された前記情報から特定される前記振動状態は、前記容器と内容液の液質および液量によって定まる固有振動状態であることが好ましい。なお、前記取得部で取得される前記情報の具体例としては、速度情報,加速度情報,角速度情報,角加速度情報などが挙げられる。例えば、これらの情報を検出するセンサを前記容器に取り付けておき、前記センサでの検出結果を無線通信,有線通信で前記取得部が取得するように構成してもよい。この場合、本計量装置の機能をスマートフォンや携帯型端末装置に内蔵させてもよい。
なお、付記1に記載の「第一時刻」とは、前記振動を開始してから停止する前の時刻であることが好ましく、言い換えれば、前記振動の開始から所定時間が経過した時刻以降の時刻であることが好ましい。ここで、前記振動に外乱が含まれる期間を外乱期間と定義すれば、前記第一時刻は、前記振動の開始から前記外乱期間が経過した時刻以降の時刻であることが好ましい。つまり、前記外乱期間は、前記第一時刻から前記第二時刻までの前記所定期間から除外されることが好ましい。
[7. Appendix]
Regarding the embodiment including the above-described modified examples, the following supplementary notes are further disclosed.
[7-1. Measuring device]
(Appendix 1)
An acquisition unit for acquiring information for identifying the vibration of the container,
From the information obtained within a predetermined period from a first time after a predetermined time from the start of the vibration to a second time from which the vibration is considered to be stopped, a specifying unit that specifies the vibration state of the container,
From the relationship of the amount of the contents of the container to the vibration state of the container, a calculation unit that calculates the amount corresponding to the vibration state,
A weighing device comprising:
(Appendix 2)
The weighing device according to claim 1, wherein the specifying unit specifies the vibration state when the posture when the vibration stops is a predetermined posture.
(Appendix 3)
3. The weighing device according to claim 1, wherein the specifying unit specifies a maximum frequency component of the vibration that is one of the vibration states.
(Appendix 4)
4. The weighing device according to claim 1, wherein the specifying unit specifies an amplitude change of the vibration that is one of the vibration states. 5.
(Appendix 5)
5. The weighing device according to claim 1, wherein the calculation unit calculates the amount when a frequency of a maximum frequency component of the vibration is within a predetermined frequency range. 6.
(Appendix 6)
The weighing device according to any one of supplementary notes 1 to 5, wherein the calculation unit calculates the amount when the amplitude of the vibration is equal to or greater than a predetermined amplitude.
(Appendix 7)
The weighing device according to any one of Supplementary notes 1 to 6, wherein the calculation unit calculates the amount when an attenuation rate of the vibration is equal to or less than a predetermined attenuation rate.
(Appendix 8)
8. The weighing device according to claim 1, further comprising an estimation unit configured to estimate an amount of consumption of the content from the amount of change in the amount. 9.
(Supplement)
In Supplementary Notes 1 to 8, it is preferable that the predetermined period is a period immediately before the vibration stops. Further, it is preferable that the vibration state specified from the information acquired during the predetermined period is a natural vibration state determined by the liquid quality and the liquid amount of the container and the content liquid. In addition, specific examples of the information acquired by the acquisition unit include speed information, acceleration information, angular velocity information, angular acceleration information, and the like. For example, a sensor for detecting such information may be attached to the container, and the result of detection by the sensor may be acquired by the acquisition unit by wireless communication or wired communication. In this case, the function of the present weighing device may be built in a smartphone or a portable terminal device.
Note that the “first time” described in Supplementary Note 1 is preferably a time before the vibration is started and before the vibration is stopped, in other words, a time after a predetermined time has elapsed from the start of the vibration. It is preferred that Here, if a period in which the vibration includes a disturbance is defined as a disturbance period, the first time is preferably a time after the time when the disturbance period has elapsed from the start of the vibration. That is, it is preferable that the disturbance period be excluded from the predetermined period from the first time to the second time.

[7−2.プロセッサを含む計量装置]
(付記9)
容器の内容物の量を計量する計量装置において、
プロセッサと、メモリと、
前記プロセッサで実行され、前記容器の振動を特定する情報を取得する取得部と、
前記プロセッサで実行され、前記振動の開始から所定時間以降の第一時刻から前記振動が停止したとみなされる第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定部と、
前記プロセッサで実行され、前記特定部で特定された前記振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出部と、
を備えることを特徴とする計量装置。
[7-2. Weighing device including processor]
(Appendix 9)
In a measuring device for measuring the amount of the contents of a container,
Processor, memory,
An acquisition unit that is executed by the processor and acquires information that specifies vibration of the container,
The vibration state of the container is specified from the information executed within the predetermined period from the first time after the predetermined time from the start of the vibration to the second time when the vibration is considered to be stopped, executed by the processor. A specific part to be
A calculation unit that is executed by the processor and calculates the amount corresponding to the vibration state from the relationship between the amount of the contents of the container and the vibration state specified by the specification unit.
A weighing device comprising:

[7−3.計量システム]
(付記10)
容器のキャップに内蔵され、前記容器の振動を特定する情報を検出するセンサと、
前記センサで検出された前記情報を取得する取得部と、
前記振動の開始から所定時間以降の第一時刻から前記振動が停止したとみなされる第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定部と、
前記特定部で特定された前記振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出部と、
を備えることを特徴とする計量システム。
[7-3. Weighing system]
(Appendix 10)
A sensor that is built into the cap of the container and detects information that specifies the vibration of the container,
An acquisition unit configured to acquire the information detected by the sensor;
From the information obtained within a predetermined period from a first time after a predetermined time from the start of the vibration to a second time from which the vibration is considered to be stopped, a specifying unit that specifies the vibration state of the container,
From the relationship of the amount of the contents of the container to the vibration state specified by the specifying unit, a calculation unit that calculates the amount corresponding to the vibration state,
A weighing system comprising:

[7−4.計量方法]
(付記11)
容器の振動を特定する情報を取得する取得工程と、
前記振動の開始から所定時間以降の第一時刻から前記振動が停止したとみなされる第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定工程と、
前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出工程と、
を備えることを特徴とする計量方法。
(付記12)
前記特定工程において、前記振動の停止時の姿勢が所定姿勢である場合に、前記振動状態を特定する
ことを特徴とする、付記11記載の計量方法。
(付記13)
前記特定工程において、前記振動状態の一つである前記振動の最大周波数成分を特定する
ことを特徴とする、付記11又は12記載の計量方法。
(付記14)
前記特定工程において、前記振動状態の一つである前記振動の振幅変化を特定する
ことを特徴とする、付記11〜13の何れか1項に記載の計量方法
(付記15)
前記算出工程において、前記振動の最大周波数成分の振動数が所定周波数範囲内にある場合に、前記量を算出する
ことを特徴とする、付記11〜14の何れか1項に記載の計量方法。
(付記16)
前記算出工程において、前記振動の振幅が所定振幅以上の場合に、前記量を算出する
ことを特徴とする、付記11〜15の何れか1項に記載の計量方法。
(付記17)
前記算出工程において、前記振動の減衰率が所定減衰率以下の場合に、前記量を算出する
ことを特徴とする、付記11〜16の何れか1項に記載の計量方法。
(付記18)
前記量の変化量から、前記内容物の消費量を推定する推定工程を備える
ことを特徴とする、付記11〜17の何れか1項に記載の計量方法。
[7-4. Weighing method]
(Appendix 11)
An acquisition step of acquiring information for identifying vibration of the container,
From the information obtained within a predetermined period from a first time after a predetermined time after the start of the vibration to a second time when the vibration is considered to be stopped, a specifying step of specifying the vibration state of the container,
From the relationship of the amount of the contents of the container to the vibration state of the container, a calculation step of calculating the amount corresponding to the vibration state,
A weighing method comprising:
(Appendix 12)
12. The weighing method according to claim 11, wherein in the specifying step, the vibration state is specified when the posture at the time of stopping the vibration is a predetermined posture.
(Appendix 13)
13. The weighing method according to claim 11, wherein in the specifying step, a maximum frequency component of the vibration that is one of the vibration states is specified.
(Appendix 14)
The method according to any one of Supplementary Notes 11 to 13, wherein in the specifying step, a change in amplitude of the vibration that is one of the vibration states is specified (Additional Note 15).
15. The weighing method according to any one of supplementary notes 11 to 14, wherein, in the calculating step, the amount is calculated when a frequency of a maximum frequency component of the vibration is within a predetermined frequency range.
(Appendix 16)
The method according to any one of supplementary notes 11 to 15, wherein, in the calculating step, the amount is calculated when the amplitude of the vibration is equal to or greater than a predetermined amplitude.
(Appendix 17)
The method according to any one of Supplementary Notes 11 to 16, wherein the amount is calculated when the attenuation rate of the vibration is equal to or less than a predetermined attenuation rate in the calculating step.
(Appendix 18)
18. The weighing method according to any one of Supplementary Notes 11 to 17, further comprising an estimation step of estimating the consumption amount of the content from the change amount of the amount.

1 データ取得部(取得部)
2 バッファ部
3 判定部
4 振動状態特定部(特定部)
5 最大周波数成分算出部
6 振幅変化算出部
7 データベース部(データベース)
8 残量算出部(算出部)
9 消費量推定部(推定部)
10 モニタ部
11 計量プログラム
20 計量装置(スマートフォン)
30 容器
32 キャップ
37 内容物
40 制御装置
1 Data acquisition unit (acquisition unit)
2 Buffer unit 3 Judgment unit 4 Vibration state identification unit (identification unit)
5 Maximum frequency component calculation unit 6 Amplitude change calculation unit 7 Database unit (database)
8 Remaining amount calculation unit (calculation unit)
9 Consumption estimation unit (estimation unit)
10 monitor section 11 weighing program 20 weighing device (smartphone)
Reference Signs List 30 container 32 cap 37 contents 40 control device

Claims (10)

容器の振動を特定する情報を取得し、
前記容器の振動の開始時刻と、前記容器の振動が停止したとみなされる第二時刻とを判定
前記振動の開始から所定時間以降の第一時刻から前記第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定し、
前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する
処理をコンピュータに実行させる計量プログラム。
Obtain information specifying the vibration of the container,
The start time of the vibration of the container, and a second time when the vibration of the container is considered to have stopped is determined,
From the information obtained during a predetermined period from the first time after the predetermined time from the start of the vibration to the second time, to identify the vibration state of the container,
A weighing program for causing a computer to execute a process of calculating the amount corresponding to the vibration state from a relationship between the amount of contents of the container and the vibration state of the container.
前記振動の停止時の姿勢が所定姿勢である場合に、前記振動状態を特定する
処理をコンピュータに実行させる、請求項1記載の計量プログラム。
The weighing program according to claim 1, wherein when the posture at the time of stopping the vibration is a predetermined posture, the computer executes a process of specifying the vibration state.
前記振動状態が、前記振動の最大周波数成分である
処理をコンピュータに実行させる、請求項1又は2記載の計量プログラム。
The weighing program according to claim 1, wherein the weighing program causes the computer to execute a process in which the vibration state is a maximum frequency component of the vibration.
前記振動状態が、前記振動の振幅変化である
処理をコンピュータに実行させる、請求項1〜3の何れか1項に記載の計量プログラム。
The weighing program according to any one of claims 1 to 3, wherein the weighing program causes a computer to execute a process in which the vibration state is a change in amplitude of the vibration.
前記振動の最大周波数成分の振動数が所定周波数範囲内にある場合に、前記量を算出する
処理をコンピュータに実行させる、請求項1〜4の何れか1項に記載の計量プログラム。
5. The weighing program according to claim 1, wherein when the frequency of the maximum frequency component of the vibration is within a predetermined frequency range, the computer executes a process of calculating the amount. 6.
前記振動の振幅が所定振幅以上の場合に、前記量を算出する
処理をコンピュータに実行させる、請求項1〜5の何れか1項に記載の計量プログラム。
The weighing program according to any one of claims 1 to 5, wherein when the amplitude of the vibration is equal to or greater than a predetermined amplitude, a computer executes a process of calculating the amount.
前記振動の減衰率が所定減衰率以下の場合に、前記量を算出する
処理をコンピュータに実行させる、請求項1〜6の何れか1項に記載の計量プログラム。
The weighing program according to any one of claims 1 to 6, wherein when the attenuation rate of the vibration is equal to or less than a predetermined attenuation rate, a computer executes a process of calculating the amount.
前記量の変化量から、前記内容物の消費量を推定する
処理をコンピュータに実行させる、請求項1〜7の何れか1項に記載の計量プログラム。
The weighing program according to any one of claims 1 to 7, wherein the weighing program causes a computer to execute a process of estimating a consumption amount of the content from a change amount of the amount.
容器の振動を特定する情報を取得する取得部と、
前記容器の振動の開始時刻と、前記容器の振動が停止したとみなされる第二時刻とを判定する判定部と、
前記振動の開始から所定時間以降の第一時刻から前記第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定部と、
前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出部と、
を備えることを特徴とする計量装置。
An acquisition unit for acquiring information for identifying the vibration of the container,
A start time of the vibration of the container, and a determination unit that determines a second time at which the vibration of the container is considered to have stopped,
From the information obtained within a predetermined period from the first time after the predetermined time from the start of the vibration to the second time, from the information, a specifying unit that specifies the vibration state of the container,
From the relationship of the amount of the contents of the container to the vibration state of the container, a calculation unit that calculates the amount corresponding to the vibration state,
A weighing device comprising:
容器の振動を特定する情報を取得する取得工程と、
前記容器の振動の開始時刻と、前記容器の振動が停止したとみなされる第二時刻とを判定する判定工程と、
前記振動の開始から所定時間以降の第一時刻から前記第二時刻までの所定期間内に取得された前記情報から、前記容器の振動状態を特定する特定工程と、
前記容器の振動状態に対する前記容器の内容物の量の関係から、前記振動状態に対応する前記量を算出する算出工程と、
を備えることを特徴とする計量方法。
An acquisition step of acquiring information for identifying vibration of the container,
A start time of the vibration of the container, and a determination step of determining a second time at which the vibration of the container is considered to have stopped,
From the information obtained within a predetermined period from the first time after the predetermined time from the start of the vibration to the second time, a specifying step of specifying the vibration state of the container,
From the relationship of the amount of the contents of the container to the vibration state of the container, a calculation step of calculating the amount corresponding to the vibration state,
A weighing method comprising:
JP2015134142A 2015-07-03 2015-07-03 Weighing program, weighing device, weighing method Active JP6641744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015134142A JP6641744B2 (en) 2015-07-03 2015-07-03 Weighing program, weighing device, weighing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015134142A JP6641744B2 (en) 2015-07-03 2015-07-03 Weighing program, weighing device, weighing method

Publications (2)

Publication Number Publication Date
JP2017015614A JP2017015614A (en) 2017-01-19
JP6641744B2 true JP6641744B2 (en) 2020-02-05

Family

ID=57827945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015134142A Active JP6641744B2 (en) 2015-07-03 2015-07-03 Weighing program, weighing device, weighing method

Country Status (1)

Country Link
JP (1) JP6641744B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19646685A1 (en) * 1996-11-12 1998-05-14 Heuft Systemtechnik Gmbh Methods for determining parameters, e.g. B. level, pressure, gas composition in closed containers

Also Published As

Publication number Publication date
JP2017015614A (en) 2017-01-19

Similar Documents

Publication Publication Date Title
JP7202497B2 (en) System and method for monitoring intake compliance
TWI470227B (en) Fluid density measurement device
JP6389257B2 (en) Dynamic force detection to identify mass using a smartphone
CN101842687B (en) Method for determining and/or monitoring viscosity, and corresponding apparatus
CN104819752B (en) A kind of method of accurate detection cup amount of drinking water
CN107576365A (en) A kind of liquid container and its fluid flow detection method for showing flow
US20150177045A1 (en) Bulk acoustic wave (baw) sensors for liquid level measurements
US20210270686A1 (en) Systems and methods for sensing impacts applied to an article during production
CN105435337A (en) Method and system for detecting liquid parameters
TW201506359A (en) Multi-limit level measuring device
US11788872B2 (en) Method and system for determination of liquid volumes
US20160310025A1 (en) System and method for measuring a pulse wave of a subject
KR20160002948A (en) Verification of a meter sensor for a vibratory meter
US20220299354A1 (en) Device, system and method for determining the fill level of a container
CN105628550B (en) Method and apparatus for seeking the filling quality of flexure oscillator
US20160313170A1 (en) System and method for determining the level of a substance in a container based on measurement of resonance from an acoustic circuit that includes unfilled space within the container that changes size as substance is added or removed from the container
JP6641744B2 (en) Weighing program, weighing device, weighing method
CN203164082U (en) Rotary type viscosity detection device
WO2020259591A1 (en) Calibration method and device for optical fiber strain sensing system
CN104977218A (en) Device and method for detecting rigidity of micro elastic parts
CN101923032A (en) Device and method for rapidly measuring viscosity of high-temperature melt by using free vibration method of spring oscillator
CN109632034A (en) A kind of oil mass detection device and oil mass detection method
WO2014185027A1 (en) Offset estimation device, offset estimation method, and program
US9322697B2 (en) System and method for determining the level of a substance in a container based on measurement of resonance from an acoustic circuit that includes unfilled space within the container that changes size as substance is added or removed from the container
CN209216381U (en) A kind of single pendulum system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190305

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190426

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190924

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191118

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191216

R150 Certificate of patent or registration of utility model

Ref document number: 6641744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150