JP2003252215A - Current value detection device - Google Patents

Current value detection device

Info

Publication number
JP2003252215A
JP2003252215A JP2002052537A JP2002052537A JP2003252215A JP 2003252215 A JP2003252215 A JP 2003252215A JP 2002052537 A JP2002052537 A JP 2002052537A JP 2002052537 A JP2002052537 A JP 2002052537A JP 2003252215 A JP2003252215 A JP 2003252215A
Authority
JP
Japan
Prior art keywords
current
control device
value
signal
peak
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.)
Granted
Application number
JP2002052537A
Other languages
Japanese (ja)
Other versions
JP3954409B2 (en
Inventor
Makoto Kimura
誠 木村
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.)
Unisia JKC Steering Systems Co Ltd
Original Assignee
Unisia JKC Steering Systems 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 Unisia JKC Steering Systems Co Ltd filed Critical Unisia JKC Steering Systems Co Ltd
Priority to JP2002052537A priority Critical patent/JP3954409B2/en
Priority to DE10308964A priority patent/DE10308964B4/en
Publication of JP2003252215A publication Critical patent/JP2003252215A/en
Application granted granted Critical
Publication of JP3954409B2 publication Critical patent/JP3954409B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/06Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current
    • H02P7/18Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power
    • H02P7/24Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices
    • H02P7/28Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices
    • H02P7/285Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only
    • H02P7/29Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using discharge tubes or semiconductor devices using semiconductor devices controlling armature supply only using pulse modulation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • B62D5/0481Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such monitoring the steering system, e.g. failures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Power Steering Mechanism (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a current value detection device capable of always supplying correct detection values to a plurality of control devices through only a peak hold circuit. <P>SOLUTION: This current value detection device comprises an assist motor 8 for generating an assist torque for supplementing a steering torque, the peak hold circuit 24 for holding, as a maximum peak value, the maximum value of a current flowing through the motor 8, and a main microcomputer 30M and a sub microcomputer 30S reading the current peak values held in the peak hold circuit 24. The main microcomputer 30M comprises a function to output the reading instruction signals for the current peak values of the peak hold circuit to the sub microcomputer 30S and a function to output the clear signals of the current peak values to the peak hold circuit 24 after a time for the sub microcomputer 30S to read the current peak values is passed after the reading instruction signals are outputted. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えばモータ駆動
電流の最高値を電流ピーク値として保持するピークホー
ルド回路を備えた電流値検出装置に係り、特に車両の操
舵系に対して操舵補助力を発生するアシストモータを有
した電動パワーステアリング装置の電流値検出装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a current value detecting device having a peak hold circuit for holding the maximum value of a motor drive current as a current peak value, and more particularly to a steering assist force for a steering system of a vehicle. The present invention relates to a current value detection device for an electric power steering device having an assist motor that is generated.

【0002】[0002]

【従来の技術】一般に電動パワーステアリング装置は例
えば図7のように構成されていた。図7において、ステ
アリングホィール1は第1のステアリングシャフト2a
およびユニバーサルジョイント3を介して第2のステア
リングシャフト2bに連結されている。
2. Description of the Related Art Generally, an electric power steering apparatus is constructed as shown in FIG. In FIG. 7, the steering wheel 1 is a first steering shaft 2a.
And is connected to the second steering shaft 2b via the universal joint 3.

【0003】この第2のステアリングシャフト2bは、
ピニオン4およびラック5を介して操向車輪のタイロッ
ド6に結合されている。第2のステアリングシャフト2
bにはステアリングホィール1の操舵トルクを検出する
トルクセンサ7が設けられ、ステアリングホィール1の
操舵力を補助するアシストモータ8が減速ギヤ9を介し
て第2のステアリングシャフト2bに結合されている。
10はセンサによりエンジン回転数、車速、操舵輪荷重
等の車両の走行状態を検出する車両状態検出装置であ
る。
The second steering shaft 2b is
It is connected to a tie rod 6 of a steering wheel via a pinion 4 and a rack 5. Second steering shaft 2
A torque sensor 7 for detecting the steering torque of the steering wheel 1 is provided at b, and an assist motor 8 for assisting the steering force of the steering wheel 1 is coupled to the second steering shaft 2b via a reduction gear 9.
Reference numeral 10 denotes a vehicle state detection device that detects a running state of the vehicle such as engine speed, vehicle speed, and steering wheel load by a sensor.

【0004】11は、車両状態検出装置10の検出出
力、トルクセンサ7の検出トルク、図示省略の電流検出
器、電圧検出器から得た検出電流、検出電圧等からモー
タ駆動電流(目標電流指令値)を求め、該目標電流指令
値に基づいてアシストモータ8に供給する電流を制御す
るコントローラであり、例えばマイクロコンピュータで
構成されている。
Reference numeral 11 denotes a motor drive current (target current command value) from the detection output of the vehicle state detection device 10, the detection torque of the torque sensor 7, the detection current obtained from a current detector (not shown), a voltage detector, detection voltage, etc. ) Is obtained and the current supplied to the assist motor 8 is controlled based on the target current command value, and is composed of, for example, a microcomputer.

【0005】12は、イグニッションキーのキースイッ
チ投入によりオンとなり、例えば誤動作時にオフとなる
リレーである。コントローラ11およびアシストモータ
8は、リレー12を介して供給されるバッテリ13の電
源によって駆動される。
Reference numeral 12 is a relay which is turned on by turning on a key switch of an ignition key and is turned off, for example, in case of a malfunction. The controller 11 and the assist motor 8 are driven by the power source of the battery 13 supplied via the relay 12.

【0006】上記のように構成された装置では、コント
ローラ11のモータ駆動制御部によってアシストモータ
8を駆動し、操舵トルクにアシストトルクを付加してス
テアリングホィール1の操作性を向上させている。
In the apparatus constructed as described above, the motor drive control section of the controller 11 drives the assist motor 8 to add the assist torque to the steering torque to improve the operability of the steering wheel 1.

【0007】上記のように構成された電動パワーステア
リング装置のモータ駆動電流を検出するには、例えば特
開平8−9681号公報に開示されているように、モー
タ駆動電流のピーク電流値を電圧換算値としてピークホ
ールド回路により検出してCPU(制御装置)に帰還し
ていた。このCPUは、フェールセーフ等の関係から例
えばメインとサブのように複数備える場合が多く、メイ
ンCPUとサブCPU夫々にピーク電流値を帰還する必
要がある。
In order to detect the motor drive current of the electric power steering apparatus constructed as described above, the peak current value of the motor drive current is converted into a voltage as disclosed in, for example, Japanese Patent Application Laid-Open No. 8-9681. The value was detected by the peak hold circuit and returned to the CPU (control device). In many cases, a plurality of CPUs, such as a main CPU and a sub CPU, are provided due to a fail-safe relationship, and it is necessary to feed back the peak current value to each of the main CPU and the sub CPU.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、ピーク
ホールド回路をメインとサブ用に複数設けた場合には、
回路が複雑化すると共にコストアップするといった問題
があった。
However, when a plurality of peak hold circuits are provided for main and sub,
There is a problem that the circuit becomes complicated and the cost increases.

