[go: up one dir, main page]

JPH11327602A - Driving device for inductive load - Google Patents

Driving device for inductive load

Info

Publication number
JPH11327602A
JPH11327602A JP12616598A JP12616598A JPH11327602A JP H11327602 A JPH11327602 A JP H11327602A JP 12616598 A JP12616598 A JP 12616598A JP 12616598 A JP12616598 A JP 12616598A JP H11327602 A JPH11327602 A JP H11327602A
Authority
JP
Japan
Prior art keywords
voltage
command
current
correction data
microcomputer
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
JP12616598A
Other languages
Japanese (ja)
Inventor
Yukihide Niimi
新見  幸秀
Atsushi Yamada
篤志 山田
Yasuhiro Tsuzuki
靖広 都築
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP12616598A priority Critical patent/JPH11327602A/en
Publication of JPH11327602A publication Critical patent/JPH11327602A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Continuous-Control Power Sources That Use Transistors (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily improve the accuracy of a control current by a driving device at a low cost in the driving device for feedback-controlling a current flowing to an inductive load. SOLUTION: In this driving device, a command signal of a duty factor corresponding to a target current is outputted from a microcomputer 4, it is converted to a command voltage Vs by a duty to voltage conversion circuit 20, error signals VERR for which the deviation of the voltage Vs and a detection voltage obtained through a current detection resistor Rs and an amplifier circuit 10 is integrated are generated in an error signal generation circuit 30 and a solenoid L is energized and controlled corresponding to the error signals VERR. In this case, correction data for correcting a control error generated by the variation of the respective circuits are stored in an EEPROM 70 and when the microcomputer 4 generates the command signal, the duty factor of the command signal is corrected by using the correction data. Also, the correction data are set based on the deviation of the command voltage Vs and an error voltage VERR obtained at the time of making a constant current flow to the resistor Rs and making the command signal corresponding to the constant current output from the microcomputer 4.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、誘導性負荷に流れ
る電流をフィードバック制御する誘導性負荷の駆動装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drive device for an inductive load that performs feedback control of a current flowing through the inductive load.

【0002】[0002]

【従来の技術】従来より、誘導性負荷の駆動装置とし
て、特開平5−217737号に開示されているよう
に、誘導性負荷に実際に流れる電流を、誘導性負荷の通
電経路に設けた電流検出用抵抗の両端電圧として検出
し、その検出電圧が、マイクロコンピュータから出力さ
れた指令信号(デューティ比が制御されたデューティ信
号等)を電圧に変換する変換回路からの出力(指令電
圧)と同じになるように、誘導性負荷への通電電流をフ
ィードバック制御するものが知られている。
2. Description of the Related Art Conventionally, as a driving device for an inductive load, as disclosed in Japanese Patent Laid-Open No. Hei 5-217737, a current actually flowing through an inductive load is supplied to a current path provided in a current path of the inductive load. The detection voltage is detected as a voltage across the detection resistor, and the detected voltage is the same as the output (command voltage) from a conversion circuit that converts a command signal (such as a duty signal whose duty ratio is controlled) output from the microcomputer into a voltage. There is known a device that performs feedback control of a current supplied to an inductive load such that

【0003】この種の装置では、例えば、図6に示すよ
うに、誘導性負荷としてのリニアソレノイドLの通電経
路に直列に接続された電流検出抵抗Rsの両端電圧を、
演算増幅器OP1と抵抗R1,R2,R3,R4とから
なる増幅回路10にて増幅すると共に、マイクロコンピ
ュータ4から出力された目標電流を表すデューティ信号
を、Duty−電圧変換回路20にて電圧に変換すること
で、リニアソレノイドLに流れる電流に対応した検出電
圧及び指令電圧を夫々生成する。そして、増幅回路10
からの出力電圧(検出電圧)と、Duty−電圧変換回路2
0からの出力電圧(指令電圧)とを、夫々、演算増幅器
OP2と抵抗R5とコンデンサC1とからなる誤差信号
生成回路(積分・増幅回路)30に入力し、この誤差信
号生成回路30で、検出電圧と指令電圧との偏差を積分
した誤差信号を生成する。そして、この誤差信号を、コ
ンパレータ42とインバータ44とからなる駆動信号生
成回路40に入力し、この駆動信号生成回路40にて、
誤差信号と三角波とを比較することにより、リニアソレ
ノイドLへの通電電流を制御するための駆動信号(パル
ス幅変調信号)を生成する。
In this type of device, for example, as shown in FIG. 6, the voltage between both ends of a current detection resistor Rs connected in series to an energizing path of a linear solenoid L as an inductive load is determined by:
The duty signal representing the target current output from the microcomputer 4 is amplified by the amplifier circuit 10 including the operational amplifier OP1 and the resistors R1, R2, R3, and R4, and is converted into a voltage by the duty-voltage conversion circuit 20. By doing so, a detection voltage and a command voltage corresponding to the current flowing through the linear solenoid L are respectively generated. Then, the amplification circuit 10
Output voltage (detection voltage) from the DUTY-voltage conversion circuit 2
The output voltage (command voltage) from 0 is input to an error signal generation circuit (integration / amplification circuit) 30 including an operational amplifier OP2, a resistor R5, and a capacitor C1, and detected by the error signal generation circuit 30. An error signal is generated by integrating the deviation between the voltage and the command voltage. Then, the error signal is input to a drive signal generation circuit 40 including a comparator 42 and an inverter 44, and the drive signal generation circuit 40
By comparing the error signal with the triangular wave, a drive signal (pulse width modulation signal) for controlling the current supplied to the linear solenoid L is generated.

【0004】尚、リニアソレノイドLの通電経路には、
その経路を導通・遮断するスイッチング素子(図では、
PNPトランジスタTR1)と、このPNPトランジス
タTR1を駆動信号生成回路40にて生成された駆動信
号がローレベルであるときPNPトランジスタTR1に
バイアス電流を流してPNPトランジスタTR1をオン
させるための抵抗R6,R7と、駆動信号がローからハ
イレベルに反転して、PNPトランジスタTR1がター
ンオフした際に、リニアソレノイドLに発生した高電圧
にてリニアソレノイドLに電流を流し続けるダイオード
Dと、からなる駆動回路50が設けられ、リニアソレノ
イドLには、この駆動回路50を介して、駆動信号生成
回路40にて生成された駆動信号のデューティ比に対応
した電流が流れる。
The energizing path of the linear solenoid L includes
A switching element that conducts and cuts off the path (in the figure,
PNP transistor TR1) and resistors R6, R7 for turning on the PNP transistor TR1 by supplying a bias current to the PNP transistor TR1 when the drive signal generated by the drive signal generation circuit 40 is at a low level. And a diode D that continuously supplies current to the linear solenoid L with the high voltage generated in the linear solenoid L when the drive signal is inverted from low to high level and the PNP transistor TR1 is turned off. Is provided, and a current corresponding to the duty ratio of the drive signal generated by the drive signal generation circuit 40 flows through the linear solenoid L via the drive circuit 50.

【0005】[0005]

【発明が解決しようとする課題】ところで、このように
構成された従来の駆動装置においては、駆動装置を構成
する回路素子に製造上のばらつきがあるため、例えば、
図6において、電流検出抵抗Rsが±5%の製造ばらつ
きがあればリニアソレノイドLに流れる電流にも±5%
のばらつきが生じる、というように、回路素子のばらつ
きに起因した制御誤差が生じる。
However, in the conventional driving device configured as described above, since the circuit elements constituting the driving device have manufacturing variations, for example,
In FIG. 6, if the current detection resistor Rs has a manufacturing variation of ± 5%, the current flowing through the linear solenoid L is also ± 5%.
A control error occurs due to the variation in circuit elements.

【0006】特に、上述した従来の駆動装置において
は、マイクロコンピュータからの指令信号をDuty−電圧
変換回路20にて指令電圧に変換し、この指令電圧と増
幅回路10から出力される検出電圧とを誤差信号生成回
路30にて比較することで、フィードバック制御のため
の誤差信号を生成することから、フィードバック制御の
ための制御量の演算をマイクロコンピュータ4の演算処
理にて実現する装置に比べて、制御のばらつきの要因と
なる回路素子が多く、制御精度が悪くなる。
In particular, in the above-described conventional driving device, a command signal from a microcomputer is converted into a command voltage by a duty-voltage conversion circuit 20, and the command voltage and a detection voltage output from the amplifier circuit 10 are converted. An error signal for feedback control is generated by comparison in the error signal generation circuit 30, and therefore, compared to a device in which the calculation of the control amount for feedback control is realized by the arithmetic processing of the microcomputer 4, There are many circuit elements that cause control variations, and control accuracy is deteriorated.

【0007】つまり、上記従来の駆動装置は、通電電流
をフィードバック制御するための電流検出系と電流制御
系とが全て電子回路にて構成されており、これらを構成
するDuty−電圧変換回路20,誤差信号生成回路30、
駆動信号生成回路40には、全て回路素子のばらつきが
あることから、制御のばらつき(電流制御誤差)は、こ
れら各回路素子のばらつきを重ね合わせると極めて大き
なばらつきとなってしまう。
That is, in the above-mentioned conventional driving device, the current detection system and the current control system for feedback control of the current flow are all constituted by electronic circuits, and the Duty-voltage conversion circuits 20 and Error signal generation circuit 30,
Since all the drive signal generation circuits 40 have variations in circuit elements, the variation in control (current control error) becomes extremely large when the variations in these circuit elements are superimposed.

【0008】一方、こうした問題を解決するには、例え
ば、上記各回路を構成する演算増幅器(オペアンプ)の
オフセット電圧/電流の製造ばらつきが制御電流値のば
らつきに大きな影響を与えるので、レーザトリミング等
の手法を用いて演算増幅器を構成する回路素子の特性値
を調整するとか、或いは、電流検出抵抗や演算増幅器に
接続される抵抗等の回路素子の精度を高くするといった
ことが考えられるが、このような対策では、製造コスト
が高くなってしまう。
On the other hand, in order to solve such a problem, for example, laser trimming or the like is required because the manufacturing variation of the offset voltage / current of the operational amplifier (op-amp) constituting each of the above circuits greatly affects the variation of the control current value. It is conceivable to adjust the characteristic values of the circuit elements constituting the operational amplifier by using the method described above, or to increase the accuracy of circuit elements such as a current detection resistor and a resistor connected to the operational amplifier. Such measures increase the manufacturing cost.

【0009】本発明はこうした問題に鑑みなされたもの
で、リニアソレノイド等の誘導性負荷に流れる電流をフ
ィードバック制御する駆動装置において、駆動装置によ
る制御電流の精度を簡単且つ安価に向上できるようにす
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to provide a drive device for feedback-controlling a current flowing through an inductive load such as a linear solenoid, so that the accuracy of the control current by the drive device can be improved simply and at low cost. The purpose is to:

【0010】[0010]

【課題を解決するための手段】かかる目的を達成するた
めになされた請求項1に記載の誘導性負荷の駆動装置に
おいては、指令電圧生成手段が、マイクロコンピュータ
から誘導性負荷に流すべき目標電流を表す指令信号を出
力し、指令電圧生成手段が、この指令信号を指令電圧に
変換する。また、誘導性負荷に流れる実電流は、電流検
出手段にて検出され、誤差信号生成手段が、この電流検
出手段からの検出電圧と指令電圧生成手段からの指令電
圧との差を積分することにより誤差信号を生成する。そ
して、通電制御手段が、その生成された誤差信号に基づ
き、誘導性負荷に流れる電流が目標電流となるように、
誘導性負荷を通電制御する。
According to a first aspect of the present invention, there is provided a driving apparatus for driving an inductive load, wherein the command voltage generating means includes a target current to be supplied from the microcomputer to the inductive load. Is output, and the command voltage generating means converts the command signal into a command voltage. Further, the actual current flowing through the inductive load is detected by the current detecting means, and the error signal generating means integrates the difference between the detected voltage from the current detecting means and the command voltage from the command voltage generating means. Generate an error signal. Then, based on the generated error signal, the energization control unit causes the current flowing through the inductive load to be the target current,
Energize the inductive load.

【0011】またこのように構成された駆動装置におい
ては、指令電圧生成手段,電流検出手段,及び誤差信号
生成手段を構成する回路素子のばらつきにより電流制御
誤差が生じることから、本発明では、これら各手段の回
路誤差に起因した制御誤差をマイクロコンピュータが出
力する指令信号の補正によって低減するための補正デー
タが予め格納された補正データ記憶手段が設けられ、マ
イクロコンピュータは、目標電流に対応した指令信号
を、補正データ記憶手段に記憶された補正データに基づ
き補正し、補正後の指令信号を指令電圧生成手段に出力
する。
Further, in the driving device configured as described above, a current control error occurs due to a variation in circuit elements constituting the command voltage generating means, the current detecting means, and the error signal generating means. Correction data storage means for preliminarily storing correction data for reducing a control error caused by a circuit error of each means by correcting a command signal output from the microcomputer is provided, and the microcomputer stores a command corresponding to a target current. The signal is corrected based on the correction data stored in the correction data storage means, and the corrected command signal is output to the command voltage generation means.

【0012】このため、本発明の誘導性負荷の駆動装置
によれば、指令電圧生成手段,電流検出手段,及び誤差
信号生成手段を構成する回路素子のばらつき(回路誤
差)に起因した電流制御誤差を低減できる。また、制御
誤差を低減するために、制御系を構成する各手段の回路
素子の特性を前述したトリミング等によって調節する必
要がないので、駆動装置の生産性を高め、安価に実現す
ることができる。
Therefore, according to the inductive load driving device of the present invention, the current control error caused by the variation (circuit error) of the circuit elements constituting the command voltage generating means, the current detecting means, and the error signal generating means. Can be reduced. Further, in order to reduce the control error, it is not necessary to adjust the characteristics of the circuit elements of each means constituting the control system by the above-described trimming or the like, so that the productivity of the driving device can be increased and the driving device can be realized at low cost. .

【0013】ここで、記憶手段に記憶する補正データ
は、駆動装置の製造後の検査工程等で、実際に駆動装置
を動作させて生成する必要があるが、この補正データの
作成及び記憶手段への格納を専用の装置を用いて行うよ
うにすると、仕様の異なる駆動装置を調整する度に、仕
様する装置を変更するか或いはその動作を切り替えなけ
ればならず、面倒である。また、経時変化,使用条件の
変化等によって補正データを書き換える場合にも、専用
の装置が必要になる。
Here, the correction data to be stored in the storage means must be generated by actually operating the drive device in an inspection process after the manufacture of the drive device. Is performed using a dedicated device, it is necessary to change the device to be specified or to switch its operation every time a driving device having a different specification is adjusted, which is troublesome. Also, when rewriting the correction data due to a change over time, a change in use conditions, or the like, a dedicated device is required.

【0014】そこで、駆動装置は、補正データを作成し
て記憶手段に格納できるようにすることが望ましく、そ
のためには、駆動装置を請求項2に記載のように構成す
るとよい。即ち、請求項2に記載の誘導性負荷の駆動装
置には、指令電圧生成手段及び誤差信号生成手段からの
出力電圧をA/D変換してマイクロコンピュータに入力
するA/D変換手段が設けられ、マイクロコンピュータ
は、電流検出手段に基準電流を与えたことを表す補正デ
ータ作成指令を受けると、この基準電流に対応した指令
信号を指令電圧生成手段に出力し、A/D変換手段を介
して指令電圧生成変換手段及び誤差信号生成手段からの
出力電圧を取り込み、その取り込んだ各電圧に基づき補
正データを求めて、記憶手段に格納する。
Therefore, it is desirable that the driving device be capable of generating correction data and storing it in the storage means. To this end, the driving device may be configured as described in claim 2. In other words, the inductive load driving device according to the second aspect is provided with A / D conversion means for A / D converting the output voltage from the command voltage generation means and the error signal generation means and inputting the output voltage to the microcomputer. When the microcomputer receives a correction data creation command indicating that the reference current has been given to the current detection means, the microcomputer outputs a command signal corresponding to the reference current to the command voltage generation means, and outputs the command signal via the A / D conversion means. Output voltages from the command voltage generation and conversion means and the error signal generation means are fetched, correction data is obtained based on the fetched voltages, and stored in the storage means.

【0015】従って、請求項2に記載の駆動装置によれ
ば、電流検出手段に予め設定された基準電流を与え、そ
の旨を表す補正データ作成指令をマイクロコンピュータ
に入力すれば、補正データが自動で作成・格納されるこ
とになり、記憶手段に補正データを格納したり、補正デ
ータを書き換えたりする際の調整作業を、基準電流を発
生する定電流回路を用いるだけで、極めて簡単に行うこ
とが可能になる。
Therefore, according to the driving device of the present invention, when a preset reference current is supplied to the current detecting means and a correction data creation command indicating the fact is input to the microcomputer, the correction data is automatically generated. The adjustment work when storing the correction data in the storage means or rewriting the correction data can be performed extremely simply by using the constant current circuit that generates the reference current. Becomes possible.

【0016】ここで、請求項2において、補正データを
作成する際に、マイクロコンピュータが、A/D変換手
段を介して指令電圧生成手段及び誤差信号生成手段から
の出力を取り込むようにしたのは、これら各手段からの
出力の差が、マイクロコンピュータから基準電圧に対応
した指令信号を出力したときに生じる制御誤差に対応す
るためである。
Here, in the second aspect, when the correction data is created, the microcomputer takes in the outputs from the command voltage generation means and the error signal generation means via the A / D conversion means. This is because the difference between the outputs from these means corresponds to a control error generated when the microcomputer outputs a command signal corresponding to the reference voltage.

【0017】つまり、指令電圧生成手段と電流検出手段
の出力が完全に一致すれば、誤差信号生成手段の出力
は、指令電圧生成手段の出力と同じになるが、回路を構
成する素子の特性ばらつきにより、指令電圧生成手段及
び電流検出手段の出力は誤差を生じる。また、誤差信号
生成手段自体も素子の特性ばらつきを持っているので、
その出力にも誤差を生じる。従って、誤差信号生成手段
と指令電圧生成手段双方をモニタすれば、回路全体の制
御誤差を確認することができる。
That is, if the output of the command voltage generating means and the output of the current detecting means completely match, the output of the error signal generating means will be the same as the output of the command voltage generating means, but the characteristic variation of the elements constituting the circuit will not occur. As a result, an error occurs in the outputs of the command voltage generation means and the current detection means. Also, since the error signal generating means itself also has variation in element characteristics,
An error occurs in the output. Therefore, by monitoring both the error signal generation means and the command voltage generation means, the control error of the entire circuit can be confirmed.

【0018】そして、マイクロコンピュータにて、指令
電圧生成手段及び誤差信号生成手段からの出力に基づき
補正データを作成させるためには、例えば、予め上記各
手段からの出力偏差から補正データを求めるための補正
データ作成用データをマイクロコンピュータ側に予め記
憶しておき、マイクロコンピュータが補正データを生成
する際には、この補正データ作成用データを用いて上記
各手段からの出力偏差に対応した補正データを求めるよ
うにしてもよい。
In order for the microcomputer to generate the correction data based on the outputs from the command voltage generation means and the error signal generation means, for example, a method for previously obtaining the correction data from the output deviation from each of the above means is provided. The correction data creation data is stored in the microcomputer in advance, and when the microcomputer generates the correction data, the correction data corresponding to the output deviation from each of the above means is used by using the correction data creation data. You may ask for it.

【0019】しかし、このように補正データ作成用デー
タを用いる場合には、このデータ自体を正確に設定する
必要があり、また、マイクロコンピュータにこのデータ
を記憶させなければならない。そこで、請求項3に記載
のように、マイクロコンピュータに補正データを作成さ
せる際には、基準電流に対応した指令信号を指令電圧生
成手段に出力して、A/D変換手段を介して取り込んだ
指令電圧生成手段及び誤差信号生成手段からの出力を一
旦取り込むと、その後は、その取り込んだ出力電圧の差
が予め設定された所定電圧以下となるように、指令電圧
生成手段に出力している指令信号を変化させて、その出
力電圧の差が予め設定された所定電圧以下となる領域で
の指令信号を求め、この指令信号と基準電流とから補正
データを作成するようにするとよい。
However, when the data for creating correction data is used as described above, it is necessary to accurately set the data itself and to store the data in a microcomputer. Therefore, when the microcomputer creates the correction data, a command signal corresponding to the reference current is output to the command voltage generation means, and is taken in through the A / D conversion means. Once the outputs from the command voltage generating means and the error signal generating means are fetched, the command output to the command voltage generating means is thereafter performed so that the difference between the fetched output voltages is equal to or less than a predetermined voltage. The signal may be changed to obtain a command signal in a region where the difference between the output voltages is equal to or less than a predetermined voltage, and correction data may be created from the command signal and the reference current.

【0020】つまりこのようにすれば、指令電圧生成手
段及び誤差信号生成手段からの出力電圧の偏差から得ら
れる制御誤差(制御精度)が所定値以下となるように、
補正データを正確に作成することができ、また補正デー
タ作成のために、補正データ生成用データを予め作成し
てマイクロコンピュータに記憶させる必要がないため、
装置構成を簡素化できる。
That is, according to this configuration, the control error (control accuracy) obtained from the deviation of the output voltage from the command voltage generating means and the error signal generating means becomes equal to or less than a predetermined value.
Correction data can be created accurately, and it is not necessary to create correction data generation data in advance and store it in a microcomputer for the purpose of creating correction data.
The device configuration can be simplified.

【0021】尚、請求項2,3に記載の駆動装置におい
て、マイクロコンピュータにて補正データを作成する際
に、指令電圧生成手段及び誤差信号生成手段からの出力
の差から得られる制御誤差は、マイクロコンピュータか
ら基準電流に対応した指令信号を出力したときの制御誤
差であることから、マイクロコンピュータが出力する各
種目標電流に対応した指令信号を上記補正データにて補
正できるようにするには、マイクロコンピュータが出力
する指令信号(換言すれば指令信号に対応した目標電
流)毎に、補正データを設定し、記憶手段に格納してお
くことが望ましい。
In the driving device according to the second and third aspects, when the correction data is created by the microcomputer, the control error obtained from the difference between the outputs from the command voltage generating means and the error signal generating means is: Since it is a control error when a command signal corresponding to the reference current is output from the microcomputer, a command signal corresponding to various target currents output by the microcomputer can be corrected using the correction data. It is desirable that correction data be set for each command signal output by the computer (in other words, a target current corresponding to the command signal) and stored in the storage means.

【0022】しかし、マイクロコンピュータが出力する
指令信号毎に補正データを設定するには、補正データ設
定時の作業が煩雑になり、しかも、補正データを格納す
る記憶手段の容量が大きくなる。そこで、マイクロコン
ピュータにて実際に補正データを作成させる際には、マ
イクロコンピュータが出力する指令信号(換言すれば目
標電流)の最大値付近と最小値付近とに夫々対応した2
種類の基準電流に対する制御誤差を、指令電圧生成手段
及び誤差信号生成手段からの出力の差から求め、各制御
誤差に対応した2種類の補正データを作成して、記憶手
段に格納するようにするとよい。
However, setting the correction data for each command signal output by the microcomputer complicates the operation of setting the correction data, and also increases the capacity of the storage means for storing the correction data. Therefore, when the correction data is actually created by the microcomputer, the correction signals corresponding to the vicinity of the maximum value and the vicinity of the minimum value of the command signal (in other words, the target current) output from the microcomputer are respectively set.
A control error with respect to the type of reference current is obtained from a difference between outputs from the command voltage generation means and the error signal generation means, two types of correction data corresponding to each control error are created, and stored in the storage means. Good.

【0023】つまり、このようにすれば、誘導性負荷の
通電制御時には、記憶手段に格納された2種類の補正デ
ータから、目標電流に対応した指令信号の補正値を補間
計算によって求め、この補正値を用いて指令信号を設定
することが可能になり、記憶手段に格納する補正データ
の数(延いては記憶手段の容量)を大きくすることな
く、マイクロコンピュータが出力する指令信号を良好に
補正することが可能になる。
In other words, according to this configuration, at the time of inductive load energization control, a correction value of the command signal corresponding to the target current is obtained by interpolation from the two types of correction data stored in the storage means. The command signal can be set by using the value, and the command signal output from the microcomputer can be satisfactorily corrected without increasing the number of correction data to be stored in the storage means (and hence the capacity of the storage means). It becomes possible to do.

【0024】[0024]

【発明の実施の形態】以下に本発明の実施例を図面と共
に説明する。図1は、本発明を、誘導性負荷としてのリ
ニアソレノイドを通電制御するリニアソレノイドの駆動
装置に適用した実施例装置の全体構成を表す概略構成図
である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram showing an entire configuration of an embodiment of the present invention in which the present invention is applied to a linear solenoid driving device that controls the energization of a linear solenoid as an inductive load.

【0025】本実施例の駆動装置は、例えば、内燃機関
により駆動される油圧ポンプから圧送されてきた車両制
御用のブレーキ油圧(例えば、アンチスキッド制御用の
ブレーキ油圧、自動変速機制御用のトランスミッション
油圧等)を所定の作動油圧に制御する油圧制御弁駆動用
のリニアソレノイドLに流れる電流(ソレノイド電流)
を制御するためのものであり、図6に示した従来のリニ
アソレノイドLの駆動装置と同様、(1) リニアソレノイ
ドLに流すべき目標電流に対応してデューティ比を制御
したデューティ信号(指令信号;図2(a)参照)を出
力するマイクロコンピュータ4、(2) マイクロコンピュ
ータ4からの指令信号を、そのデューティ比に対応した
電圧信号Vs(指令電圧;図2(b)参照)に変換す
る、指令電圧生成手段としてのDuty−電圧変換回路2
0、(3) リニアソレノイドLに流れた電流を検出する電
流検出抵抗Rs、(4) 電流検出抵抗Rsの両端電圧を増
幅して、指令電圧Vsに対応した電圧信号(検出電圧)
を出力する増幅回路10、(5) 増幅回路10からの検出
電圧と指令電圧Vsとの偏差を積分することで誤差信号
VERR (図2(c)参照)を生成する、誤差信号生成手
段としての誤差信号生成回路30、(6) 誤差信号VERR
と三角波(図2(d)参照)とを比較することにより、
リニアソレノイドLへの通電電流を制御するための駆動
信号(パルス幅変調信号;図2(e)参照)を生成する
駆動信号生成回路40、(7) 駆動信号生成回路40から
の駆動信号により、リニアソレノイドLの通電経路に設
けられたスイッチング素子(PNPトランジスタTR
1)をオン・オフさせて、ソレノイド電流(図2(f)
参照)をデューティ制御する駆動回路50、を備える。
The drive device of the present embodiment includes, for example, a brake hydraulic pressure for vehicle control (for example, a brake hydraulic pressure for anti-skid control, a transmission hydraulic pressure for automatic transmission control) which is pumped from a hydraulic pump driven by an internal combustion engine. Etc.) (current flowing through a linear solenoid L for driving a hydraulic control valve for controlling hydraulic pressure to a predetermined operating oil pressure) (solenoid current)
In the same manner as the conventional linear solenoid L driving device shown in FIG. 6, (1) a duty signal (command signal) in which a duty ratio is controlled in accordance with a target current to flow through the linear solenoid L. Microcomputer (2) which outputs FIG. 2 (a)), (2) converts a command signal from microcomputer 4 into a voltage signal Vs (command voltage; see FIG. 2 (b)) corresponding to the duty ratio. , Duty-voltage conversion circuit 2 as command voltage generation means
0, (3) a current detection resistor Rs for detecting the current flowing through the linear solenoid L, (4) a voltage signal (detection voltage) corresponding to the command voltage Vs by amplifying the voltage across the current detection resistor Rs
(5) an error signal VERR (see FIG. 2 (c)) by integrating a deviation between the detection voltage from the amplifier circuit 10 and the command voltage Vs to generate an error signal VERR. Error signal generation circuit 30, (6) Error signal VERR
And triangular wave (see FIG. 2D),
A drive signal generation circuit 40 for generating a drive signal (pulse width modulation signal; see FIG. 2E) for controlling a current supplied to the linear solenoid L, (7) a drive signal from the drive signal generation circuit 40 A switching element (PNP transistor TR) provided in the energization path of the linear solenoid L
1) Turn on / off the solenoid current (Fig. 2 (f)
Drive circuit 50 for duty control of the driving circuit 50).

