JPH1169514A - Method and apparatus for correcting input value of electric car controller - Google Patents

Method and apparatus for correcting input value of electric car controller

Info

Publication number
JPH1169514A
JPH1169514A JP21667497A JP21667497A JPH1169514A JP H1169514 A JPH1169514 A JP H1169514A JP 21667497 A JP21667497 A JP 21667497A JP 21667497 A JP21667497 A JP 21667497A JP H1169514 A JPH1169514 A JP H1169514A
Authority
JP
Japan
Prior art keywords
value
input
current
voltage
gain
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
JP21667497A
Other languages
Japanese (ja)
Inventor
Ikuya Toya
郁也 刀谷
Koji Oda
耕治 織田
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.)
Nippon Yusoki Co Ltd
Original Assignee
Nippon Yusoki 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 Nippon Yusoki Co Ltd filed Critical Nippon Yusoki Co Ltd
Priority to JP21667497A priority Critical patent/JPH1169514A/en
Publication of JPH1169514A publication Critical patent/JPH1169514A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate input value adjusting work by adjusting an offset value and a gain value so that a value on the basis of an A/D input of a load voltage or current may be equal to a detected value by an external instrument. SOLUTION: First of all, an external voltmeter 43 is connected to a battery BT, and an external ammeter 44 is connected to each running and hydraulic motor 12, 16. And at an automatic adjusting time, a battery voltage value and a motor current value by these external instruments are inputted into a host computer 26, and an offset value and a gain value obtained by specified arithmetic processing are inputted into a CPU 21. On the other hand, when no host computers 26 are used, a worker sees the voltmeter 43 and the ammeter 44, opetates an up-switch 30 or down-switch 31 and sets an offset value and a gain value so that these meter values may be equal to values being displayed by an LCD 37. And these set offset and gain values are stored in a RAM 23.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バッテリフォーク
リフト車等の電気車用制御装置の入力値補正方法及び補
正装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and a device for correcting an input value of a control device for an electric vehicle such as a battery forklift vehicle.

【0002】[0002]

【従来の技術】従来、電気車の制御装置においては、制
御装置を構成するCPU(又はMPU)に、走行モータ
若しくは油圧モータ又はバッテリ等の負荷の電圧又は電
流値がA/D入力され、これと指令値とが比較されるこ
とで、走行や油圧制御が行われ、また、バッテリの残量
がLCD等の表示パネルに表示される。これらの電圧又
は電流のA/D入力値に誤差があると、精度良く制御す
ることができない。誤差は、これら負荷の電圧又は電流
値を検出するセンサやその増幅回路のバラツキ等に起因
して生じる。そこで、そのような誤差をなくすために、
工場出荷時に、制御装置に設けられた補正用の調整ボリ
ウムを用いて人手による調整作業を行うことが知られて
いる。
2. Description of the Related Art Conventionally, in a control device for an electric vehicle, a voltage or current value of a load such as a traveling motor, a hydraulic motor, or a battery is input to a CPU (or MPU) constituting the control device by A / D. By comparing the command value with the command value, traveling and hydraulic control are performed, and the remaining amount of the battery is displayed on a display panel such as an LCD. If there is an error in the A / D input values of these voltages or currents, accurate control cannot be performed. The error occurs due to a variation in a sensor that detects the voltage or current value of the load or an amplifier circuit thereof. So, to eliminate such errors,
It is known that a manual adjustment operation is performed by using a correction adjustment volume provided in a control device at the time of factory shipment.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の入力値の補正方法乃至補正装置において
は、作業に手間取り、しかも精度良く調整することが容
易ではなかった。調整精度が悪いと、入力された値がず
れており、そのまま使用すると、誤動作やエラーを発生
することが考えられる。
However, in the above-described conventional input value correction method or correction device, it is not easy to take time for the work and to perform the adjustment with high accuracy. If the adjustment accuracy is poor, the input value is shifted, and if used as it is, a malfunction or an error may occur.

