JP2009100242A - Automatic adjustment system for digital controller - Google Patents

Automatic adjustment system for digital controller Download PDF

Info

Publication number
JP2009100242A
JP2009100242A JP2007269610A JP2007269610A JP2009100242A JP 2009100242 A JP2009100242 A JP 2009100242A JP 2007269610 A JP2007269610 A JP 2007269610A JP 2007269610 A JP2007269610 A JP 2007269610A JP 2009100242 A JP2009100242 A JP 2009100242A
Authority
JP
Japan
Prior art keywords
converter
offset
gain
digital
protective relay
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
JP2007269610A
Other languages
Japanese (ja)
Inventor
Koji Hosoya
康二 細谷
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2007269610A priority Critical patent/JP2009100242A/en
Publication of JP2009100242A publication Critical patent/JP2009100242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform automatic adjustment without arranging hardware and software for the automatic adjustment of offset and gain of D/A (digital to analog) conversion in a digital control device. <P>SOLUTION: Automatic testing devices (computer 11 and interface 12), which effect the automatic testing of protective relay units 10a-10d for a digital type protective relay device, set the digital data of two points as an input for a D/A converter in the protective relay unit to obtain the offset and the gain of a correction value from a difference between A/O from the protective relay unit with respect to the data setting and correct the offset and gain of the D/A converter in the protective relay unit by the correction value. The correction of offset and gain corrects the converting characteristic of a converter which effects the scale conversion of an input for the D/A converter or adjusts the offset and gain of the D/A converter itself. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ディジタル制御装置の自動調整方式に係り、特にディジタル制御装置のアナログ出力部(以下、A/O部と略す)のオフセットとゲインを自動調整する方式に関する。   The present invention relates to an automatic adjustment method for a digital control device, and more particularly to a method for automatically adjusting an offset and gain of an analog output unit (hereinafter referred to as an A / O unit) of a digital control device.

電動機のディジタル制御装置や電力系統のディジタル形保護継電装置では、計測アナログ信号をディジタル値に変換し、このディジタル値を基にしたディジタル処理によって所期の出力を得る。例えば、ディジタル形保護継電装置は、電力系統の電圧、電流などの計測アナログ信号を入力し、これらをA/D変換器でディジタル信号に変換し、これらのディジタル信号を使った保護リレー演算結果によって保護対象の保護出力を得る。   In a digital control device for an electric motor and a digital type protective relay device for an electric power system, a measurement analog signal is converted into a digital value, and an intended output is obtained by digital processing based on the digital value. For example, a digital type protective relay device inputs measurement analog signals such as power system voltage and current, converts them into digital signals with an A / D converter, and results of protection relay calculation using these digital signals To obtain the protection output of the protection target.

この種のディジタル制御装置において、装置からの制御出力をディジタル信号のままとする場合と、ディジタル信号をD/A変換器でアナログ信号に変換して出力する場合がある。   In this type of digital control apparatus, there are cases where the control output from the apparatus remains as a digital signal, and cases where the digital signal is converted into an analog signal by a D / A converter and output.

例えば、ディジタル形保護継電装置では、保護対象から計測した電圧・電流情報を上位装置に伝送し、上位装置側で系統の電圧・電流のアナログ波形を表示し、その歪み等の監視や管理に供する。この場合、保護継電装置では、計測アナログ信号をA/D変換して保護演算に供したディジタル値を再度D/A変換してアナログ信号に戻し、上位装置に伝送する。また、電動機のディジタル制御装置では、電動機に供給する電流や印加電圧の制御出力をD/A変換器でアナログ信号に変換して出力とする。   For example, in a digital type protective relay device, voltage / current information measured from the protection target is transmitted to the host device, and the host device side displays an analog waveform of the voltage / current of the system for monitoring and managing the distortion. Provide. In this case, the protection relay device A / D converts the measured analog signal and D / A converts the digital value used for the protection operation again to return it to the analog signal and transmits it to the host device. Further, in the digital control device for an electric motor, a control output of a current and an applied voltage supplied to the electric motor is converted into an analog signal by a D / A converter to be output.

上記のようなA/O部をもつディジタル制御装置において、入力ディジタル値に対するアナログ変換には高い精度が要求される。この要求を無調整のD/A変換器で実現する事は現時点では不可能である為、チャンネル毎に設けられるD/A変換器にはゲインとオフセット調整用ボリュームを設け、ディジタル制御装置を出荷検査する際に試験者(検査係)にて手動調整するようにしている。この手動調整は、出荷時に実施されるほか、装置の性能を維持するためには、保守点検時にも必要となる。   In a digital control device having an A / O unit as described above, high accuracy is required for analog conversion of an input digital value. Since it is currently impossible to realize this requirement with an unadjusted D / A converter, the D / A converter provided for each channel is provided with a gain and offset adjustment volume, and a digital controller is shipped. When inspecting, the tester (inspector) manually adjusts. This manual adjustment is performed at the time of shipment and is also required during maintenance and inspection in order to maintain the performance of the apparatus.