【0026】尚、上記各回路は、前述した図6に示した
従来装置と同様に構成されているので、内部構成につい
ての説明は省略する。そして、本実施例では、電流検出
抵抗Rsと増幅回路10とにより、請求項1に記載の電
流検出手段としての機能が実現される。また、Duty−電
圧変換回路20は、例えば、マイクロコンピュータ4か
らの指令信号(デューティ信号)を積分処理等によって
アナログの電圧信号(指令電圧)Vsに変換するように
構成されており、本実施例では、例えば、図3(b)に
示すように、マイクロコンピュータ4からの指令信号の
デューティ比が最小値(18%)であるとき、直流0.
6Vの指令電圧Vsを出力し、マイクロコンピュータ4
からの指令信号のデューティ比が最大値(90%)であ
るとき直流3Vの指令電圧Vsを出力するようにされて
いる。
Since each of the above circuits has the same configuration as that of the conventional device shown in FIG. 6, the description of the internal configuration is omitted. In the present embodiment, the function as the current detection means according to the first aspect is realized by the current detection resistor Rs and the amplifier circuit 10. Further, the Duty-voltage conversion circuit 20 is configured to convert a command signal (duty signal) from the microcomputer 4 into an analog voltage signal (command voltage) Vs by an integration process or the like, for example. For example, as shown in FIG. 3 (b), when the duty ratio of the command signal from the microcomputer 4 is the minimum value (18%), the DC 0.
A command voltage Vs of 6 V is output and the microcomputer 4
When the duty ratio of the command signal from is the maximum value (90%), a command voltage Vs of DC 3 V is output.