【0009】一方、同じピークホールド回路からメイン
CPU、サブCPU各々にピーク電流値を帰還した場
合、例えばメインCPUからピークホールド回路へピー
ク電流値のクリア信号が出力されている期間中にサブC
PUがピークホールド回路の電流値を検出すると、サブ
CPUは正しいピーク電流値を検出することができず
(クリア後の低い電流値を検出してしまう)、フェール
セーフ制御等に誤判断を生じるといった問題があった。
On the other hand, when the peak current value is fed back from the same peak hold circuit to each of the main CPU and the sub CPU, for example, during the period in which the peak current value clear signal is output from the main CPU to the peak hold circuit, the sub C
When the PU detects the current value of the peak hold circuit, the sub CPU cannot detect the correct peak current value (it detects a low current value after clearing), resulting in an erroneous judgment in fail-safe control or the like. There was a problem.

【0010】本発明は上記の点に鑑みてなされたもので
その目的は、唯一のピークホールド回路によって、複数
の制御装置に対して常に正しい検出値を供給することが
できる電流値検出装置を提供することにある。
The present invention has been made in view of the above points, and an object thereof is to provide a current value detection device capable of always supplying correct detection values to a plurality of control devices by a single peak hold circuit. To do.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するため
の本発明の電流値検出装置は、回路に流れる電流の最高
値を電流ピーク値として保持するピークホールド回路
と、前記ピークホールド回路に保持された電流ピーク値
を読み込む第1の制御装置および第2の制御装置と、前
記第1の制御装置に設けられ、前記第2の制御装置に前
記電流ピーク値の読み込み指示信号を出力する電流読み
込み指示手段と、前記第1の制御装置に設けられ、前記
電流読み込み指示手段によって電流読み込み指示信号が
出力された後、前記第2の制御回路の電流ピーク値の読
み込みに必要な時間経過後、前記電流ピーク値のクリア
信号を前記ピークホールド回路に出力するクリア信号出
力手段とを備えたことを特徴としている。
A current value detecting device of the present invention for solving the above problems is a peak hold circuit for holding the maximum value of the current flowing through the circuit as a current peak value, and a peak hold circuit for holding the peak hold circuit. A first control device and a second control device for reading the read current peak value, and a current reading provided in the first control device for outputting the current peak value reading instruction signal to the second control device. The instruction means and the first control device are provided, and after the current reading instruction signal is output by the current reading instruction means, after a time required for reading the current peak value of the second control circuit elapses, A clear signal output means for outputting a clear signal of the current peak value to the peak hold circuit is provided.

【0012】また前記電流読み込み指示手段は、前記第
1の制御装置の電流ピーク値の読み込みと同時に前記第
2の制御装置へ前記読み込み指示信号を出力することを
特徴としている。
The current read instruction means outputs the read instruction signal to the second control device at the same time when the current peak value of the first control device is read.

【0013】また、回路に流れる電流の最高値を電流ピ
ーク値として保持するピークホールド回路と、前記ピー
クホールド回路に保持された電流ピーク値を読み込む第
1の制御装置および第2の制御装置と、前記第1の制御
装置に設けられ、前記電流ピーク値のクリア信号を前記
ピークホールド回路に出力するクリア信号出力手段と、
前記第2の制御装置に設けられ、前記クリア信号出力手
段によってクリア信号が出力されているときに前記第2
の制御装置が電流値の読み込みを行った場合、所定時間
経過後再度電流値の読み込みを行わせるリセット手段と
を備えたことを特徴としている。
Further, a peak hold circuit for holding the maximum value of the current flowing through the circuit as a current peak value, a first controller and a second controller for reading the current peak value held in the peak hold circuit, Clear signal output means provided in the first control device for outputting a clear signal of the current peak value to the peak hold circuit;
The second control device is provided in the second control device, and the second signal is output when the clear signal is output by the clear signal output means.
When the control device of (1) reads the current value, the control device is provided with a reset means for reading the current value again after a lapse of a predetermined time.

【0014】また、操舵トルクを補助するアシストトル
クを発生させるアシストモータを有し、前記ピークホー
ルド回路は前記アシストモータの駆動電流の最高値を電
流ピーク値として保持し、前記第1の制御装置はメイン
マイクロコンピュータで構成され、前記第2の制御装置
はサブマイクロコンピュータで構成されていることを特
徴としている。
Further, an assist motor for generating an assist torque for assisting the steering torque is provided, and the peak hold circuit holds the maximum value of the drive current of the assist motor as a current peak value. It is characterized in that it is composed of a main microcomputer, and the second control device is composed of a sub-microcomputer.

【0015】[0015]

【発明の実施の形態】以下図面を参照しながら本発明の
一実施形態例を説明する。図1は、本発明を前記図7の
電動パワーステアリング装置に適用した実施形態例を示
している。図1において図7と同一部分は同一符号をも
って示している。
DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment in which the present invention is applied to the electric power steering apparatus of FIG. 1, the same parts as those in FIG. 7 are indicated by the same reference numerals.

【0016】図1において、バッテリ13の正極側はリ
レー回路12aおよび電流検出用抵抗21を介して、F
ET(電界効果トランジスタ)H1,H2,L1,L2
をブリッジ接続して成るブリッジ回路22に接続されて
いる。
In FIG. 1, the positive side of the battery 13 is connected to the F circuit via the relay circuit 12a and the current detecting resistor 21.
ET (Field Effect Transistor) H1, H2, L1, L2
Is connected to a bridge circuit 22 formed by bridge connection.

【0017】FETH1およびL1の共通接続点P1
FETH2およびL2の共通接続点P2との間には、ア
シストモータ8が接続されている。FETL1およびL
2の共通接続点は接地されている(バッテリ13の負極
側に接続されている)。
An assist motor 8 is connected between the common connection point P 1 of the FETs H1 and L1 and the common connection point P 2 of the FETs H2 and L2. FET L1 and L
The common connection point of 2 is grounded (connected to the negative electrode side of the battery 13).

【0018】23a,23bはアシストモータ8の両端
子電圧(共通接続点P1,P2の電圧)を検出する電圧モ
ニタ回路である。
Reference numerals 23a and 23b denote voltage monitor circuits for detecting the voltage at both terminals of the assist motor 8 (the voltage at the common connection points P 1 and P 2 ).

【0019】24は、前記電流検出用抵抗21およびオ
ペアンプ25によって電圧換算したモータ駆動電流の最
高値を電流ピーク値として保持するピークホールド回路
である。
Reference numeral 24 is a peak hold circuit for holding the maximum value of the motor drive current converted into a voltage by the current detecting resistor 21 and the operational amplifier 25 as a current peak value.

【0020】30Mは、前記ピークホールド回路24の
出力や、トルクセンサ7のトルク検出信号等からモータ
駆動電流(目標電流指令値)を演算し、該目標電流指令
値に基づいてアシストモータ8に供給する電流を制御す
るメインマイクロコンピュータ(第1の制御装置)であ
る。
30 M calculates the motor drive current (target current command value) from the output of the peak hold circuit 24, the torque detection signal of the torque sensor 7, etc., and the assist motor 8 is operated based on the target current command value. It is a main microcomputer (first control device) that controls the supplied current.

【0021】このメインマイクロコンピュータ30
Mは、サブマイクロコンピュータ30S(第2の制御装
置)に、前記ピークホールド回路24の電流ピーク値の
読み込み指示信号(電流信号A/D変換同期信号)を出
力する機能や、前記読み込み指示信号が出力された後、
サブマイクロコンピュータ30Sが電流ピーク値を読み
込むのに必要な時間経過した後に、前記電流ピーク値の
クリア信号(電流信号ピークホールドクリア信号)をピ
ークホールド回路24に出力する機能等を有している。
This main microcomputer 30
M is a function of outputting a reading instruction signal (current signal A / D conversion synchronization signal) of the current peak value of the peak hold circuit 24 to the sub-microcomputer 30 S (second control device), and the reading instruction signal. After is output,
The sub-microcomputer 30 S has a function of outputting the current peak value clear signal (current signal peak hold clear signal) to the peak hold circuit 24 after the time required for reading the current peak value has elapsed. .