この手動調整では、試験者(検査係)が調整用ボリュームにてチャンネル毎に調整する為、多くの試験工数が必要である。また、試験者(検査係)によって調整精度が異なる為、要求精度を満たしていても実精度にバラッキがある。また、調整する為のハードウェアを実装する必要がある為、コストアップの要因でもある。また、各チャンネルに調整するためのボリュームが必要な為、調整する際全ての調整用ボリュームにアクセス出来なければならない。すなわち、各D/A変換器を制御装置内部やスロットに実装する際には、全てのボリュームをスロット前面等に設置出来ない為、延長治具等を作成し、調整試験しなければならない。   In this manual adjustment, a tester (inspector) makes adjustments for each channel using the adjustment volume, and therefore requires a large number of test steps. In addition, since the adjustment accuracy differs depending on the tester (inspector), the actual accuracy varies even if the required accuracy is satisfied. In addition, since it is necessary to implement hardware for adjustment, it is also a factor of cost increase. Moreover, since the volume for adjusting to each channel is required, it is necessary to be able to access all the adjusting volumes when adjusting. That is, when each D / A converter is mounted in the control device or in the slot, since all the volumes cannot be installed on the front surface of the slot, an extension jig or the like must be created and subjected to an adjustment test.

上記の調整用ボリュームによる手動調整を不要にする方式として、D/A変換器のゲインとオフセットをソフトウェア的に自動補正するものもある(例えば、特許文献1参照)。この自動補正方式は、図4に示すように、CPU1からのディジタル値をD/A変換器3でアナログ信号に変換して出力する構成において、D/A変換器3の出力をアナログ入力とするA/D変換器4を設け、D/A変換器3とA/D変換器4に対する入出力をタイミング発生回路2により切り替え、自動補正にはD/A変換器3の出力をA/D変換器4でディジタル値に変換し、CPU1がD/A変換器3に入力するディジタル値を変化させたときのA/D変換器4の各変換ディジタル値との差分からオフセット調整値Aとゲイン調整値Bを求めておき、CPU1がD/A変換器3に入力しようとするディジタル値xをD=A+Bxで補正処理する。D/A変換器3が複数チャンネル分ある場合は、CPU1は各チャンネル分のオフセット調整値Aとゲイン調整値Bを予め求めて記憶しておき、チャンネルの切り替えごとに補正したディジタル値Dを求めて当該D/A変換器の入力とする。
特開平6−204870号公報
As a method that eliminates the need for manual adjustment using the adjustment volume, there is a method that automatically corrects the gain and offset of the D / A converter by software (see, for example, Patent Document 1). As shown in FIG. 4, this automatic correction method converts the digital value from the CPU 1 into an analog signal by the D / A converter 3 and outputs it as an analog input. An A / D converter 4 is provided, input / output to / from the D / A converter 3 and the A / D converter 4 is switched by the timing generation circuit 2, and the output of the D / A converter 3 is A / D converted for automatic correction. The offset adjustment value A and the gain adjustment are performed based on the difference from each converted digital value of the A / D converter 4 when the digital value input to the D / A converter 3 is changed by the CPU 1. A value B is obtained, and the digital value x to be input to the D / A converter 3 by the CPU 1 is corrected by D = A + Bx. When the D / A converter 3 has a plurality of channels, the CPU 1 obtains and stores the offset adjustment value A and the gain adjustment value B for each channel in advance, and obtains a corrected digital value D every time the channel is switched. The input of the D / A converter.
JP-A-6-204870

特許文献1で提案されるゲインとオフセット自動補正方式をディジタル制御装置のD/A変換器に適用する場合、CPU1にはディジタル制御装置に搭載するCPUを利用することができるが、少なくとも、A/D変換器4とタイミング発生回路2を増設する必要がある。   When the gain and offset automatic correction method proposed in Patent Document 1 is applied to a D / A converter of a digital control device, a CPU mounted on the digital control device can be used as the CPU 1, but at least A / It is necessary to add a D converter 4 and a timing generation circuit 2.

また、CPU1にはオフセット調整値Aとゲイン調整値Bを求めるためのプログラムとデータメモリを追加する必要があり、ソフトウェアの複雑化を招く。   Further, it is necessary to add a program and a data memory for obtaining the offset adjustment value A and the gain adjustment value B to the CPU 1, which causes software complexity.