【0027】また次に、本実施例の駆動装置には、(8)
指令電圧Vsと誤差信号VERR とを夫々A/D変換して
マイクロコンピュータ4に入力する、A/D変換手段と
してのA/D変換回路60、(9) マイクロコンピュータ
4がリニアソレノイドLに流すべき目標電流に対応して
生成する指令信号のデューティ比を補正するための補正
データが格納される、記憶手段としてのEEPROM7
0、が備えられている。
Next, the driving device of this embodiment includes (8)
A / D conversion circuit 60 as A / D conversion means for A / D converting the command voltage Vs and the error signal VERR and inputting them to the microcomputer 4, (9) The microcomputer 4 should flow to the linear solenoid L EEPROM 7 as storage means for storing correction data for correcting the duty ratio of the command signal generated corresponding to the target current
0 is provided.

【0028】そして、マイクロコンピュータ4は、ブレ
ーキ油圧を所定の作動油圧に制御する通常動作時には、
ブレーキ油圧の目標油圧からリニアソレノイドLに流す
べき目標電流を設定し、その目標電流から、例えば図3
(a)に実線で示す如きデューティ比設定用のマップを
用いて、Duty−電圧変換回路20に出力するデューティ
信号の基本デューティ比を設定し、更にこの基本デュー
ティ比をEEPROM70に格納された補正データにて
補正し、その補正後のデューティ比に対応した指令信号
をDuty−電圧変換回路20に出力する。
At the time of the normal operation of controlling the brake oil pressure to a predetermined operating oil pressure, the microcomputer 4
A target current to be passed to the linear solenoid L is set based on the target hydraulic pressure of the brake hydraulic pressure.
A basic duty ratio of a duty signal to be output to the duty-voltage conversion circuit 20 is set using a duty ratio setting map shown by a solid line in FIG. And outputs a command signal corresponding to the corrected duty ratio to the Duty-voltage conversion circuit 20.