【0004】本発明は、上述した問題点を解決するため
になされたものであり、入力値の調整作業を短時間で容
易かつ精度良く行え、また、人手を要することなく自動
でも行うことが可能な電気車用制御装置の入力値補正方
法及び補正装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is possible to easily and accurately adjust an input value in a short time, and it is also possible to perform the operation automatically without requiring any manual operation. It is an object of the present invention to provide a method and a device for correcting an input value of a control device for an electric vehicle.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に請求項1の発明は、電気車の走行モータ若しくは油圧
モータ又はバッテリ等の負荷の電圧又は電流値がA/D
入力される電気車用制御装置の入力値調整方法におい
て、入力する電圧又は電流の原点を予め決定し、負荷の
電圧又は電流を検出する外部計器による検出値が原点と
なるように制御装置を設定した時に、負荷の電圧又は電
流のA/D入力に基づく値が外部計器による検出値と同
じになるようにオフセット値を調整する第1のステップ
と、負荷の電圧又は電流を検出する外部計器による検出
値が入力値の略最大値又はそれに近い所定値になるよう
に制御装置を調整した時に、負荷の電圧又は電流のA/
D入力に基づく値が外部計器による検出値と同じになる
ようにゲイン値を調整する第2のステップと、第1及び
第2のステップにより得られたオフセット値及びゲイン
値を記憶する第3のステップとからなるものである。こ
の方法においては、負荷の電圧又は電流のA/D入力に
基づく値が外部計器による検出値と同じになるようにオ
フセット値が調整され、さらに、負荷の電圧又は電流の
A/D入力に基づく値が外部計器による検出値と同じに
なるようにゲイン値が調整され、それぞれの値が記憶さ
れる。
According to a first aspect of the present invention, a voltage or current value of a load such as a traveling motor or a hydraulic motor of an electric vehicle or a battery is set to A / D.
In the method of adjusting the input value of the electric vehicle control device to be input, the origin of the input voltage or current is determined in advance, and the control device is set so that the detection value by an external instrument that detects the load voltage or current becomes the origin. A first step of adjusting the offset value so that the value based on the A / D input of the voltage or current of the load becomes the same as the value detected by the external instrument, and an external instrument detecting the voltage or current of the load. When the control device is adjusted so that the detected value becomes substantially the maximum value of the input value or a predetermined value close thereto, the A / A
A second step of adjusting the gain value so that the value based on the D input becomes the same as the value detected by the external instrument; and a third step of storing the offset value and the gain value obtained in the first and second steps. It consists of steps. In this method, the offset value is adjusted so that the value based on the A / D input of the voltage or current of the load becomes the same as the value detected by the external instrument, and further, based on the A / D input of the voltage or current of the load. The gain value is adjusted so that the value becomes the same as the value detected by the external instrument, and each value is stored.

【0006】また、請求項2の発明は、上記請求項1に
記載の方法において、第1のステップにより調整される
オフセット値及び第2のステップにより調整されるゲイ
ン値を、コンピュータによる演算処理により得るように
したものである。この方法においては、コンピュータへ
の負荷の電圧又は電流のA/D入力を基にオフセット値
及びゲイン値が演算処理により求まる。
According to a second aspect of the present invention, in the method according to the first aspect, the offset value adjusted in the first step and the gain value adjusted in the second step are calculated by a computer. It is something that you get. In this method, an offset value and a gain value are obtained by arithmetic processing based on the A / D input of the voltage or current of the load to the computer.

【0007】また、請求項3の発明は、電気車の走行モ
ータ若しくは油圧モータ又はバッテリ等の負荷の電圧又
は電流値がA/D入力される電気車用制御装置の入力値
調整装置において、入力する電圧又は電流の原点が予め
決定され、負荷の電圧又は電流を検出する外部計器によ
る検出値が原点となるように制御装置が設定された時
に、負荷の電圧又は電流のA/D入力に基づく値が外部
計器による検出値と同じになるようにオフセット値を調
整する第1の調整手段と、負荷の電圧又は電流を検出す
る外部計器による検出値が入力値の略最大値又はそれに
近い所定値になるように制御装置が調整された時に、負
荷の電圧又は電流のA/D入力に基づく値が外部計器に
よる検出値と同じになるようにゲイン値を調整する第2
の調整手段と、第1及び第2の調整手段により調整され
たオフセット値及びゲイン値を記憶する記憶手段とを備
えたものである。この構成においては、請求項1と同等
の作用が得られる。
According to a third aspect of the present invention, there is provided an input value adjusting device for an electric vehicle control device in which a voltage or a current value of a load such as a traveling motor or a hydraulic motor of an electric vehicle or a battery is input by A / D. The origin of the voltage or current to be applied is determined in advance, and based on the A / D input of the voltage or current of the load when the control device is set so that the value detected by an external instrument for detecting the voltage or current of the load becomes the origin. First adjusting means for adjusting the offset value so that the value becomes the same as the value detected by the external instrument; and a predetermined value whose detected value by the external instrument for detecting the voltage or current of the load is substantially the maximum value of the input value or close thereto. When the control device is adjusted so as to obtain the second value, the gain value is adjusted so that the value based on the A / D input of the load voltage or current becomes the same as the value detected by the external instrument.
And storage means for storing the offset value and the gain value adjusted by the first and second adjustment means. In this configuration, an operation equivalent to that of the first aspect is obtained.