さらに、CPU1はA/Oを実行する度に自動補正の演算を行う必要があり、CPUの負荷増になると共にA/Oの高速処理を妨げる。   Further, the CPU 1 needs to perform an automatic correction operation every time A / O is executed, which increases the load on the CPU and hinders high-speed processing of A / O.

本発明の目的は、D/A変換のオフセットとゲインの自動調整のためのハードウェアおよびソフトウェアをディジタル制御装置に設けることなく自動調整できるディジタル制御装置の自動調整方式を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic adjustment method for a digital control device that can be automatically adjusted without providing hardware and software for automatic adjustment of offset and gain of D / A conversion in the digital control device.

本発明は、前記の課題を解決するため、ディジタル制御装置の自動試験装置がもつ信号入出力処理手段とディジタル処理手段を利用し、自動試験装置からA/O部のD/A変換器の入力として2点のディジタルデータを設定し、このデータ設定に対するディジタル制御装置からのA/Oとの差から自動試験装置側でオフセットとゲインの補正値を求め、この補正値でディジタル制御装置内のD/A変換器のオフセットとゲインを調整しておくようにしたもので、以下の構成を特徴とする。   In order to solve the above-mentioned problems, the present invention uses the signal input / output processing means and digital processing means of the automatic test device of the digital control device, and inputs the D / A converter of the A / O unit from the automatic test device. As described above, two points of digital data are set, and correction values of offset and gain are obtained on the side of the automatic test device from the difference from the A / O from the digital control device for this data setting. The offset / gain of the / A converter is adjusted in advance, and has the following configuration.

(1)ディジタル値をD/A変換器でアナログ信号に変換して出力するA/O部を搭載したディジタル制御装置において、前記D/A変換器のオフセットとゲインを自動調整する方式であって、
ディジタル制御装置の自動試験装置は、前記D/A変換器の入力として2点のディジタルデータを設定し、このデータ設定に対する前記A/O部の出力のフィードバック値から前記D/A変換器のオフセットとゲインの補正値を求め、この補正値で前記D/A変換器のオフセットとゲインを調整しておく手段を備えたことを特徴とする。
(1) In a digital control device equipped with an A / O unit that converts a digital value into an analog signal by a D / A converter and outputs the analog signal, the offset and gain of the D / A converter are automatically adjusted. ,
The automatic test device of the digital controller sets two points of digital data as the input of the D / A converter, and the offset of the D / A converter from the feedback value of the output of the A / O unit with respect to this data setting And a gain correction value, and a means for adjusting the offset and gain of the D / A converter with the correction value.

(2)前記A/O部が前記D/A変換器の入力データをスケール変換器でスケール変換する構成の場合、前記自動試験装置はオフセットとゲインの補正値で前記スケール変換器の変換特性を調整しておくことを特徴とする。   (2) When the A / O unit is configured to perform scale conversion of the input data of the D / A converter using a scale converter, the automatic test apparatus can convert the conversion characteristics of the scale converter using offset and gain correction values. It is characterized by adjusting.

(3)前記自動試験装置は、オフセットとゲインの補正値で前記D/A変換器のオフセットとゲイン設定用の不揮発性メモリの値を調整しておくことを特徴とする。   (3) The automatic test apparatus is characterized in that the offset of the D / A converter and the value of the nonvolatile memory for setting the gain are adjusted with the offset and gain correction values.

以上のとおり、本発明によれば、自動試験装置からA/O部のD/A変換器の入力として2点のディジタルデータを設定し、このデータ設定に対するディジタル制御装置からのA/Oとの差から自動試験装置側でオフセットとゲインの補正値を求め、この補正値でディジタル制御装置内のD/A変換器のオフセットとゲインを調整しておくようにしたため、D/A変換のオフセットとゲインの自動調整のためのハードウェアおよびソフトウェアをディジタル制御装置に設けることなく自動調整できる。   As described above, according to the present invention, two points of digital data are set as the input of the D / A converter of the A / O unit from the automatic test apparatus, and the A / O from the digital control apparatus for this data setting is set. The offset and gain correction values are obtained from the difference on the automatic test device side, and the offset and gain of the D / A converter in the digital control device are adjusted with this correction value. Hardware and software for automatic gain adjustment can be automatically adjusted without providing the digital controller.

また、従来の手動調整に比べて、試験者(検査員)にて調整出荷していたA/O機能確認試験を自動で行うことができ、試験工数の削減、H/W回路の削減を実現できる。また、自動で調整できるため、ヒューマンエラーを防ぐことができる。   Compared to the conventional manual adjustment, the A / O function confirmation test that was adjusted and shipped by the tester (inspector) can be automatically performed, reducing the number of test steps and the H / W circuit. it can. Moreover, since it can adjust automatically, a human error can be prevented.