【0022】サブマイクロコンピュータ30Sは、例え
ば図7の車両状態検出装置10から検出した車両の走行
状態に基づいて装置の異常を判断する機能や、メインマ
イクロコンピュータ30Mから前記電流ピーク値のクリ
ア信号(電流信号ピークホールドクリア信号)が出力さ
れているときに、サブマイクロコンピュータ30Sが電
流値の読み込みを行った場合に、所定時間経過後再度電
流値の読み込みを行わせるリセット機能等を備えてい
る。
The sub-microcomputer 30 S has a function of judging an abnormality of the device based on, for example, the running state of the vehicle detected by the vehicle state detecting device 10 of FIG. 7, and a clearing of the current peak value from the main microcomputer 30 M. When a signal (current signal peak hold clear signal) is being output, if the sub-microcomputer 30 S reads the current value, it has a reset function etc. to read the current value again after a lapse of a predetermined time. ing.

【0023】26はメインマイクロコンピュータ30M
およびサブマイクロコンピュータ30Sからアンドゲー
ト27aを介して導入される制御信号に基づいて、リレ
ー回路12aのコイルを励磁してその接点をオンした
り、該コイルを非励磁としてその接点をオフするリレー
駆動回路である。
26 is a main microcomputer 30 M
And on the sub-microcomputer 30 S to the control signal introduced via the AND gate 27a, a relay to turn off the contact point and the contact point or on, the coil as a non-energized by energizing the coil of the relay circuit 12a It is a drive circuit.

【0024】メインマイクロコンピュータ30Mおよび
サブマイクロコンピュータ30Sからは、イネーブル信
号用の制御信号がアンドゲート27bに入力され、該ア
ンドゲート27bのゲート出力(イネーブル信号)はア
ンドゲート27c,27dの各一方の入力端子に入力さ
れる。
A control signal for an enable signal is input to the AND gate 27b from the main microcomputer 30 M and the sub microcomputer 30 S , and the gate output (enable signal) of the AND gate 27b is supplied to each of the AND gates 27c and 27d. It is input to one of the input terminals.

【0025】前記アンドゲート27c,27dの各他方
の入力端子には、メインマイクロコンピュータ30M
らの目標電流指令信号が供給され、各出力端子はプリド
ライバ28a,28bに接続されている。
The target current command signal from the main microcomputer 30 M is supplied to the other input terminal of each of the AND gates 27c and 27d, and each output terminal is connected to the predrivers 28a and 28b.

【0026】前記28a,28bおよび28c,28d
はメインマイクロコンピュータ30 Mで演算された目標
電流指令値に基づいて決定されるデューティ比のパルス
幅変調(PWM)信号を、前記ブリッジ回路22のFE
TH1,H2,L1,L2の各ゲートに供給して該FE
Tをオン、オフ制御するプリドライバである。
28a, 28b and 28c, 28d
Is the main microcomputer 30 MGoal calculated by
Pulse with duty ratio determined based on current command value
The width modulation (PWM) signal is fed to the FE of the bridge circuit 22.
The FE is supplied to the gates of TH1, H2, L1 and L2.
It is a pre-driver that controls T on / off.

【0027】尚メインマイクロコンピュータ30M、サ
ブマイクロコンピュータ30Sとその周辺回路との信号
の授受は図示省略のインターフェースを介して行われる
ものである。
Signals are exchanged between the main microcomputer 30 M , the sub microcomputer 30 S and its peripheral circuits via an interface (not shown).

【0028】上記のように構成された装置において、通
常運転時は、メインマイクロコンピュータ30Mおよび
サブマイクロコンピュータ30Sからアンドゲート27
aに例えばハイレベル信号が供給されており、リレー駆
動回路26から出力されるリレー駆動信号によってリレ
ー回路12aのコイルが励磁状態にされ、その接点がオ
ンとなり、バッテリ13からブリッジ回路22へ電源が
供給されている。
In the apparatus configured as described above, during normal operation, the main microcomputer 30 M and the sub microcomputer 30 S move to the AND gate 27.
For example, a high level signal is supplied to a, the coil of the relay circuit 12a is excited by the relay drive signal output from the relay drive circuit 26, the contact is turned on, and the battery 13 supplies power to the bridge circuit 22. Is being supplied.

【0029】またメインマイクロコンピュータ30M
よびサブマイクロコンピュータ30Sからアンドゲート
27bには、ともにハイレベル信号が供給され、該アン
ドゲート27bの出力信号(ハイレベルのイネーブル信
号)によってアンドゲート27c,27dの各一方の入
力ゲートにはハイレベル信号が入力されている。
A high level signal is supplied from the main microcomputer 30 M and the sub microcomputer 30 S to the AND gate 27b, and the AND gates 27c and 27d are output by the output signal (high level enable signal) of the AND gate 27b. A high level signal is input to one of the input gates.

【0030】ブリッジ回路22は、例えば上下段同時P
WM駆動方式の場合は、右回転であれば一方の対を成す
FETH1,L2がプリドライバ28a,28dによっ
てパルス幅変調制御され、左回転であれば他方の対を成
すFETH2,L1がプリドライバ28b,28cによ
ってパルス幅変調制御される。
The bridge circuit 22 includes, for example, upper and lower simultaneous P circuits.
In the case of the WM drive system, the FETs H1 and L2 forming one pair are subjected to pulse width modulation control by the predrivers 28a and 28d in the case of the right rotation, and the FETH2 and L1 forming the other pair are in the predriver 28b in the case of the left rotation. , 28c perform pulse width modulation control.

【0031】また、上段(又は下段)FETをPWM駆
動し、下段(又は上段)FETを常時オン駆動する方式
の場合は、右回転時であれば、上段FETH1をパルス
幅変調制御し、下段FETL2を常時オン制御し、また
左回転時であれば、上段FETH2をパルス幅変調制御
し、下段FETL1を常時オン制御するものである。
Further, in the case of the method in which the upper (or lower) FET is PWM-driven and the lower (or upper) FET is always on-driven, the pulse width modulation control of the upper FET H1 is performed and the lower FET L2 is performed during right rotation. Is always on-controlled, and in the case of left rotation, the upper FET H2 is subjected to pulse width modulation control and the lower FET L1 is always on.

【0032】このためバッテリ13からリレー回路12
aおよび電流検出用抵抗21を介してブリッジ回路22
に供給される電流は、FETH1(又はH2)→アシス
トモータ8→FETL2(又はL1)→接地なる経路で
流れ、アシストモータ8は右回転(又は左回転)する。
これによって、ステアリングホィール1により操舵操作
されている方向へ回転して、操舵力を補助する。
Therefore, from the battery 13 to the relay circuit 12
bridge circuit 22 via a and the current detection resistor 21.
The current supplied to the FET flows through the path of FET H1 (or H2) → assist motor 8 → FET L2 (or L1) → ground, and the assist motor 8 rotates to the right (or to the left).
As a result, the steering wheel 1 rotates in the direction in which the steering operation is performed, and assists the steering force.