【0008】また、請求項4の発明は、請求項3に記載
の構成において、第1の調整手段により調整されるオフ
セット値及び第2の調整手段により調整されるゲイン値
を、コンピュータによる演算処理により得るようにした
ものである。この構成においては、請求項2と同等の作
用が得られる。
According to a fourth aspect of the present invention, in the configuration according to the third aspect, the offset value adjusted by the first adjusting means and the gain value adjusted by the second adjusting means are processed by a computer. This is obtained by: In this configuration, an operation equivalent to that of the second aspect is obtained.

【0009】[0009]

【発明の実施の形態】以下、本発明を具体化した一実施
形態を図面を参照して説明する。図1は、本発明の電気
車用制御装置の入力値補正方法が適用される一実施形態
によるフォークリフト車の駆動回路図である。走行主回
路11は、走行モータ12のアマチュアA1、界磁巻線
F1、前進・後進の切替えコンタクタMF,MR、及び
駆動制御用のスイッチング素子としてのFET又はIG
BT等の制御素子FC1から構成され、これらが直列に
接続され、バッテリBTに接続されている。アマチュア
A1と並列に、環流電流を流すためのフライホイールダ
イオードD1が接続されている。カレントセンサ13,
14は、アマチュアA1に流れる電流Ia及び界磁巻線
(フィールド)に流れる電流If(Iaは還流電流を含
む)を検出する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a drive circuit diagram of a forklift vehicle according to an embodiment to which an input value correction method of a control device for an electric vehicle according to the present invention is applied. The traveling main circuit 11 includes an armature A1 of the traveling motor 12, a field winding F1, a forward / reverse switching contactor MF, MR, and an FET or IG as a switching element for drive control.
It comprises a control element FC1 such as a BT, which is connected in series and connected to the battery BT. A flywheel diode D1 for flowing a circulating current is connected in parallel with the amateur A1. Current sensor 13,
Reference numeral 14 detects a current Ia flowing through the armature A1 and a current If flowing through the field winding (field) (Ia includes a return current).

【0010】油圧主回路15は、油圧モータ16のアマ
チュアA2、界磁巻線F2、駆動制御用のスイッチング
素子としてのFET又はIGBT等の制御素子FC2か
ら構成され、これらが直列に接続され、バッテリBTに
接続されている。アマチュアA2、界磁巻線F2と並列
に、環流電流を流すためのフライホイールダイオードD
2が接続されている。カレントセンサ17は、アマチュ
アA2(界磁巻線F2)に流れる電流Ihを検出する。
The hydraulic main circuit 15 is composed of an armature A2 of a hydraulic motor 16, a field winding F2, and a control element FC2 such as an FET or IGBT as a switching element for driving control. Connected to BT. Amateur A2, flywheel diode D for flowing circulating current in parallel with field winding F2
2 are connected. The current sensor 17 detects a current Ih flowing through the armature A2 (field winding F2).

【0011】上記構成の駆動回路の動作について説明す
ると、走行モータ12の力行時には、コンタクタMF,
MRを前進・後進に応じて切替え、制御素子FC1をオ
ン・オフさせて、アマチュア電流、界磁電流を制御する
ことでトルク制御する(チョッパ制御)。油圧モータ1
6は、制御素子FC2をオン・オフさせてアマチュア電
流(界磁電流)を制御することで油圧制御する。
The operation of the driving circuit having the above configuration will be described. When the traveling motor 12 is running, the contactors MF,
The torque is controlled by switching the MR in accordance with the forward / reverse movement, turning on / off the control element FC1, and controlling the amateur current and the field current (chopper control). Hydraulic motor 1
Numeral 6 controls oil pressure by turning on / off the control element FC2 to control an amateur current (field current).

【0012】図2は、電気車用制御装置の回路ブロック
図である。CPU21は、各種操作指示入力にしたが
い、また、ROM22に格納された所定のプログラムに
したがって電気車の走行やフォークの駆動を制御する。
CPU21は、各種データ等を記憶したRAM23を内
蔵し、また、A/D変換器24、外部のホストコンピュ
ータ26とのシリアルインタフェース(SIO)25等
を有している。RAM23には、バックアップ用の電池
27が接続されている。操作指示入力としては、アクセ
ル28、各種操作スイッチ29の他に、調整用のアップ
スイッチ30、ダウンスイッチ31、ロータリースイッ
チ32、モードスイッチ33が設けられている。バッテ
リBTの電圧(34)及び走行モータ12及び油圧モー
タ16の各モータ電流(35;カレントセンサ13,1
4,17による検出電流Ia,If,Ih)がA/D変
換されて入力される。
FIG. 2 is a circuit block diagram of the electric vehicle control device. The CPU 21 controls the running of the electric vehicle and the driving of the fork in accordance with various operation instruction inputs and in accordance with a predetermined program stored in the ROM 22.
The CPU 21 has a built-in RAM 23 storing various data and the like, and has an A / D converter 24, a serial interface (SIO) 25 with an external host computer 26, and the like. A backup battery 27 is connected to the RAM 23. As an operation instruction input, an up switch 30, a down switch 31, a rotary switch 32, and a mode switch 33 for adjustment are provided in addition to the accelerator 28 and various operation switches 29. The voltage (34) of the battery BT and the respective motor currents (35; current sensors 13, 1) of the travel motor 12 and the hydraulic motor 16
The detection currents Ia, If, and Ih by A / D conversion 4 and 17 are A / D converted and input.