図1は、本発明の実施形態を示す自動試験装置の構成図であり、ディジタル形保護継電装置の自動試験を行う場合である。被試験対象となるディジタル形保護継電装置は、4チャンネルの保護継電部10a〜10dを各スロットに装着可能としている。これら保護継電部10a〜10dは、それぞれ電圧、電流のアナログ(AC)入力をA/D変換したディジタル値での保護リレー演算を行うと共に、ディジタル出力をD/A変換したA/O部を搭載したものとする。   FIG. 1 is a configuration diagram of an automatic test apparatus showing an embodiment of the present invention, in which an automatic test of a digital protective relay device is performed. The digital type protective relay device to be tested is capable of mounting four-channel protective relay units 10a to 10d in each slot. These protection relay units 10a to 10d perform protection relay calculations with digital values obtained by A / D conversion of analog (AC) inputs of voltage and current, respectively, and A / O units obtained by D / A conversion of digital outputs. It shall be installed.

自動試験装置は、試験ソフトウェアを搭載したコンピュータ(パソコン)11と、このコンピュータ11とディジタル形保護継電装置側との間の試験信号入出力用インターフェース12とを備える。また、保護継電部10a〜10dのA/Oを切り替えてインターフェース12側に取り込むA/O切替ユニット13と、保護継電部10a〜10dのA/Oをそれぞれインターフェース12側に取り込む補助リレーユニット14を備える。   The automatic test apparatus includes a computer (personal computer) 11 loaded with test software, and a test signal input / output interface 12 between the computer 11 and the digital protective relay device side. Further, the A / O switching unit 13 that switches the A / O of the protective relay units 10a to 10d and loads the A / O to the interface 12 side, and the auxiliary relay unit that loads the A / O of the protective relay units 10a to 10d to the interface 12 side, respectively. 14.

さらに、保護継電部10a〜10dへのアナログ(AC)入力の補正等の処理や計測情報の確認試験を行うための無歪み試験器15a〜15dと、保護継電部10a〜10dおよび無歪み試験器15a〜15dへ電源供給を行う試験用電源装置16を設ける。   Further, distortion-free testers 15a to 15d for performing processing such as correction of analog (AC) input to the protective relay units 10a to 10d and confirmation tests of measurement information, and protective relay units 10a to 10d and no distortion A test power supply device 16 for supplying power to the testers 15a to 15d is provided.

これら保護継電部10a〜10dおよび無歪み試験器15a〜15dとの間はGPIBバス(データ伝送路)で接続されてインターフェース12に接続される。また、インターフェース12から保護継電部10a〜10dへのデータ入力はRS−232Cケーブルを介して伝送される。   The protection relay units 10a to 10d and the distortion-free testers 15a to 15d are connected to the interface 12 through a GPIB bus (data transmission line). In addition, data input from the interface 12 to the protection relay units 10a to 10d is transmitted via an RS-232C cable.

以上の構成になる自動試験装置を利用して、本実施形態では、保護継電部10a〜10dのオフセットとゲインの自動調整をコンピュータ11に搭載したソフトウェアの実行で可能にする。すなわち、保護継電部10a〜10dにそのオフセットとゲインの自動調整のためのハードウェアおよびソフトウェアの追加を不要にした自動調整を可能にする。   By using the automatic test apparatus configured as described above, in this embodiment, automatic adjustment of the offset and gain of the protective relay units 10a to 10d is enabled by executing software installed in the computer 11. That is, it is possible to perform automatic adjustment without adding hardware and software for automatic adjustment of the offset and gain to the protective relay units 10a to 10d.

このオフセットとゲインの自動調整には、コンピュータ11は保護継電部10a〜10dを自動試験用モードに切り替えて強制的に試験データ(ディジタル値)をセットし、これをD/A変換したA/O値を読み取り、その計測データを保護継電部10a〜10dにフィードバックし、オフセットとゲインの補正値を求め、この補正値を保護継電部10a〜10dにそれぞれ設定しておく。   For the automatic adjustment of the offset and gain, the computer 11 switches the protective relay units 10a to 10d to the automatic test mode, forcibly sets test data (digital values), and D / A converts the A / The O value is read, and the measurement data is fed back to the protective relay units 10a to 10d to obtain correction values for offset and gain, and these correction values are set in the protective relay units 10a to 10d, respectively.

図2は、自動試験装置によるディジタル形保護継電装置の自動調整の要部構成を示す。自動試験装置20は、図1のコンピュータ11やインターフェース12、A/O切替ユニット13等を有する。保護継電器30は、図1の保護継電部10a〜10dの1つに相当する被試験装置になる。A/O計測器40は、保護継電器30のA/Oを取り込んでA/D変換したディジタル値で自動試験装置20にフィードバックする。   FIG. 2 shows a main configuration of automatic adjustment of the digital type protective relay device by the automatic test device. The automatic test apparatus 20 includes the computer 11, the interface 12, the A / O switching unit 13 and the like shown in FIG. The protective relay 30 is a device under test corresponding to one of the protective relay units 10a to 10d in FIG. The A / O measuring instrument 40 feeds back the A / O of the protective relay 30 and feeds it back to the automatic test apparatus 20 with a digital value obtained by A / D conversion.