【0029】つまり、本実施例では、基本デューティ比
設定用のマップが、図3(a)に実線で示すように、リ
ニアソレノイドLに流すべき目標電流が予め設定された
制御範囲の最小電流0.2Aであるとき基本デューティ
比を最小値(18%)に設定し、リニアソレノイドLに
流すべき目標電流が最大電流1Aであるとき、基本デュ
ーティ比を最大値(90%)に設定するようにされてい
る。
That is, in this embodiment, the map for setting the basic duty ratio is such that the target current to be passed through the linear solenoid L is set to the minimum current 0 in the preset control range as shown by the solid line in FIG. .2A, the basic duty ratio is set to the minimum value (18%), and when the target current to be passed through the linear solenoid L is the maximum current 1A, the basic duty ratio is set to the maximum value (90%). Have been.

【0030】そして、上記各回路に回路素子のばらつき
がなく、各回路が設計時と同様に動作するものとすれ
ば、マイクロコンピュータ4からソレノイド電流を1A
にするためにデューティ比90%の指令信号を出力すれ
ば、Duty−電圧変換回路20から3Vの指令電圧が出力
されて、増幅回路10からの検出電圧が3Vとなるよう
に駆動回路50が駆動され、この駆動によってソレノイ
ド電流が1Aに制御され、マイクロコンピュータ4から
ソレノイド電流を0.2Aにするためにデューティ比1
8%の指令信号を出力すれば、Duty−電圧変換回路20
から0.6Vの指令電圧が出力されて、増幅回路10か
らの検出電圧が0.6Vとなるように駆動回路50が駆
動され、この駆動によってソレノイド電流が0.2Aに
制御されることになる。
Assuming that there is no variation in the circuit elements in each of the above circuits and that each circuit operates in the same manner as at the time of design, the microcomputer 4 outputs a solenoid current of 1 A
When a command signal with a duty ratio of 90% is output to make the duty ratio, the duty-voltage conversion circuit 20 outputs a command voltage of 3V, and the drive circuit 50 is driven so that the detection voltage from the amplifier circuit 10 becomes 3V. This drive controls the solenoid current to 1 A, and the microcomputer 4 sets the duty ratio to 1 A in order to make the solenoid current 0.2 A.
If a command signal of 8% is output, the duty-voltage conversion circuit 20
From the amplifier circuit 10 to drive the drive circuit 50 so that the detection voltage from the amplifier circuit 10 becomes 0.6 V. By this drive, the solenoid current is controlled to 0.2 A. .

【0031】しかし、Duty−電圧変換回路20,誤差信
号生成回路30,電流検出抵抗Rs,増幅回路10等に
は、回路素子のばらつきがあるため、実際には、ソレノ
イド電流を制御するために、マイクロコンピュータ4か
ら上記マップから求めた指令信号を出力しても、ソレノ
イド電流を目標電流に制御することができず、ブレーキ
油圧を所望の油圧に制御できなくなる。
However, since the Duty-voltage conversion circuit 20, the error signal generation circuit 30, the current detection resistor Rs, and the amplification circuit 10 have variations in circuit elements, actually, in order to control the solenoid current, Even if the microcomputer 4 outputs the command signal obtained from the above map, the solenoid current cannot be controlled to the target current, and the brake hydraulic pressure cannot be controlled to the desired hydraulic pressure.

