JPS6366606A - Calibration system for current output circuit - Google Patents

Calibration system for current output circuit

Info

Publication number
JPS6366606A
JPS6366606A JP20964386A JP20964386A JPS6366606A JP S6366606 A JPS6366606 A JP S6366606A JP 20964386 A JP20964386 A JP 20964386A JP 20964386 A JP20964386 A JP 20964386A JP S6366606 A JPS6366606 A JP S6366606A
Authority
JP
Japan
Prior art keywords
value
digital
correction data
current
current output
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.)
Pending
Application number
JP20964386A
Other languages
Japanese (ja)
Inventor
Hiromoto Goto
後藤 浩基
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP20964386A priority Critical patent/JPS6366606A/en
Publication of JPS6366606A publication Critical patent/JPS6366606A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To calculate the input value of a calibration system for current output circuit from the correction data as well as the ideal digital input value corresponding to the current output value at the time of outputting a current by calculating the correction data from the relation from the value obtained by converting digitally the output current signal and the digital input value and storing this calculated correction data. CONSTITUTION:A precise load resistance 3 for calibration is connected between current output terminals 1 and 2 of a current output circuit. The input terminals of an A/D converter 11 are connected to both ends of the resistance 3. At the same time, a digital signal of 0% is supplied from a man-machine interface and the A/D conversion value A0' between terminals of the resistance 3 is obtained by a processor unit. Then the A/D value A100' is obtained with input of a digital signal of 100%. The processor unit obtains the prescribed correction data A and B from the digital conversion values A0'-A0 and A100'-A100 and stores them in a memory. Here A0 and A100 show the ideal conversion values.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えばプロセス制御系の構成要素として用い
られる電流出力回路に関し、竹にそのキャリブレーショ
ン方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a current output circuit used as a component of a process control system, for example, and relates to a calibration method thereof.

〔従来の技術〕[Conventional technology]