保護継電器30の構成を説明する。A/D変換器31は、電流や電圧のアナログ信号(AC)が入力されてその実効値に対応するディジタル値に変換する。保護リレー演算部32は、A/D変換入力を基に保護リレー演算を行うものであり、内蔵のマイクロコンピュータとソフトウェアで実現される。レジスタ33はA/D変換入力または保護リレー演算部32のディジタル出力を一時記憶する。スケール変換器34はレジスタ33にセットされたディジタル値をスケール変換する。D/A変換器35はスケール変換されたディジタル値をD/A変換し、A/Oを得る。送受信部36は、RS−232Cケーブルを通して外部装置との間でディジタルデータを送受信する機能構成にされ、これを自動試験装置との間のデータ送受信に利用する。   The configuration of the protective relay 30 will be described. The A / D converter 31 receives an analog signal (AC) of current or voltage and converts it into a digital value corresponding to its effective value. The protection relay calculation unit 32 performs protection relay calculation based on the A / D conversion input, and is realized by a built-in microcomputer and software. The register 33 temporarily stores the A / D conversion input or the digital output of the protection relay operation unit 32. The scale converter 34 scales the digital value set in the register 33. The D / A converter 35 D / A converts the scale-converted digital value to obtain A / O. The transmission / reception unit 36 has a functional configuration for transmitting / receiving digital data to / from an external device through an RS-232C cable, and uses this for data transmission / reception to / from the automatic test apparatus.

以上の構成になる保護継電器30に対して、自動試験装置20は、A/D変換器31に試験用アナログ信号を入力し、保護リレー演算部32による保護演算結果を送受信部36から自動試験装置20に伝送してその保護機能の自動試験を可能にする。また、保護継電器30のA/Oを計測器40を通して自動試験装置20に取り込み、A/Oの自動試験を可能にする。   For the protective relay 30 configured as described above, the automatic test apparatus 20 inputs a test analog signal to the A / D converter 31, and the protection calculation result by the protection relay calculation section 32 is sent from the transmission / reception section 36 to the automatic test apparatus. 20 to enable automatic testing of its protection function. In addition, the A / O of the protective relay 30 is taken into the automatic test apparatus 20 through the measuring instrument 40, thereby enabling the automatic test of A / O.

図2の構成において、D/A変換器35のオフセットとゲインの自動調整手順を以下に説明する。なお以下の例では、自動調整対象となる特定の保護継電部を選択済みとする。   In the configuration of FIG. 2, an automatic adjustment procedure of the offset and gain of the D / A converter 35 will be described below. In the following example, it is assumed that a specific protection relay unit to be automatically adjusted has been selected.

(S1)自動試験装置20は、それに搭載の自動試験ソフトにより、RS−232C(送受信部36)経由で保護継電器30のマイクロコンピュータにA/O試験モード開始のフラグをセットし、同時に、DC5mAと20mAに対応させたA/Oを指令する。   (S1) The automatic test apparatus 20 sets the A / O test mode start flag to the microcomputer of the protective relay 30 via the RS-232C (transmission / reception unit 36) by the automatic test software installed therein, and at the same time, DC5mA Command A / O corresponding to 20 mA.

(S2)保護継電器30のマイクロコンピュータは、フラグセットを確認後、D/A変換器35の出力を5秒間だけDC5mAを出力、その後、5秒間だけ20mAを出力するようレジスタ33の設定値をセットする。   (S2) After confirming the flag set, the microcomputer of the protective relay 30 sets the set value of the register 33 so that the output of the D / A converter 35 is output 5 mA DC for 5 seconds and then 20 mA only for 5 seconds. To do.

(S3)自動試験装置20は、保護継電器30の電流出力を計測器40より取込み、取り込んだ計測値データを変換し、保護継電器30にRS−232C経由で計測値データを出力する。   (S3) The automatic test apparatus 20 takes the current output of the protective relay 30 from the measuring instrument 40, converts the taken measurement value data, and outputs the measured value data to the protective relay 30 via RS-232C.

(S4)保護継電器30は、A/O開始してから3〜5秒までの間に自動試験装置20から入力された計測値データを平均して5mA出力のフィードバックデータとする。   (S4) The protective relay 30 averages the measured value data input from the automatic test apparatus 20 during the period from 3 to 5 seconds after the start of A / O to obtain feedback data of 5 mA output.