【0032】そこで、本実施例では、上記各回路を構成
する回路素子のばらつきに伴う制御誤差を補正するため
に、図3(a)に実線で示したマップを用いて設定され
る基本デューティ比を、EEPROM70に格納された
補正データを用いて補正することで、例えば、図3
(a)に点線で示すように、目標電流−指令信号(デュ
ーティ比)特性を、電流制御に用いる上記各回路の特性
に適合させて、ソレノイド電流(延いてはブレーキ油
圧)の制御精度を確保するようにしているのである。
Therefore, in this embodiment, in order to correct a control error due to a variation in circuit elements constituting each of the above circuits, a basic duty ratio set using a map shown by a solid line in FIG. Is corrected using the correction data stored in the EEPROM 70, for example, as shown in FIG.
As shown by the dotted line in (a), the target current-command signal (duty ratio) characteristics are adapted to the characteristics of each of the above-mentioned circuits used for current control, thereby ensuring the control accuracy of the solenoid current (and hence the brake oil pressure). They are trying to do it.

【0033】尚、EEPROM70には、ソレノイド電
流を最大電流1Aに制御する際の基本デューティ比(9
0%)に対する補正データD1と、ソレノイド電流を最
小電流0.2Aに制御する際の基本デューティ比(18
%)に対する補正データD2とが格納されており、マイ
クロコンピュータ4が実際にソレノイド電流を制御する
際には、リニアソレノイドLに流すべき目標電流に対応
した補正値を、EEPROM70内の補正データを線形
補間することによりリニアソレノイドLに流すべき目標
電流に対応した補正値を求め、この補正値で、上記マッ
プから求めた目標電流に対応した基本デューティ比を補
正することによって、指令信号のデューティ比を設定す
る。
The EEPROM 70 has a basic duty ratio (9) for controlling the solenoid current to a maximum current of 1 A.
0%) and the basic duty ratio (18) for controlling the solenoid current to the minimum current of 0.2 A.
%) Is stored, and when the microcomputer 4 actually controls the solenoid current, the correction value corresponding to the target current to be passed to the linear solenoid L is obtained by linearizing the correction data in the EEPROM 70. By interpolating, a correction value corresponding to the target current to be passed through the linear solenoid L is obtained, and the correction value is used to correct the basic duty ratio corresponding to the target current obtained from the above map, so that the duty ratio of the command signal is changed. Set.

【0034】次に、EEPROM70内の補正データ
は、駆動装置の出荷検査工程において、駆動装置を実際
に動作させて制御誤差を測定することにより作成され、
EEPROM70に格納される。以下、この補正データ
の作成手順について説明する。駆動装置の出荷検査工程
で補正データを作成する際には、図4に示す如く、駆動
装置にリニアソレノイドLを接続する代わりに、基準電
流(例えば、当該駆動装置にてソレノイド電流を制御す
る際の最大電流1Aと最小電流0.2A)を発生する定
電流源Isを接続する。また、マイクロコンピュータ4
の動作モードを、上述した油圧制御を行う通常運転モー
ドから、検査モードに切り替えるために、マイクロコン
ピュータ4に予め設けられた2つのテスト端子T1,T
2に、夫々、テスト端子T1,T2を接地するためのス
イッチSW1,SW2及び各テスト端子T1,T2に電
源電圧Vdを印加する抵抗R11,R12を接続する。そし
て、スイッチSW1を閉じ、テスト端子T1を接地レベ
ルにした状態で起動すると、マイクロコンピュータ4
は、検査モードに入り、図5に示す手順で補正データを
作成する。
Next, the correction data in the EEPROM 70 is created by actually operating the driving device and measuring a control error in a shipping inspection process of the driving device,
It is stored in the EEPROM 70. Hereinafter, a procedure for creating the correction data will be described. When the correction data is created in the shipping inspection process of the driving device, as shown in FIG. 4, instead of connecting the linear solenoid L to the driving device, a reference current (for example, when the solenoid current is controlled by the driving device). Is connected to a constant current source Is that generates a maximum current 1A and a minimum current 0.2A). The microcomputer 4
In order to switch the operation mode from the normal operation mode in which the above-described hydraulic control is performed to the inspection mode, two test terminals T1 and T2 provided in the microcomputer 4 in advance are provided.
2, switches SW1 and SW2 for grounding the test terminals T1 and T2, and resistors R11 and R12 for applying the power supply voltage Vd to the test terminals T1 and T2, respectively. When the switch SW1 is closed and the test is started with the test terminal T1 at the ground level, the microcomputer 4
Enters the inspection mode and creates correction data according to the procedure shown in FIG.

【0035】即ち、図5に示す如く、マイクロコンピュ
ータ4は、起動されると、まずS110(Sはステップ
を表す)にて、スイッチSW1が閉じられ、テスト端子
T1が接地レベルになっているか否か、換言すれば、マ
イクロコンピュータ4の動作モードは、検査モードであ
るか否かを判断する。そして、S110にて、テスト端
子T1が接地レベルにないと判断されると、動作モード
は通常運転モードであると判断して、リニアソレノイド
Lへの通電電流を制御する制御プログラムを実行する、
通常制御へと移行し、テスト端子T1が接地レベルにあ
ると判断されると、動作モードは、検査モードであると
判断して、S120に移行する。
That is, as shown in FIG. 5, when the microcomputer 4 is started, first, in S110 (S indicates a step), the switch SW1 is closed, and whether or not the test terminal T1 is at the ground level is determined. In other words, it is determined whether or not the operation mode of the microcomputer 4 is the inspection mode. If it is determined in S110 that the test terminal T1 is not at the ground level, the operation mode is determined to be the normal operation mode, and a control program for controlling the current supplied to the linear solenoid L is executed.
When the operation shifts to the normal control and it is determined that the test terminal T1 is at the ground level, the operation mode is determined to be the inspection mode, and the process shifts to S120.

【0036】尚、本実施例では、このようにマイクロコ
ンピュータ4を検査モードで動作させるためにテスト端
子T1を接地レベルにした際に、マイクロコンピュータ
4に、請求項2に記載の補正データ作成指令が入力され
ることになる。次に、S120では、スイッチSW2が
閉じられ、テスト端子T2が接地レベルになっているか
否かを判断する。スイッチSW2は、検査者による外部
操作若しくは検査装置による自動切替によって、定電流
源Isからソレノイド電流制御時の最大電流1Aを供給
しているときに閉状態に設定され、定電流源Isからソ
レノイド電流制御時の最小電流0.2Aを供給している
ときに開状態に設定されるものであり、S120では、
スイッチSW2が閉状態であれば電流検出抵抗Rsに1
Aの電流が流れ、スイッチSW2が開状態であれば電流
検出抵抗Rsに0.2Aの電流が流れているものと判断
する。
In the present embodiment, when the test terminal T1 is set to the ground level in order to operate the microcomputer 4 in the inspection mode, the microcomputer 4 is instructed to issue the correction data creation command according to claim 2. Will be input. Next, in S120, it is determined whether the switch SW2 is closed and the test terminal T2 is at the ground level. The switch SW2 is set to a closed state when the maximum current 1A during the solenoid current control is supplied from the constant current source Is by an external operation by the inspector or automatic switching by the inspection device, and the solenoid current is switched from the constant current source Is to the solenoid current. It is set to an open state when a minimum current of 0.2 A during control is supplied. In S120,
If the switch SW2 is in the closed state, the current detection resistance Rs is set to 1
If the current of A flows and the switch SW2 is in the open state, it is determined that a current of 0.2 A flows to the current detection resistor Rs.

【0037】そして、スイッチSW2が閉状態にあれ
ば、マイクロコンピュータ4は1Aモードにあると判断
して、S130〜S190の処理により、リニアソレノ
イドLに最大電流1Aを流すための補正データを演算
し、スイッチSW2が開状態にあれば、O.2Aモード
にあると判断して、S200〜260の処理により、リ
ニアソレノイドLに最小電流0.2Aを流すための補正
データを演算する。
If the switch SW2 is in the closed state, the microcomputer 4 determines that the mode is the 1A mode, and calculates the correction data for flowing the maximum current 1A to the linear solenoid L by the processing of S130 to S190. If the switch SW2 is in the open state, It is determined that the mode is the 2A mode, and the correction data for causing the minimum current of 0.2 A to flow through the linear solenoid L is calculated by the processes of S200 to S260.

