JPH034094B2 - - Google Patents
Info
- Publication number
- JPH034094B2 JPH034094B2 JP12524183A JP12524183A JPH034094B2 JP H034094 B2 JPH034094 B2 JP H034094B2 JP 12524183 A JP12524183 A JP 12524183A JP 12524183 A JP12524183 A JP 12524183A JP H034094 B2 JPH034094 B2 JP H034094B2
- Authority
- JP
- Japan
- Prior art keywords
- district
- operating time
- soft timer
- area
- time
- 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.)
- Expired
Links
- 230000010354 integration Effects 0.000 claims description 26
- 238000000034 method Methods 0.000 claims description 17
- 230000001133 acceleration Effects 0.000 claims description 9
- 238000005303 weighing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G23/00—Auxiliary devices for weighing apparatus
- G01G23/01—Testing or calibrating of weighing apparatus
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Analogue/Digital Conversion (AREA)
Description
<産業上の利用分野>
この発明は、重力加速度の違いによつて生じる
スパン誤差を、簡単に修正することができる電子
秤に関する。
<従来技術>
周知のように、秤のスパンは、地球上の重力加
速度に影響されるので、重力加速度の異なる地区
で使用される秤のスパン調整を、メーカの工場等
で一括して行う場合は、使用地区の重力加速度を
考慮に入れた地区毎の分銅(以下、地区分銅と称
する)を秤量別に多数用意しなければならないと
ともに、スパン調整に際しては、秤毎に使用地区
を確認して、当該秤の地区分銅を選択しなければ
ならない。
このため、上記メーカにとつては、各地区毎の
スパン調整に大変な手間が掛り、特に需要の変動
によつて、使用地区が変更された時は、改めてス
パンを調整し直さなければならないので、かかる
使用地区の変更は、メーカにとつて大変な負担と
なつていた。また各種の地区分銅の管理コストも
大きな負担となつていた。
<発明の目的>
この発明は、このような事情に鑑みて成された
もので、地区分銅を用いずに、基準分銅で総ての
秤のスパン調整を行い、その後、秤に指定された
使用地区をその秤に入力するだけで、当該地区に
適合したスパン調整を自動的に行うことができ、
したがつて、使用地区毎の地区分銅を用意する必
要が無く、また秤の使用地区の変更も極めて簡単
に行うことができる新たな電子秤を提供すること
を目的とする。
<発明の構成>
この発明は、上記目的を達成するため、次のよ
うに構成したことを特徴とするものである。
即ち、重量信号をデジタル値に変換する二重積
分型A/D変換器の一次積分時間をソフト・タイ
マで制御するようにするとともに、そのソフト・
タイマの動作時間の調整で上記A/D変換器の出
力値を1カウント単位で増減できるようにする。
そして、秤の使用地区の変更によつて生じるスパ
ン変化は、上記ソフト・タイマの動作時間の補正
によつて修正する。即ち、重力加速度の違いによ
つて区分された複数の地区の中から、秤を使用す
る地区を指定する地区指定手段と、各地区でのス
パンが一定となるように算定した各地区毎のソフ
ト・タイマの動作時間を記憶したメモリと、指定
された地区のソフト・タイマの動作時間を上記メ
モリから読み出し、これに基づいてソフト・タイ
マの動作時間を制御する制御手段とを備えて、秤
の使用地区の変更によつて生じるスパン変化を修
正するようにしたものである。また上記メモリに
は、特定地区のソフト・タイマの動作時間を基準
とした時の各地区のソフト・タイマの動作時間の
偏差を記憶することができ、そしてこの場合に
は、指定された地区の偏差時間が上記メモリから
読み出され、これが特定地区のソフト・タイマの
動作時間に加減されて、加減された時間で指定地
区のソフト・タイマの動作時間が制御されるよう
に構成される。
<実施例の構成>
以下、この発明の実施例を図面に基づいて説明
する。
第1図は、この発明の一実施例の主要部を示す
ブロツク図である。この図において、Aはロード
セルからなる重量センサ、Bは当該センサAの出
力信号を増幅するアンプ回路、Cはデイスクリー
トに構成した二重積分型A/D変換器である。
この二重積分型A/D変換器Cは、アナログス
イツチ1と、積分器2と、比較器3と、カウンタ
4と、上記アナログスイツチ1を制御するCPU
5とから構成される。
アナログスイツチ1は、基準電圧(Vref)、ア
ンプ出力電圧(アナログ信号)、接地電圧をそれ
ぞれ選択的に積分器2に入力するように構成され
ており、またそのスイツチの切り換えは、CPU
5からの切り換え指令Saと、比較器3からのカ
ウントストツプ信号Sbとによつて制御されるよ
うに構成されている。即ち、比較器3からカウン
トストツプ信号Sbが出力されると、アナログス
イツチ1の接点がc端子に切り換わつて積分器2
のオフセツト補正が行われ、CPU5から切り換
え指令Saが出力されると、今度は上記スイツチ
1の接点がa端子に切り換わつてアナログ信号の
積分が開始される。そして、CPU5から次の切
り換え指令Saが出力されると、今度は上記接点
がb端子に切り換わつて、それまでのアナログ信
号の積分から基準電圧(Vref)による逆積分に
切り換わる。そして、積分器2の出力電圧が当初
の積分開始電圧になると、比較器3からはカウン
トストツプ信号Sbが出力され、これにより上記
接点がc端子に切り換わつて、次の切り換え指令
Saが出力されるまでの間、上記積分器2のオフ
セツト補正が行われる。
また上記A/D変換器Cには、重量センサAと
トラツキングを図るため、その印加電圧(V1+
V2)を分圧抵抗R1,R2と可変抵抗器Vrと
で適宜に分圧した値が、基準電圧(Vref)とし
て入力されるようになつている。
比較器3は、積分器2の出力電圧が当初の積分
開始電圧になると、上記アナログスイツチ1と、
カウンタ4と、CPU5とにカウントストツプ信
号Sbを出力するようにされている。
カウンタ4は、逆積分開始と同時に出力される
CPU5からの指令Scでリセツトされてカウント
動作を開始し、比較器3からのカウントストツプ
信号Sbでカウント動作を停止するようにされて
いる。またこのカウンタ4は、2進カウンタで構
成されるが、ここではその能力以上の計数を可能
にするため、当該カウンタ4がオーバーフローに
なる毎にCPU5でこれを計数して、カウンタ4
のカウント動作が終了すると、その時のカウンタ
4の出力カウント数と計数したオーバーフロー回
数とから、カウンタ4の総出力カウント数を算出
するようにしている。そして、算出した総出力カ
ウント数が、前記A/D変換器Cの出力カウント
数として秤全体を制御するメインのCPU(図示せ
ず)へ出力される。
勿論、CPU5で秤全体を制御させることも可
能である。
またこのカウンタ4には、CPU5に設定され
たプログラムの1命令サイクルに同期したカウン
トパルスSdが、当該CPU5から供給されるよう
に構成されている。
CPU5は、主として前記A/D変換器Cの一
次積分時間を制御するもので、そのために当該
CPU5には、前記切り換え指令Saを指定された
タイミングで出力するソフト・タイマが備えられ
る。
このソフト・タイマの動作時間は、一般には1
命令サイクルが一定である処理(例えばノツプ処
理等)の繰り返し回数、またはそれに相当するス
テツプ数によつて与えられ、またカウンタ4は、
前述のように1命令サイクルに同期してカウント
する。したがつて、例えば第2図の二重積分型
A/D変換器の動作特性図に示すように、秤量相
当の分銅を載荷した時の前記A/D変換器Cの入
力電圧と基準電圧(Vref)とが等しくなるよう
に調整されたもの〔即ち、一次積分時間(T1)
と二次積分時間(T2)とが等しくなるように調
整されたもの〕においては、ソフト・タイマの1
ステツプの処理時間に相当する動作時間の調整
で、前記A/D変換器Cの出力カウント数を1カ
ウントづつ調整することができるのである。換言
すれば、ソフト・タイマの動作時間を15000ステ
ツプの処理時間相当に設定すると、A/D変換器
Cの出力を15000カウントにすることができるの
である。
Dは重力加速度の違いによつて区分された複数
の地区から、秤を使用する地区を指定する地区指
定手段で、例えばデツプスイツチ、デイジタルス
イツチ等で構成される。
ちなみに、精度が1/3000以上の秤では、日本全
国で16地区に分割される。
Eは上記各地区でのスパンが一定値となるよう
に算定した各地区毎のソフト・タイマの動作時間
を記憶したメモリで、その動作時間としては、上
記各地区毎のソフト・タイマの動作時間か、若し
くはこれらを基にして算出した偏差時間、即ち、
特定地区のソフト・タイマの動作時間を基準とし
た時の各地区のソフト・タイマの動作時間の偏差
が記憶される。
次ページ第1表は、全国を16地区に分割した場
合の各地区の重力加速度と、精度が1/3000で秤量
が3Kg、1gが5カウントになるように設計され
た秤の第1地区を基準とした時の他地区のスパン
偏差、並びに各地区でのスパンを一定値にするこ
とのできる各地区毎のソフト・タイマの動作時間
等を表したものである。
<Industrial Application Field> The present invention relates to an electronic scale that can easily correct span errors caused by differences in gravitational acceleration. <Prior art> As is well known, the span of a scale is affected by the gravitational acceleration on the earth, so when the span of scales used in areas with different gravitational accelerations is adjusted all at once at the manufacturer's factory, etc. It is necessary to prepare a large number of weights for each area (hereinafter referred to as area weights) that take into account the gravitational acceleration of the area where the scale is used, and when adjusting the span, check the area of use for each scale. The district weight for the scale must be selected. For this reason, it takes a lot of effort for the manufacturers mentioned above to adjust the spans for each area, and especially when the area of use changes due to fluctuations in demand, they have to readjust the spans again. However, such changes in the area of use have placed a heavy burden on manufacturers. Additionally, the cost of managing various district weights was a major burden. <Purpose of the invention> This invention was made in view of the above circumstances, and it is possible to adjust the span of all scales using a standard weight without using a district weight, and then adjust the span of all scales according to the specified use. Just by inputting the area into the scale, the span adjustment suitable for the area can be automatically made.
Therefore, it is an object of the present invention to provide a new electronic scale that eliminates the need to prepare district weights for each district of use and allows extremely easy changes in the district of use of the scale. <Structure of the Invention> In order to achieve the above object, the present invention is characterized by the following structure. That is, the primary integration time of the double integration type A/D converter that converts the weight signal into a digital value is controlled by a software timer, and the software
By adjusting the operating time of the timer, the output value of the A/D converter can be increased or decreased in units of one count.
The span change caused by changing the area where the scale is used is corrected by correcting the operating time of the soft timer. In other words, there is a means for specifying the area in which the scale is to be used from among multiple areas divided by differences in gravitational acceleration, and software for each area that calculates the span in each area to be constant.・The scale is equipped with a memory that stores the operating time of the timer, and a control means that reads the operating time of the soft timer in a designated area from the memory and controls the operating time of the soft timer based on this. This is to correct span changes that occur due to changes in the area of use. In addition, the memory can store the deviation of the operating time of each district's soft timer based on the operating time of the soft timer of a specific district. The deviation time is read from the memory, added to or subtracted from the operating time of the soft timer in the specific area, and the added or subtracted time is configured to control the operating time of the soft timer in the specified area. <Configuration of Embodiment> Embodiments of the present invention will be described below based on the drawings. FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention. In this figure, A is a weight sensor consisting of a load cell, B is an amplifier circuit that amplifies the output signal of the sensor A, and C is a discrete double integration type A/D converter. This double integration type A/D converter C includes an analog switch 1, an integrator 2, a comparator 3, a counter 4, and a CPU that controls the analog switch 1.
It consists of 5. The analog switch 1 is configured to selectively input the reference voltage (Vref), amplifier output voltage (analog signal), and ground voltage to the integrator 2, and the switching of the switch is controlled by the CPU.
5 and a count stop signal Sb from the comparator 3. That is, when the count stop signal Sb is output from the comparator 3, the contact point of the analog switch 1 is switched to the c terminal, and the integrator 2
When the offset correction is performed and the switching command Sa is output from the CPU 5, the contact point of the switch 1 is switched to the a terminal, and the integration of the analog signal is started. When the next switching command Sa is output from the CPU 5, the contact point is switched to the b terminal, and the integration of the analog signal is switched to the inverse integration using the reference voltage (Vref). When the output voltage of the integrator 2 reaches the initial integration start voltage, the comparator 3 outputs a count stop signal Sb, which switches the above contact to the c terminal and issues the next switching command.
Offset correction of the integrator 2 is performed until Sa is output. In addition, in order to track the weight sensor A, the A/D converter C has an applied voltage (V1+
A value obtained by appropriately dividing V2) by voltage dividing resistors R1 and R2 and a variable resistor Vr is input as a reference voltage (Vref). When the output voltage of the integrator 2 reaches the initial integration start voltage, the comparator 3 switches between the analog switch 1 and the
A count stop signal Sb is output to the counter 4 and the CPU 5. Counter 4 is output at the same time as the inverse integration starts.
It is reset by a command Sc from the CPU 5 to start counting, and is stopped by a count stop signal Sb from the comparator 3. Further, this counter 4 is composed of a binary counter, but in order to enable counting exceeding its capacity, the CPU 5 counts this every time the counter 4 overflows, and the counter 4
When the counting operation is completed, the total output count number of the counter 4 is calculated from the output count number of the counter 4 at that time and the counted number of overflows. Then, the calculated total output count number is output as the output count number of the A/D converter C to a main CPU (not shown) that controls the entire scale. Of course, it is also possible to control the entire scale with the CPU 5. Further, this counter 4 is configured such that a count pulse Sd synchronized with one instruction cycle of a program set in the CPU 5 is supplied from the CPU 5. The CPU 5 mainly controls the primary integration time of the A/D converter C, and therefore
The CPU 5 is equipped with a soft timer that outputs the switching command Sa at a designated timing. The operating time of this soft timer is generally 1
The instruction cycle is given by the number of repetitions of a process (for example, a knob process, etc.) or the number of steps corresponding thereto, and the counter 4 is
As described above, it is counted in synchronization with one instruction cycle. Therefore, for example, as shown in the operating characteristic diagram of the double integration type A/D converter in FIG. 2, the input voltage of the A/D converter C and the reference voltage ( Vref) [i.e., the primary integration time (T1)
and the quadratic integration time (T2) are equal), the soft timer's 1
By adjusting the operating time corresponding to the step processing time, the output count number of the A/D converter C can be adjusted one count at a time. In other words, if the operating time of the soft timer is set to correspond to the processing time of 15,000 steps, the output of the A/D converter C can be 15,000 counts. D is a district designation means for designating the district in which the scale is to be used from among a plurality of districts divided according to differences in gravitational acceleration, and is comprised of, for example, a depth switch, a digital switch, or the like. By the way, scales with an accuracy of 1/3000 or higher divide Japan into 16 districts. E is a memory that stores the operating time of the soft timer for each district calculated so that the span in each district is a constant value, and the operating time is the operating time of the soft timer for each district. or the deviation time calculated based on these, i.e.
The deviation of the operating time of the soft timer in each district is stored when the operating time of the soft timer in the specific district is taken as a reference. Table 1 on the next page shows the gravitational acceleration of each district when the country is divided into 16 districts, and the first district of a scale designed to have an accuracy of 1/3000, weigh 3 kg, and 1 g = 5 counts. It shows the span deviation of other districts when used as a standard, as well as the operating time of the soft timer for each district that can maintain the span at a constant value in each district.
【表】
尚、秤量相当のカウント欄に示す数値は、第1
地区でスパンを調整した秤を、他地区に移転した
際の各地区でのA/D変換器Cのスパン量を示し
ており、またソフト・タイマの動作時間は、各地
区でのスパンを15000カウントにすることのでき
る各地区でのソフト・タイマの動作時間を示して
いる。
但し、この場合のソフト・タイマの動作時間
は、秤量相当の分銅載荷時のA/D変換器Cの入
力電圧と基準電圧とを等しく調整して、1ステツ
プ相当のソフト・タイマの動作時間の調整で、
A/D変換器Cの出力値を1カウント調整できる
ようにした場合のもので、例えば第1地区では
15000ステツプに設定されており、第16地区では
秤量相当の分銅載荷時のA/D変換器の出力カウ
ント数が、第1地区のそれと比べて23カウント少
ないので、これを相殺するため15023ステツプ設
定されているのである。
一方、前記CPU5には、地区指定手段Dで指
定された地区のソフト・タイマの動作時間を前記
メモリEから読み出し、これに基づいてソフト・
タイマの動作時間を制御する制御手段(第3図の
動作フローに示す手順を実行することによつて達
成することができる手段)が設けられる。
<実施例の作用>
次に、第1図の実施例の主要部の動作を、第3
図のフローチヤートに基づいて説明する。
尚、ここでは説明を簡単にするため、前記可変
抵抗器Vrの操作で、A/D変換器Cの基準電圧
と秤量相当の分銅載荷時のA/D変換器Cの入力
電圧とが等しく調整されているものとする。また
イニシヤル時には、アナログスイツチ1の接点は
c端子に接続されているものとする。
この状態でプログラムを走らすと、CPU5は
まず地区指定手段Dに設定された使用地区を読み
込み、次に当該地区のソフト・タイマの動作時間
を前記メモリEから読み出す(ステツプ1、ステ
ツプ2)。ここで読み出す動作時間は、例えば第
1地区であれば15000ステツプを、第2地区であ
れば15002ステツプをそれぞれ読み出しても良い
し、或いは14998ステツプを基準とした時の各地
区の偏差、即ち、第1地区であれば2ステツプを
第2地区であれば4ステツプをそれぞれ読み出す
ようにしても良い。但し、この場合は、ソフト・
タイマの動作時間の内14998ステツプは、後述の
ように固定されていなければならない。しかし、
このようにすれば、ソフト・タイマの可変最小単
位である1ステツプの調整が容易になるので、こ
こでは次のような演算式から、上記偏差を実行す
るためのQ、Rを求めて、これを上記メモリEに
記憶するとともに、このQ、Rを読み出すように
している。
動作時間(ステツプ数)=14998+2Q+R
因に
1地区(15000)ではQ=1、R=0
2地区(15002)ではQ=2、R=0
3地区(15003)ではQ=2、R=1
4地区(15005)ではQ=3 R=1
〓 〓 〓 〓
16地区(15023)ではQ=12 R=1
こうしてQが読み出されると、次のステツプ3
で1回のループ処理で2ステツプを要するその処
理回数NとしてQがセツトされ、続いてステツプ
4でアナログスイツチ1の接点をc端子からa端
子に切り換える指令Saを出力する。これにより
未知入力電圧に対する一次積分が開始される。
次にCPU5は、固定された動作時間として、
14997ステツプに相当する処理を実行し(ステツ
プ5)、続いて次のステツプ6で、読み出したR
が1であるか否かを判断する。判断の結果、1で
あれば次のステツプ7で1ステツプの処理を実行
し、0であればこのステツプ7をスキツプして次
のループ処理に移行する。こうしてステツプ5と
ステツプ6とで総計14998ステツプ相当の処理を
実行する。
次に1回のループ処理で2ステツプを要する処
理をN回繰り返す。即ち、ステツプ8でNを−1
し、続くステツプ9でNが0であるか否かを判断
する。そして、Nが0でなければ再びステツプ8
に戻る。こうしてNが0になるまで以上のループ
処理を繰り返す。
例えば第16地区では、R=1であるからステツ
プ7の処理を実行した後、このループ処理を12回
繰り返す。これで第16地区の場合は、ステツプ5
からステツプ9までの処理で
14998+1+2×12=15023ステツプ
の処理を実行することになる。
こうして所定の動作時間に相当するステツプ数
の処理が終了すると、次にアナログスイツチ1の
接点をb端子に切り換える指令Saを出力し、同
時にカウンタ4にリセツトスタートを促す指令
Scを出力する(ステツプ10)。これにより未知入
力電圧の積分が終了し、続いて基準電圧による逆
積分とカウンタ4によるカウント動作とが開始す
る。
この逆積分(2次積分)の期間に入ると、
CPU5は、カウンタ4がフルカウントする周期
の半周期より短い周期で、当該カウンタ4の最上
位ビツト(以下MSBと称する)のハイ、ロウ
(以下H、Lと記す)をチエツクし、これによつ
て前述のカウンタ4のオーバーフロー回数を計数
する。即ち、まずステツプ11で一定ステツプ数か
らなる処理を実行して時間を稼ぎ、次のステツプ
12でカウンタ4のMSBのH、Lをチエツクする。
しかし、カウンタ4がフルカウントする周期の半
周期の間はMSBはLであるので、ここでのチエ
ツクの結果はLとなる。したがつて、当初におい
ては続くステツ13でフラグをONにし、続いてス
テツプ14で比較器3のカウント・ストツプ信号
SbのH、Lをチエツクする。チエツクの結果、
Hであれば次のステツプ17に移行し、またLであ
れば再び元のステツプ11に戻る。こうしたループ
処理を繰り返すうち、カウンタ4がフルカウント
する周期の半周期が経過して、MSBがLからH
に切り変わると、今度はステツプ12からステツプ
15へ移行する。
ステツプ15では、前記フラグがONであるか否
かを判断する。この時、最初はONであるので、
続くステツプ16で当該フラグをOFFにするとと
もに、オーバーフロー回数を+1して、前記ステ
ツプ14に跳ぶ。そして、再びステツプ11に戻つて
ステツプ12からステツプ15に移行しても、この時
は、先のフラグはOFFになつているので、MSB
がHである半周期の間は、前記ステツプ16をパス
して再びステツプ14に跳ぶ。
こうしてCPU5は、カウンタ4のオーバーフ
ロー回数を計数しながら比較器3のカウント・ス
トツプ信号SbのH、Lを監視する。そして、カ
ウント・ストツプ信号SbがHになつていれば、
基準電圧による逆積分と、上記接点のc端子への
切り換わりとが終了しているので、次のステツプ
17でカウンタ4のカウント数を入力し、これと計
数したオーバーフロー回数とからカウンタの総出
力カウント数を算出する。そして、算出した結果
をメインのCPUに出力する。
そして、次に一定ステツプ数からなる処理を実
行して、積分器2のオフセツト補正を行うための
時間を費やし(ステツプ18)、そして再びステツ
プ1の処理に戻る。
こうして、地区指定手段Dで指定された地区の
ソフト・タイマの動作時間に基づいて、毎回の一
次積分時間が制御されるものである。したがつ
て、この実施例のものでは、秤量相当の分銅を載
荷して行う最初のスパン調整で、その秤のスパン
量を15000カウントに調整した後は、その秤の使
用地区がどこに指定されても、地区指定手段Dを
該当の地区に合わせるだけで、その秤の使用地区
におけるスパン量を15000カウントに合わせるこ
とができるのである。
但し、秤量相当の分銅を載荷して行う最初のス
パン調整においては、地区指定手段Dをスパン調
整を行うその地区に指定しておかねばならない。
<発明の効果>
以上説明したように、この発明は重量信号をデ
イジタル値に変換する二重積分型A/D変換器
と、当該A/D変換器の一次積分時間を制御する
ソフト・タイマとを備えてなる電子秤において、
重力加速度の違いによつて区分された複数の地区
から秤を使用する地区を指定する地区指定手段
と、各地区でのスパンが一定となるように算定し
た各地区毎のソフト・タイマの動作時間を記憶し
たメモリと、指定された地区のソフト・タイマの
動作時間を上記メモリから読み出し、これに基づ
いてソフト・タイマの動作時間を制御する制御手
段とを備えたので、基準分銅によるスパン調整さ
え行つておけば、その後、秤の使用地区がどこに
指定されても、指定された使用地区を秤に入力す
るだけで、当該地区に適合したスパン調整を自動
的に行うことができるのである。したがつて、地
区分銅を用いて、各地区毎のスパン調整を個々に
行う必要がなく、メーカで行うスパン調整を能率
化することができる。また使用地区毎の地区分銅
を用意する必要がないので、かかる地区分銅の管
理コストを削減することができる。また地区間の
需要の変動に伴う使用地区の変更も簡単に行うこ
とができ、その需要の変動に迅速に対処すること
もできる。[Table] The numbers shown in the count column equivalent to weighing are
It shows the span amount of A/D converter C in each district when the scale whose span was adjusted in each district is transferred to another district, and the operating time of the soft timer is 15,000 times the span in each district. It shows the soft timer operating time in each district that can be counted. However, the operating time of the soft timer in this case is determined by adjusting the input voltage of the A/D converter C and the reference voltage equal to each other when a weight equivalent to a weighing device is loaded. With the adjustment,
This is a case where the output value of A/D converter C can be adjusted by one count. For example, in the first district.
In District 16, the output count of the A/D converter when a weight equivalent to weighing is loaded is 23 counts less than in District 1, so to offset this, the step is set to 15023. It is being done. On the other hand, the CPU 5 reads out the operating time of the software timer of the district designated by the district designation means D from the memory E, and executes the software timer based on this.
Control means (means that can be achieved by executing the procedure shown in the operation flow of FIG. 3) for controlling the operating time of the timer is provided. <Operation of the embodiment> Next, the operation of the main parts of the embodiment shown in FIG.
The explanation will be based on the flowchart shown in the figure. In order to simplify the explanation, here, by operating the variable resistor Vr, the reference voltage of the A/D converter C and the input voltage of the A/D converter C when a weight equivalent to a weighing device is loaded are adjusted to be equal. It is assumed that Further, it is assumed that at the initial time, the contact of the analog switch 1 is connected to the c terminal. When the program is run in this state, the CPU 5 first reads the area to be used set in the area specifying means D, and then reads the operating time of the soft timer for the area from the memory E (step 1, step 2). The operation time read here may be, for example, 15,000 steps for the first district and 15,002 steps for the second district, or the deviation of each district based on 14,998 steps, that is, Two steps may be read for the first district, and four steps may be read for the second district. However, in this case, the software
The 14,998 steps of the timer's operating time must be fixed as described below. but,
This makes it easier to adjust one step, which is the minimum variable unit of the soft timer, so here we will calculate Q and R for performing the above deviation from the following arithmetic expression, and calculate this. is stored in the memory E, and these Q and R are read out. Operating time (number of steps) = 14998 + 2Q + R Therefore, for 1 district (15000) Q = 1, R = 0 For 2 districts (15002) Q = 2, R = 0 For 3 districts (15003) Q = 2, R = 1 4 For district (15005), Q = 3 R = 1 〓 〓 〓 〓 For district 16 (15023), Q = 12 R = 1 When Q is read in this way, the next step 3
In step 4, Q is set as the number of processing times N that requires two steps in one loop processing, and then in step 4, a command Sa is outputted to switch the contact of the analog switch 1 from the c terminal to the a terminal. This starts the first-order integration for the unknown input voltage. Next, the CPU 5 has a fixed operating time,
The process corresponding to the 14997 step is executed (step 5), and then in the next step 6, the read R
is 1 or not. If the result of the judgment is 1, one step of processing is executed at the next step 7, and if it is 0, this step 7 is skipped and the process moves to the next loop processing. In this way, steps 5 and 6 execute processing equivalent to a total of 14,998 steps. Next, a process that requires two steps in one loop process is repeated N times. That is, in step 8, N is set to -1.
Then, in the following step 9, it is determined whether N is 0 or not. Then, if N is not 0, go to step 8 again.
Return to In this way, the above loop processing is repeated until N becomes 0. For example, in the 16th district, R=1, so after executing the process in step 7, this loop process is repeated 12 times. Now if you are in District 16, step 5
The processing from step 9 to step 9 results in the execution of 14998+1+2×12=15023 steps. When the processing of the number of steps corresponding to the predetermined operating time is completed in this way, a command Sa to switch the contact of analog switch 1 to the b terminal is outputted, and at the same time a command is issued to prompt the counter 4 to start a reset.
Output Sc (step 10). As a result, the integration of the unknown input voltage is completed, and then the inverse integration using the reference voltage and the counting operation by the counter 4 are started. When we enter this period of inverse integration (quadratic integration),
The CPU 5 checks whether the most significant bit (hereinafter referred to as MSB) of the counter 4 is high or low (hereinafter referred to as H or L) at a period shorter than a half period of the full count period of the counter 4, and thereby The number of overflows of the counter 4 mentioned above is counted. That is, first, in step 11, a process consisting of a certain number of steps is executed to gain time, and then the next step is started.
At 12, check MSB H and L of counter 4.
However, since the MSB is L during the half cycle of the full count period of the counter 4, the result of the check here is L. Therefore, initially, the flag is turned ON in the following step 13, and then the count stop signal of comparator 3 is turned on in step 14.
Check H and L of Sb. As a result of the check,
If it is H, the process moves to the next step 17, and if it is L, it returns to the original step 11. While repeating this loop process, half a cycle of the full count period of the counter 4 has passed, and the MSB changes from L to H.
When the switch changes to step 12, step
Move to 15. In step 15, it is determined whether the flag is ON. At this time, it is initially ON, so
In the following step 16, the flag is turned OFF, the overflow count is increased by 1, and the process jumps to step 14. Then, even if you return to step 11 and move from step 12 to step 15, the previous flag is OFF, so the MSB
During the half period in which is H, the step 16 is passed and the process jumps to step 14 again. In this way, the CPU 5 monitors the H and L levels of the count stop signal Sb of the comparator 3 while counting the number of overflows of the counter 4. Then, if the count stop signal Sb becomes H,
Since the inverse integration using the reference voltage and the switching of the contact point to the c terminal have been completed, the next step is
At step 17, the count number of the counter 4 is input, and the total output count number of the counter is calculated from this and the counted number of overflows. Then, the calculated results are output to the main CPU. Then, a process consisting of a fixed number of steps is executed, and time is spent to correct the offset of the integrator 2 (step 18), and then the process returns to step 1 again. In this way, the primary integration time is controlled each time based on the operating time of the soft timer for the area designated by the area designation means D. Therefore, in this example, after the span of the scale is adjusted to 15,000 counts in the first span adjustment performed by loading a weight equivalent to the weighing weight, it is difficult to determine where the area in which the scale will be used is designated. However, by simply adjusting the area designation means D to the area in question, the span in the area where the scale is used can be adjusted to 15,000 counts. However, in the first span adjustment performed by loading a weight equivalent to the weighing amount, the area designation means D must be designated to the area where the span adjustment is to be performed. <Effects of the Invention> As explained above, the present invention comprises a double integration type A/D converter that converts a weight signal into a digital value, and a soft timer that controls the primary integration time of the A/D converter. In an electronic scale comprising:
A district designation means for specifying the district in which the scale is to be used from among multiple districts divided by differences in gravitational acceleration, and a soft timer operating time for each district calculated so that the span in each district is constant. The control means reads the operating time of the soft timer for a specified area from the memory and controls the operating time of the soft timer based on this, so even span adjustment using a reference weight is not necessary. If you do this, then no matter where the scale is designated to be used, just by inputting the designated usage district into the scale, it will automatically adjust the span to suit that district. Therefore, there is no need to individually perform span adjustment for each district using district weights, and the span adjustment performed by the manufacturer can be streamlined. Furthermore, since there is no need to prepare district weights for each district of use, the cost of managing such district weights can be reduced. In addition, it is possible to easily change the usage area due to fluctuations in demand between districts, and it is also possible to quickly respond to fluctuations in demand.
第1図は、この発明の実施例の主要部の一例を
示すブロツク図、第2図は、二重積分型A/D変
換器の動作特性を説明するための説明図、第3図
は、第1図の実施例の動作の一例を表したフロー
チヤートである。
A……重量センサ、B……アンプ回路、C……
二重積分型A/D変換器、5……CPU(ソフト・
タイマを内蔵)、D……地区指定手段、E……メ
モリ。
FIG. 1 is a block diagram showing an example of the main part of an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining the operating characteristics of a double integration type A/D converter, and FIG. 2 is a flowchart showing an example of the operation of the embodiment of FIG. 1. FIG. A... Weight sensor, B... Amplifier circuit, C...
Double integral type A/D converter, 5...CPU (software/
(Built-in timer), D... District designation means, E... Memory.
Claims (1)
A/D変換器と、当該A/D変換器の一次積分時
間を制御するソフト・タイマとを備えてなる電子
秤において、重力加速度の違いによつて区分され
た複数の地区から、秤を使用する地区を指定する
地区指定手段と、各地区でのスパンが一定となる
ように算定した各地区毎のソフト・タイマの動作
時間を記憶したメモリと、指定された地区のソフ
ト・タイマの動作時間を上記メモリから読み出
し、これに基づいてソフト・タイマの動作時間を
制御する制御手段とを備えたことを特徴とする電
子秤。 2 特許請求の範囲第1項記載の電子秤におい
て、上記メモリに記憶した動作時間が、特定地区
のソフト・タイマの動作時間を基準とした時の各
地区のソフト・タイマの動作時間の偏差であるこ
とを特徴とする電子秤。 3 特許請求の範囲第2項記載の電子秤におい
て、上記特定地区のソフト・タイマの動作時間
に、指定地区の偏差時間を加減し、加減した時間
で指定地区のソフト・タイマの動作時間を制御す
るようにしたことを特徴とする電子秤。[Claims] 1. An electronic scale comprising a double integration type A/D converter that converts a weight signal into a digital value, and a soft timer that controls the primary integration time of the A/D converter. , a method for specifying a district to use a scale from multiple districts divided by differences in gravitational acceleration, and a soft timer for each district calculated so that the span in each district is constant. An electronic device comprising: a memory that stores an operating time; and a control means that reads the operating time of a soft timer in a designated area from the memory and controls the operating time of the soft timer based on this. Scales. 2. In the electronic scale according to claim 1, the operating time stored in the memory is determined by the deviation of the operating time of the soft timer in each area when the operating time of the soft timer in the specific area is taken as a reference. An electronic scale characterized by: 3. In the electronic scale described in claim 2, the deviation time of the specified area is added or subtracted from the operating time of the soft timer of the specified area, and the operating time of the soft timer of the specified area is controlled by the added or subtracted time. An electronic scale characterized by:
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12524183A JPS6017324A (en) | 1983-07-08 | 1983-07-08 | Electronic balance |
| US06/628,305 US4545445A (en) | 1983-07-07 | 1984-07-06 | Span adjusting system of electronic weighing apparatus |
| EP84304663A EP0131461B1 (en) | 1983-07-07 | 1984-07-06 | Span adjustment in electronic weighing apparatus |
| DE8484304663T DE3480025D1 (en) | 1983-07-07 | 1984-07-06 | Span adjustment in electronic weighing apparatus |
| AU30347/84A AU564417B2 (en) | 1983-07-07 | 1984-07-06 | Weighing apparatus span adjusting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12524183A JPS6017324A (en) | 1983-07-08 | 1983-07-08 | Electronic balance |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6017324A JPS6017324A (en) | 1985-01-29 |
| JPH034094B2 true JPH034094B2 (en) | 1991-01-22 |
Family
ID=14905276
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12524183A Granted JPS6017324A (en) | 1983-07-07 | 1983-07-08 | Electronic balance |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6017324A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2597404B2 (en) * | 1989-05-31 | 1997-04-09 | 株式会社 寺岡精工 | Integral type A / D converter |
-
1983
- 1983-07-08 JP JP12524183A patent/JPS6017324A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6017324A (en) | 1985-01-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4545445A (en) | Span adjusting system of electronic weighing apparatus | |
| US4578747A (en) | Selective parametric self-calibrating control system | |
| US4141065A (en) | Electric controller system with bumpless transfer | |
| EP0124355B1 (en) | Zero-adjustment in weighing apparatus | |
| JPH0718739B2 (en) | Automatic calibration method for high-sensitivity electronic balance | |
| US4412591A (en) | Method and apparatus for selecting operating modes or parameters in an electrical scale | |
| KR930005378A (en) | Accuracy boosting | |
| US4620178A (en) | Double integrating-type analog-to-digital converter | |
| US4149605A (en) | Scale with digital display | |
| JPH034094B2 (en) | ||
| JPH034096B2 (en) | ||
| JPH0612294B2 (en) | Electronic scales | |
| JPH0562283B2 (en) | ||
| JPH0510613B2 (en) | ||
| JPH03128336U (en) | ||
| JP2572565B2 (en) | Ignition control device for control rectifier | |
| JPS6314885B2 (en) | ||
| JP3559570B2 (en) | Control device and image forming device | |
| KR830001318Y1 (en) | Electronic repeater | |
| JPH01279304A (en) | Integral proportion compensator for servo control system | |
| JPS61251232A (en) | Analog-digital converter | |
| EP0145183B1 (en) | Analog to digital converter using recirculation of remainder | |
| JPH0347445B2 (en) | ||
| JPH065179B2 (en) | Weighing device | |
| JPH0550690B2 (en) |