(S5)同様に、保護継電器30は、出力開始から8〜10秒までの間に来た計測値データを平均しで20mA出力のフィードバックデータとする。   (S5) Similarly, the protective relay 30 averages the measured value data that has come between 8 and 10 seconds from the start of output to obtain feedback data of 20 mA output.

(S6)自動試験装置20は、上記の(S4)、(S5)によるフィードバックデータからスケール変換器34のスケール変換特性の補正値を求めることで、D/A変換器35のオフセットとゲインの補正値を決定し、この補正値をスケール変換器34に設定する。この設定は、スケール変換特性を記憶する不揮発性メモリへの上書きとする。   (S6) The automatic test apparatus 20 corrects the offset and gain of the D / A converter 35 by obtaining the correction value of the scale conversion characteristic of the scale converter 34 from the feedback data according to the above (S4) and (S5). The value is determined, and this correction value is set in the scale converter 34. This setting is to overwrite the nonvolatile memory that stores the scale conversion characteristics.

(S7)上記の(S6)での補正後、自動試験装置20は、補正が正常に行われているか確認するモード開始のフラグをRS−232C経由で保護継電器30にセットする。   (S7) After the correction in (S6) above, the automatic test apparatus 20 sets a mode start flag for confirming whether the correction is normally performed in the protective relay 30 via the RS-232C.

(S8)保護継電器30は、確認するモード開始フラグを受けて、5mA,20mA出力を5秒間隔で出力する。   (S8) The protection relay 30 receives the mode start flag to be confirmed, and outputs 5 mA and 20 mA outputs at intervals of 5 seconds.

(S9)自動試験装置20は、計測器40経由で上記の(S8)での計測値データを取り込み、A/Oが5mA,20mAに正しく補正出来ていることを確認する。   (S9) The automatic test apparatus 20 takes in the measurement value data in the above (S8) via the measuring instrument 40 and confirms that A / O has been correctly corrected to 5 mA and 20 mA.

上記の(S6)によるオフセットとゲインの補正は、図3を参照して説明する。まず、保護継電器30は、自動試験モードに設定されることで、最初にオフセット理想値A(5mA)の出力データをセットし、この出力に対して計測器40を介してフィードバックされた値A’(5mA)を記憶する。同様に、保護継電器30は、ゲイン理想値B(20mA出力データ)をセットし、この20mA出力に対してフィードバック値B’(20mA)を記憶する。これら処理は、図2の補正1の経路で行う。   The offset and gain correction in (S6) above will be described with reference to FIG. First, the protective relay 30 is set to the automatic test mode, so that the output data of the offset ideal value A (5 mA) is first set, and the value A ′ fed back via the measuring instrument 40 to this output. (5 mA) is stored. Similarly, the protective relay 30 sets an ideal gain value B (20 mA output data) and stores a feedback value B ′ (20 mA) for the 20 mA output. These processes are performed in the path of correction 1 in FIG.

上記の測定において、理想特性は図3に示すように、Y(実際に出力する電流値)=X(セットする電流値)であるが、実際にはオフセットとゲインのずれが存在し、Y=αX+βとなっている。この式に上記2つのフィードバック値を当てはめると、A’=αA+β、B’=αB+βとなる。これより、α=(B’−A’)/(B−A)、β=A’−αAとなり、ゲイン補正分αとオフセット補正分βが求められる。   In the above measurement, the ideal characteristic is Y (actual output current value) = X (set current value) as shown in FIG. 3, but actually there is a deviation between the offset and the gain, and Y = αX + β. When the above two feedback values are applied to this equation, A ′ = αA + β and B ′ = αB + β. Thus, α = (B′−A ′) / (BA) and β = A′−αA, and the gain correction amount α and the offset correction amount β are obtained.

最後に、保護継電器30は、スケール変換器34にオフセットとゲインを補正したスケール変換特性として設定し、これに対するフィードバックされた値から自動試験装置20がオフセットとゲイン補正を確認する。これらオフセットとゲイン設定は図2の補正2の経路で行う。   Finally, the protective relay 30 sets the scale converter 34 as a scale conversion characteristic in which the offset and gain are corrected, and the automatic test apparatus 20 confirms the offset and gain correction from the values fed back thereto. These offset and gain settings are performed through the correction 2 path in FIG.

以上までに説明した実施形態においては、オフセットとゲインの調整をスケール変換器の変換特性を補正する場合を示すが、この調整をD/A変換器自体の設定値とすることができる。例えば、D/A変換器には前記の手動調整用ボリュームが設けられており、この手動調整用ボリュームに代えた不揮発性メモリの設定値を上書きすることでオフセットとゲインを自動調整することができる。   In the embodiments described above, the offset and gain are adjusted by correcting the conversion characteristics of the scale converter. However, this adjustment can be set to the set value of the D / A converter itself. For example, the D / A converter is provided with the manual adjustment volume, and the offset and gain can be automatically adjusted by overwriting the set value of the nonvolatile memory in place of the manual adjustment volume. .