プロセス制御系に詔いては、例えばプログラム調節針の
ように、デジタル入力値を所定範囲、例えば4〜29m
Aの電流信号に変換して出力する電流出力回路が多く用
いられる。その場合、デジタル入力値Xとそれに対応す
る電流出力値Ioとの関係は、例えば第4図に示すよう
に、理想的な関係(I)と実際の関係(Inとでずれが
あるのが普通である。例えば同図において、Io=Ia
とするためには理想的にはx = x B  とすれば
よいはずであるが、実際にはx=xa′とじなければな
らない。
In a process control system, for example, a program adjustment needle can be used to control digital input values within a predetermined range, e.g. 4 to 29 meters.
A current output circuit that converts the signal into a current signal of A and outputs the signal is often used. In that case, the relationship between the digital input value For example, in the same figure, Io=Ia
Ideally, it would be sufficient to set x = x B, but in reality, it is necessary to set x = xa'.

このため、予みキャリブレーションを行ない、その補正
を行なうためのデータを求めておく必要がある。
Therefore, it is necessary to perform calibration in advance and obtain data for performing the correction.

このようなキャリブレーションは、従来次のような方法
によシ行なわれるのが一般的である。すなわち、まず第
5図に示すように対象となる電流出力端子1.2間にキ
ャリブレーション用の精密な負荷抵抗3を接続し、電圧
計4によってその端子電圧なモニタできるようにする。
Conventionally, such calibration is generally performed by the following method. That is, first, as shown in FIG. 5, a precise load resistor 3 for calibration is connected between the target current output terminals 1 and 2, so that the terminal voltage can be monitored with a voltmeter 4.

次に零点を合せるゼロ調、最大変イビ都を合せるスパン
調を行なりが、その具体的な方法としては、ボリューム
を用いてハードウェア的に行なう方法と、ソフトウェア
的に行なう方法とがある。
Next, the zero adjustment is performed to match the zero point, and the span adjustment is performed to match the maximum variable value.Specific methods include a hardware method using a volume, and a software method.

前者は、0%および100%のデジタル信号値を入力し
たとき、それぞれ理想の電圧値が得られるように、電圧
計4を見ながらゼロ調、スパン制用の各ボリュームを、
ドライバー等で調整するものである。
For the former, when inputting digital signal values of 0% and 100%, adjust each volume for zero adjustment and span adjustment while watching the voltmeter 4 so that the ideal voltage value can be obtained.
It is adjusted using a screwdriver, etc.

また後者は、電圧計4(デジタルボルトメータ)を見な
がら、入力値の上昇を指示するキーあるいは下降を指示
するキーを押すなどの方法によシ、0%および100%
の理想の電圧が得られるデジタル信号値を求める。その
値と理想のデジタル値との差を、補正用データとしてス
トアしておき、実際に電流を出力させる隙には、理想の
デジタル値と補正用データとから計算された値をデジタ
ル入力値とする。
The latter can be set to 0% and 100% by pressing a key to increase or decrease the input value while looking at the voltmeter 4 (digital voltmeter).
Find the digital signal value that will give you the ideal voltage. The difference between that value and the ideal digital value is stored as correction data, and when the current is actually output, the value calculated from the ideal digital value and correction data is used as the digital input value. do.

〔発明が解決しようとする問題点〕 このように従来のキャリブレーション方法によれば、ハ
ードウェア的な方法およびソフトウェア的な方法ともに
、専用の測定器(電圧計)を用いる上に、ドライバーに
よるボリューム門型あるいは上昇・下降用キーの押下等
によυ入力値を徐々に変化させ、最適値を探すという面
倒な作業が必要と々る。
[Problems to be Solved by the Invention] As described above, according to the conventional calibration methods, both the hardware method and the software method use a dedicated measuring device (voltmeter) and a volume control using a screwdriver. The tedious task of searching for the optimal value by gradually changing the υ input value by pressing a gate type or up/down key is required.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、出力電流信号をデジタル変換する手段を備え
、予め複数のデジタル入力値を与えて、各場合の出力′
c工流値のデジタル変換値と上記デジタル入力値との関
係から補正用データを算出し記憶しておくものである。
The present invention includes means for digitally converting an output current signal, provides a plurality of digital input values in advance, and outputs the output current signal in each case.
Correction data is calculated and stored from the relationship between the digitally converted value of the c-flow value and the digital input value.

環流出力時には、その出力値に対応した理想デジタル入
力値と補正用データとから求めたデジタル信号をデジタ
ル入力値として与える。
At the time of the recirculation output, a digital signal obtained from the ideal digital input value corresponding to the output value and the correction data is given as the digital input value.

〔作用〕[Effect]

任意のデジタル入力値を与えるだけで、補正用データが
算定される。
Correction data can be calculated by simply providing an arbitrary digital input value.

〔実施例〕〔Example〕

第1図に示すよりに、電流出力回路の電流出力端子1.
2の間にキャリブレーション用の精密麿負荷抵抗3(抵
抗値R;本実施例では250Ω)を接続する。とこまで
は、従来のキャリブレーション方法による場合と同様で
ある。この負荷抵抗30両端に、アナログ−デジタル(
AD)変換器110入力端子に接続する。このようなA
D変換器11は、例えばプログラム調節計等にはもとも
と付属しているのが普通であシ、それを流用すればよく
、特別に用意する必要はない。
As shown in FIG. 1, the current output terminal 1 of the current output circuit.
A precision load resistor 3 (resistance value R; 250Ω in this embodiment) for calibration is connected between the terminals 2 and 2. The steps up to this point are the same as in the case of the conventional calibration method. Analog-digital (
AD) Connect to the converter 110 input terminal. A like this
The D converter 11 is normally attached to, for example, a program controller, and it is sufficient to use it, and there is no need to prepare it specially.

以下、例エバマンマシンインター7エースよシO%のデ
ジタル信号を与えることによシ、プロセッサユニットに
おいて抵抗3の端子間電圧のAD変換値Ao’を求める
。次いで同様に100%のデジタル信号を与えたときの
AD変換値Aloo’を求めるO 0%および100%のデジタル信号入力時の理想のAD
変換値をそれぞれAo 、 A100とすると、プロセ
ッサユニットはAo’  AoおよびA100’ −A
looから、次のように補正データA、Bを求め、これ
をメモリにストアする。
In the following, an AD conversion value Ao' of the voltage between the terminals of the resistor 3 is determined in the processor unit by applying a digital signal of 0% to the example Everman Machine Inter7 Ace. Next, similarly calculate the AD conversion value Aloo' when 100% digital signal is given.O Ideal AD when 0% and 100% digital signal is input
Letting the converted values be Ao and A100, respectively, the processor unit will be Ao'Ao and A100'-A
From loo, corrected data A and B are obtained as follows and stored in the memory.

次にAo’−Aoおよ゛びA100’−A100の値を
用いて実際にデジタル入力値の補正を行なう例を説明す
る。デジタル入力値と電流出力値との関係が第2図に示
すようなものであるとする。図中Iが理想の関係、■が
実際の関係を示し、Xαが理想の4%デジタル入力値、
Xα′が実際の4%デジタル入力値、ΔXαが両者の差
を示す。また、8゜bはデジタル入力値および電流出力
値の各フルスパンを示す。なお、ここでは計算を簡単に
するため、 a e b e c =Ao’ −Ao 
jd=Axoo’−Aloo 。
Next, an example will be described in which the digital input value is actually corrected using the values of Ao'-Ao and A100'-A100. It is assumed that the relationship between the digital input value and the current output value is as shown in FIG. In the figure, I indicates the ideal relationship, ■ indicates the actual relationship, Xα is the ideal 4% digital input value,
Xα' represents the actual 4% digital input value, and ΔXα represents the difference between the two. Further, 8°b indicates each full span of the digital input value and the current output value. Note that here, to simplify the calculation, a e b e c = Ao' - Ao
jd=Axoo'-Aloo.

Δxo、ΔX 100の各分解能は人り変換値のそれと
同じと仮定する(このときa = bとなる)。
It is assumed that the resolutions of Δxo and ΔX 100 are the same as that of the human conversion value (in this case, a = b).

第2図よυ c :Δxo =b−1−d : a+△xOこれよシ また、 d :Δx10g=b−1−d : a+Δx(1b十
a−c となる。仁のとき、Xα′は次のように表わされる。
Figure 2. It is expressed as follows.

Xα−勾 Xα′=(Xα−Δxo)+(ΔXO−ΔX100)X
(−)ス100−絢 =Axα−B        ・・・・・・・・・  
(3)すなわち、補正用データは、 として求められる。
Xα - Gradient Xα' = (Xα - Δxo) + (ΔXO - ΔX100)X
(-) Su100-Aya=Axα-B ・・・・・・・・・
(3) In other words, the correction data is obtained as follows.

以上、 ffンマシンインターフェースよ’Em次指令
を与えるマニュアル方式で補正用データを求める場合に
ついて説明したが、キヤリプレーシミン用のプログラム
を実行させて自動的に行なってもよい。第3図にその一
例を示す。例えば所定のキー操作等によシキャリプレー
ションモードが設定されると、プロセッサユニットは0
%デジタル値を出力する(ステップ101)。そしてA
D変換器11の出力が安定するまで例えば数IQmsの
待ち時間の後(ステップ102)、出力電流値Isと負
荷抵抗値Bとの積に相轟する電圧値のAD変換値を読み
込み、その値をメモリの所定エリアにストアする(ステ
ップ103)。なお、マニュアルの場合であれば、所定
の午−操作等を待って、とのAD変換処理を行なうこと
Kなる。
The above description has been about the case where correction data is obtained by a manual method in which the next command is given to the machine interface, but it may also be done automatically by running a program for calibration. An example is shown in FIG. For example, when the calibration mode is set by a predetermined key operation, the processor unit
% digital value is output (step 101). And A
After a waiting time of, for example, several IQms until the output of the D converter 11 stabilizes (step 102), the AD converted value of the voltage value that resonates with the product of the output current value Is and the load resistance value B is read, and the value is is stored in a predetermined area of memory (step 103). In addition, in the case of manual operation, the AD conversion process will be performed after waiting for a predetermined operation.

同様に100%デジタル値についてAD変換値をストア
する(ステップ104〜106)。その後、前述したよ
うに(4) 、 (5)式から補正用データA、Bを算
出しくステップ107)、その値をメモリの所定エリア
にストアする(ステップ108)。
Similarly, AD conversion values for 100% digital values are stored (steps 104 to 106). Thereafter, as described above, the correction data A and B are calculated from equations (4) and (5) (step 107), and the values are stored in a predetermined area of the memory (step 108).

このようにして予め補正用データを求めておけば、東際
の電流出力時には、その出力値に対応した理想のデジタ
ル入力値Xαと上記補正用データA、Bとから第3図に
より補正したデジタル入力値Xα′を求め、 とれを電
流出力回路に与えることによシ、ゼ筒調、スパン調が行
なえるとととなる。
If the correction data is obtained in advance in this way, when the east-side current is output, the corrected digital input value Xα corresponding to the output value and the above-mentioned correction data A and B can be used as shown in FIG. By finding the input value Xα' and applying the deviation to the current output circuit, it is possible to perform the cylindrical tone and the span tone.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば、出力電流信号を
デジタル変換する手段を備え、予め複数のデジタル入力
値を与えて各場合に出力されるデジタル変換値ともとの
デジタル入力値との関係から補正用データを算出し、実
際の電流出力時には、理想デジタル入力値と上記補正用
データとから求めたデジタル値を入力値とする方法によ
シ、きわめて簡単にゼロ調およびスパン調が行なえる。
As explained above, according to the present invention, the present invention includes a means for digitally converting an output current signal, and provides a plurality of digital input values in advance, and the relationship between the digitally converted value outputted in each case and the original digital input value is provided. Zero adjustment and span adjustment can be performed very easily by calculating the correction data from , and using the digital value obtained from the ideal digital input value and the above correction data as the input value during actual current output. .

従来例のように、測定器の出力を見ながら手動によシ入
力値を変動させて最適値を探すといった作業が不要とな
るとともに、測定器自体も不要となる。
Unlike the conventional example, there is no need to manually vary the input value while looking at the output of the measuring device to find the optimum value, and the measuring device itself is also no longer necessary.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実胞例を示す回路図、第2図は電流
出力回路の入出力特性例を示す図、第3図は補正用デー
タの算出手順を示すフローチャート、第4図は従来例を
示す回路図、第5図は電流出力口路の入出力特性例を示
す図である。 1.2・・φ・電流出力端子、3・−・・負荷抵抗、1
1・・・・AD変換器。
Fig. 1 is a circuit diagram showing an example of the present invention, Fig. 2 is a diagram showing an example of input/output characteristics of a current output circuit, Fig. 3 is a flowchart showing a procedure for calculating correction data, and Fig. 4 is a diagram showing an example of input/output characteristics of a current output circuit. FIG. 5 is a circuit diagram showing a conventional example, and is a diagram showing an example of input/output characteristics of a current output path. 1.2...φ・Current output terminal, 3...Load resistance, 1
1...AD converter.

Claims (1)

【特許請求の範囲】[Claims] デジタル入力値を所定範囲の電流信号に変換して出力す
る電流出力回路において、出力電流信号をデジタル変換
する手段を備え、予め複数のデジタル入力値を与えたと
きの出力電流値のデジタル変換値と上記デジタル入力値
との関係から補正用データを算出して記憶しておき、電
流出力時にはその出力値に対応した理想デジタル入力値
と上記補正用データとから求めたデジタル値をデジタル
入力値として与えることを特徴とする電流出力回路のキ
ャリブレーション方式。
A current output circuit that converts a digital input value into a current signal within a predetermined range and outputs the current signal has a means for digitally converting the output current signal, and the digital conversion value of the output current value when a plurality of digital input values is given in advance. Calculate and store correction data from the relationship with the above digital input value, and when outputting current, give the digital value calculated from the ideal digital input value corresponding to the output value and the above correction data as the digital input value. A calibration method for a current output circuit characterized by the following.
JP20964386A 1986-09-08 1986-09-08 Calibration system for current output circuit Pending JPS6366606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20964386A JPS6366606A (en) 1986-09-08 1986-09-08 Calibration system for current output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20964386A JPS6366606A (en) 1986-09-08 1986-09-08 Calibration system for current output circuit

Publications (1)

Publication Number Publication Date
JPS6366606A true JPS6366606A (en) 1988-03-25

Family

ID=16576188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20964386A Pending JPS6366606A (en) 1986-09-08 1986-09-08 Calibration system for current output circuit

Country Status (1)

Country Link
JP (1) JPS6366606A (en)

Similar Documents

Publication Publication Date Title
JPH04361428A (en) Linearizing processing method of nonlinear type analog-digital and circuit thereof
US4907165A (en) Electric energy measuring method
JPS6366606A (en) Calibration system for current output circuit
JPH0664678B2 (en) Analog input device
JPS63158470A (en) Signal measuring device and method
JP3260005B2 (en) A / D conversion processing method
JPH07162295A (en) Digital temperature compensating oscillator and its digital temperature compensating method
JPS6265424A (en) Etching end point detection method
JPS61262668A (en) Method for contracting wave form for wave form memory apparatus
KR20000056025A (en) Analog input circuit for plc system and control method thereof
JPH06125272A (en) Analog input device
JP2851873B2 (en) Feedback control device
JPS605324A (en) Appointed position detecting device
JPS5835671A (en) Analog signal processing device
JPH01147603A (en) Correction method for power unit
JP2562046Y2 (en) Averaging operation circuit
JPS635619A (en) A/d converter for process controller
JPH08162952A (en) Ad conversion value correction device for ad converter
JPH05243998A (en) Automatic adjusting device for analog/digital converter system
JPH0356034A (en) Digital type voltage regulating relay
JPS61286919A (en) Input interface for microcomputer
JPS58186841A (en) Logarithmic converter
JPH02162408A (en) Temperature controller
JPH0247711A (en) Analog input/output device
JPS61125601A (en) Controller with potentiometer