【0038】即ち、S120にて現在の動作モードが1
Aモードであると判断された場合には、まずS130に
て、Duty−電圧変換回路20に出力する指令信号のデュ
ーティ比を、ソレノイド電流を1Aに制御する際の基本
デューティ比(90%)に設定し、この基本デューティ
比で指令信号を出力する。
That is, in S120, the current operation mode is 1
If it is determined that the mode is the A mode, first in S130, the duty ratio of the command signal output to the duty-voltage conversion circuit 20 is set to the basic duty ratio (90%) for controlling the solenoid current to 1A. And outputs a command signal at this basic duty ratio.

【0039】次に、続くS140では、誤差信号生成回
路30から出力される誤差信号VERR の電圧レベルと、
指令信号の出力開始後にDuty−電圧変換回路20から出
力される指令電圧Vsの電圧レベルとを、夫々、A/D
変換回路60を介して取り込み、これら各信号の電圧レ
ベルの差(VERR −Vs)の絶対値が、予め設定された
判定値(例えば、60mV)以下であるか否かを判断す
る。
Next, at S140, the voltage level of the error signal VERR output from the error signal generation circuit 30 is calculated.
The voltage level of the command voltage Vs output from the duty-voltage conversion circuit 20 after the start of the output of the command signal is represented by A / D
It is fetched through the conversion circuit 60, and it is determined whether or not the absolute value of the difference (VERR-Vs) between the voltage levels of these signals is equal to or less than a predetermined determination value (for example, 60 mV).

【0040】つまり、マイクロコンピュータ4の動作モ
ードが1Aモードに設定されている場合には、電流検出
抵抗Rsに1Aの定電流が流れていることから、増幅回
路10から出力される検出電圧は、電流1Aに対応した
電圧レベルとなる。一方、マイクロコンピュータ4から
は、電流1Aに対応した基本デューティ比90%の指令
信号を出力していることから、Duty−電圧変換回路20
の出力も、電流1Aに対応した電圧レベルとなる。そし
て、このとき、電流検出抵抗Rs,増幅回路10,Duty
−電圧変換回路20,及び誤差信号生成回路30のばら
つきがなければ、増幅回路10及びDuty−電圧変換回路
20からの出力が共に設計時の3V(図3(b)参照)
となり、誤差信号生成回路30から出力される誤差信号
VERR も3Vとなって、指令電圧Vsと誤差信号VERR
との偏差は零になる。しかし、実際には、これら各回路
にはばらつきがあるため、指令電圧Vsと誤差信号VER
Rとには、各回路の誤差成分を全て含んだ偏差が生じる
ことになる。そこで、S140では、この偏差を、駆動
装置固有の制御誤差として取り込み、その制御誤差が、
駆動装置に要求される制御精度から設定した判定値以下
であるか否かを判断するのである。尚、この判定値を、
上記のように例えば60mVとし、1Aモードで、指令
電圧Vsと誤差信号VERR との偏差から得られる制御誤
差が60mV以下となるようにした場合には、駆動装置
による電流制御精度は、±2%(=60mV/3V)と
なる。
That is, when the operation mode of the microcomputer 4 is set to the 1A mode, since the constant current of 1 A flows through the current detection resistor Rs, the detection voltage output from the amplifier circuit 10 is: The voltage level corresponds to the current 1A. On the other hand, since the microcomputer 4 outputs a command signal with a basic duty ratio of 90% corresponding to the current 1A, the duty-voltage conversion circuit 20
Is also at a voltage level corresponding to the current 1A. At this time, the current detection resistor Rs, the amplifier circuit 10, the Duty
-If there is no variation between the voltage conversion circuit 20 and the error signal generation circuit 30, the output from the amplifier circuit 10 and the output from the Duty-voltage conversion circuit 20 are both 3V at the time of design (see FIG. 3B).
And the error signal VERR output from the error signal generation circuit 30 also becomes 3 V, and the command voltage Vs and the error signal VERR
Is zero. However, in practice, since these circuits vary, the command voltage Vs and the error signal VER
A deviation occurs between R and all the error components of each circuit. Then, in S140, this deviation is taken in as a control error peculiar to the driving device, and the control error becomes
It is determined whether or not the value is equal to or less than a set determination value based on the control accuracy required for the driving device. Note that this determination value is
When the control error obtained from the difference between the command voltage Vs and the error signal VERR in the 1A mode is set to 60 mV or less in the 1A mode as described above, the current control accuracy of the driving device is ± 2%. (= 60 mV / 3V).

【0041】そして、S140にて、制御誤差が判定値
を越えていると判断されると、続くS150に移行し
て、誤差信号VERR と指令電圧Vsとの大小比較を行
い、誤差信号VERR が大きい場合(VERR >Vs)に
は、S160にて、指令信号のデューティ比をデクリメ
ントし、逆に、誤差信号VERR が小さい場合(VERR <
Vs)には、S170にて、デューティ比をインクリメ
ントすることにより、デューティ比を更新する。尚、S
160,S170にて、デューティ比をデクリメント或
いはインクリメントする際の値は、マイクロコンピュー
タ4の出力分解能によって自ずと決定されるが、本実施
例では、例えば0.1%の分解能で、デューティ比を変
化させる。そして、続くS180では、Duty−電圧変換
回路20に対して、更新後のデューティ比で生成した指
令信号を出力し、再度S140に移行する。
If it is determined in S140 that the control error exceeds the determination value, the flow shifts to S150 where a comparison is made between the error signal VERR and the command voltage Vs, and the error signal VERR is large. In this case (VERR> Vs), in S160, the duty ratio of the command signal is decremented. Conversely, when the error signal VERR is small (VERR <VERR <Vs).
For Vs), in S170, the duty ratio is updated by incrementing the duty ratio. Note that S
At 160 and S170, the value at which the duty ratio is decremented or incremented is naturally determined by the output resolution of the microcomputer 4, but in the present embodiment, the duty ratio is changed at a resolution of, for example, 0.1%. . Then, in S180, a command signal generated with the updated duty ratio is output to the Duty-voltage conversion circuit 20, and the process returns to S140.

【0042】この結果、マイクロコンピュータ4が1A
モードで動作し始めた最初は、誤差信号VERR と指令電
圧Vsとの偏差(絶対値)が判定値を越えていても、S
150〜180の処理を繰り返し実行する内に、誤差信
号VERR と指令電圧Vsとの偏差が判定値以下となる。
As a result, the microcomputer 4 has 1A
At the beginning of the operation in the mode, even if the deviation (absolute value) between the error signal VERR and the command voltage Vs exceeds the determination value, S
During the repetition of the processing of 150 to 180, the deviation between the error signal VERR and the command voltage Vs becomes equal to or smaller than the determination value.

【0043】そして、S140にて、誤差信号VERR と
指令電圧Vsとの偏差が判定値以下となったと判断され
ると、S190にて、現在設定されている指令信号のデ
ューティ比とS130にて最初に設定した基本デューテ
ィ比(90%)との偏差から、目標電流が1Aのときに
基本デューティ比を補正するための補正データD1を求
め、この補正データD1を、EEPROM70の1A補
正データ記憶エリアに格納し、再度S110に移行す
る。
If it is determined in S140 that the deviation between the error signal VERR and the command voltage Vs has become equal to or smaller than the determination value, the program proceeds to S190, where the duty ratio of the command signal currently set and the initial value in S130. The correction data D1 for correcting the basic duty ratio when the target current is 1A is obtained from the deviation from the basic duty ratio (90%) set in the above. The correction data D1 is stored in the 1A correction data storage area of the EEPROM 70. Then, the process returns to S110.

【0044】次に、S120にて現在の動作モードが
0.2Aモードであると判断された場合には、S200
にて、Duty−電圧変換回路20に出力する指令信号のデ
ューティ比を、ソレノイド電流を0.2Aに制御する際
の基本デューティ比(18%)に設定し、この基本デュ
ーティ比で指令信号を出力し、続くS210にて、誤差
信号生成回路30から出力される誤差信号VERR の電圧
レベルと、指令信号の出力開始後にDuty−電圧変換回路
20から出力される指令電圧Vsの電圧レベルとを、夫
々、A/D変換回路60を介して取り込み、これら各信
号の電圧レベルの差(VERR −Vs)の絶対値が、予め
設定された判定値(例えば、12mV)以下であるか否
かを判断する。尚、この判定値は、ソレノイド電流を
0.2Aに制御する際の電流制御精度を±2%(=12
mV/0.6V)以下にするための値である。
Next, if it is determined in S120 that the current operation mode is the 0.2A mode, the process proceeds to S200.
, The duty ratio of the command signal output to the Duty-voltage conversion circuit 20 is set to the basic duty ratio (18%) for controlling the solenoid current to 0.2 A, and the command signal is output at this basic duty ratio. Then, in S210, the voltage level of the error signal VERR output from the error signal generation circuit 30 and the voltage level of the command voltage Vs output from the duty-voltage conversion circuit 20 after the start of the output of the command signal are respectively changed. , Via the A / D conversion circuit 60, and determines whether or not the absolute value of the difference (VERR-Vs) between the voltage levels of these signals is equal to or less than a predetermined determination value (for example, 12 mV). . Note that this determination value indicates that the current control accuracy when controlling the solenoid current to 0.2 A is ± 2% (= 12%).
mV / 0.6V) or less.