本発明の実施形態を示す自動試験装置の構成図。The block diagram of the automatic test apparatus which shows embodiment of this invention. 自動調整の要部構成図。The principal part block diagram of automatic adjustment. オフセットとゲインの補正説明図。The correction explanatory drawing of offset and gain. D/A変換器の自動補正方式(従来)。Automatic correction method for D / A converter (conventional).

符号の説明Explanation of symbols

10a〜10d 保護継電部
11 自動試験装置のコンピュータ
12 自動試験装置のインターフェース
13 A/O切替ユニット
20 自動試験装置
30 保護継電器
40 A/O計測器
10a to 10d Protection relay unit 11 Computer of automatic test apparatus 12 Interface of automatic test apparatus 13 A / O switching unit 20 Automatic test apparatus 30 Protection relay 40 A / O measuring instrument

Claims (3)

ディジタル値をD/A変換器でアナログ信号に変換して出力するA/O部を搭載したディジタル制御装置において、前記D/A変換器のオフセットとゲインを自動調整する方式であって、
ディジタル制御装置の自動試験装置は、前記D/A変換器の入力として2点のディジタルデータを設定し、このデータ設定に対する前記A/O部の出力のフィードバック値から前記D/A変換器のオフセットとゲインの補正値を求め、この補正値で前記D/A変換器のオフセットとゲインを調整しておく手段を備えたことを特徴とするディジタル制御装置の自動調整方式。
In a digital control apparatus equipped with an A / O unit that converts a digital value into an analog signal by a D / A converter and outputs the analog signal, the offset and gain of the D / A converter are automatically adjusted,
The automatic test device of the digital controller sets two points of digital data as the input of the D / A converter, and the offset of the D / A converter from the feedback value of the output of the A / O unit with respect to this data setting And a gain correction value, and means for adjusting the offset and gain of the D / A converter with the correction value.
前記A/O部が前記D/A変換器の入力データをスケール変換器でスケール変換する構成の場合、前記自動試験装置はオフセットとゲインの補正値で前記スケール変換器の変換特性を調整しておくことを特徴とする請求項1に記載のディジタル制御装置の自動調整方式。   When the A / O unit is configured to convert the input data of the D / A converter with a scale converter, the automatic test apparatus adjusts the conversion characteristics of the scale converter with offset and gain correction values. 2. The automatic adjustment method for a digital control device according to claim 1, wherein: 前記自動試験装置は、オフセットとゲインの補正値で前記D/A変換器のオフセットとゲイン設定用の不揮発性メモリの値を調整しておくことを特徴とする請求項1に記載のディジタル制御装置の自動調整方式。   2. The digital control device according to claim 1, wherein the automatic test device adjusts the offset and gain setting nonvolatile memory values of the D / A converter with offset and gain correction values. 3. Automatic adjustment method.
JP2007269610A 2007-10-17 2007-10-17 Automatic adjustment system for digital controller Pending JP2009100242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007269610A JP2009100242A (en) 2007-10-17 2007-10-17 Automatic adjustment system for digital controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007269610A JP2009100242A (en) 2007-10-17 2007-10-17 Automatic adjustment system for digital controller

Publications (1)

Publication Number Publication Date
JP2009100242A true JP2009100242A (en) 2009-05-07

Family

ID=40702822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007269610A Pending JP2009100242A (en) 2007-10-17 2007-10-17 Automatic adjustment system for digital controller

Country Status (1)