【0033】次に本実施形態例における、電流値読み込
み処理の動作を、図2〜図5とともに述べる。図2はメ
インマイクロコンピュータ30Mの電流値読み込みフロ
ーチャートを示し、図3はサブマイクロコンピュータ3
Sの電流値読み込みフローチャートを示し、図4はメ
インマイクロコンピュータ30Mが出力する各種制御信
号のタイムチャートを示し、図5はブリッジ回路22の
FET駆動信号、モータ電流および各種制御信号のタイ
ムチャートを示している。
Next, the operation of the current value reading process in this embodiment will be described with reference to FIGS. 2 shows a flow chart for reading the current value of the main microcomputer 30 M , and FIG. 3 shows the sub-microcomputer 3
FIG. 4 shows a flow chart for reading a current value of 0 S , FIG. 4 shows a time chart of various control signals output from the main microcomputer 30 M , and FIG. 5 shows a time chart of FET drive signals, motor current and various control signals of the bridge circuit 22. Is shown.

【0034】メインマイクロコンピュータ30Mにおい
ては、まず図2のステップS1、S2のように、イグニッ
ションキースイッチがオンされているときにメモリ内の
データ等を初期化し、次にトーションバートルク(トル
クセンサ7の出力)の読み込み(ステップS3)、アシ
ストトルクの算出(ステップS4)、モータ目標電流の
算出(ステップS5)を行う。
In the main microcomputer 30 M , first, as in steps S 1 and S 2 in FIG. 2, the data in the memory is initialized when the ignition key switch is turned on, and then the torsion bar torque ( reading of the output) of the torque sensor 7 (step S 3), calculating the assist torque (step S 4), and calculates the target motor current (step S 5).

【0035】そしてステップS6において電流信号A/
D変換同期信号をセットし(図4および図5の時刻
1)、ステップS7においてモータ電流の読み込みを行
う。
Then, in step S 6 , the current signal A /
The D conversion synchronizing signal is set (time t 1 in FIGS. 4 and 5), and the motor current is read in step S 7 .

【0036】次にステップS8において時間T1経過し
たか否かを判定し、T1経過したらステップS9におい
て、電流信号A/D変換同期信号をクリアするととも
に、電流信号ピークホールドクリア信号をセットする
(図4の時刻t3、図5の時刻t4)。この時間T1は、
サブマイクロコンピュータ30Sの電流信号A/D変換
が終了できる時間を確保するための遅延余裕時間であ
り、図4であれば、後述するサブマイクロコンピュータ
30Sより電流信号A/D変換終了割り込みが入る時刻
2から時間T1を確保している。
Next, in step S 8 , it is determined whether or not the time T1 has elapsed, and when T1 has elapsed, the current signal A / D conversion synchronization signal is cleared and the current signal peak hold clear signal is set in step S 9 . (time t 3 in FIG. 4, the time t 4 in FIG. 5). This time T1 is
This is a delay margin time for ensuring the time when the current signal A / D conversion of the sub-microcomputer 30 S can be completed. In the case of FIG. 4, a current signal A / D conversion end interrupt is issued from the sub-microcomputer 30 S described later. It has secured the time T1 from the time t 2 to enter.

【0037】また図5では、例えばブリッジ回路22の
FETH1をPWM制御しFETL2を連続ON制御し
た際に、PWMキャリア信号の立ち上がりエッジをA/
D変換開始タイミングとして利用している。
Further, in FIG. 5, for example, when the FET H1 of the bridge circuit 22 is PWM-controlled and the FET L2 is continuously ON-controlled, the rising edge of the PWM carrier signal is A /
It is used as the D conversion start timing.

【0038】すなわち、電流信号A/D変換同期信号が
出力された時刻t1に割り込み許可フラグを立て、その
後PWMキャリア信号のエッジが立ち上がる時刻t2
らA/D変換を開始し、A/D変換終了後に割り込み許
可フラグをクリアする(時刻t3)。
That is, an interrupt enable flag is set at time t 1 when the current signal A / D conversion synchronizing signal is output, and then A / D conversion is started at time t 2 when the edge of the PWM carrier signal rises, and A / D conversion is started. to clear the interrupt enable flag after the end of conversion (time t 3).

【0039】図5のように、PWMキャリア信号の立ち
上がりエッジを利用してA/D変換を行うことにより、
ノイズが無く安定した電流信号が得られる。
As shown in FIG. 5, by performing A / D conversion using the rising edge of the PWM carrier signal,
A stable current signal can be obtained without noise.

【0040】次にメインマイクロコンピュータ30M
モータ電圧を算出し(ステップS10)、モータ電圧を出
力(PWM出力)する(ステップS11)。
Next, the main microcomputer 30 M calculates the motor voltage (step S 10 ) and outputs the motor voltage (PWM output) (step S 11 ).

【0041】次にステップS12において時間T2経過し
たか否かを判定し、経過したらステップS13において電
流信号ピークホールドクリア信号をクリアする(図4の
時刻t4、図5の時刻t5)。
Next, in step S 12 , it is determined whether or not the time T2 has elapsed, and when it has elapsed, the current signal peak hold clear signal is cleared in step S 13 (time t 4 in FIG. 4 , time t 5 in FIG. 5 ). .

【0042】その後は、異常判断を行って(ステップS
14、S15)、異常が有る場合はステップS16〜S19にお
いて装置の異常停止処理を行う。すなわち、メインマイ
クロコンピュータ30Mからアンドゲート27bへの制
御信号をローレベルに反転させてアンドゲート27bの
出力をローレベルとし(イネーブル信号OFF出力)、
これによってブリッジ回路22のFETH1(又はH
2)のPWM制御をオフとし、その後規定時間経過した
らメインマイクロコンピュータ30Mからアンドゲート
27aへの制御信号をローレベルに反転させてリレー駆
動回路26の駆動をオフ(リレー回路12aをオフ)と
し、その後イグニッションキースイッチのオフを確認し
て処理を終了する。
After that, an abnormality judgment is made (step S
14 , S 15 ), and if there is an abnormality, the apparatus abnormal stop processing is performed in steps S 16 to S 19 . That is, the control signal from the main microcomputer 30 M to the AND gate 27b is inverted to the low level and the output of the AND gate 27b is set to the low level (enable signal OFF output),
As a result, the FET H1 (or H of the bridge circuit 22 is
The PWM control of 2) is turned off, and after a lapse of a specified time, the control signal from the main microcomputer 30 M to the AND gate 27a is inverted to low level to turn off the drive of the relay drive circuit 26 (turn off the relay circuit 12a). Then, after confirming that the ignition key switch is off, the processing ends.

【0043】また前記ステップS15の判定結果がYES
(異常無し)であれば、ステップS 20においてイグニッ
ションキースイッチがオフされたか否かを判定する。そ
してイグニッションキースイッチがオンしている場合は
前記ステップS3〜S15の処理を繰り返し実行し、オフ
された場合は処理を終了する。
Further, the step S15Is YES
If there is no abnormality, step S 20At the ignition
It is determined whether the operation key switch is turned off. So
And if the ignition key switch is on
Step S3~ S15Is repeatedly executed and turned off
If so, the process ends.

【0044】尚、前記時間T1,T2の設定は、図4に
示すように例えばコンペアマッチレジスタA、Bを用い
る。
To set the times T1 and T2, for example, compare match registers A and B are used as shown in FIG.

【0045】またサブマイクロコンピュータ30Sにお
いては、まず図3(a)のステップS31、S32におい
て、イグニッションキースイッチがオンされているとき
にメモリ内のデータ等を初期化した後、ステップS33
おいて各種アナログ信号のA/D変換を実行する。
In the sub-microcomputer 30 S , first, in steps S 31 and S 32 of FIG. 3A, the data in the memory is initialized when the ignition key switch is turned on, and then the step S At 33 , A / D conversion of various analog signals is executed.