【0045】そして、S210にて、誤差信号VERR と
指令電圧Vsとの偏差の絶対値(つまり制御誤差)が判
定値を越えていると判断されると、続くS220にて、
誤差信号VERR と指令電圧Vsとの大小比較を行い、誤
差信号VERR が大きい場合(VERR >Vs)には、S2
30にて、指令信号のデューティ比をデクリメントし、
逆に、誤差信号VERR が小さい場合(VERR <Vs)に
は、S240にて、デューティ比をインクリメントする
ことにより、デューティ比を更新する。そして、続くS
180では、Duty−電圧変換回路20に対して、更新後
のデューティ比で生成した指令信号を出力し、再度S2
10に移行する。
If it is determined in S210 that the absolute value of the deviation between the error signal VERR and the command voltage Vs (ie, the control error) exceeds the determination value, the process proceeds to S220.
A magnitude comparison between the error signal VERR and the command voltage Vs is performed. If the error signal VERR is large (VERR> Vs), S2
At 30, the duty ratio of the command signal is decremented,
Conversely, if the error signal VERR is small (VERR <Vs), the duty ratio is updated by incrementing the duty ratio in S240. And the following S
At 180, the command signal generated with the updated duty ratio is output to the Duty-voltage conversion circuit 20, and again at S2
Move to 10.

【0046】また次に、S210にて、誤差信号VERR
と指令電圧Vsとの偏差が判定値以下となったと判断さ
れた場合には、S260にて、現在設定されている指令
信号のデューティ比とS200にて最初に設定した基本
デューティ比(90%)との偏差から、目標電流が0.
2Aのときに基本デューティ比を補正するための補正デ
ータD2を求め、この補正データD2を、EEPROM
70の0.2A補正データ記憶エリアに格納し、再度S
110に移行する。
Next, in S210, the error signal VERR
If it is determined that the difference between the command voltage Vs and the command voltage Vs has become equal to or smaller than the determination value, in S260, the duty ratio of the command signal currently set and the basic duty ratio (90%) initially set in S200. From the deviation of the target current from 0.
At 2A, correction data D2 for correcting the basic duty ratio is obtained, and this correction data D2 is stored in an EEPROM.
70 and stored in the 0.2A correction data storage area.
Move to 110.

【0047】以上説明したように、本実施例の駆動装置
においては、マイクロコンピュータ4がソレノイド電流
を制御する際には、予め設定されたマップを用いて目標
電流に対応した指令信号の基本デューティ比を求め、こ
の基本デューティ比を、EEPROM70に格納された
補正データを用いて補正することにより、指令信号のデ
ューティ比を設定するようにされている。
As described above, in the driving device according to the present embodiment, when the microcomputer 4 controls the solenoid current, the basic duty ratio of the command signal corresponding to the target current is determined by using a preset map. And the basic duty ratio is corrected using the correction data stored in the EEPROM 70 to set the duty ratio of the command signal.

【0048】このため、本実施例の駆動装置によれば、
電流検出抵抗Rs,増幅回路10,Duty−電圧変換回路
20,及び誤差信号生成回路30を構成する回路素子に
ばらつきがあっても、そのばらつきにより生じる制御誤
差を、マイクロコンピュータ4側での指令信号のデュー
ティ比の補正によって抑制することができ、ソレノイド
電流(延いてはブレーキ油圧)の制御精度を向上でき
る。また、制御精度を上げるために、これら各回路を構
成する回路素子の特性を前述したトリミング等によって
調節する必要がないので、駆動装置の生産性を高め、安
価に実現することができる。
For this reason, according to the driving device of this embodiment,
Even if the circuit elements constituting the current detection resistor Rs, the amplification circuit 10, the duty-voltage conversion circuit 20, and the error signal generation circuit 30 have a variation, a control error caused by the variation is transmitted to the command signal on the microcomputer 4 side. By correcting the duty ratio, the control accuracy of the solenoid current (and hence the brake oil pressure) can be improved. Further, since it is not necessary to adjust the characteristics of the circuit elements constituting these circuits by the above-described trimming or the like in order to increase the control accuracy, the productivity of the drive device can be increased and the drive device can be realized at low cost.

【0049】また、補正データは、駆動装置の出荷時等
に、駆動装置に定電流源Isを接続して、定電流源Is
から1A若しくは0.2Aの定電流を供給しつつ、マイ
クロコンピュータ4を検査モード(詳しくは1Aモー
ド,0.2Aモード)で動作させれば、マイクロコンピ
ュータ4の処理によって自動で作成されて、EEPRO
M70に格納されることから、補正データの作成及びE
EPROM70への格納のために、特別な装置を準備す
る必要はなく、補正データの作成及び格納を極めて簡単
に行うことができる。
The correction data is obtained by connecting the constant current source Is to the driving device when the driving device is shipped, for example.
When the microcomputer 4 is operated in the inspection mode (specifically, the 1A mode and the 0.2A mode) while supplying a constant current of 1 A or 0.2 A from the microcomputer 4, it is automatically created by the processing of the microcomputer 4 and the EEPROM
Since it is stored in M70, the creation of correction data and E
There is no need to prepare a special device for storage in the EPROM 70, and the creation and storage of correction data can be performed extremely easily.

【0050】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく、種
々の態様を採ることができる。例えば、上記実施例で
は、補正データとして、駆動装置がソレノイド電流を制
御する制御範囲内の最大電流(1A)と最小電流(0.
2A)とに対応した2点の補正データD1,D2をEE
PROM70に格納し、実際に制御を行う際には、この
2点の補正データD1,D2を線形補間することによ
り、目標電流に対応した基本デューティ比の補正値を求
めるものとして説明したが、EEPROM70に格納す
る補正データは、制御範囲内の電流値で定電流を流した
ときに得られる制御誤差から求めた値であればよく、ま
た、補正データの数を3以上に増やしてもよい。
As described above, one embodiment of the present invention has been described. However, the present invention is not limited to the above-described embodiment, and various embodiments can be adopted. For example, in the above embodiment, as the correction data, the maximum current (1 A) and the minimum current (0 .1) within the control range in which the drive device controls the solenoid current.
2A), the two points of correction data D1 and D2 corresponding to
When stored in the PROM 70 and actually controlled, the correction data of the basic duty ratio corresponding to the target current is obtained by linearly interpolating the correction data D1 and D2 at the two points. May be a value obtained from a control error obtained when a constant current is supplied at a current value within the control range, and the number of correction data may be increased to three or more.

【0051】また上記実施例では、ソレノイド電流を制
御するために、マイクロコンピュータ4から、指令信号
として、デューティ比を制御したデューティ信号が出力
されるものとして説明したが、マイクロコンピュータ4
からは、指令信号として、目標電流を表すデジタルデー
タを出力するように構成してもよい。そして、この場合
には、Duty−電圧変換回路20の代わりに、マイクロコ
ンピュータ4から指令信号として出力されるデジタルデ
ータをアナログ電圧信号(指令電圧)に変換するD/A
変換回路を設ければよい。
In the above embodiment, the microcomputer 4 outputs a duty signal whose duty ratio is controlled as a command signal in order to control the solenoid current.
Then, digital data representing the target current may be output as the command signal. In this case, instead of the duty-voltage conversion circuit 20, D / A for converting digital data output as a command signal from the microcomputer 4 into an analog voltage signal (command voltage).
A conversion circuit may be provided.

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

【図1】 実施例のリニアソレノイドの駆動装置全体の
構成を表す構成図である。
FIG. 1 is a configuration diagram illustrating a configuration of an entire driving device for a linear solenoid according to an embodiment.

【図2】 駆動装置各部の動作波形を表すタイムチャー
トである。
FIG. 2 is a time chart showing an operation waveform of each part of the driving device.

【図3】 マイクロコンピュータ及びDuty−電圧変換回
路の動作を説明する説明図である。
FIG. 3 is an explanatory diagram illustrating operations of a microcomputer and a duty-voltage conversion circuit.

【図4】 補正データ作成時の駆動装置への外部装置の
接続状態を表す説明図である。
FIG. 4 is an explanatory diagram illustrating a connection state of an external device to a drive device when creating correction data.

【図5】 補正データ作成時のマイクロコンピュータの
動作を説明するフローチャートである。
FIG. 5 is a flowchart illustrating the operation of the microcomputer when creating correction data.

【図6】 従来のリニアソレノイドの駆動装置の一例を
表す構成図である。
FIG. 6 is a configuration diagram illustrating an example of a conventional linear solenoid driving device.

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