【0013】また、CPU21は、表示ドライバ36を
介してLCD37に各種モニタ表示を行い、また、走行
モータドライバ38を介して制御素子FC1のゲート
(39)を制御し、走行モータ12の駆動を制御し、ま
た、油圧モータドライバ40を介して制御素子FC2の
ゲート(41)を制御し、油圧モータ16の駆動を制御
する。
The CPU 21 displays various kinds of monitors on the LCD 37 via the display driver 36, controls the gate (39) of the control element FC1 via the traveling motor driver 38, and controls the driving of the traveling motor 12. In addition, the gate (41) of the control element FC2 is controlled via the hydraulic motor driver 40 to control the driving of the hydraulic motor 16.

【0014】補正のための調整作業を行うに際しては、
バッテリBTに外部の電圧計43が接続され、走行及び
油圧の各モータ12,16には、外部の電流計44が接
続される。ホストコンピュータ26を用いて自動により
調整を行う時には、ホストコンピュータ26にこれら計
測器によるバッテリ電圧値及びモータ電流値を入力し、
ホストコンピュータ26からの所定の演算処理により得
られたオフセット値及びゲイン値をCPU21に出力す
る。ホストコンピュータ26を用いない場合は、作業者
が外部の電圧計43と電流計44を見て、LCD37で
の表示値が電圧計43と電流計44の表示値になるよう
にアップスイッチ30又はダウンスイッチ31を操作し
て、オフセット値及びゲイン値を設定する。この詳細は
後述する。
When performing the adjustment work for correction,
An external voltmeter 43 is connected to the battery BT, and an external ammeter 44 is connected to each of the traveling and hydraulic motors 12 and 16. When the adjustment is automatically performed using the host computer 26, the battery voltage value and the motor current value by these measuring instruments are input to the host computer 26,
The offset value and the gain value obtained by the predetermined arithmetic processing from the host computer 26 are output to the CPU 21. When the host computer 26 is not used, the operator looks at the external voltmeter 43 and the ammeter 44, and switches the up switch 30 or the down switch 30 so that the display value on the LCD 37 becomes the display value of the voltmeter 43 and the ammeter 44. By operating the switch 31, the offset value and the gain value are set. The details will be described later.

【0015】図3はLCD37によるモニタ表示画面の
例を示す。CPU21は、通常の運転動作時は勿論のこ
と調整作業時においても、各種の入力値を基にLCD3
7にモニタ表示を行う。例えば、バッテリ電圧(34)
のA/D入力値に基づいてバッテリBTの残量を演算に
より求め、バッテリ容量表示部46に表示する。また、
モード表示部47には、選択されているモード内容(図
示の例では、調整作業時におけるモータ電流Iaレベル
が400A(アンペア)であること)が表示される。
FIG. 3 shows an example of a monitor display screen on the LCD 37. The CPU 21 controls the LCD 3 based on various input values not only during normal operation but also during adjustment work.
7 is displayed on the monitor. For example, battery voltage (34)
The remaining amount of the battery BT is obtained by calculation based on the A / D input value of the above, and is displayed on the battery capacity display section 46. Also,
The mode display section 47 displays the selected mode content (in the illustrated example, the motor current Ia level at the time of the adjustment operation is 400 A (ampere)).