【0046】すなわちトルクセンサ7からのトーション
バートルク、電圧モニタ回路23a,23bからのモー
タ電圧(+)、(−)を順次繰り返し取り込んでA/D
変換する。
That is, the torsion bar torque from the torque sensor 7 and the motor voltages (+) and (-) from the voltage monitor circuits 23a and 23b are sequentially and repeatedly taken in to A / D.
Convert.

【0047】ここで、本実施形態例では、トーションバ
ートルクをA/D変換しているときはA/D変換カウン
タを1と定義し、モータ電圧(+)をA/D変換してい
るときはA/D変換カウンタを2と定義し、モータ電圧
(−)をA/D変換しているときはA/D変換カウンタ
を3と定義している。
In this embodiment, the A / D conversion counter is defined as 1 when the torsion bar torque is A / D converted, and the motor voltage (+) is A / D converted. Defines the A / D conversion counter as 2, and defines the A / D conversion counter as 3 when the motor voltage (−) is A / D converted.

【0048】尚、電流信号については、後述する図3
(b)のように電流信号A/D変換同期信号立ち上がり
エッジ(図4、図5の時刻t1)により、別のタイミン
グでA/D変換している。
The current signal will be described later with reference to FIG.
As shown in (b), A / D conversion is performed at another timing by the rising edge of the current signal A / D conversion synchronizing signal (time t 1 in FIGS. 4 and 5).

【0049】次にサブマイクロコンピュータ30Sは、
ステップS34、S35において異常判断を行い、異常が有
る場合はステップS36〜S39において装置の異常停止処
理を行う。すなわち、サブマイクロコンピュータ30S
からアンドゲート27bへの制御信号をローレベルに反
転させてアンドゲート27bの出力をローレベルとし
(イネーブル信号OFF出力)、これによってブリッジ
回路22のFETH1(又はH2)のPWM制御をオフ
とし、その後規定時間経過したらサブマイクロコンピュ
ータ30Sからアンドゲート27aへの制御信号をロー
レベルに反転させてリレー駆動回路26の駆動をオフ
(リレー回路12aをオフ)とし、その後イグニッショ
ンキースイッチのオフを確認して処理を終了する。
Next, the sub-microcomputer 30 S
Step S 34 performs abnormality determination at, S 35, if the abnormality is present the abnormality stop processing apparatus in step S 36 to S 39. That is, the sub-microcomputer 30 S
From the AND gate 27b to a low level to set the output of the AND gate 27b to a low level (enable signal OFF output), thereby turning off the PWM control of the FET H1 (or H2) of the bridge circuit 22, and thereafter. After the stipulated time has elapsed, the control signal from the sub-microcomputer 30 S to the AND gate 27a is inverted to low level to turn off the drive of the relay drive circuit 26 (turn off the relay circuit 12a), and then confirm that the ignition key switch is off. Ends the process.

【0050】また前記ステップS35の判定結果がYES
(異常無し)であれば、ステップS 40においてイグニッ
ションキースイッチがオフされたか否かを判定する。そ
してイグニッションキースイッチがオンしている場合は
前記ステップS33〜S35の処理を繰り返し実行し、オフ
された場合は処理を終了する。
Further, the step S35Is YES
If there is no abnormality, step S 40At the ignition
It is determined whether the operation key switch is turned off. So
And if the ignition key switch is on
Step S33~ S35Is repeatedly executed and turned off
If so, the process ends.

【0051】尚、前記ステップS33におけるA/D変換
の実行は、各アナログ信号のA/D変換終了毎に割り込
みがかけられ、図3(c)に示すA/D変換終了割り込
み処理が実行されるものである。
[0051] Incidentally, the execution of the A / D conversion in step S 33, A / D conversion completion every interrupt is applied to the analog signal, A / D conversion completion interrupt processing shown in the execution Fig 3 (c) It is what is done.

【0052】また、電流信号A/D変換同期信号立ち上
がりエッジによる割り込み処理は、図3(b)に示すよ
うに、メインマイクロコンピュータ30Mからの電流信
号A/D変換同期信号のエッジが立ち上がったら、ステ
ップS51において電流信号A/D変換を開始する。
Further, the interrupt processing by the rising edge of the current signal A / D conversion synchronizing signal is performed when the edge of the current signal A / D conversion synchronizing signal from the main microcomputer 30 M rises, as shown in FIG. 3B. , In step S 51 , current signal A / D conversion is started.

【0053】そして電流信号A/D変換フラグをセット
し(ステップS52)、A/D変換終了割り込み許可を発
し(ステップS53)、1サイクルの処理を終了する。
Then, the current signal A / D conversion flag is set (step S 52 ), A / D conversion end interrupt permission is issued (step S 53 ), and one cycle of processing is ended.

【0054】上記のようにA/D変換終了時(図3
(a)のステップS33、図3(b)のステップS53)に
割り込みがかけられると、図3(c)の処理が実行され
る。
As described above, at the end of A / D conversion (see FIG.
Step S 33 of (a), an interrupt is applied to the step S 53) of FIG. 3 (b), the processing shown in FIG. 3 (c) is performed.

【0055】まずステップS61においてA/D変換終了
割り込みを禁止し(割り込み直後に再度割り込みが入る
ことを防いでいる)、ステップS62において電流信号A
/D変換フラグがセットされているか否かを判定する。
First, in step S 61 , the A / D conversion end interrupt is prohibited (to prevent another interrupt from being input immediately after the interrupt), and in step S 62 the current signal A
It is determined whether the / D conversion flag is set.

【0056】そしてその判定結果がNOである場合は図
3(a)のステップS33の処理による割り込みであると
断定し、ステップS63においてA/D変換カウンタが1
であるか否かを判定する。
[0056] Then asserts the determination result is as if a NO is an interrupt by the processing of step S 33 in FIG. 3 (a), the A / D conversion counter in step S 63 1
Or not.

【0057】その判定結果がYESであれば、ステップ
64においてトルク信号のA/D変換値を取り込み、次
にステップS65においてA/D変換カウンタをインクリ
メントする。
If the determination result is YES, the A / D conversion value of the torque signal is fetched in step S 64 , and then the A / D conversion counter is incremented in step S 65 .

【0058】また、前記ステップS63の判定結果がNO
の場合はステップS69においてA/D変換カウンタが2
であるか否かを判定し、2であるときはステップS70
おいてモータ電圧(+)A/D値を取り込んだ後ステッ
プS65へ進む。
Further, the determination result of the step S 63 is NO.
If it is, the A / D conversion counter is set to 2 in step S 69 .
If it is 2, the motor voltage (+) A / D value is fetched in step S 70 and then the process proceeds to step S 65 .

【0059】また、前記ステップS69の判定結果がNO
の場合はステップS71においてA/D変換カウンタが3
であるか否かを判定し、3であるときはステップS72
おいてモータ電圧(−)A/D値を取り込んだ後ステッ
プS65へ進む。
Further, the determination result of the step S 69 is NO.
In the case of, the A / D conversion counter is set to 3 in step S 71 .
If it is 3, the motor voltage (-) A / D value is taken in at step S 72 and then the process proceeds to step S 65 .

【0060】また前記ステップS71の判定結果がNOの
場合(A/D変換カウンタが0である場合)はステップ
65へ進む。
If the decision result in the step S 71 is NO (when the A / D conversion counter is 0), the process advances to the step S 65 .