Country Link
JP (1) JP2009100242A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879663A (en) * 2012-05-15 2013-01-16 许继集团有限公司 Relay protection device automatic testing system and testing tool special for same
CN103675528A (en) * 2013-11-26 2014-03-26 许继电气股份有限公司 Relay protection device automatic testing method and device based on tagged words
CN104849581A (en) * 2015-04-14 2015-08-19 中广核核电运营有限公司 System and method for monitoring combined test of over-current overload protective device
CN105842560A (en) * 2016-03-25 2016-08-10 苏州富恒特信息科技有限公司 Relay protection type component testing system
CN107168284A (en) * 2017-05-23 2017-09-15 深圳市汇辰自动化技术有限公司 A kind of apparatus and method of automatic calibration PLC analog output modules
KR20180032173A (en) * 2016-09-21 2018-03-29 주식회사 대흥기전 System for monitoring remotely emergency generator in interworking with smartphone providing screen switching based on UVR signal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01188027A (en) * 1987-10-30 1989-07-27 Teledyne Inc Digital-analog calibration system
JPH01276824A (en) * 1988-04-27 1989-11-07 Oki Electric Ind Co Ltd Output signal zero/span adjusting system
JPH02285920A (en) * 1989-04-26 1990-11-26 Mitsubishi Electric Corp Automatic monitor for digital type protective relay
JPH05324856A (en) * 1992-05-14 1993-12-10 Mitsubishi Electric Corp Analog signal input/output device
JPH06204870A (en) * 1992-12-29 1994-07-22 Ando Electric Co Ltd Digital/analog converter with automatic correcting function
JP2000295102A (en) * 1999-02-03 2000-10-20 Hitachi Electronics Eng Co Ltd Digital calibration method and system for a/d converter or d/a converter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01188027A (en) * 1987-10-30 1989-07-27 Teledyne Inc Digital-analog calibration system
JPH01276824A (en) * 1988-04-27 1989-11-07 Oki Electric Ind Co Ltd Output signal zero/span adjusting system
JPH02285920A (en) * 1989-04-26 1990-11-26 Mitsubishi Electric Corp Automatic monitor for digital type protective relay
JPH05324856A (en) * 1992-05-14 1993-12-10 Mitsubishi Electric Corp Analog signal input/output device
JPH06204870A (en) * 1992-12-29 1994-07-22 Ando Electric Co Ltd Digital/analog converter with automatic correcting function
JP2000295102A (en) * 1999-02-03 2000-10-20 Hitachi Electronics Eng Co Ltd Digital calibration method and system for a/d converter or d/a converter

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879663A (en) * 2012-05-15 2013-01-16 许继集团有限公司 Relay protection device automatic testing system and testing tool special for same
CN103675528A (en) * 2013-11-26 2014-03-26 许继电气股份有限公司 Relay protection device automatic testing method and device based on tagged words
CN104849581A (en) * 2015-04-14 2015-08-19 中广核核电运营有限公司 System and method for monitoring combined test of over-current overload protective device
CN105842560A (en) * 2016-03-25 2016-08-10 苏州富恒特信息科技有限公司 Relay protection type component testing system
KR20180032173A (en) * 2016-09-21 2018-03-29 주식회사 대흥기전 System for monitoring remotely emergency generator in interworking with smartphone providing screen switching based on UVR signal
KR102528486B1 (en) 2016-09-21 2023-05-03 주식회사 대흥기전 System for monitoring remotely emergency generator in interworking with smartphone providing screen switching based on UVR signal
CN107168284A (en) * 2017-05-23 2017-09-15 深圳市汇辰自动化技术有限公司 A kind of apparatus and method of automatic calibration PLC analog output modules
CN107168284B (en) * 2017-05-23 2020-04-28 深圳市汇辰自动化技术有限公司 Device and method for automatically calibrating PLC analog output module

Similar Documents

Publication Publication Date Title
JP2009100242A (en) Automatic adjustment system for digital controller
KR101681288B1 (en) Method for error calibration of electric power device
US8952671B2 (en) Power supply apparatus for testing apparatus
US7612698B2 (en) Test apparatus, manufacturing method, and test method
CN112821885A (en) Relative time delay measurement calibration method and device for chips of each channel of ATE (automatic test equipment)
CN112154340B (en) Characteristic test system of protective relay device
KR101348425B1 (en) Device for timing calibration of automatic test equipment
US7616007B2 (en) Device, method, program, and recording medium for error factor measurement, and output correction device and reflection coefficient measurement device provided with the device for error factor measurement
US7541798B2 (en) Semiconductor test apparatus and performance board
JP2007205813A (en) Device power supply system for semiconductor tester and voltage correction data generating method
WO2021246405A1 (en) Measuring device
JP2008151718A (en) Semiconductor testing apparatus
US20210255234A1 (en) Test system and the method for testing a semiconductor device
US7761253B2 (en) Device, method, program, and recording medium for error factor measurement, and output measurement device and input measurement device provided with the device for error factor measurement
CN114509714A (en) Probe calibration system and calibration method thereof
JP3628789B2 (en) Automatic calibration system for semiconductor test system
JP2009171722A (en) Digital protective relay device and test method thereof
KR101465827B1 (en) Analog output module and method for adjusting offset and gain
RU2432593C2 (en) Device for measuring and monitoring relay and electric interlocking unit parameters
JP2008096354A (en) Semiconductor testing apparatus
KR100783647B1 (en) A method for skew compensation and an apparatus using the method
US11876529B2 (en) Current output module
US6958724B2 (en) Method and circuit for conforming an analog actual signal to a digital desired signal
JP4502448B2 (en) Voltage generator calibration method and voltage generator calibration device in IC test equipment
KR200200169Y1 (en) Control unit testing system of the static inverter for the railway carriage

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120330

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130129

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130524

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130531

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20130621