【0016】上記構成による電気車用制御装置の入力値
補正方法について以下、図4乃至図6を参照して説明す
る。図4はモータ電流の入力値補正作業の処理手順を示
す。入力値補正作業に入ると、まず、電源をONし(#
1)、アクセル28その他の操作スイッチ29の出力を
ゼロ(原点)にし(#2)、ロータリースイッチ32を
調整モードに設定し(#3)、モードスイッチ33をオ
フセットモード(レベルを調整するためのもの)に設定
する(#4)。このオフセットモードで、アップスイッ
チ30又はダウンスイッチ31を用いてオフセット調整
を行う(#5)。次に、モードスイッチ33をゲイン調
整モード(傾きを調整するためのもの)に設定する(#
6)。このゲイン調整モードで、外部電流計44の指示
値が所定値(例えば最大値の400A)になるように、
アクセル28をONに調整する(#7)。その時のLC
D37による表示が該所定値になるように、アップスイ
ッチ30又はダウンスイッチ31を用いてゲイン調整を
行う(#8)。
A method for correcting an input value of the electric vehicle control device having the above-described configuration will be described below with reference to FIGS. FIG. 4 shows a processing procedure of a motor current input value correcting operation. When entering the input value correction work, first, turn on the power (#
1) The output of the accelerator 28 and other operation switches 29 is set to zero (origin) (# 2), the rotary switch 32 is set to the adjustment mode (# 3), and the mode switch 33 is set to the offset mode (for adjusting the level). ) (# 4). In this offset mode, offset adjustment is performed using the up switch 30 or the down switch 31 (# 5). Next, the mode switch 33 is set to the gain adjustment mode (for adjusting the inclination) (#
6). In this gain adjustment mode, the indication value of the external ammeter 44 is set to a predetermined value (for example, the maximum value of 400 A).
The accelerator 28 is adjusted to ON (# 7). LC at that time
The gain is adjusted using the up switch 30 or the down switch 31 so that the display by D37 becomes the predetermined value (# 8).

【0017】図5は外部入力に対するLCD37による
表示値の関係図であり、オフセット調整とゲイン調整の
考え方を示す。横軸には外部入力(電流計44の指示
値)、縦軸にはCPU21によるLCD37での表示値
を示す。上記#5での原点のオフセット調整により、特
性線G1が原点を通る特性線G2となり、さらに、上記
#8でのゲイン調整により、特性線G2が外部入力の最
大値近傍でそれと表示値が等しくなる特性線G3とな
る。
FIG. 5 is a diagram showing the relationship between the external input and the display value of the LCD 37, showing the concept of offset adjustment and gain adjustment. The horizontal axis indicates an external input (indicated value of the ammeter 44), and the vertical axis indicates a value displayed on the LCD 37 by the CPU 21. By the offset adjustment of the origin in # 5, the characteristic line G1 becomes the characteristic line G2 passing through the origin. Further, by the gain adjustment in # 8, the characteristic line G2 is near the maximum value of the external input and the displayed value is equal to the characteristic line G2. The characteristic line G3 becomes as follows.

【0018】図6は入力値補正のためのCPU21によ
る処理手順のフローチャートである。まず、原点の調整
を行うべく各部を設定した状態でCPU21にモータ電
流(35)のA/D値を入力し(#11)、ロータリー
スイッチ32、モードスイッチ33をオフセット調整モ
ードに設定すると(#12でYES)、測定値(=ゲイ
ン×入力値×オフセット値)がLCD37に表示される
(#13)。この状態で、アップスイッチ30又はダウ
ンスイッチ31を用いてオフセット値を増減し(#14
〜#17)、原点調整を行う。設定されたオフセット値
はRAM23に格納される。
FIG. 6 is a flowchart of a processing procedure by the CPU 21 for input value correction. First, the A / D value of the motor current (35) is input to the CPU 21 in a state where each section is set to adjust the origin (# 11), and the rotary switch 32 and the mode switch 33 are set to the offset adjustment mode (# The measured value (= gain × input value × offset value) is displayed on the LCD 37 (# 13). In this state, the offset value is increased or decreased by using the up switch 30 or the down switch 31 (# 14).
~ # 17), the origin is adjusted. The set offset value is stored in the RAM 23.

【0019】次に、最大値近傍でゲイン調整を行うべく
各部を設定した状態で、ロータリースイッチ32、モー
ドスイッチ33をゲイン調整モードに設定すると(#1
8でYES)、#11でモータ電流(35)のA/D値
が入力され、同様に、測定値(=ゲイン×入力値×オフ
セット値)がLCD37に表示される(#19)。この
状態で、アップスイッチ30又はダウンスイッチ31を
用いてゲイン値を増減し(#20〜#23)、ゲイン調
整を行う。設定されたゲイン値はRAM23に格納され
る。
Next, when the rotary switch 32 and the mode switch 33 are set to the gain adjustment mode in a state where the respective parts are set to perform the gain adjustment near the maximum value (# 1).
(YES at 8), the A / D value of the motor current (35) is input at # 11, and similarly, the measured value (= gain × input value × offset value) is displayed on the LCD 37 (# 19). In this state, the gain value is increased or decreased by using the up switch 30 or the down switch 31 (# 20 to # 23), and the gain is adjusted. The set gain value is stored in the RAM 23.

【0020】上記は作業者が外部電流計44を見ながら
調整を行う手順を示したが、以下に述べる#24〜#2
9は、ホストコンピュータ26(以下、ホストという)
を用いた自動調整の場合の処理手順である。ホスト26
からA/D入力値の要求があれば(#24でYES)、
CPU21は、ホスト26へA/D入力値を出力する
(#25)。ホスト26はこの入力に基づいて所定の演
算によりオフセット値及びゲイン値を求める。ホスト2
6からオフセット値を受信すると(#26)、このオフ
セット値をセットする(#27)。また、ホスト26か
らゲイン値を受信すると(#28)、このゲイン値をセ
ットする(#29)。
While the above description has shown the procedure in which the operator performs the adjustment while looking at the external ammeter 44, # 24 to # 2 described below will be described.
9 is a host computer 26 (hereinafter referred to as host)
7 is a processing procedure in the case of automatic adjustment using the. Host 26
If there is a request for an A / D input value from (YES in # 24),
The CPU 21 outputs an A / D input value to the host 26 (# 25). The host 26 obtains an offset value and a gain value by a predetermined calculation based on the input. Host 2
When the offset value is received from # 6 (# 26), the offset value is set (# 27). When a gain value is received from the host 26 (# 28), the gain value is set (# 29).

【0021】その後、電源OFFでなければ(#30で
NO)、処理は#11に戻る。電源OFFとなれば(#
30でYES)、オフセット値及びゲイン値をメモリバ
ックアップし(#31)、処理を終了する。以上のよう
な調整方法により、従来の方法に比べて入力値の調整作
業を短時間に容易かつ精度良く行うことが可能となり、
人手を要することなく自動でも行うことが可能となる。
なお、バッテリBTの電圧検出の調整処理手順は図示し
ていないが、上記と同等の方法でもって調整することが
可能である。
Thereafter, if the power is not turned off (NO in # 30), the process returns to # 11. When the power is turned off (#
30 (YES), the offset value and the gain value are backed up in the memory (# 31), and the process is terminated. With the above adjustment method, the input value adjustment work can be performed easily and accurately in a short time as compared with the conventional method.
This can be performed automatically without requiring human intervention.
Although the procedure for adjusting the voltage of the battery BT is not shown, it can be adjusted by the same method as described above.

【0022】なお、本発明は上記実施形態の構成に限ら
れず種々の変形が可能である。例えば、上記実施形態で
は、作業者が計測器を見ながら調整を行う方法と、ホス
トコンピュータ26を用いて自動調整を行う方法の両者
を並べて記述したが、いずれか一方の方法のみが行える
ようになっていてもよい。また、オフセット調整及びゲ
イン調整を行う時の入力値は任意に選ぶことが可能であ
る。
The present invention is not limited to the configuration of the above embodiment, and various modifications are possible. For example, in the above-described embodiment, both the method of performing adjustment while the operator looks at the measuring instrument and the method of performing automatic adjustment using the host computer 26 are described side by side. However, only one of the methods can be performed. It may be. In addition, input values for performing offset adjustment and gain adjustment can be arbitrarily selected.

【0023】[0023]

【発明の効果】以上のように請求項1又は請求項3の発
明によれば、走行モータ若しくは油圧モータ又はバッテ
リ等の負荷の電圧又は電流の検出値を補正するためのオ
フセット値及びゲイン値を比較的簡易な調整作業により
精度良く求めることができ、また、そのため、電気車の
制御動作において、これらのオフセット値及びゲイン値
を用いて電圧又は電流の検出値を補正することで、高精
度な制御が可能となる。
As described above, according to the first or third aspect of the present invention, the offset value and the gain value for correcting the detection value of the voltage or current of the load such as the traveling motor, the hydraulic motor or the battery are set. It can be obtained with high accuracy by relatively simple adjustment work, and therefore, in the control operation of the electric vehicle, by correcting the detection value of the voltage or current using these offset value and gain value, high accuracy can be obtained. Control becomes possible.

【0024】また、請求項2又は請求項4の発明によれ
ば、上記の効果に加えて、人手を要することなく自動で
オフセット値及びゲイン値を求めることができる。
According to the second or fourth aspect of the present invention, in addition to the above-described effects, the offset value and the gain value can be automatically obtained without requiring any manual operation.

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

【図1】本発明の電気車用制御装置の入力値補正方法が
適用される一実施形態によるフォークリフト車の駆動回
路図である。
FIG. 1 is a drive circuit diagram of a forklift vehicle according to an embodiment to which an input value correction method of an electric vehicle control device according to the present invention is applied.

【図2】電気車用制御装置の回路ブロック図である。FIG. 2 is a circuit block diagram of an electric vehicle control device.

【図3】LCDによるモニタ表示画面の例を示す図であ
る。
FIG. 3 is a diagram showing an example of a monitor display screen on an LCD.

【図4】モータ電流の入力値補正作業の処理手順を示す
フローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure of a motor current input value correction operation.

【図5】外部入力に対するLCDによる表示値の関係図
である。
FIG. 5 is a diagram illustrating a relationship between an external input and a display value by an LCD.

【図6】入力値補正のためのCPUによる処理手順のフ
ローチャートである。
FIG. 6 is a flowchart of a processing procedure by a CPU for input value correction.

【符号の説明】[Explanation of symbols]

12 走行モータ(負荷) 13,14,17 カレントセンサ 16 油圧モータ(負荷) 21 CPU(制御装置) 23 RAM(記憶手段) 24 A/D変換器 26 ホストコンピュータ 28 アクセル(制御装置) 29 各種操作スイッチ(制御装置) 30 アップスイッチ(第1、第2の調整手段) 31 ダウンスイッチ(第1、第2の調整手段) 32 ロータリースイッチ 33 モードスイッチ 37 LCD 43 電圧計(外部計器) 44 電流計(外部計器) BT バッテリ Reference Signs List 12 running motor (load) 13, 14, 17 current sensor 16 hydraulic motor (load) 21 CPU (control device) 23 RAM (storage means) 24 A / D converter 26 host computer 28 accelerator (control device) 29 various operation switches (Control device) 30 Up switch (first and second adjustment means) 31 Down switch (first and second adjustment means) 32 Rotary switch 33 Mode switch 37 LCD 43 Voltmeter (external instrument) 44 Ammeter (external Instrument) BT battery

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 電気車の走行モータ若しくは油圧モータ
又はバッテリ等の負荷の電圧又は電流値がA/D入力さ
れる電気車用制御装置の入力値調整方法において、 入力する電圧又は電流の原点を予め決定し、負荷の電圧
又は電流を検出する外部計器による検出値が前記原点と
なるように制御装置を設定した時に、前記負荷の電圧又
は電流のA/D入力に基づく値が前記外部計器による検
出値と同じになるようにオフセット値を調整する第1の
ステップと、 前記負荷の電圧又は電流を検出する外部計器による検出
値が入力値の略最大値又はそれに近い所定値になるよう
に制御装置を調整した時に、前記負荷の電圧又は電流の
A/D入力に基づく値が前記外部計器による検出値と同
じになるようにゲイン値を調整する第2のステップと、 前記第1及び第2のステップにより得られたオフセット
値及びゲイン値を記憶する第3のステップとからなるこ
とを特徴とする電気車用制御装置の入力値補正方法。
In an input value adjusting method for an electric vehicle control device in which a voltage or a current value of a load such as a traveling motor or a hydraulic motor of an electric vehicle or a battery is input by A / D, an origin of the input voltage or current is determined. When the controller is set in advance and the control device is set so that the value detected by the external instrument for detecting the voltage or current of the load becomes the origin, the value based on the A / D input of the voltage or current of the load is determined by the external instrument. A first step of adjusting the offset value so as to be the same as the detected value; and controlling the detected value by an external instrument for detecting the voltage or current of the load to be a substantially maximum value of the input value or a predetermined value close thereto. A second step of adjusting a gain value such that a value based on an A / D input of the voltage or current of the load becomes equal to a value detected by the external instrument when the device is adjusted; And a third step of storing the offset value and the gain value obtained in the second step.
【請求項2】 第1のステップにより調整されるオフセ
ット値及び第2のステップにより調整されるゲイン値
を、コンピュータによる演算処理により得るようにした
ことを特徴とする請求項1に記載の電気車用制御装置の
入力値補正方法。
2. The electric vehicle according to claim 1, wherein the offset value adjusted in the first step and the gain value adjusted in the second step are obtained by arithmetic processing by a computer. Input value correction method of the control device for the vehicle.
【請求項3】 電気車の走行モータ若しくは油圧モータ
又はバッテリ等の負荷の電圧又は電流値がA/D入力さ
れる電気車用制御装置の入力値調整装置において、 入力する電圧又は電流の原点が予め決定され、負荷の電
圧又は電流を検出する外部計器による検出値が前記原点
となるように制御装置が設定された時に、前記負荷の電
圧又は電流のA/D入力に基づく値が前記外部計器によ
る検出値と同じになるようにオフセット値を調整する第
1の調整手段と、 前記負荷の電圧又は電流を検出する外部計器による検出
値が入力値の略最大値又はそれに近い所定値になるよう
に制御装置が調整された時に、前記負荷の電圧又は電流
のA/D入力に基づく値が前記外部計器による検出値と
同じになるようにゲイン値を調整する第2の調整手段
と、 前記第1及び第2の調整手段により調整されたオフセッ
ト値及びゲイン値を記憶する記憶手段とを備えたことを
特徴とする電気車用制御装置の入力値補正装置。
3. An input value adjusting device of an electric vehicle control device in which a voltage or a current value of a load such as a traveling motor or a hydraulic motor of an electric vehicle or a battery is input by A / D. When the control device is set so that the value determined in advance by the external instrument for detecting the voltage or current of the load becomes the origin, the value based on the A / D input of the voltage or current of the load is set to the external instrument. First adjusting means for adjusting the offset value so as to be the same as the detection value obtained by the above-mentioned method, and the detection value obtained by an external instrument for detecting the voltage or current of the load becomes a substantially maximum value of the input value or a predetermined value close thereto. Second adjusting means for adjusting a gain value such that a value based on the A / D input of the load voltage or current becomes the same as a value detected by the external instrument when the control device is adjusted. A storage unit for storing the offset value and the gain value adjusted by the first and second adjustment units.
【請求項4】 第1の調整手段により調整されるオフセ
ット値及び第2の調整手段により調整されるゲイン値
を、コンピュータによる演算処理により得るようにした
ことを特徴とする請求項3に記載の電気車用制御装置の
入力値補正装置。
4. The computer-readable storage medium according to claim 3, wherein the offset value adjusted by the first adjusting means and the gain value adjusted by the second adjusting means are obtained by an arithmetic processing by a computer. Input value correction device for electric vehicle control device.
JP21667497A 1997-08-11 1997-08-11 Method and apparatus for correcting input value of electric car controller Pending JPH1169514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21667497A JPH1169514A (en) 1997-08-11 1997-08-11 Method and apparatus for correcting input value of electric car controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21667497A JPH1169514A (en) 1997-08-11 1997-08-11 Method and apparatus for correcting input value of electric car controller

Publications (1)

Publication Number Publication Date
JPH1169514A true JPH1169514A (en) 1999-03-09

Family

ID=16692156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21667497A Pending JPH1169514A (en) 1997-08-11 1997-08-11 Method and apparatus for correcting input value of electric car controller

Country Status (1)

Country Link
JP (1) JPH1169514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272479B2 (en) 2004-06-16 2007-09-18 Mitsubishi Denki Kabushiki Kaisha Electrically operated power steering controller and adjusting method of driving electric current offset in this controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272479B2 (en) 2004-06-16 2007-09-18 Mitsubishi Denki Kabushiki Kaisha Electrically operated power steering controller and adjusting method of driving electric current offset in this controller
US7427843B2 (en) 2004-06-16 2008-09-23 Mitsubishi Denki Kabushiki Kaisha Electrically operated power steering controller and adjusting method of driving electric current offset in this controller

Similar Documents

Publication Publication Date Title
US6593714B2 (en) Motor control apparatus with a current sensor diagnostic apparatus and a current sensor diagnostic method
US8847536B2 (en) Electric power steering apparatus
US8831832B2 (en) Motor control apparatus and electric power steering apparatus provided with the same
US7586290B2 (en) Battery state of charge detection
US20180029640A1 (en) Electric power steering mode determination and transitioning
JPH1084688A (en) Sensor for detecting abnormality in motor and its method
US9882516B2 (en) Method for determining offset of resolver of vehicle motor
KR101755896B1 (en) Method and system for amending curret offset of current sensor in inverter
CN109353326B (en) Engine torque control method and device
JPH11206028A (en) Battery remaining capacity detecting device
US10746836B2 (en) Diagnostic device for current sensor
JP3019653B2 (en) Control device for AC motor and method for measuring constants of AC motor
JP2000184766A (en) Motor controller
JPH1169514A (en) Method and apparatus for correcting input value of electric car controller
JP2009067222A (en) Electric power steering device
JPH1198602A (en) Method and apparatus for correcting input value of sensor of controller for electric car
JP2000236685A (en) Fault-diagnosing device
JP2000287484A (en) Motor control system
JP2008273263A (en) Control device of electric power steering device
JPH06219312A (en) Electrically driven power steering device
JP3716520B2 (en) Electric vehicle motor drive control device
JP2005254931A (en) Assist map designing method in electric power steering device, and electric power steering device
JPH06317636A (en) Battery current detecting device for vehicle
US11205986B2 (en) Inverter device
JP2004266944A (en) Drive system of induction machine

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040316