【0061】そして次にステップS66においてA/D変
換カウンタが4以上であるか否かを判定し、4以上では
ない場合はステップS68においてA/D変換カウンタに
合ったA/D変換を行って、1サイクルの処理を終了す
る。
Then, in step S 66 , it is determined whether the A / D conversion counter is 4 or more. If it is not 4 or more, the A / D conversion suitable for the A / D conversion counter is performed in step S 68 . Then, the process for one cycle is completed.

【0062】またA/D変換カウンタが4以上である場
合はステップS67においてA/D変換カウンタを0にし
た後ステップS68へ進む。
[0062] In the case A / D conversion counter is 4 or more processing proceeds to step S 68 after the 0 A / D conversion counter in step S 67.

【0063】また前記ステップS62において電流信号A
/D変換フラグがセットされていると判定された場合
は、ステップS73においてモータ電流A/D値を取り込
み、次にステップS74において電流信号A/D変換フラ
グをクリアした後ステップS68へ進む。
In step S 62 , the current signal A
/ If D conversion flag is determined to be set, captures the motor current A / D value in step S 73, then in step S 74 to step S 68 after clearing the current signal A / D conversion flag move on.

【0064】このようにサブマイクロコンピュータ30
S側では、通常、フェールセーフ等の処理を実行してい
るが、電流信号A/D変換およびそのA/D変換値の取
り込みのために割り込みをかけ、そのA/D変換値取り
込み後は割り込みがかかる直前にA/D変換していたア
ナログ信号をA/D変換することができる。
As described above, the sub-microcomputer 30
On the S side, normally, processing such as fail safe is executed, but an interrupt is issued to capture the current signal A / D conversion and its A / D converted value, and interrupt after the A / D converted value is captured. It is possible to A / D-convert the analog signal that has been A / D-converted immediately before.

【0065】すなわち、例えばA/D変換カウンタが1
であるとき(トルク信号のA/D変換中)に電流信号A
/D変換の割り込みがかかると、ステップS62、S73
74によりモータ電流A/D値を取り込んだ後、ステッ
プS68によってA/D変換カウンタ1のA/D変換を行
うことができる。
That is, for example, the A / D conversion counter is 1
Current signal A during the A / D conversion of the torque signal
When the / D conversion interrupt occurs, steps S62 , S73 ,
After capturing the motor current A / D value by S 74, it is possible to perform the A / D converter A / D conversion counter 1 in step S 68.

【0066】また電流信号A/D変換の割り込みがない
ときは、ステップS62〜S72によってトルク信号、モー
タ電圧(+)、モータ電圧(−)の各A/D変換を順次
行うことができる。
[0066] Also, when there is no interruption of the current signal A / D converter, a torque signal in step S 62 to S 72, the motor voltage (+), motor voltage (-) can be sequentially performed each A / D conversion of .

【0067】上記のように本実施形態例によれば、サブ
マイクロコンピュータ30Sが電流値を読み込むときに
はクリア信号は出力されないので、サブマイクロコンピ
ュータ30Sは常に正しい電流ピーク値を読み込むこと
ができる。
As described above, according to the present embodiment, since the clear signal is not output when the sub-microcomputer 30 S reads the current value, the sub-microcomputer 30 S can always read the correct current peak value.

【0068】また図4に示すように、メインマイクロコ
ンピュータ30Mの電流ピーク値読み込みと同時にサブ
マイクロコンピュータ30Sへ読み込み指示信号を出力
することにより、サブマイクロコンピュータ30Sが電
流ピーク値を読み込むことが可能な時間を長くすること
ができる。
[0068] Further, as shown in FIG. 4, by outputting the main microcomputer 30 M sub microcomputer 30 reading instruction signal to S at the same time as the current peak value read in, the sub microcomputer 30 S reads the current peak value Can increase the time available.

【0069】次に、前記電流信号ピークホールドクリア
信号が出力されているときにサブマイクロコンピュータ
30Sが電流値の読み込みを行った場合に、所定時間経
過後再度電流値の読み込みを行わせるようにした(リセ
ット手段)実施形態例を図6のフローチャートとともに
説明する。
Next, when the sub-microcomputer 30 S reads the current value while the current signal peak hold clear signal is being output, the current value is read again after a lapse of a predetermined time. An example of the (reset means) will be described with reference to the flowchart of FIG.

【0070】まず電流信号A/D変換同期信号立ち上が
りエッジによる割り込みは、図6(b)のステップS
101のように、電流信号A/D変換同期信号エッジ検出
フラグをセットすることで行われる。
First, the interruption due to the rising edge of the current signal A / D conversion synchronizing signal is performed in step S of FIG. 6B.
As in 101 , this is done by setting the current signal A / D conversion synchronization signal edge detection flag.

【0071】そして図6(a)のステップS81,S82
おいて、イグニッションキースイッチがオンされている
ときに、メモリ内のデータ等を初期化し、次にステップ
83において電流信号A/D変換同期信号がクリアされ
ているか否かを判定する。
Then, in steps S 81 and S 82 of FIG. 6A, when the ignition key switch is turned on, the data in the memory is initialized, and then in step S 83 the current signal A / D conversion is performed. It is determined whether or not the sync signal is cleared.

【0072】そして電流信号A/D変換同期信号がクリ
アされている場合はステップS84において電流信号A/
D変換同期信号エッジ検出フラグをクリアした後、前述
した各アナログ信号のA/D変換を行う(ステップ
85)。
If the current signal A / D conversion synchronizing signal is cleared, the current signal A / D is determined in step S 84 .
After clearing the D conversion synchronizing signal edge detection flag, the A / D conversion of each analog signal described above is performed (step S 85 ).

【0073】次にステップS86において電流信号A/D
変換同期信号エッジ検出フラグがセットされたか否かを
判定し、YESの場合(すなわちメインマイクロコンピ
ュータ30Mによって電流信号A/D変換同期信号がク
リアされている期間中にサブマイクロコンピュータ30
Sが電流値の読み込みを行った場合)は、ステップS8 7
において電流信号を再度A/D変換し、電流値を読み込
む。
Next, in step S 86 , the current signal A / D
It is determined whether or not the conversion sync signal edge detection flag is set, and in the case of YES (that is, while the current signal A / D conversion sync signal is cleared by the main microcomputer 30 M , the sub-microcomputer 30
If S is carried out to load the current value), Step S 8 7
At, the current signal is again A / D converted and the current value is read.

【0074】その後は異常判断を行って(ステップ
88,S89)、異常が有る場合はステップS90〜S93
おいて装置の異常停止処理を行う。すなわち、サブマイ
クロコンピュータ30Sからアンドゲート27bへの制
御信号をローレベルに反転させてアンドゲート27bの
出力をローレベルとし(イネーブル信号OFF出力)、
これによってブリッジ回路22のFETH1(又はH
2)のPWM制御をオフとし、その後規定時間経過した
らサブマイクロコンピュータ30Sからアンドゲート2
7aへの制御信号をローレベルに反転させてリレー駆動
回路26の駆動をオフ(リレー回路12aをオフ)と
し、その後イグニッションキースイッチのオフを確認し
て処理を終了する。
After that, an abnormality judgment is made (steps S 88 and S 89 ), and if there is an abnormality, an abnormal stop process of the apparatus is performed in steps S 90 to S 93 . That is, the control signal from the sub-microcomputer 30 S to the AND gate 27b is inverted to low level, and the output of the AND gate 27b is set to low level (enable signal OFF output),
As a result, the FET H1 (or H of the bridge circuit 22 is
The PWM control of 2) is turned off, and after a stipulated time has elapsed, the sub-microcomputer 30 S turns the AND gate 2
The control signal to 7a is inverted to the low level to turn off the drive of the relay drive circuit 26 (the relay circuit 12a is turned off), and then it is confirmed that the ignition key switch is off, and the process ends.