4…マイクロコンピュータ、10…増幅回路、20…Du
ty−電圧変換回路、30…誤差信号生成回路、40…駆
動信号生成回路、50…駆動回路、60…A/D変換回
路、70…EEPROM、T1,T2…テスト端子、S
W1,SW2…スイッチ、Is…定電流源、L…リニア
ソレノイド、Rs…電流検出抵抗。
4 microcomputer, 10 amplifier circuit, 20 Du
ty-voltage conversion circuit, 30 error signal generation circuit, 40 drive signal generation circuit, 50 drive circuit, 60 A / D conversion circuit, 70 EEPROM, T1, T2 test terminals, S
W1, SW2: switch, Is: constant current source, L: linear solenoid, Rs: current detection resistor.

フロントページの続き (51)Int.Cl.6 識別記号 FI // H01F 7/18 H01F 7/18 S Continued on the front page (51) Int.Cl. 6 Identification symbol FI // H01F 7/18 H01F 7/18 S

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 誘導性負荷に流す目標電流を表す指令信
号を出力するマイクロコンピュータと、 該マイクロコンピュータからの指令信号を指令電圧に変
換する指令電圧生成手段と、 前記誘導性負荷に流れる実電流を検出し、該実電流に対
応した検出電圧を発生する電流検出手段と、 該電流検出手段からの検出電圧と前記指令電圧生成手段
からの指令電圧との差を積分して誤差信号を生成する誤
差信号生成手段と、 該誤差信号生成手段にて生成された誤差信号に墓づき、
前記誘導性負荷に流れる電流が前記目標電流となるよう
に前記誘導性負荷を通電制御する通電制御手段と、 を備えた誘導性負荷の駆動装置において、 前記指令電圧生成手段,電流検出手段及び誤差信号生成
手段の回路誤差に起因した制御誤差を前記指令信号の補
正によって低減するための補正データが予め格納された
補正データ記憶手段を備え、 更に、前記マイクロコンピュータは、前記目標電流に対
応した指令信号を、前記補正データ記憶手段に記憶され
た補正データに基づき補正し、該補正後の指令信号を前
記指令電圧生成手段に出力することを特徴とする誘導性
負荷の駆動装置。
A microcomputer for outputting a command signal representing a target current flowing to the inductive load; a command voltage generating means for converting a command signal from the microcomputer into a command voltage; and an actual current flowing to the inductive load. Current detection means for generating a detection voltage corresponding to the actual current, and an error signal generated by integrating a difference between a detection voltage from the current detection means and a command voltage from the command voltage generation means. Error signal generating means; and an error signal generated by the error signal generating means.
And a conduction control means for controlling conduction of the inductive load so that a current flowing through the inductive load becomes the target current. A driving apparatus for an inductive load, comprising: The microcomputer further includes a correction data storage unit in which correction data for reducing a control error caused by a circuit error of the signal generation unit by correcting the command signal is stored in advance, and the microcomputer further includes a command corresponding to the target current. A driving apparatus for an inductive load, wherein a signal is corrected based on correction data stored in the correction data storage means, and a corrected command signal is output to the command voltage generation means.
【請求項2】 前記指令電圧生成手段及び前記誤差信号
生成手段からの出力電圧をA/D変換して前記マイクロ
コンピュータに入力するA/D変換手段を備え、 前記マイクロコンピュータは、前記電流検出手段に基準
電流を与えたことを表す補正データ作成指令を受ける
と、該基準電流に対応した指令信号を前記指令電圧生成
手段に出力し、前記A/D変換手段を介して前記指令電
圧生成変換手段及び前記誤差信号生成手段からの出力電
圧を取り込み、該取り込んだ各電圧に基づき前記補正デ
ータを求めて、前記記憶手段に格納することを特徴とす
る請求項1記載の誘導性負荷の駆動装置。
2. An A / D conversion means for A / D converting an output voltage from the command voltage generation means and the error signal generation means and inputting the converted voltage to the microcomputer, wherein the microcomputer has the current detection means Receives a correction data creation command indicating that a reference current has been given to the reference voltage generator, outputs a command signal corresponding to the reference current to the command voltage generator, and outputs the command voltage generation and converter via the A / D converter. 2. The inductive load driving device according to claim 1, wherein an output voltage from the error signal generating means is fetched, the correction data is obtained based on the fetched voltages, and the correction data is stored in the storage means.
【請求項3】 前記マイクロコンピュータは、前記補正
データを作成する際には、前記A/D変換手段を介して
取り込んだ前記指令電圧生成手段及び前記誤差信号生成
手段からの出力電圧の差が予め設定された所定電圧以下
となるように、前記指令電圧生成手段に出力している指
令信号を変化させて、前記指令電圧生成手段及び前記誤
差信号生成手段からの出力電圧の差が予め設定された所
定電圧以下となる領域での指令信号を求め、該指令信号
と前記基準電流とから前記補正データを作成することを
特徴とする請求項2記載の誘導性負荷の駆動装置。
3. When the microcomputer creates the correction data, a difference between an output voltage from the command voltage generation unit and an output voltage from the error signal generation unit, which is taken in through the A / D conversion unit, is set in advance. By changing the command signal output to the command voltage generating means so as to be equal to or less than the set predetermined voltage, a difference between output voltages from the command voltage generating means and the error signal generating means is set in advance. 3. The inductive load driving device according to claim 2, wherein a command signal in a region where the voltage is equal to or lower than a predetermined voltage is obtained, and the correction data is created from the command signal and the reference current.
JP12616598A 1998-05-08 1998-05-08 Driving device for inductive load Pending JPH11327602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12616598A JPH11327602A (en) 1998-05-08 1998-05-08 Driving device for inductive load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12616598A JPH11327602A (en) 1998-05-08 1998-05-08 Driving device for inductive load

Publications (1)

Publication Number Publication Date
JPH11327602A true JPH11327602A (en) 1999-11-26

Family

ID=14928299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12616598A Pending JPH11327602A (en) 1998-05-08 1998-05-08 Driving device for inductive load

Country Status (1)

Country Link
JP (1) JPH11327602A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020009695A (en) * 2000-07-26 2002-02-02 밍 루 Apparatus for measuring an electric current of a solenoid
JP2008516151A (en) * 2004-10-12 2008-05-15 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method of operating a fuel injection device in an automobile
JP2013258406A (en) * 2013-06-26 2013-12-26 Fuji Electric Co Ltd Device for controlling drive of inductive load, and method for controlling drive of inductive load
JP2015103544A (en) * 2013-11-21 2015-06-04 トヨタ自動車株式会社 Storage device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020009695A (en) * 2000-07-26 2002-02-02 밍 루 Apparatus for measuring an electric current of a solenoid
JP2008516151A (en) * 2004-10-12 2008-05-15 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method of operating a fuel injection device in an automobile
JP4773450B2 (en) * 2004-10-12 2011-09-14 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method of operating a fuel injection device in an automobile
JP2013258406A (en) * 2013-06-26 2013-12-26 Fuji Electric Co Ltd Device for controlling drive of inductive load, and method for controlling drive of inductive load
JP2015103544A (en) * 2013-11-21 2015-06-04 トヨタ自動車株式会社 Storage device

Similar Documents

Publication Publication Date Title
JP2854538B2 (en) Control device for linear solenoid valve
JP4158285B2 (en) Electric load drive
US8421441B2 (en) Current-controlled semiconductor device and control unit using the same
US7656142B2 (en) Switching regulator with variable slope compensation
EP1014247A2 (en) Hydraulic control apparatus and control method for automobile
US5094333A (en) Current control device for an automotive electromagnetic clutch
JPH11327602A (en) Driving device for inductive load
US5179496A (en) Excitation current device for automotive electromagnetic clutch
US10056832B2 (en) Load driving control apparatus
US20160336866A1 (en) Method of controlling power conversion apparatus, and power conversion apparatus
JP2002262549A (en) Power control device for inductive load
JP3021911B2 (en) Drive unit for linear solenoid
JP6485375B2 (en) Current correction circuit
EP0689986B1 (en) Control device of power steering motor capable of preventing motor-current-induced vibration and noise
US5379217A (en) Vehicle electromagnetic clutch control device
US6445168B2 (en) Power output circuit having a pulse-width modulation mode and a permanently closed mode
JP4075257B2 (en) Inductive load drive
US20040150265A1 (en) Power supply device
JP2005237049A (en) Field current correction controller
JP2000018081A (en) Current-controlled driving device
KR100430669B1 (en) Method for compensating power factor without sensing input voltage
JPH07225623A (en) Method and device for load control
JP3011965B2 (en) Fault diagnosis device for pulse width modulation circuit
JP2000278935A (en) Power supply device
KR100443844B1 (en) Apparatus of driving in solenoid valve

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070209

A131 Notification of reasons for refusal

Effective date: 20070220

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20070626

Free format text: JAPANESE INTERMEDIATE CODE: A02