【0075】また前記ステップS89の判定結果がYES
(異常無し)であれば、ステップS 94においてイグニッ
ションキースイッチがオフされたか否かを判定する。そ
してイグニッションキースイッチがオンしている場合は
前記ステップS83〜S89の処理を繰り返し実行し、オフ
された場合は処理を終了する。
Further, the step S89Is YES
If there is no abnormality, step S 94At the ignition
It is determined whether the operation key switch is turned off. So
And if the ignition key switch is on
Step S83~ S89Is repeatedly executed and turned off
If so, the process ends.

【0076】上記のように、サブマイクロコンピュータ
30Sが実際に電流値を読み込むときには、クリア信号
は出されないので該クリア信号により電圧が下がり低い
電流値を読み込んでしまうことなく、サブマイクロコン
ピュータ30Sは常に電流ピーク値を読み込むことがで
きる。
As described above, when the sub-microcomputer 30 S actually reads the current value, since the clear signal is not output, the sub-microcomputer 30 S does not read the low current value because the voltage drops due to the clear signal. Can always read the peak current value.

【0077】尚、本実施形態例のリセット機能により電
流値を読み込んだ場合、メインマイクロコンピュータ3
Mとサブマイクロコンピュータ30Sは全く同一読み込
みタイミングとはならないが、コンピュータによる高速
同期により処理が実行されるため、ピークホールドして
いる電流信号を読み込むことができ、何ら問題はない。
When the current value is read by the reset function of this embodiment, the main microcomputer 3
0 M and the sub-microcomputer 30 S do not have exactly the same read timing, but since the processing is executed by high-speed synchronization by the computer, the peak-held current signal can be read and there is no problem.

【0078】尚、メインマイクロコンピュータ30M
実行する、読み込み指示信号(電流信号A/D変換同期
信号)出力機能および電流ピーク値のクリア信号(電流
信号ピークホールドクリア信号)出力機能と、サブマイ
クロコンピュータ30Sが実行するリセット機能等は、
図2、図3、図6のフローチャートに限らず同一の機能
を実行する他のフローチャートに沿って処理するように
構成しても良い。
The reading instruction signal (current signal A / D conversion synchronizing signal) output function and the current peak value clear signal (current signal peak hold clear signal) output function, which are executed by the main microcomputer 30 M, and the sub-microcomputer are also provided. The reset function executed by the computer 30 S is
The processing is not limited to the flowcharts of FIGS. 2, 3, and 6, and the processing may be performed according to other flowcharts that execute the same function.

【0079】また本発明は、電動パワーステアリング装
置のアシストモータに適用するに限らず、ピークホール
ド回路を有した他の装置に適用しても良く、その場合も
前記と同様の作用、効果を奏する。
Further, the present invention is not limited to being applied to the assist motor of the electric power steering device, but may be applied to other devices having a peak hold circuit, and in that case, the same operation and effect as described above can be obtained. .

【0080】[0080]

【発明の効果】(1)以上のように請求項1〜4に記載
の本発明によれば、唯一のピークホールド回路によっ
て、複数の制御装置に対して常に正しい検出値を供給す
ることができ、常に電流ピーク値を読み込むことができ
る。 (2)また請求項2に記載の本発明によれば、第2の制
御装置が電流ピーク値を読み込むことが可能な時間(第
1の制御装置の電流ピーク値読み込み開始からクリア信
号の出力開始まで)を長くとることができる。 (3)また請求項3に記載の本発明によれば、第2の制
御装置が電流値を読み込むときにはクリア信号は出力さ
れないため、第2の制御装置は常に電流ピーク値を読み
込むことができる。 (4)また請求項4に記載の本発明によれば、電動パワ
ーステアリング装置において、正しい電流ピーク値によ
る適切な電流フィードバック制御を行うことができる。
このため良好な電流フィードバック制御によって操舵フ
ィーリングが向上するとともに、フェールセーフ制御等
に誤判断が生じることはない。
As described above, according to the present invention as set forth in claims 1 to 4, a single peak hold circuit can always supply a correct detection value to a plurality of control devices. , The current peak value can always be read. (2) According to the present invention as set forth in claim 2, a time during which the second control device can read the current peak value (from the start of reading the current peak value of the first control device to the output of the clear signal) Can be taken for a long time. (3) According to the third aspect of the present invention, since the clear signal is not output when the second control device reads the current value, the second control device can always read the current peak value. (4) According to the present invention described in claim 4, in the electric power steering device, it is possible to perform appropriate current feedback control with a correct current peak value.
Therefore, the steering feeling is improved by the good current feedback control, and erroneous determination does not occur in the fail safe control or the like.

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

【図1】本発明を電動パワーステアリング装置に適用し
た実施形態例の回路図。
FIG. 1 is a circuit diagram of an embodiment in which the present invention is applied to an electric power steering device.

【図2】本発明の一実施形態例を示し、メインマイクロ
コンピュータの電流値読み込みフローチャート。
FIG. 2 is a flow chart for reading a current value of the main microcomputer according to the embodiment of the present invention.

【図3】本発明の一実施形態例を示し、サブマイクロコ
ンピュータの電流値読み込みフローチャート。
FIG. 3 is a flow chart for reading a current value of the sub-microcomputer according to the embodiment of the present invention.

【図4】本発明の一実施形態例を示し、要部動作のタイ
ムチャート。
FIG. 4 is a time chart showing the operation of the main part of the embodiment of the present invention.

【図5】本発明の他の実施形態例を示し、各種信号のタ
イムチャート。
FIG. 5 is a time chart of various signals according to another embodiment of the present invention.

【図6】本発明の他の実施形態例を示し、サブマイクロ
コンピュータの電流値読み込みフローチャート。
FIG. 6 is a flow chart for reading a current value of the sub-microcomputer according to another embodiment of the present invention.

【図7】電動パワーステアリング装置の一例を示す構成
図。
FIG. 7 is a configuration diagram showing an example of an electric power steering device.

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

1…ステアリングホィール 7…トルクセンサ 8…アシストモータ 12a…リレー回路 13…バッテリ 21…電流検出用抵抗 22…ブリッジ回路 23a,23b…電圧モニタ回路 24…ピークホールド回路 25…オペアンプ 26…リレー駆動回路 27a〜27d…アンドゲート 28a〜28d…プリドライバ 30M…メインマイクロコンピュータ 30S…サブマイクロコンピュータ H1,H2,L1,L2…FET1 ... Steering wheel 7 ... Torque sensor 8 ... Assist motor 12a ... Relay circuit 13 ... Battery 21 ... Current detecting resistor 22 ... Bridge circuits 23a, 23b ... Voltage monitor circuit 24 ... Peak hold circuit 25 ... Operational amplifier 26 ... Relay drive circuit 27a ~27D ... aND gates 28a to 28d ... predriver 30 M ... main microcomputer 30 S ... sub microcomputer H1, H2, L1, L2 ... FET

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 3D033 CA03 CA16 CA20 CA21 CA27 5H571 AA03 BB07 CC02 EE02 GG04 GG05 HA09 HB01 HC02 JJ03 JJ06 JJ16 JJ17 JJ18 KK06 LL22 LL23 MM08    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 3D033 CA03 CA16 CA20 CA21 CA27                 5H571 AA03 BB07 CC02 EE02 GG04                       GG05 HA09 HB01 HC02 JJ03                       JJ06 JJ16 JJ17 JJ18 KK06                       LL22 LL23 MM08

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 回路に流れる電流の最高値を電流ピーク
値として保持するピークホールド回路と、 前記ピークホールド回路に保持された電流ピーク値を読
み込む第1の制御装置および第2の制御装置と、 前記第1の制御装置に設けられ、前記第2の制御装置に
前記電流ピーク値の読み込み指示信号を出力する電流読
み込み指示手段と、 前記第1の制御装置に設けられ、前記電流読み込み指示
手段によって電流読み込み指示信号が出力された後、前
記第2の制御装置の電流ピーク値の読み込みに必要な時
間経過後、前記電流ピーク値のクリア信号を前記ピーク
ホールド回路に出力するクリア信号出力手段とを備えた
ことを特徴とする電流値検出装置。
1. A peak hold circuit for holding a maximum value of a current flowing through the circuit as a current peak value, a first control device and a second control device for reading the current peak value held by the peak hold circuit, A current read instruction means provided in the first control device for outputting the current peak value read instruction signal to the second control device; and a current read instruction means provided in the first control device. Clear signal output means for outputting a clear signal of the current peak value to the peak hold circuit after a time required for reading the current peak value of the second control device has elapsed after the current read instruction signal has been output. A current value detection device characterized by being provided.
【請求項2】 前記電流読み込み指示手段は、前記第1
の制御装置の電流ピーク値の読み込みと同時に前記第2
の制御装置へ前記読み込み指示信号を出力することを特
徴とする請求項1に記載の電流値検出装置。
2. The current read instruction means is the first
At the same time as reading the current peak value of the controller,
The current value detection device according to claim 1, wherein the read instruction signal is output to the control device.
【請求項3】 回路に流れる電流の最高値を電流ピーク
値として保持するピークホールド回路と、 前記ピークホールド回路に保持された電流ピーク値を読
み込む第1の制御装置および第2の制御装置と、 前記第1の制御装置に設けられ、前記電流ピーク値のク
リア信号を前記ピークホールド回路に出力するクリア信
号出力手段と、 前記第2の制御装置に設けられ、前記クリア信号出力手
段によってクリア信号が出力されているときに前記第2
の制御装置が電流値の読み込みを行った場合、所定時間
経過後再度電流値の読み込みを行わせるリセット手段と
を備えたことを特徴とする電流値検出装置。
3. A peak hold circuit for holding a maximum value of a current flowing through the circuit as a current peak value, a first control device and a second control device for reading the current peak value held by the peak hold circuit, A clear signal output means provided in the first control device for outputting a clear signal of the current peak value to the peak hold circuit; and a clear signal output means provided in the second control device for providing a clear signal by the clear signal output means. The second when the output is
A current value detecting device, comprising: a reset unit that causes the control device to read the current value again after a predetermined time has elapsed when the control device reads the current value.
【請求項4】 操舵トルクを補助するアシストトルクを
発生させるアシストモータを有し、前記ピークホールド
回路は前記アシストモータの駆動電流の最高値を電流ピ
ーク値として保持し、前記第1の制御装置はメインマイ
クロコンピュータで構成され、前記第2の制御装置はサ
ブマイクロコンピュータで構成されていることを特徴と
する請求項1又は2又は3に記載の電流値検出装置。
4. An assist motor for generating an assist torque for assisting a steering torque is provided, wherein the peak hold circuit holds a maximum value of a drive current of the assist motor as a current peak value, and the first control device comprises: The current value detection device according to claim 1, 2 or 3, wherein the current control device includes a main microcomputer, and the second control device includes a sub-microcomputer.
JP2002052537A 2002-02-28 2002-02-28 Current value detector Expired - Fee Related JP3954409B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002052537A JP3954409B2 (en) 2002-02-28 2002-02-28 Current value detector
DE10308964A DE10308964B4 (en) 2002-02-28 2003-02-28 Method for processing a peak current in a circuit arrangement provided for operating an electric motor, and circuit arrangement for operating an electric motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002052537A JP3954409B2 (en) 2002-02-28 2002-02-28 Current value detector

Publications (2)

Publication Number Publication Date
JP2003252215A true JP2003252215A (en) 2003-09-10
JP3954409B2 JP3954409B2 (en) 2007-08-08

Family

ID=28034798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002052537A Expired - Fee Related JP3954409B2 (en) 2002-02-28 2002-02-28 Current value detector

Country Status (2)

Country Link
JP (1) JP3954409B2 (en)
DE (1) DE10308964B4 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006320137A (en) * 2005-05-13 2006-11-24 Mitsutoyo Corp Motor drive control device and measuring instrument therewith
JP2011148498A (en) * 2011-05-10 2011-08-04 Nsk Ltd Control method and control device of electric power steering device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7474068B2 (en) * 2005-10-04 2009-01-06 Delphi Technologies, Inc. Position detection and external driver multiplexing system for DC motors

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5220259A (en) * 1991-10-03 1993-06-15 Graco Inc. Dc motor drive system and method
US5448154A (en) * 1992-07-03 1995-09-05 Hitachi, Ltd. Control device for battery charging AC generator used in motor vehicle
JPH089681A (en) * 1994-06-21 1996-01-12 Nec Home Electron Ltd Pwm motor drive apparatus
GB9521332D0 (en) * 1995-10-18 1995-12-20 Switched Reluctance Drives Ltd Current control circuit for a reluctance machine
JPH11147479A (en) * 1997-11-18 1999-06-02 Mitsubishi Electric Corp Electric power steering unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006320137A (en) * 2005-05-13 2006-11-24 Mitsutoyo Corp Motor drive control device and measuring instrument therewith
JP2011148498A (en) * 2011-05-10 2011-08-04 Nsk Ltd Control method and control device of electric power steering device

Also Published As

Publication number Publication date
DE10308964B4 (en) 2007-10-31
JP3954409B2 (en) 2007-08-08
DE10308964A1 (en) 2003-10-09

Similar Documents

Publication Publication Date Title
JP5223945B2 (en) Control method and control apparatus for electric power steering apparatus
JP2001078480A (en) Abnormally detecting device for motor drive device
JP2012188101A (en) Controller of electric power steering apparatus
JP5338969B2 (en) Power state diagnosis method and apparatus
JP2006331086A (en) Memory diagnostic method and electric power steering device with the function
CN107531271B (en) Electric power steering apparatus
JP2002067985A (en) Motor-driven power steering device
JP2003252215A (en) Current value detection device
JP2008307968A (en) Electric power steering device
JP2002053057A (en) Electric power steering device
JP2008037321A (en) Electric power steering control device
JP2003300473A (en) Motor-driven power steering device
JP2007283916A (en) Electric power steering control device and method
JP2013253796A (en) Resolver excitation circuit and control device of electric power steering device
JP2005261054A (en) Booster
JP4821144B2 (en) Control method and control apparatus for electric power steering apparatus
JP4957039B2 (en) Electric power steering device
KR100738468B1 (en) Motor error prevention apparatus in eps system
JP3628510B2 (en) Vehicle steering device
KR100738439B1 (en) Eps system applying power latch mode
JP2001122144A (en) Electric power steering device for vehicle
JP2010269726A (en) Electric power steering device
JP2008049779A (en) Electric power steering control device
JP2003244988A (en) Motor drive
JP2003237609A (en) Electric power steering device

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20040818

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070426

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140511

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees