JPH0835860A - Sensor controller - Google Patents

Sensor controller

Info

Publication number
JPH0835860A
JPH0835860A JP17128094A JP17128094A JPH0835860A JP H0835860 A JPH0835860 A JP H0835860A JP 17128094 A JP17128094 A JP 17128094A JP 17128094 A JP17128094 A JP 17128094A JP H0835860 A JPH0835860 A JP H0835860A
Authority
JP
Japan
Prior art keywords
sensor
control device
short
circuit
detection signal
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
JP17128094A
Other languages
Japanese (ja)
Inventor
Kazuhisa Nishino
一寿 西野
Hirohisa Anami
弘久 阿波
Shunichi Wada
俊一 和田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP17128094A priority Critical patent/JPH0835860A/en
Publication of JPH0835860A publication Critical patent/JPH0835860A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a sensor controller which can stably control an object to be controlled without giving adverse influences to A/D-converted values and can surely cope with insufficient contact of the contacting section between a sensor and controller without using expensive contacting section plated with gold, etc. CONSTITUTION:A sensor 2 which outputs detecting signals D, controller 1 which controls an object 3 to be controlled by A/D-converting the detecting signals D, signal line LD which connects the output terminal (b) of the sensor 2 to the input terminal (e) of the controller 1, power line LP, and grounding line LG are provided. The controller 1 incorporates a short-circuiting means 13 which short-circuits the input terminal (e) to either a power source or ground at prescribed timing and the means 13 destroys an oxide film which increases the contact resistance of the signal line LD by making a prescribed electric current to flow between the output terminal (b) and input terminal (e) respectively connected to both ends of the signal line LD by applying a prescribed voltage across the terminals (b) and (e) through the power line LP or grounding line LG.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、たとえば自動車のパ
ワーステアリング装置に用いられるトルクセンサ等のセ
ンサ制御装置に関し、特にコストアップを招くことなく
センサ部と制御部との間のコネクタ部の接触不良を確実
に防止または検出し、信頼性を向上させたセンサ制御装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sensor control device such as a torque sensor used in, for example, a power steering device of an automobile, and particularly to a defective contact of a connector part between the sensor part and the control part without increasing cost. The present invention relates to a sensor control device that reliably prevents or detects the above and improves reliability.

【0002】[0002]

【従来の技術】従来より、自動車等の舵取り装置におい
て、操舵トルクを電動モータで補助するパワーステアリ
ング制御装置が開発されている。この種の装置において
は、センサ手段としてトルクセンサが用いられるが、信
頼性を確保するために、種々の提案がなされている。
2. Description of the Related Art Conventionally, in steering devices for automobiles and the like, power steering control devices have been developed in which steering torque is assisted by an electric motor. In this type of device, a torque sensor is used as the sensor means, but various proposals have been made to ensure reliability.

【0003】従来のセンサ制御装置としては、たとえ
ば、特開昭64ー44378号公報等に記載された電動
パワーステアリングの保護装置があげられる。この場
合、可変抵抗器で構成されたトルクセンサは、コネクタ
を介してコントローラと接続されており、トルクセンサ
からの検出信号をコントローラ内のAD変換器に入力し
ている。
As a conventional sensor control device, for example, there is an electric power steering protection device described in JP-A-64-44378. In this case, the torque sensor composed of the variable resistor is connected to the controller via the connector, and the detection signal from the torque sensor is input to the AD converter in the controller.

【0004】また、コントローラ内には、トルクセンサ
との接触不良を検出するための調整抵抗が設けられてお
り、コネクタを介したトルクセンサとの接触不良等の異
常を迅速に検出できるようになっている。一般的に、コ
ントローラとトルクセンサ等との接続に用いられる信号
線のコネクタピンには、接触不良の発生を防止するため
に、金メッキがよく使用されている。
Further, an adjusting resistor for detecting a poor contact with the torque sensor is provided in the controller so that an abnormality such as a poor contact with the torque sensor via the connector can be quickly detected. ing. Generally, gold plating is often used for connector pins of signal lines used for connecting a controller to a torque sensor or the like in order to prevent contact failure.

【0005】なぜなら、コネクタを介した場合の接触不
良は、接続対象となる双方のコネクタピンとコネクタピ
ンとが擦りあって発生した削り屑が、コネクタピンとコ
ネクタピンとの接触面の間に貯まった後で酸化して通電
性が低下する(抵抗体になる)ために発生するので、こ
のような接触不良対策としては、通常、コネクタピンを
酸化しにくい貴金属(たとえば、金)でメッキすること
が考えられるからである。
The reason for the poor contact through the connector is that the shavings generated by rubbing between the connector pins to be connected and the connector pin are oxidized after being accumulated between the contact surfaces of the connector pins. It occurs because the electrical conductivity decreases (becomes a resistor), and as a countermeasure for such contact failure, it is usually considered that the connector pin is plated with a noble metal (for example, gold) that is difficult to oxidize. Is.

【0006】図20は従来のセンサ制御装置の一例を概
略的に示す回路構成図である。図において、1はたとえ
ば電動パワーステアリングの制御装置、2は可変抵抗器
RSで構成されたトルクセンサ、aはトルクセンサ2の
電源入力端子(以下、電源端子という)、bはトルクセ
ンサ2の出力端子、cはトルクセンサ2のグランド端
子、dは制御装置1の電源出力端子(以下、電源端子と
いう)、eは制御装置1の入力端子、fは制御装置1の
グランド端子である。
FIG. 20 is a circuit diagram schematically showing an example of a conventional sensor control device. In the figure, 1 is, for example, a control device for electric power steering, 2 is a torque sensor composed of a variable resistor RS, a is a power supply input terminal of the torque sensor 2 (hereinafter referred to as power supply terminal), and b is an output of the torque sensor 2. A terminal, c is a ground terminal of the torque sensor 2, d is a power output terminal (hereinafter, referred to as a power terminal) of the controller 1, e is an input terminal of the controller 1, and f is a ground terminal of the controller 1.

【0007】LPはトルクセンサ2の電源端子aと制御
装置1の電源端子dとの間を接続する電源線、LDはト
ルクセンサ2の出力端子bと制御装置1の入力端子eと
の間を接続する信号線、LGはトルクセンサ2のグラン
ド端子cと制御装置1のグランド端子fとの間を接続す
るグランド線である。
LP is a power supply line connecting between the power supply terminal a of the torque sensor 2 and the power supply terminal d of the control device 1, and LD is between the output terminal b of the torque sensor 2 and the input terminal e of the control device 1. A signal line, LG, which is connected, is a ground line which connects the ground terminal c of the torque sensor 2 and the ground terminal f of the control device 1.

【0008】トルクセンサ2は、電源端子aからグラン
ド端子cに流れる電流を、可変抵抗器RSの分圧電圧と
してピックアップし、ステアリング系(図示せず)に印
加される操舵トルクを示す検出信号Dを出力するように
なっている。
The torque sensor 2 picks up the current flowing from the power supply terminal a to the ground terminal c as a divided voltage of the variable resistor RS and detects a steering signal D applied to a steering system (not shown). Is output.

【0009】制御装置1は、トルクセンサ2からの検出
信号Dに応じてステアリング系に連結された電動モータ
(図示せず)を制御するため、AD変換器(図示せず)
を含みAD変換ポートTSを有するマイコン10と、検
出信号Dを波形整形するセンサ検出回路12と、センサ
電源回路およびモータ駆動回路(ともに図示せず)とを
供えている。
The control device 1 controls an electric motor (not shown) connected to the steering system according to the detection signal D from the torque sensor 2, so that an AD converter (not shown) is provided.
, A microcomputer 10 having an AD conversion port TS, a sensor detection circuit 12 for waveform-shaping the detection signal D, a sensor power supply circuit and a motor drive circuit (both not shown).

【0010】センサ検出回路12は、波形整形後の検出
信号Dをマイコン10に入力し、マイコン10は、検出
信号DをAD変換して処理するようになっている。セン
サ検出回路12は、検出信号Dが入力される信号線LD
の断線検出用の抵抗器RMと、抵抗器Rおよびコンデン
サCからなるフィルタとを有する。
The sensor detection circuit 12 inputs the detection signal D after waveform shaping to the microcomputer 10, and the microcomputer 10 AD-converts and processes the detection signal D. The sensor detection circuit 12 uses the signal line LD to which the detection signal D is input.
1 has a resistor RM for detecting disconnection and a filter including a resistor R and a capacitor C.

【0011】抵抗器RMは、信号線LDに接続された入
力端子eとグランド線LGに接続されたグランド端子f
との間に接続され、出力端子bおよび入力端子e間の信
号線LDが断線したときに、マイコン10のAD変換ポ
ートTSに入力される電圧をグランドレベルにするよう
になっている。
The resistor RM has an input terminal e connected to the signal line LD and a ground terminal f connected to the ground line LG.
When the signal line LD between the output terminal b and the input terminal e is disconnected, the voltage input to the AD conversion port TS of the microcomputer 10 is set to the ground level.

【0012】通常、トルクセンサ2の検出精度は、信号
線LDに流れる電流に反比例し、たとえば信号線LDに
流れる電流が少ないほど電圧降下が少なく、トルクセン
サ2としての検出精度は向上する。したがって、従来よ
り、図20のようなセンサ制御装置は、センサとしての
検出精度を向上させるために、信号線LDに流れる電流
が少なくなるように設計されている。
Usually, the detection accuracy of the torque sensor 2 is inversely proportional to the current flowing through the signal line LD. For example, the smaller the current flowing through the signal line LD, the smaller the voltage drop, and the higher the detection accuracy of the torque sensor 2. Therefore, conventionally, the sensor control device as shown in FIG. 20 is designed to reduce the current flowing through the signal line LD in order to improve the detection accuracy as a sensor.

【0013】たとえば、断線検出用の抵抗器RMは、ト
ルクセンサ2内の可変抵抗器RSに対してパラレル接続
されているので、抵抗値が小さければ信号線LDに流れ
る電流が増加し、センサの検出精度を低下させることに
なる。したがって、抵抗器RMとして、可変抵抗器RS
の数百倍以上の抵抗値を有するものを用い、トルクセン
サ2の出力端子bから信号線LDに対して数μA〜数1
0μA程度の電流しか流れ出ないようにしている。
For example, the resistor RM for detecting the disconnection is connected in parallel to the variable resistor RS in the torque sensor 2, so that if the resistance value is small, the current flowing through the signal line LD increases, and the sensor resistance. The detection accuracy will be reduced. Therefore, as the resistor RM, the variable resistor RS
A resistor having a resistance value of several hundred times or more, and several μA to several 1 from the output terminal b of the torque sensor 2 to the signal line LD.
Only a current of about 0 μA flows out.

【0014】ところで、前述したコネクタピンの削り屑
の酸化による酸化膜は、所定(数mA程度)以上の電流
を通電すると破壊されることが知られており、電源端子
aおよびd、ならびにグランド端子cおよびfに関して
は、通常の数mA以上の通電により接触抵抗値が元に戻
るため、接触不良等は発生しない。
By the way, it is known that the oxide film resulting from the oxidation of the shavings of the connector pin described above is destroyed when a current of a predetermined value (about several mA) or more is applied, and the power supply terminals a and d and the ground terminal. Regarding c and f, the contact resistance value is returned to the original value by the usual energization of several mA or more, so that no contact failure or the like occurs.

【0015】しかし、信号線LDの両端の入出力端子b
およびeに関しては、前述した検出精度確保の理由か
ら、センサ検出回路12は、大抵抗値(1MΩ程度)の
抵抗器RMを介して、信号線LDに数μA〜数10μA
程度の電流しか流していない。したがって、通常の検出
電流ではコネクタピンに発生した酸化膜を破壊すること
ができず、信号線LDの両端を含むコネクタ部の接触不
良が重大な問題となる。このため、信号線LDの周辺の
接触不良を解除、防止または検出することが要求されて
いる。
However, the input / output terminals b at both ends of the signal line LD
With respect to and e, for the reason of ensuring the detection accuracy described above, the sensor detection circuit 12 connects the signal line LD to several μA to several tens of μA via the resistor RM having a large resistance value (about 1 MΩ).
Only a certain amount of current is flowing. Therefore, the normal detection current cannot destroy the oxide film generated in the connector pin, and the contact failure of the connector portion including both ends of the signal line LD becomes a serious problem. Therefore, it is required to cancel, prevent, or detect the contact failure around the signal line LD.

【0016】[0016]

【発明が解決しようとする課題】従来のセンサ制御装置
は以上のように、制御装置1とセンサ2とを接続する各
コネクタピンの接触面に発生した接触不良を除去するこ
とができないため、接触不良対策として、コネクタピン
を酸化しにくい貴金属でメッキしているので、たとえ
ば、センサ2とハーネス(図示せず)との間の接続点
や、ハーネスと制御装置1との間の接続点等の数が多く
なるにつれて、接続回路が高価になるという問題点があ
った。
As described above, the conventional sensor control device cannot remove the contact failure generated on the contact surface of each connector pin that connects the control device 1 and the sensor 2, and therefore the contact of the connector pin cannot be eliminated. As a countermeasure against defects, since the connector pins are plated with a noble metal that is difficult to oxidize, for example, the connection point between the sensor 2 and the harness (not shown), the connection point between the harness and the control device 1, etc. As the number increases, the connection circuit becomes expensive.

【0017】この発明は上記のような問題点を解決する
ためになされたもので、コストアップを招く金メッキ等
を施すことなくセンサ部と制御部との間の接続回路部の
確実な接触不良対策を実現し、また、故障判定を行うこ
とによりシステムの安全性および信頼性を向上させセン
サ制御装置を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and it is a measure against a reliable contact failure of the connection circuit section between the sensor section and the control section without applying gold plating or the like which causes an increase in cost. It is also an object of the present invention to realize a sensor control device by improving the safety and reliability of the system by making a failure determination.

【0018】[0018]

【課題を解決するための手段】この発明に請求項1に係
るセンサ制御装置は、制御対象に関連する検出信号を出
力するセンサと、検出信号をデジタル信号に変換するA
D変換器を含み、AD変換された検出信号を用いて制御
対象を制御する制御装置と、センサの出力端子と制御装
置の入力端子との間を接続する信号線と、センサの電源
端子と制御装置の電源端子との間を接続する電源線と、
センサのグランド端子と制御装置のグランド端子との間
を接続するグランド線とを備え、制御装置は、所定タイ
ミングにおいて制御装置の入力端子を電源またはグラン
ドの一方に短絡させる短絡手段を含み、短絡手段は、電
源線またはグランド線を介して、信号線の両端に接続さ
れた出力端子および入力端子間に所定電圧を印加して所
定電流を通電するものである。
According to a first aspect of the present invention, there is provided a sensor control device which outputs a detection signal related to an object to be controlled, and A which converts the detection signal into a digital signal.
A control device that includes a D converter and controls a control target using an AD-converted detection signal, a signal line that connects an output terminal of the sensor and an input terminal of the control device, and a power supply terminal of the sensor and control A power line connecting between the power terminal of the device and
The control device includes a ground wire that connects between the ground terminal of the sensor and the ground terminal of the control device, and the control device includes short-circuiting means for short-circuiting the input terminal of the control device to one of the power supply and the ground at a predetermined timing. Is a device for applying a predetermined voltage between an output terminal and an input terminal connected to both ends of a signal line via a power supply line or a ground line to supply a predetermined current.

【0019】また、この発明に請求項2に係るセンサ制
御装置は、請求項1において、短絡手段は、一端が入力
端子に接続され且つ他端が接地された開閉素子からな
り、制御装置は、所定タイミングにおいて開閉素子を閉
成駆動する開閉素子駆動部を含むものである。
According to a second aspect of the present invention, there is provided the sensor control device according to the first aspect, wherein the short-circuit means comprises an opening / closing element having one end connected to the input terminal and the other end grounded. It includes an opening / closing element drive unit for closing and driving the opening / closing element at a predetermined timing.

【0020】また、この発明に請求項3に係るセンサ制
御装置は、請求項1において、短絡手段は、一端が入力
端子に接続され且つ他端が電源に接続された開閉素子か
らなり、制御装置は、所定タイミングにおいて開閉素子
を閉成駆動する開閉素子駆動部を含むものである。
The sensor control device according to a third aspect of the present invention is the sensor control device according to the first aspect, wherein the short-circuit means comprises an opening / closing element having one end connected to the input terminal and the other end connected to the power supply. Includes an opening / closing element drive unit for closing and driving the opening / closing element at a predetermined timing.

【0021】また、この発明に請求項4に係るセンサ制
御装置は、請求項2または請求項3において、短絡手段
は、開閉素子に流れる電流を制限する制限抵抗器を含む
ものである。
Further, according to a fourth aspect of the present invention, in the sensor control device according to the second or third aspect, the short-circuit means includes a limiting resistor that limits a current flowing through the switching element.

【0022】また、この発明に請求項5に係るセンサ制
御装置は、請求項1から請求項4までのいずれかにおい
て、所定タイミングを、AD変換器が動作していないと
きとしたものである。
According to a fifth aspect of the present invention, in the sensor control device according to any one of the first to fourth aspects, the predetermined timing is set when the AD converter is not operating.

【0023】また、この発明に請求項6に係るセンサ制
御装置は、請求項1から請求項4までのいずれかにおい
て、所定タイミングを、制御装置が制御対象を駆動して
いないときとしたものである。
According to a sixth aspect of the present invention, in the sensor control device according to any one of the first to fourth aspects, the predetermined timing is when the control device is not driving the controlled object. is there.

【0024】また、この発明に請求項7に係るセンサ制
御装置は、請求項1から請求項6までのいずれかにおい
て、制御装置は、短絡手段が開放されてから所定時間経
過後にAD変換器を有効にするタイマ手段を含むもので
ある。
According to a seventh aspect of the present invention, in the sensor control device according to any one of the first to sixth aspects, the control device turns on the AD converter after a predetermined time has elapsed since the short-circuit means was opened. It includes a timer means for enabling.

【0025】また、この発明に請求項8に係るセンサ制
御装置は、請求項1から請求項7までのいずれかにおい
て、制御装置は、制御装置の起動時において、短絡手段
の開放中にAD変換された検出信号と短絡手段の短絡中
にAD変換された検出信号とから、センサの抵抗値を算
出するセンサ抵抗値算出手段と、抵抗値に基づいてセン
サの不良を判定するセンサ不良判定手段と、センサの不
良判定時に制御対象の制御を停止する制御停止手段とを
含むものである。
The sensor control device according to an eighth aspect of the present invention is the sensor control device according to any one of the first to seventh aspects, wherein the control device performs AD conversion during opening of the short-circuit means at the time of starting the control device. A sensor resistance value calculating means for calculating a resistance value of the sensor from the detected signal and the detection signal AD-converted during the short circuit of the short-circuiting means; and a sensor failure determining means for determining a sensor failure based on the resistance value. And a control stop means for stopping the control of the control target when the sensor is determined to be defective.

【0026】また、この発明に請求項9に係るセンサ制
御装置は、請求項1から請求項8までのいずれかにおい
て、制御装置は、短絡手段の開放中にAD変換された検
出信号と短絡手段の短絡中にAD変換された検出信号と
から、信号線の両端を含むコネクタ部の接触抵抗値を算
出する接触抵抗値算出手段と、接触抵抗値に基づいてコ
ネクタ部の不良を判定するコネクタ部不良判定手段と、
コネクタ部の不良判定時に制御対象の制御を停止する制
御停止手段とを含むものである。
Further, a sensor control device according to a ninth aspect of the present invention is the sensor control device according to any one of the first to eighth aspects, wherein the control device is the detection signal AD-converted while the short circuit means is open and the short circuit means. Contact resistance value calculating means for calculating the contact resistance value of the connector part including both ends of the signal line from the detection signal AD-converted during the short circuit of the connector part, and the connector part for determining the defect of the connector part based on the contact resistance value. Defect determination means,
The control unit includes a control stopping unit that stops the control of the control target when the defect of the connector is determined.

【0027】また、この発明に請求項10に係るセンサ
制御装置は、請求項1から請求項9までのいずれかにお
いて、制御装置は、短絡手段を短絡したときの検出信号
を、短絡手段が開放されるまで保持する検出信号保持部
を含むものである。
According to a tenth aspect of the present invention, in the sensor control device according to any one of the first to ninth aspects, the control device opens the detection signal when the short-circuit means is short-circuited. It includes a detection signal holding unit that holds the detected signal until it is held.

【0028】また、この発明に請求項11に係るセンサ
制御装置は、請求項1から請求項10までのいずれかに
おいて、センサは複数並設され、制御装置は、複数のセ
ンサのうちのAD変換していないセンサに関連する短絡
手段を逐次に開閉するものである。
A sensor control device according to an eleventh aspect of the present invention is the sensor control device according to any one of the first to tenth aspects, in which a plurality of sensors are arranged in parallel, and the control device is an AD converter of the plurality of sensors. The short-circuiting means associated with the non-operated sensor is sequentially opened and closed.

【0029】[0029]

【作用】この発明の請求項1においては、AD変換値を
用いて制御対象を制御していない所定タイミングで、電
源線またはグランド線を介して信号線に所定電圧を印加
して所定電流を通電し、信号線の接触抵抗増大の原因と
なる酸化膜を破壊するのに十分な電流を流して接触不良
の発生を防止する。
According to the first aspect of the present invention, a predetermined voltage is applied to the signal line through the power supply line or the ground line at a predetermined timing when the controlled object is not controlled using the AD conversion value, and a predetermined current is supplied. Then, a sufficient current is supplied to destroy the oxide film that causes an increase in the contact resistance of the signal line to prevent the occurrence of contact failure.

【0030】また、この発明の請求項2においては、制
御装置の入力端子に一端が接続され且つ他端が接地され
た開閉素子を短絡手段として挿入し、所定タイミングに
応答して開閉素子を閉成し、電源線および信号線を介し
て開閉素子に流れる電流により酸化膜を破壊する。
According to a second aspect of the present invention, a switching element having one end connected to the input terminal of the control device and the other end grounded is inserted as a short-circuiting means, and the switching element is closed in response to a predetermined timing. The oxide film is destroyed by a current flowing through the switching element via the power supply line and the signal line.

【0031】また、この発明の請求項3においては、制
御装置の入力端子に一端が接続され且つ他端が電源に接
続された開閉素子を短絡手段として挿入し、所定タイミ
ングに応答して開閉素子を閉成し、開閉素子から信号線
およびグランド線を介して流れる電流により酸化膜を破
壊する。
Further, according to a third aspect of the present invention, an opening / closing element having one end connected to the input terminal of the control device and the other end connected to the power source is inserted as a short-circuit means, and the opening / closing element is responsive to a predetermined timing. The oxide film is destroyed by the current flowing from the switching element through the signal line and the ground line.

【0032】また、この発明の請求項4においては、開
閉素子に流れる電流を制限抵抗器により制限し、開閉素
子および開閉素子駆動部を構成するトランジスタ素子等
の破壊を防止する。
Further, according to the fourth aspect of the present invention, the current flowing through the switching element is limited by the limiting resistor to prevent the switching element and the transistor element forming the switching element driving section from being destroyed.

【0033】また、この発明の請求項5においては、A
D変換器が動作していないときに開閉素子を閉じて酸化
膜を破壊するとともに、開閉素子駆動時に発生するノイ
ズや検出信号の変動を制御に影響させないようにする。
Further, in claim 5 of the present invention, A
When the D converter is not operating, the switching element is closed to destroy the oxide film, and noise generated when the switching element is driven and fluctuations in the detection signal are not influenced by the control.

【0034】また、この発明の請求項6においては、制
御対象を制御していないときに開閉素子を閉じて酸化膜
を破壊するとともに、開閉素子駆動時に発生するノイズ
や検出信号の変動が制御に影響しないようにする。
Further, according to a sixth aspect of the present invention, when the controlled object is not controlled, the switching element is closed to destroy the oxide film, and noise generated when the switching element is driven or fluctuation of the detection signal is controlled. Try not to affect.

【0035】また、この発明の請求項7においては、短
絡手段を停止(開放)してから所定時間経過後(安定
後)のAD変換値を用いて制御対象を制御し、短絡手段
を駆動する際に発生するノイズや検出信号の変動がAD
変換値に影響しないようにする。
Further, according to a seventh aspect of the present invention, the object to be controlled is controlled by using the AD conversion value after a lapse of a predetermined time (after stabilization) after stopping (opening) the short-circuiting means and driving the short-circuiting means. The noise generated at the time and the fluctuation of the detection signal are AD
Do not affect the converted value.

【0036】また、この発明の請求項8においては、制
御装置起動時(最初の通電時)に、短絡手段を停止(開
放)しているときのAD変換値と、短絡手段を短絡駆動
しているときのAD変換値とから、センサの抵抗値を算
出し、センサ抵抗値が設定値より所定分(たとえば、数
%以上)変化していればセンサ不良と判定して制御を停
止し、安全性を向上させる。
In the eighth aspect of the present invention, the AD conversion value when the short-circuit means is stopped (open) and the short-circuit means are short-circuit driven when the control device is activated (first energization). The resistance value of the sensor is calculated from the A / D converted value when the sensor resistance value changes, and if the sensor resistance value changes from the set value by a predetermined amount (for example, several percent or more), it is determined that the sensor is defective and the control is stopped, and safety Improve sex.

【0037】また、この発明の請求項9においては、短
絡手段を開放しているときのAD変換値と短絡駆動てい
るときのAD変換値とからコネクタ部の接触抵抗値を算
出し、接触抵抗値が所定分(たとえば、数%以上)変化
していればコネクタ部の不良と判定して制御を停止し、
安全性を向上させる。
According to a ninth aspect of the present invention, the contact resistance value of the connector portion is calculated from the AD conversion value when the short-circuit means is open and the AD conversion value when the short-circuit drive is performed, and the contact resistance value is calculated. If the value changes by a predetermined amount (for example, several percent or more), it is determined that the connector is defective and control is stopped.
Improve safety.

【0038】また、この発明の請求項10においては、
短絡手段を短絡したときの検出信号を短絡手段が開放さ
れるまで保持し、短絡手段の駆動時に検出信号が変化し
ないようにする。これにより、短絡手段の駆動直後に検
出信号をAD変換しても制御に影響を与えることがな
い。
In the tenth aspect of the present invention,
The detection signal when the short-circuit means is short-circuited is held until the short-circuit means is opened so that the detection signal does not change when the short-circuit means is driven. Accordingly, even if the detection signal is AD-converted immediately after the driving of the short-circuiting means, the control is not affected.

【0039】また、この発明の請求項11においては、
AD変換していないセンサに関連する短絡手段を逐次に
開閉することにより、消費電流を抑制する。
In the eleventh aspect of the present invention,
The current consumption is suppressed by sequentially opening and closing the short-circuit means associated with the sensor that is not AD converted.

【0040】[0040]

【実施例】【Example】

実施例1.(請求項1〜請求項6に対応) 以下、この発明の実施例1を図について説明する。図1
はこの発明の実施例1を示す回路構成図であり、前述と
同様に電動パワーステアリング制御装置を一例にとって
示している。図において、1、2、10、12、a〜
f、D、LP、LD、LGおよびTSは前述と同様のも
のであり、この場合、制御装置1の回路構成およびマイ
コン10の機能構成が異なっている。
Example 1. (Corresponding to Claims 1 to 6) Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings. FIG.
1 is a circuit configuration diagram showing a first embodiment of the present invention, and shows an electric power steering control device as an example similarly to the above. In the figure, 1, 2, 10, 12, a-
f, D, LP, LD, LG, and TS are the same as those described above, and in this case, the circuit configuration of the control device 1 and the functional configuration of the microcomputer 10 are different.

【0041】3は制御装置1の制御対象となる電動モー
タ(以下、単に、モータという)であり、たとえば、ス
テアリング系(図示せず)に連結されてステアリング操
舵を補助付勢するようになっている。モータ3は、制御
装置1の駆動出力端子gおよびhに対して入力端子iお
よびjが接続されており、トルクセンサ2の検出信号D
に応じて制御される。
Reference numeral 3 denotes an electric motor (hereinafter, simply referred to as a motor) which is a control target of the control device 1. For example, the electric motor 3 is connected to a steering system (not shown) to assist the steering operation. There is. The motor 3 has input terminals i and j connected to drive output terminals g and h of the control device 1, and a detection signal D of the torque sensor 2
Controlled according to.

【0042】トルクセンサ2を構成する可変抵抗器RS
は、一端が電源端子aおよび電源線LPを介して制御装
置1の電源端子dに接続され、他端がグランド端子cお
よびグランド線LGを介して制御装置1のグランド端子
fに接続され、中間タップ端が出力端子bおよび信号線
LDを介して制御装置1の入力端子eに接続されてい
る。
Variable resistor RS constituting the torque sensor 2
Has one end connected to the power supply terminal d of the control device 1 via the power supply terminal a and the power supply line LP, and the other end connected to the ground terminal f of the control device 1 via the ground terminal c and the ground line LG. The tap end is connected to the input terminal e of the control device 1 via the output terminal b and the signal line LD.

【0043】制御装置1は、マイコン10およびセンサ
検出回路12とともに、トルクセンサ2に電源を供給す
るセンサ電源回路11と、モータ3を駆動するモータ駆
動回路14とを備えている。また、この場合、制御装置
1は、マイコン10の出力ポートTPの電圧レベルによ
り制御されて信号線LDの両端に所定電圧を印加して通
電させるための短絡回路13を備えている。
The control device 1 includes a microcomputer 10 and a sensor detection circuit 12, as well as a sensor power supply circuit 11 for supplying power to the torque sensor 2 and a motor drive circuit 14 for driving the motor 3. Further, in this case, the control device 1 includes a short circuit 13 that is controlled by the voltage level of the output port TP of the microcomputer 10 and applies a predetermined voltage to both ends of the signal line LD to energize it.

【0044】トルクセンサ2の各端子a〜cは、制御装
置1内のセンサ検出回路12の各端子d〜fにそれぞれ
接続されている。また、制御装置1内のモータ駆動回路
14の各端子gおよびhは、電動モータ3の各端子iお
よびjにそれぞれ接続されている。各端子a〜jの間は
ハーネスで接続されており、ハーネスと各端子a〜jと
の間はコネクタピンで接続されている。
The terminals a to c of the torque sensor 2 are connected to the terminals d to f of the sensor detection circuit 12 in the control device 1, respectively. The terminals g and h of the motor drive circuit 14 in the control device 1 are connected to the terminals i and j of the electric motor 3, respectively. A harness is connected between the terminals a to j, and a connector pin is connected between the harness and the terminals a to j.

【0045】センサ電源回路11は、センサ検出回路1
2、電源端子dおよび電源線LPを介してトルクセンサ
2に電源を供給し、モータ駆動回路14は、マイコン1
0から駆動出力端子gおよびhを介して出力される駆動
信号により、モータ3を駆動する。
The sensor power supply circuit 11 is the sensor detection circuit 1
2, the power is supplied to the torque sensor 2 via the power supply terminal d and the power supply line LP, and the motor drive circuit 14 uses the microcomputer 1
The motor 3 is driven by a drive signal output from 0 through the drive output terminals g and h.

【0046】また、短絡回路13は、センサ検出回路1
2の入力端子eを電源またはグランドに短絡し、電源線
LPまたはグランド線LGを介して、入力端子eに接続
された信号線LDの両端に所定電圧を印加して、信号線
LDに所定電流を流すことにより、入力端子bおよび出
力端子eを含むコネクタ部の酸化膜を破壊するようにな
っている。
Further, the short circuit 13 is the sensor detection circuit 1
The input terminal e of 2 is short-circuited to the power supply or the ground, and a predetermined voltage is applied to both ends of the signal line LD connected to the input terminal e via the power supply line LP or the ground line LG, and a predetermined current is applied to the signal line LD. Is flowed, the oxide film of the connector portion including the input terminal b and the output terminal e is destroyed.

【0047】図2は図1内の短絡回路13がグランドに
短絡される場合の具体例(請求項2に対応)を示す回路
図であり、この場合、センサ電源回路11は図示されて
いないものとする。
FIG. 2 is a circuit diagram showing a specific example (corresponding to claim 2) in the case where the short circuit 13 in FIG. 1 is short-circuited to the ground. In this case, the sensor power supply circuit 11 is not shown. And

【0048】図2において、RM、RおよびCは前述と
同様のものである。センサ検出回路12内の断線検出用
の抵抗器RMは、入力端子eとグランド端子fとの間に
接続されており、トルクセンサ2からの検出信号Dに悪
影響を与えないように、たとえば、1MΩ程度の大きな
抵抗値を有している。
In FIG. 2, RM, R and C have the same meanings as described above. The resistor RM for detecting disconnection in the sensor detection circuit 12 is connected between the input terminal e and the ground terminal f, and is set to, for example, 1 MΩ so as not to adversely affect the detection signal D from the torque sensor 2. It has a large resistance value.

【0049】短絡回路13は、入力端子eに接続された
電流調整用の抵抗器RBと、抵抗器RBにコレクタが接
続されたNPNトランジスタTRNとから構成されてい
る。抵抗器RBは、NPNトランジスタTRNに流れる
電流を制限し、NPNトランジスタTRNの過電流破壊
等を防止している。また、NPNトランジスタTRN
は、エミッタが接地されるとともに、ベースがマイコン
10の出力ポートTPに接続されており、マイコン10
によって駆動制御されるようになっている。
The short circuit 13 is composed of a current adjusting resistor RB connected to the input terminal e and an NPN transistor TRN having a collector connected to the resistor RB. The resistor RB limits the current flowing through the NPN transistor TRN and prevents overcurrent breakdown of the NPN transistor TRN. Also, the NPN transistor TRN
Has its emitter grounded and its base connected to the output port TP of the microcomputer 10.
It is designed to be driven and controlled by.

【0050】トルクセンサ2の電源端子aは、センサ検
出回路12の電源端子dに接続され、さらに、センサ検
出回路12を介してセンサ電源回路11に接続され、セ
ンサ電源として機能している。また、トルクセンサ2の
グランド端子cは、センサ検出回路12のグランド端子
fに接続され、さらに、センサ検出回路12を介してグ
ランドに接地されている。また、トルクセンサ2の出力
端子bは、センサ検出回路12の入力端子eに接続さ
れ、さらに、センサ検出回路12内の抵抗器Rおよびコ
ンデンサCからなるフィルタを介して、マイコン10の
AD変換ポートTSに接続されている。
The power supply terminal a of the torque sensor 2 is connected to the power supply terminal d of the sensor detection circuit 12, and further connected to the sensor power supply circuit 11 via the sensor detection circuit 12 to function as a sensor power supply. The ground terminal c of the torque sensor 2 is connected to the ground terminal f of the sensor detection circuit 12, and is also grounded via the sensor detection circuit 12. Further, the output terminal b of the torque sensor 2 is connected to the input terminal e of the sensor detection circuit 12, and further, through the filter composed of the resistor R and the capacitor C in the sensor detection circuit 12, the AD conversion port of the microcomputer 10. It is connected to the TS.

【0051】この場合、制御装置1内の短絡回路13
は、マイコン10がAD変換値に基づいてモータ3を制
御していない(すなわち、AD変換器が動作していない
か、またはモータ3が駆動していない)ときに、入力端
子eを電源またはグランドに短絡し、電源線LPまたは
グランド線LGを介して、信号線LDの両端に接続され
た入出力端子bおよびeに対し、所定電圧を印加して所
定電流を通電するようになっている。
In this case, the short circuit 13 in the control unit 1
When the microcomputer 10 does not control the motor 3 based on the AD conversion value (that is, the AD converter is not operating or the motor 3 is not driving), the input terminal e is supplied with power or ground. And a predetermined voltage is applied to the input / output terminals b and e connected to both ends of the signal line LD via the power supply line LP or the ground line LG to supply a predetermined current.

【0052】したがって、短絡回路13は、図2のよう
に、検出信号Dをマイコン10内のAD変換器に入力す
る入力端子eに一方が接続され且つ他方が接地されたN
PNトランジスタTRN(開閉素子)から構成される。
また、制御装置1内のマイコン10は、NPNトランジ
スタTRNを駆動する開閉素子駆動部(図示せず)を含
んでいる。
Therefore, as shown in FIG. 2, the short circuit 13 has an N terminal, one of which is connected to the input terminal e for inputting the detection signal D to the AD converter in the microcomputer 10 and the other of which is grounded.
It is composed of a PN transistor TRN (switching element).
Further, the microcomputer 10 in the control device 1 includes an opening / closing element drive unit (not shown) that drives the NPN transistor TRN.

【0053】次に、図1および図2とともに、マイコン
10の処理ルーチンを示す図3のフローチャートを参照
しながら、短絡回路13が信号線LDおよび入力端子e
をグランドに短絡した場合(請求項2に対応)のこの発
明の実施例1の動作について説明する。まず、マイコン
10は、AD変換を要求するフラグがセットされている
か否かを判定する(ステップS1)。
Next, referring to the flow chart of FIG. 3 showing the processing routine of the microcomputer 10 together with FIG. 1 and FIG. 2, the short circuit 13 is connected to the signal line LD and the input terminal e.
The operation of the first embodiment of the present invention when the circuit is shorted to the ground (corresponding to claim 2) will be described. First, the microcomputer 10 determines whether a flag requesting AD conversion is set (step S1).

【0054】もし、フラグがセットされていない(すな
わち、NO)と判定されれば、AD変換値に基づいてモ
ータ3が制御されていない状態であるから、マイコン1
0は、接触不良防止モードの動作を実行するため、出力
ポートTPの信号レベルを「H」とし、NPNトランジ
スタTRNをオンさせて短絡回路13を短絡駆動させる
(ステップS2)。
If it is determined that the flag is not set (that is, NO), it means that the motor 3 is not controlled based on the AD conversion value.
In order to execute the operation in the contact failure prevention mode, 0 sets the signal level of the output port TP to "H", turns on the NPN transistor TRN, and short-circuits the short circuit 13 (step S2).

【0055】これにより、短絡回路13内の電流調整用
の抵抗器RBによって調整された電流が、センサ電源回
路11から、センサ検出回路12の電源端子d、電源線
LP、トルクセンサ2の電源端子a、トルクセンサ2内
の抵抗器RS、トルクセンサ2の出力端子b、信号線L
D、センサ検出回路12の入力端子e、抵抗器RB、N
PNトランジスタTRNおよびグランドの順に流れる。
As a result, the current adjusted by the current adjusting resistor RB in the short circuit 13 is supplied from the sensor power supply circuit 11 to the power supply terminal d of the sensor detection circuit 12, the power supply line LP, and the power supply terminal of the torque sensor 2. a, resistor RS in torque sensor 2, output terminal b of torque sensor 2, signal line L
D, input terminal e of the sensor detection circuit 12, resistors RB, N
The PN transistor TRN and the ground flow in this order.

【0056】このとき、センサ電源回路11から短絡回
路13に向かって流れる電流は、センサ電源回路11に
より十分な所定電圧が印加されているため、信号線LD
の両端となる入出力端子bおよびeを含むコネクタ部に
接触不良の原因となる酸化膜が存在したとしても、この
酸化膜を破壊して接触良好状態を維持させることができ
る。
At this time, since the sensor power supply circuit 11 applies a sufficient predetermined voltage to the current flowing from the sensor power supply circuit 11 toward the short circuit 13, the signal line LD
Even if there is an oxide film that causes a contact failure in the connector portion including the input / output terminals b and e at both ends of the, the oxide film can be destroyed and a good contact state can be maintained.

【0057】なお、接触不良防止モードの処理の実行中
は、AD変換ポートTSに検出信号Dが入力されない
が、マイコン10内のAD変換器が動作していないタイ
ミング中なので、何ら支障が生じることはない。また、
このとき、モータ3に対するマイコン10からの駆動信
号は、非動作状態を示すことになる。
Note that the detection signal D is not input to the AD conversion port TS during the processing in the contact failure prevention mode, but since the AD converter in the microcomputer 10 is in the non-operating timing, no trouble occurs. There is no. Also,
At this time, the drive signal from the microcomputer 10 to the motor 3 indicates a non-operation state.

【0058】一方、ステップS1において、AD変換を
要求するフラグがセットされている(すなわち、YE
S)と判定されれば、AD変換値に基づいてモータ3が
制御され得る状態であるから、マイコン10は、通常の
制御モードの動作を実行するため、出力ポートTPを
「L」レベルにして短絡回路13の駆動を停止する(ス
テップS3)。
On the other hand, in step S1, the flag requesting AD conversion is set (that is, YE).
If it is determined to be S), the motor 3 can be controlled based on the AD conversion value. Therefore, the microcomputer 10 sets the output port TP to the “L” level in order to execute the operation in the normal control mode. The driving of the short circuit 13 is stopped (step S3).

【0059】そして、AD変換ポートTSの値(トルク
センサ2の検出値)をAD変換する(ステップS4)。
ここで、AD変換された値は、マイコン10内のRAM
(図示せず)に記憶される。続いて、マイコン10は、
RAMに記憶されているトルクセンサ2のAD変換値に
基いてモータ3に対する出力値を決定し、モータ駆動回
路14にモータ駆動信号を出力し、モータ3を制御する
(ステップS5)。
Then, the value of the AD conversion port TS (the detection value of the torque sensor 2) is AD-converted (step S4).
Here, the AD-converted value is stored in the RAM in the microcomputer 10.
(Not shown). Then, the microcomputer 10
The output value for the motor 3 is determined based on the AD converted value of the torque sensor 2 stored in the RAM, the motor drive signal is output to the motor drive circuit 14, and the motor 3 is controlled (step S5).

【0060】なお、ここでは、ステップS1においてA
D変換フラグを判定し、AD変換器が動作していないと
きに、電源線LPおよび信号線LDへの所定電圧の印加
および所定電流の通電を行うようにしたが、モータ3が
駆動されていないときに所定電流の通電を行うようにし
てもよい。
Here, in step S1, A
The D conversion flag is determined, and when the AD converter is not operating, the predetermined voltage and the predetermined current are applied to the power supply line LP and the signal line LD, but the motor 3 is not driven. Sometimes, a predetermined current may be supplied.

【0061】また、図2および図3では、接触不良防止
モードにおいて、短絡回路13が入力端子eをグランド
に短絡する場合を示したが、信号線LDおよび入力端子
eを電源に短絡するようにしてもよい。この場合、信号
線LDおよびグランド線LGを介して、トルクセンサ2
の出力端子bに所定電圧が印加されることになる。
Although FIG. 2 and FIG. 3 show the case where the short circuit 13 short-circuits the input terminal e to the ground in the contact failure prevention mode, the signal line LD and the input terminal e should be short-circuited to the power source. May be. In this case, the torque sensor 2 is connected via the signal line LD and the ground line LG.
A predetermined voltage is applied to the output terminal b of the.

【0062】図4はこの発明の実施例1による短絡回路
13が電源に短絡される場合の具体例(請求項3に対
応)を示す回路構成図であり、1、2、10、12、1
3、a〜f、D、RS、RM、R、C、RB、LP、L
DおよびLGは前述と同様のものである。
FIG. 4 is a circuit configuration diagram showing a specific example (corresponding to claim 3) in the case where the short circuit 13 according to the first embodiment of the present invention is short-circuited to the power supply. 1, 2, 10, 12, 1
3, af, D, RS, RM, R, C, RB, LP, L
D and LG are the same as described above.

【0063】TRPは電流調整用の抵抗器RBにコレク
タが接続されたPNPトランジスタであり、エミッタが
電源すなわちセンサ電源回路11(図1参照)に接続さ
れ、ベースが出力ポートTPに接続されており、前述の
NPNトランジスタTRNと同様に、マイコン10によ
って駆動制御される。
TRP is a PNP transistor whose collector is connected to the resistor RB for current adjustment, whose emitter is connected to the power supply, that is, the sensor power supply circuit 11 (see FIG. 1), and whose base is connected to the output port TP. Similarly to the NPN transistor TRN described above, the driving is controlled by the microcomputer 10.

【0064】次に、図4とともに図5のフローチャート
を参照しながら、短絡回路13が入力端子eを電源に短
絡した場合(請求項3に対応)のこの発明の実施例1の
動作について説明する。図5において、S1〜S5は図
3内と同様のステップである。この場合、PNPトラン
ジスタTRPの極性が反転しているため、ステップS2
およびS3が入れ代わっている点のみが図3と異なる。
Next, the operation of the first embodiment of the present invention when the short circuit 13 short-circuits the input terminal e to the power supply (corresponding to claim 3) will be described with reference to the flowchart of FIG. 5 together with FIG. . In FIG. 5, S1 to S5 are the same steps as in FIG. In this case, the polarity of the PNP transistor TRP has been inverted, so step S2
3 differs only in that S3 and S3 are replaced.

【0065】まず、AD変換要求フラグがセットされて
いるか否かを判定し(ステップS1)、セットされてい
なければ、接触不良防止モードを実行するため、出力ポ
ートTPを「L」レベルにし、PNPトランジスタTR
Pをオンして短絡回路13を駆動する(ステップS
3)。
First, it is determined whether or not the AD conversion request flag is set (step S1). If not set, the output port TP is set to "L" level to execute the contact failure prevention mode, and PNP is set. Transistor TR
P is turned on to drive the short circuit 13 (step S
3).

【0066】これにより、短絡回路13内の抵抗器RB
によって調整された電流が、センサ電源回路11から、
PNPトランジスタTRP、抵抗器RB、センサ検出回
路12の入力源端子e、信号線LD、トルクセンサ2の
出力端子b、トルクセンサ2内の抵抗器RS、トルクセ
ンサ2のグランド端子c、グランド線LG、センサ検出
回路12のグランド端子fおよびグランドの順に流れ
る。
As a result, the resistor RB in the short circuit 13 is
The current adjusted by the sensor power supply circuit 11
PNP transistor TRP, resistor RB, input source terminal e of sensor detection circuit 12, signal line LD, output terminal b of torque sensor 2, resistor RS in torque sensor 2, ground terminal c of torque sensor 2, ground line LG , The ground terminal f of the sensor detection circuit 12 and the ground.

【0067】この場合も、センサ電源回路11からグラ
ンドに向かって流れる電流は、センサ電源回路11によ
り十分な所定電圧が印加されているため、入出力端子b
およびeを含むコネクタ部に接触不良の原因となる酸化
膜が存在したとしても、この酸化膜を破壊して接触良好
状態を維持することができる。
Also in this case, since the sensor power supply circuit 11 applies a sufficient predetermined voltage to the current flowing from the sensor power supply circuit 11 to the ground, the input / output terminal b
Even if an oxide film that causes poor contact exists in the connector portion including and e, the oxide film can be destroyed and a good contact state can be maintained.

【0068】一方、ステップS1において、AD変換を
要求するフラグがセットされている(すなわち、YE
S)と判定されれば、AD変換値に基づいてモータ3が
制御され得る状態であるから、マイコン10は、通常の
制御モードの動作を実行するため、出力ポートTPを
「H」レベルにして短絡回路13の駆動を停止する(ス
テップS3)。
On the other hand, in step S1, a flag requesting AD conversion is set (that is, YE).
If it is determined to be S), it means that the motor 3 can be controlled based on the AD conversion value. Therefore, the microcomputer 10 sets the output port TP to the “H” level in order to execute the operation in the normal control mode. The driving of the short circuit 13 is stopped (step S3).

【0069】以下、前述と同様に、AD変換ポートTS
の値(トルクセンサ2の検出値)をAD変換し(ステッ
プS4)、AD変換値に基いてモータ3に対する出力値
を決定してモータ駆動回路14にモータ駆動信号を出力
する(ステップS5)。
Thereafter, similar to the above, the AD conversion port TS
Is AD-converted (step S4), the output value for the motor 3 is determined based on the AD-converted value, and a motor drive signal is output to the motor drive circuit 14 (step S5).

【0070】実施例2.(請求項7に対応) なお、上記実施例1では、センサ検出回路12内のフィ
ルタすなわち抵抗器RおよびコンデンサCによる信号遅
れについて考慮しなかったが、短絡回路13の停止後の
信号遅れを補償することが望ましい。次に、図2の回路
構成図とともに、図6のフローチャートを参照しなが
ら、タイマ手段を付加して信号遅れ補償を行うようにし
たこの発明の実施例2について説明する。
Example 2. (Corresponding to claim 7) In the first embodiment, the signal delay due to the filter in the sensor detection circuit 12, that is, the resistor R and the capacitor C is not considered, but the signal delay after the short circuit 13 is stopped is compensated. It is desirable to do. Next, with reference to the circuit configuration diagram of FIG. 2 and the flowchart of FIG. 6, a second embodiment of the present invention will be described in which timer means is added to perform signal delay compensation.

【0071】まず、短絡回路13の停止後のAD変換ポ
ートTSに対する検出信号Dの入力遅れについて説明す
る。図2において、出力ポートTPが「L」から「H」
に変化すると、短絡回路13が駆動(NPNトランジス
タTRNがオン)して入力端子eの電圧レベルが低下す
る。このとき、AD変換ポートTSの電圧レベルは、セ
ンサ検出回路12内の抵抗器RおよびコンデンサCのフ
ィルタ作用により、電圧低下タイミングが遅れる。
First, the input delay of the detection signal D to the AD conversion port TS after the short circuit 13 is stopped will be described. In FIG. 2, the output port TP is from "L" to "H".
Then, the short circuit 13 is driven (the NPN transistor TRN is turned on) and the voltage level of the input terminal e decreases. At this time, the voltage drop timing of the voltage level of the AD conversion port TS is delayed due to the filter action of the resistor R and the capacitor C in the sensor detection circuit 12.

【0072】同様に、出力ポートTPが「H」から
「L」に変化すると、短絡回路13が駆動停止(NPN
トランジスタTRNがオフ)して入力端子eの電圧レベ
ルが復帰するが、このときも、AD変換ポートTSの電
圧レベルは、抵抗器RおよびコンデンサCのフィルタ作
用により、電圧復帰タイミングが遅れる。
Similarly, when the output port TP changes from "H" to "L", the short circuit 13 stops driving (NPN).
Although the transistor TRN is turned off) and the voltage level of the input terminal e is restored, the voltage level of the AD conversion port TS also delays the voltage restoration timing due to the filtering action of the resistor R and the capacitor C at this time.

【0073】このことは、図2の場合に限らず、図4の
場合も同様であり、出力ポートTPの電圧レベルを切り
替えた直後においては、AD変換ポートTSの値をAD
変換しても、正常な値を入力することができないことに
なる。
This is the same not only in the case of FIG. 2 but also in the case of FIG. 4, and immediately after the voltage level of the output port TP is switched, the value of the AD conversion port TS is set to AD.
Even if you convert it, you will not be able to enter the correct value.

【0074】そこで、この発明の実施例2では、マイコ
ン10内のAD変換器の入力側にタイマ手段を挿入し、
正常な値が入力可能となった後でAD変換器を有効にす
る。すなわち、処理動作において、図6のように、たと
えば、ステップS1でAD変換要求フラグがセット(す
なわち、YES)と判定された後、出力ポートTPを
「L」レベルにして短絡回路13の駆動を停止させる
(ステップS3)とともに、タイマ処理ステップS5を
実行する。
Therefore, in the second embodiment of the present invention, timer means is inserted at the input side of the AD converter in the microcomputer 10.
The AD converter is enabled after a normal value can be input. That is, in the processing operation, as shown in FIG. 6, for example, after it is determined in step S1 that the AD conversion request flag is set (that is, YES), the output port TP is set to the “L” level to drive the short circuit 13. At the same time as stopping (step S3), the timer processing step S5 is executed.

【0075】この場合、タイマ手段には、センサ検出回
路12内の抵抗器RおよびコンデンサCによって決定す
るフィルタ時定数よりも長い時間(たとえば、100m
s)があらかじめ設定されており、ステップS6におい
て、所定時間(100ms)が経過するのを待つ。これ
により、所定時間の経過を待機している期間中に、AD
変換ポートTSの入力値(センサ検出回路12を介した
トルクセンサ2の検出信号D)の電圧レベルが安定す
る。
In this case, the timer means has a time longer than the filter time constant determined by the resistor R and the capacitor C in the sensor detection circuit 12 (for example, 100 m).
s) is set in advance, and waits for a predetermined time (100 ms) to elapse in step S6. As a result, while waiting for the elapse of a predetermined time, AD
The voltage level of the input value (the detection signal D of the torque sensor 2 via the sensor detection circuit 12) of the conversion port TS becomes stable.

【0076】所定時間の経過後、前述と同様に、AD変
換ポートTSの入力値をAD変換すし(ステップS
4)、検出信号DのAD変換値に基づいてモータ出力値
を決定し、モータ駆動回路14にモータ駆動信号を出力
してモータ3を制御する(ステップS5)。この結果、
さらに安定した信頼性の高いセンサ制御装置が実現とな
る。
After the elapse of a predetermined time, the input value of the AD conversion port TS is AD-converted as described above (step S
4), the motor output value is determined based on the AD conversion value of the detection signal D, and the motor drive signal is output to the motor drive circuit 14 to control the motor 3 (step S5). As a result,
Further, a stable and highly reliable sensor control device can be realized.

【0077】なお、図6の処理ルーチンは、図2の回路
構成からなる装置に適用した場合を示したが、図4の回
路構成からなる装置に適用した場合は、短絡回路13の
駆動論理(ステップS2およびS3)が図5のように逆
になる以外は図6と処理ルーチンと同様である。
Although the processing routine of FIG. 6 is applied to the device having the circuit configuration of FIG. 2, it is applied to the device of the circuit configuration of FIG. The process routine is the same as that of FIG. 6 except that steps S2 and S3) are reversed as shown in FIG.

【0078】また、所定時間経過後にAD変換器を有効
にする処理動作として、ステップS6によりAD変換の
実行を待機させ、待機後にステップS4によりAD変換
を実行させたが、AD変換値の読み出し値を遅らせても
よい。すなわち、ステップS6の代わりに、AD変換を
常時実行してAD変換値をRAMに記憶させておき、ス
テップS4の代わりに、RAM内に記憶されたAD変換
値のなかから、出力ポートTPを「L」レベルにしてか
ら100ms経過した後のAD変換値を読み出してもよ
い。
As a processing operation for validating the AD converter after the lapse of a predetermined time, the execution of the AD conversion is made to stand by in step S6 and the AD conversion is executed in step S4 after the standby. May be delayed. That is, instead of step S6, AD conversion is constantly executed to store the AD conversion value in the RAM, and instead of step S4, the output port TP is set to "A" from the AD conversion value stored in the RAM. The AD conversion value may be read after 100 ms has elapsed from the L level.

【0079】ここで、電動パワーステアリング制御装置
の場合を例にとって、図2とともに図7および図8を参
照しながら、この発明の実施例2に関連する動作につい
て、さらに具体的に説明する。
Here, taking the case of the electric power steering controller as an example, the operation relating to the second embodiment of the present invention will be described more specifically with reference to FIGS. 7 and 8 together with FIG.

【0080】図7はモータ3により発生する操舵トルク
TZとモータ電流IMとの関係を示す特性図である。ま
た、図8はAD変換ポートTSおよび出力ポートTPの
各信号レベルを示す波形図であり、短絡回路13の動作
前後のAD変換ポートTSの入力値VTSの変化を示し
ている。
FIG. 7 is a characteristic diagram showing the relationship between the steering torque TZ generated by the motor 3 and the motor current IM. FIG. 8 is a waveform diagram showing the signal levels of the AD conversion port TS and the output port TP, showing changes in the input value VTS of the AD conversion port TS before and after the operation of the short circuit 13.

【0081】制御装置1内のマイコン10は、トルクセ
ンサ2からの検出信号D(操舵トルク値)に応じてモー
タ駆動信号を決定し、モータ駆動信号に対応したモータ
電流IMをモータ3に流す。このときのモータ電流IM
[A]と発生する操舵トルクTZ[N・m]との関係は
図7のようになる。
The microcomputer 10 in the control device 1 determines the motor drive signal according to the detection signal D (steering torque value) from the torque sensor 2 and supplies the motor current IM corresponding to the motor drive signal to the motor 3. Motor current IM at this time
The relationship between [A] and the generated steering torque TZ [N · m] is as shown in FIG. 7.

【0082】図7から、操舵トルクTZが0〜TZ1の
範囲においてモータ電流IMは0に固定され、操舵トル
クTZがTZ2(>TZ1)以上においてモータ電流I
Mは最大電流IM2に固定され、操舵トルクTZがTZ
1〜TZ2の範囲においてモータ電流IMは0〜IM2
の間で変動することがわかる。
From FIG. 7, the motor current IM is fixed to 0 in the range of the steering torque TZ from 0 to TZ1, and the motor current I is maintained when the steering torque TZ is TZ2 (> TZ1) or more.
M is fixed to the maximum current IM2 and the steering torque TZ is TZ.
The motor current IM is 0 to IM2 in the range of 1 to TZ2.
It can be seen that it fluctuates between.

【0083】また、図8に示す出力ポートTPの信号レ
ベルVTPとAD変換ポートTSの入力値の信号レベル
との相関的な時間変化から、以下のことがわかる。すな
わち、出力ポートTPの信号レベルVTPが「H」の期
間TON(短絡回路13の短絡駆動)中および「L」レ
ベルに変化(短絡回路13の短絡駆動を停止して開放)
してから100ms経過後までは、AD変換ポートTS
の信号レベルVTSは低下しており、このときの入力値
VTSをAD変換しても正常な値を得ることができな
い。
Further, the following can be seen from the time-dependent correlation between the signal level VTP of the output port TP and the signal level of the input value of the AD conversion port TS shown in FIG. That is, the signal level VTP of the output port TP changes during the period TON (short-circuit driving of the short-circuit 13) during the period of "H" and to "L" level (stops the short-circuit driving of the short-circuit 13 and opens).
AD conversion port TS after 100 ms has passed
Signal level VTS is low, and a normal value cannot be obtained even if the input value VTS at this time is AD-converted.

【0084】したがって、出力ポートTPの信号レベル
VTPを「L」(短絡回路13を開放)にし、さらに所
定時間(100ms)経過してからAD変換ポートTS
の入力値VTSをAD変換すれば正常なAD変化値が得
られる。
Therefore, the signal level VTP of the output port TP is set to "L" (short circuit 13 is opened), and after a predetermined time (100 ms) has elapsed, the AD conversion port TS.
A normal AD change value can be obtained by AD converting the input value VTS.

【0085】図7および図8から、たとえば、操舵トル
クTZがTZ1〜TZ2の範囲のときに短絡回路13を
駆動した場合、短絡回路13の駆動中は操舵トルクTZ
に相当する入力値VTSをAD変換することができない
ので、短絡回路13の駆動停止中に操舵トルク相当値V
TSを入力することになる。
From FIGS. 7 and 8, for example, when the short circuit 13 is driven when the steering torque TZ is in the range of TZ1 to TZ2, the steering torque TZ is driven while the short circuit 13 is being driven.
Since the input value VTS corresponding to V cannot be AD-converted, the steering torque equivalent value V
The TS will be input.

【0086】この結果、短絡回路13の駆動毎に操舵ト
ルク相当値VTSを入力することができない領域が発生
し、この領域中で操舵トルクTZが変化した場合、操舵
トルクTZに応じてモータ電流IMも変化する。このモ
ータ電流IMの変化は、電動パワーステアリング装置に
おいては、ステアリングの操舵フィーリングに違和感と
なって現れるので好ましくない。
As a result, a region where the steering torque equivalent value VTS cannot be input occurs every time the short circuit 13 is driven, and when the steering torque TZ changes in this region, the motor current IM is changed according to the steering torque TZ. Also changes. In the electric power steering device, this change in the motor current IM causes an uncomfortable feeling in the steering feeling of the steering wheel, which is not preferable.

【0087】しかし、操舵トルクTZが0〜TZ1の範
囲またはTZ2以上のときに短絡回路13を駆動したと
すると、短絡回路13の駆動中に操舵トルクTZの検出
値VTSが変化してもモータ電流IMはほとんど変化し
ない。つまり、操舵トルクTZのAD変換値が0〜TZ
1の範囲またはTZ2以上のときは、モータ電流IMは
0か最大電流IM2に固定されているので、操舵トルク
TZが短絡回路13の駆動中に多少変化してもモータ電
流IMは変化しない。
However, if the short circuit 13 is driven when the steering torque TZ is in the range of 0 to TZ1 or TZ2 or more, even if the detected value VTS of the steering torque TZ changes while the short circuit 13 is being driven, the motor current is reduced. IM hardly changes. That is, the AD conversion value of the steering torque TZ is 0 to TZ.
In the range of 1 or TZ2 or more, the motor current IM is fixed to 0 or the maximum current IM2, so that the motor current IM does not change even if the steering torque TZ slightly changes during the driving of the short circuit 13.

【0088】この結果、モータ電流IMの変化はなく、
電動パワーステアリングシステムにおいて、ステアリン
グの操舵フィーリングに与える影響はない。また、操舵
トルクTZが0〜TZ1の範囲またはTZ2以上のとき
は、モータ電流IMが0か最大電流IM2に固定されて
いるので、操舵トルクTZのAD変換値は制御に使用さ
れていない。
As a result, there is no change in the motor current IM,
In the electric power steering system, there is no influence on the steering feeling of the steering. When the steering torque TZ is in the range of 0 to TZ1 or TZ2 or more, the motor current IM is fixed to 0 or the maximum current IM2, and therefore the AD conversion value of the steering torque TZ is not used for control.

【0089】実施例3.(請求項8に対応) なお、上記実施例2では、トルクセンサ2の不良判定に
ついて考慮しなかったが、バッテリ交換等の接続時や制
御装置1の初期取付時にトルクセンサ2の不良判定を行
い、不良判定時にモータ3の制御を停止させることが望
ましい。以下、図2の回路構成図とともに、図9の回路
図および図10のフローチャートを参照しながら、この
発明の実施例3について説明をする。
Example 3. (Corresponding to claim 8) In the second embodiment, the failure determination of the torque sensor 2 was not taken into consideration, but the failure determination of the torque sensor 2 is performed at the time of connection such as battery replacement or at the time of initial installation of the control device 1. It is desirable to stop the control of the motor 3 when determining a defect. A third embodiment of the present invention will be described below with reference to the circuit configuration diagram of FIG. 2 and the circuit diagram of FIG. 9 and the flowchart of FIG.

【0090】この場合、制御装置1内のマイコン10
は、制御装置1の起動時において、短絡回路13の開放
中にAD変換された検出信号(AD変換値)と短絡手段
の短絡中にAD変換された検出信号(AD変換値)とか
ら、トルクセンサ2の抵抗値RSoを算出するセンサ抵
抗値算出手段と、抵抗値RSoに基づいてトルクセンサ
2の不良を判定するセンサ不良判定手段と、センサの不
良判定時にモータ3(制御対象)の制御を停止する制御
停止手段とを含む。
In this case, the microcomputer 10 in the control device 1
Is the torque from the detection signal AD-converted (AD conversion value) while the short circuit 13 is open and the detection signal AD-converted (AD conversion value) while the short-circuit means is short-circuited when the control device 1 is activated. Sensor resistance value calculating means for calculating the resistance value RSo of the sensor 2, sensor failure determining means for determining a failure of the torque sensor 2 based on the resistance value RSo, and control of the motor 3 (control target) at the time of sensor failure determination. And a control stopping means for stopping.

【0091】まず、図9を参照しながら、短絡回路13
の駆動停止時と駆動時とのトルクセンサ2からの検出信
号Dについて説明する。図9はトルクセンサ2とセンサ
検出回路12および短絡回路13とを概略的に示す回路
図であり、VSは電源電圧、VTSはAD変換ポートT
Sの入力値である。また、RS1およびRS2は可変抵
抗器RSを示し、スイッチSWはNPNトランジスタT
RNを示している。
First, referring to FIG. 9, the short circuit 13
The detection signal D from the torque sensor 2 when the driving is stopped and when the driving is performed will be described. FIG. 9 is a circuit diagram schematically showing the torque sensor 2, the sensor detection circuit 12, and the short circuit 13, where VS is a power supply voltage and VTS is an AD conversion port T.
It is an input value of S. Further, RS1 and RS2 indicate a variable resistor RS, and a switch SW is an NPN transistor T.
RN is shown.

【0092】トルクセンサ2の可変抵抗器RSはRS1
とRS2とに分解されており、電源電圧VSが印加され
ている。また、制御装置1の起動時においては、コネク
タのトルクセンサ2側の出力端子bと制御装置1側の入
力端子eとの接触抵抗はないものと想定し、各端子は省
略されている。
The variable resistor RS of the torque sensor 2 is RS1.
And RS2, and the power supply voltage VS is applied. Further, when the control device 1 is started, it is assumed that there is no contact resistance between the output terminal b on the torque sensor 2 side of the connector and the input terminal e on the control device 1 side, and each terminal is omitted.

【0093】図9において、断線検出用の抵抗器RMの
抵抗値RMoは、トルクセンサ2の可変抵抗器RSを分
解した抵抗器RS2の抵抗値RS2oよりも十分大き
く、たとえば、RMo=RS2o×1000を満たす程
度に設定されている。したがって、抵抗器RS2および
RMの合成抵抗値は、抵抗値RMoが無視されて、ほぼ
RS2と見なすことができる。
In FIG. 9, the resistance value RMo of the resistor RM for disconnection detection is sufficiently larger than the resistance value RS2o of the resistor RS2 obtained by disassembling the variable resistor RS of the torque sensor 2, for example, RMo = RS2o × 1000. It is set to meet the requirements. Therefore, the combined resistance value of the resistors RS2 and RM can be regarded as almost RS2, ignoring the resistance value RMo.

【0094】ここで、NPNトランジスタTRN(スイ
ッチSW)がオフのときのトルクセンサ2の検出信号D
の電圧レベルすなわち入力値VTS(OFF)[V]
は、抵抗器RS1の抵抗値RS1oを用いて、次式
(1)により表わされる。
Here, the detection signal D of the torque sensor 2 when the NPN transistor TRN (switch SW) is off.
Voltage level, that is, input value VTS (OFF) [V]
Is expressed by the following equation (1) using the resistance value RS1o of the resistor RS1.

【0095】 VTS(OFF)={RS2o/(RS1o+RS2o)}×VS…(1)VTS (OFF) = {RS2o / (RS1o + RS2o)} × VS ... (1)

【0096】また、スイッチSWがオンのときの入力値
VTS(ON)[V]は、抵抗器RBの抵抗値RBoを
用いて、次式(2)により表わされる。
The input value VTS (ON) [V] when the switch SW is on is represented by the following equation (2) using the resistance value RBo of the resistor RB.

【0097】 VTS(ON)=[{RS2o・RBo/(RS2o+RBo)}/{RS1 o+RS2o・RBo/(RS2o+RBo)}]×VS…(2)VTS (ON) = [{RS2o.RBo / (RS2o + RBo)} / {RS1o + RS2o.RBo / (RS2o + RBo)}] × VS ... (2)

【0098】上記式(1)を用いて、スイッチSWがオ
フ時の入力値VTS(OFF)から、トルクセンサ2内
の抵抗値RS2oを計算で求めることができる。また、
上記式(2)を用いて、電流調整用の抵抗器RBの抵抗
値RBoおよびセンサ電源電圧VSは固定値なので、抵
抗値RS2oおよびRBoの合成抵抗値を求めることが
できる。
Using the above equation (1), the resistance value RS2o in the torque sensor 2 can be calculated from the input value VTS (OFF) when the switch SW is off. Also,
Since the resistance value RBo of the resistor RB for current adjustment and the sensor power supply voltage VS are fixed values, the combined resistance value of the resistance values RS2o and RBo can be obtained using the above equation (2).

【0099】また、抵抗器RS1の抵抗値RS1oは、
トルクセンサ2の全抵抗値RSoから抵抗値RS2oを
減算すれば求めることができる。したがって、スイッチ
SWがオフ時におけるマイコン10の入力値VTS(O
FF)から、スイッチSWがオン時の入力値VTS(O
N)を計算で求めることができる。
The resistance value RS1o of the resistor RS1 is
It can be obtained by subtracting the resistance value RS2o from the total resistance value RSo of the torque sensor 2. Therefore, when the switch SW is off, the input value VTS (O
FF), the input value VTS (O
N) can be calculated.

【0100】次に、図10を参照しながら、トルクセン
サ2の不良判定を行うこの発明の実施例3の動作につい
て説明する。まず、制御装置1が制御を開始したときの
起動時において、たとえば、マイコン10がリセットス
タートしたとき、出力ポートTPを「L」レベルにして
スイッチSW(NPNトランジスタTRN)をオフし、
短絡回路13の駆動を停止する(ステップS10)。
Next, with reference to FIG. 10, the operation of the third embodiment of the present invention for determining the failure of the torque sensor 2 will be described. First, at the time of starting when the control device 1 starts control, for example, when the microcomputer 10 resets and starts, the output port TP is set to the “L” level to turn off the switch SW (NPN transistor TRN),
The driving of the short circuit 13 is stopped (step S10).

【0101】続いて、AD変換ポートTSの入力値VT
S(トルクセンサ2の検出値)をAD変換し、このAD
変換値をマイコン10内のRAMに記憶する(ステップ
S11)。続いて、RAMに記憶されたAD変換値を用
いて、スイッチSWをオン(短絡回路13を駆動)した
場合のAD変換ポートTSの入力値VTS(ON)1
を、式(2)の計算により求める(ステップS12)。
Then, the input value VT of the AD conversion port TS
S (detection value of torque sensor 2) is AD-converted, and this AD
The converted value is stored in the RAM in the microcomputer 10 (step S11). Subsequently, using the AD conversion value stored in the RAM, the input value VTS (ON) 1 of the AD conversion port TS when the switch SW is turned on (driving the short circuit 13)
Is calculated by the equation (2) (step S12).

【0102】ステップS12において算出された入力値
VTS(ON)1は、マイコン10内のRAMに記憶さ
れる。次に、実際に出力ポートTPを「H」レベルにし
てスイッチSWをオンさせ、短絡回路13を駆動する
(ステップS13)。そして、AD変換ポートTSの実
際の入力値VTS(ON)(トルクセンサ2の検出値)
をAD変換し、AD変換値をマイコン10内のRAMに
記憶する(ステップS14)。
The input value VTS (ON) 1 calculated in step S12 is stored in the RAM in the microcomputer 10. Next, the output port TP is actually set to "H" level to turn on the switch SW to drive the short circuit 13 (step S13). Then, the actual input value VTS (ON) of the AD conversion port TS (detection value of the torque sensor 2)
Is AD-converted and the AD-converted value is stored in the RAM in the microcomputer 10 (step S14).

【0103】続いて、ステップ14において記憶された
AD変換値と、ステップ12において算出して記憶され
たVTS(ON)1のAD変換値とを比較し、比較結果
が異常か否かを判定する(ステップS15)。もし、算
出値VTS(ON)1のAD変換値との誤差が所定値
(たとえば、全抵抗値の10%以上)より大きい(すな
わち、YES)と判定されれば、異常有りと見なしてエ
ラーフラグをセットする(ステップS16)。
Subsequently, the AD conversion value stored in step 14 and the AD conversion value of VTS (ON) 1 calculated and stored in step 12 are compared to determine whether or not the comparison result is abnormal. (Step S15). If it is determined that the error between the calculated value VTS (ON) 1 and the AD conversion value is larger than a predetermined value (for example, 10% or more of the total resistance value) (that is, YES), it is considered that there is an error and an error flag is set. Is set (step S16).

【0104】一方、ステップS15において、誤差が全
抵抗値の10%未満(すなわち、NO)と判定されれ
ば、正常と見なしてエラーフラグをクリアする(ステッ
プS17)。こうして、ステップS16またはS17に
おいてエラーフラグを操作した後、モータ3を制御する
メイン処理ステップS18を実行する。
On the other hand, if it is determined in step S15 that the error is less than 10% of the total resistance value (that is, NO), it is regarded as normal and the error flag is cleared (step S17). Thus, after operating the error flag in step S16 or S17, the main processing step S18 for controlling the motor 3 is executed.

【0105】以上のステップS10〜S17は、リセッ
トスタート時にのみに実行されるので、メイン処理ステ
ップS18を実行した後は、ステップS10〜S17を
実行することはない。また、ステップS16またはS1
7において操作されたエラーフラグは、メイン処理ステ
ップS18において、モータ3の駆動または非駆動の判
定に用いられる。
Since the above steps S10 to S17 are executed only at the time of reset start, steps S10 to S17 are not executed after the main processing step S18 is executed. In addition, step S16 or S1
The error flag operated in 7 is used to determine whether the motor 3 is driven or not in the main processing step S18.

【0106】なお、図10の処理ルーチンは、図2の回
路構成の装置に適用した場合を示すが、図4の回路構成
の装置に適用した場合は、短絡回路13の駆動論理(ス
テップS10およびS13)が逆になる以外は図10と
同様である。
The processing routine of FIG. 10 shows the case where it is applied to the device having the circuit configuration of FIG. 2, but when it is applied to the device of the circuit configuration of FIG. 4, the drive logic of the short circuit 13 (steps S10 and It is the same as FIG. 10 except that S13) is reversed.

【0107】実施例4.(請求項9に対応) また、上記実施例3では、制御装置1とトルクセンサ2
との間を接続するコネクタ部の不良について考慮しなか
ったが、コネクタ部の不良を判定し、コネクタ部の不良
判定時にはモータ3の制御を停止することが望ましい。
以下、図2の回路構成図とともに、図11の回路図およ
び図12のフローチャートを参照しながら、コネクタ部
の不良判定を行うこの発明の実施例4について説明す
る。
Example 4. (Corresponding to Claim 9) In the third embodiment, the control device 1 and the torque sensor 2 are provided.
Although no consideration was given to the defect of the connector portion connecting between and, it is desirable to determine the defect of the connector portion and stop the control of the motor 3 when the defect of the connector portion is determined.
Hereinafter, with reference to the circuit configuration diagram of FIG. 2 and the circuit diagram of FIG. 11 and the flowchart of FIG. 12, a fourth embodiment of the present invention for determining a defect of a connector portion will be described.

【0108】この場合、制御装置1内のマイコン10
は、短絡回路13の開放(非駆動)中にAD変換された
検出信号(AD変換値)と、短絡回路13の短絡駆動中
にAD変換された検出信号(AD変換値)とから、信号
線LDの両端を含むコネクタ部の接触抵抗値RCoを算
出する接触抵抗値算出手段と、接触抵抗値RCoに基づ
いてコネクタ部の不良を判定するコネクタ部不良判定手
段と、コネクタ部の不良判定時にモータ3の制御を停止
する制御停止手段とを含む。
In this case, the microcomputer 10 in the control device 1
Is a signal line from the detection signal (AD conversion value) AD-converted while the short circuit 13 is open (non-driving) and the detection signal AD conversion value (AD conversion value) while the short circuit 13 is short-circuit driven. Contact resistance value calculating means for calculating the contact resistance value RCo of the connector portion including both ends of the LD, connector portion failure determining means for determining the failure of the connector portion based on the contact resistance value RCo, and a motor for determining the failure of the connector portion. Control stop means for stopping the control of 3).

【0109】まず、図11を参照しながら、接触抵抗値
RCoの計算手段について説明する。図11はトルクセ
ンサ2、センサ検出回路12および短絡回路13を概略
的に示しており、図において、RS1、RS2、VS、
SWおよびVTSは前述と同様のものであり、RCは信
号線LD(図2参照)の両端子bおよびeを含むコネク
タ部に相当する抵抗器である。
First, the means for calculating the contact resistance value RCo will be described with reference to FIG. FIG. 11 schematically shows the torque sensor 2, the sensor detection circuit 12, and the short circuit 13, and in the figure, RS1, RS2, VS,
SW and VTS are the same as those described above, and RC is a resistor corresponding to the connector section including both terminals b and e of the signal line LD (see FIG. 2).

【0110】ここでは、制御装置1の起動時におけるコ
ネクタ部の入出力端子bおよびeの接触抵抗を抵抗器R
Cで示している。まず、スイッチSWがオフのとき、抵
抗器RMの抵抗値RMoは、前述のようにトルクセンサ
2を分解した抵抗値RS2oよりも十分大きいので、抵
抗器RS2と抵抗器RMおよびRCとの合成抵抗値は、
RS2と見なすことができる。
Here, the contact resistance of the input / output terminals b and e of the connector portion when the control device 1 is started is determined by the resistor R.
It is indicated by C. First, when the switch SW is off, the resistance value RMo of the resistor RM is sufficiently larger than the resistance value RS2o obtained by disassembling the torque sensor 2 as described above. Therefore, the combined resistance of the resistor RS2 and the resistors RM and RC value is,
It can be considered as RS2.

【0111】また、コネクタ部の接触抵抗値RCoを、
抵抗器RMの抵抗器RMoの10分の1以下とすると、
短絡回路13のオフ時のトルクセンサ検出値すなわちA
D変換ポートTSの入力値VTS(OFF)は、次式
(3)により表わされる。
Further, the contact resistance value RCo of the connector is
Assuming that the resistance RM of the resistor RM is 1/10 or less of that of the resistor RM,
Torque sensor detection value when the short circuit 13 is off, that is, A
The input value VTS (OFF) of the D conversion port TS is expressed by the following equation (3).

【0112】 VTS(OFF)={RS2o/(RS1o+RS2o)}×{RMo・RC o/(RMo+RCo)}×VS…(3)VTS (OFF) = {RS2o / (RS1o + RS2o)} × {RMo · RC o / (RMo + RCo)} × VS ... (3)

【0113】ここで、接触抵抗値RCoは、抵抗値RM
oの10分の1以下の値としているので、上記式(3)
は次式(4)で近似することができる。
Here, the contact resistance value RCo is the resistance value RM.
Since the value is one-tenth or less of o, the above formula (3)
Can be approximated by the following equation (4).

【0114】 VTS(OFF)={RS2o/(RS1o+RS2o)}×VS…(4)VTS (OFF) = {RS2o / (RS1o + RS2o)} × VS ... (4)

【0115】一方、スイッチSWがオンのとき、抵抗値
RMoは抵抗RBoよりも十分大きいので、抵抗器RB
およびRMの合成抵抗値はRBと見なすことができる。
したがって、スイッチSWがオン時のトルクセンサ検出
値すなわちAD変換ポートTSの入力値VTS(ON)
は、次式(5)により表わされる。
On the other hand, when the switch SW is on, the resistance value RMo is sufficiently larger than the resistance RBo.
The combined resistance value of RM and RM can be regarded as RB.
Therefore, the torque sensor detection value when the switch SW is on, that is, the input value VTS (ON) of the AD conversion port TS.
Is expressed by the following equation (5).

【0116】 VTS(ON)=[{RS2o・(RBo+RCo)/(RS2o+RBo+ RCo)}/{RS1o+RS2o・(RBo+RCo)/(RS2o+RBo +RCo)}]×{RBo・RCo/(RBo+RCo)}×VS…(5)VTS (ON) = [{RS2o · (RBo + RCo) / (RS2o + RBo + RCo)} / {RS1o + RS2o · (RBo + RCo) / (RS2o + RBo + RCo)}] × {RBo · RCo / (RBo + RCo)} × VS ... (5) )

【0117】上記式(3)を用いて、入力値VTS(O
FF)から、トルクセンサ2内の抵抗値RS2oを推定
し、接触抵抗値RCoが0[Ω]のときの入力値VTS
(ON)1を計算で求め、算出値VTS(ON)1と実
際の入力値VTS(ON)との差を求めることができ
る。また、算出値VTS(ON)1から短絡回路13内
の抵抗器RBに流れる電流値IRBを求め、算出値VT
S(ON)1と実際の入力値VTS(ON)との差と電
流値IRBとから接触抵抗値RCoを推定することがで
きる。
Using the above equation (3), the input value VTS (O
FF), the resistance value RS2o in the torque sensor 2 is estimated, and the input value VTS when the contact resistance value RCo is 0 [Ω]
(ON) 1 can be obtained by calculation, and the difference between the calculated value VTS (ON) 1 and the actual input value VTS (ON) can be obtained. Further, the current value IRB flowing through the resistor RB in the short circuit 13 is calculated from the calculated value VTS (ON) 1 and the calculated value VT
The contact resistance value RCo can be estimated from the current value IRB and the difference between S (ON) 1 and the actual input value VTS (ON).

【0118】次に、図12を参照しながら、この発明の
実施例4の動作について説明する。図12において、S
10〜S14およびS18は図10内と同様のステップ
であり、S15A〜S17Aは各ステップS15〜S1
7に対応している。この場合、AD変換ステップS14
と判定ステップS15Aとの間に、抵抗値RCoを推定
するステップS19が挿入されている。
Next, the operation of the fourth embodiment of the present invention will be described with reference to FIG. In FIG. 12, S
10 to S14 and S18 are the same steps as in FIG. 10, and S15A to S17A are steps S15 to S1.
It corresponds to 7. In this case, the AD conversion step S14
Between the determination step S15A and the determination step S15A, a step S19 for estimating the resistance value RCo is inserted.

【0119】まず、出力ポートTPを「L」レベル(N
PNトランジスタTRNをオフ)にして短絡回路13の
駆動を停止し(ステップS10)、AD変換ポートTS
の入力値VTS(OFF)をAD変換し(ステップS1
1)、このAD変換値を用いて、短絡回路13を駆動し
たときのAD変換ポートTSの入力値VTS(ON)1
を求める(ステップS12)。
First, the output port TP is set to the "L" level (N
The PN transistor TRN is turned off to stop driving the short circuit 13 (step S10), and the AD conversion port TS
The input value VTS (OFF) of is AD-converted (step S1
1), the input value VTS (ON) 1 of the AD conversion port TS when the short circuit 13 is driven using this AD converted value
Is calculated (step S12).

【0120】続いて、出力ポートTPを「H」レベルに
して短絡回路13を駆動し(ステップS13)、AD変
換ポートTSの入力値VTS(ON)をAD変換する
(ステップS14)。次に、ステップS14で得られた
AD変換値と、ステップ12で算出された入力値VTS
(ON)1のAD変換値との偏差の絶対値からコネクタ
端子すなわち入出力端子bおよびeの接触抵抗RCoを
求める(ステップ19)。
Then, the output port TP is set to "H" level to drive the short circuit 13 (step S13), and the input value VTS (ON) of the AD conversion port TS is AD-converted (step S14). Next, the AD conversion value obtained in step S14 and the input value VTS calculated in step 12
The contact resistance RCo of the connector terminal, that is, the input / output terminals b and e is obtained from the absolute value of the deviation from the AD conversion value of (ON) 1 (step 19).

【0121】そして、RAMに記憶されている接触抵抗
値の判定値RHと接触抵抗値RCoとを比較し、接触抵
抗値RCoが判定値RH以上(異常)か否かを判定する
(ステップS15A)。もし、RCo≧RH(すなわ
ち、YES)と判定されれば、コネクタ部が異常と見な
してエラーフラグをセットし(ステップS16A)、R
C<RH(すなわち、NO)と判定されれば、コネクタ
部が正常と見なしてエラーフラグをクリアする(ステッ
プS17A)。
Then, the judgment value RH of the contact resistance value stored in the RAM is compared with the contact resistance value RCo to judge whether or not the contact resistance value RCo is equal to or larger than the judgment value RH (abnormal) (step S15A). . If it is determined that RCo ≧ RH (that is, YES), the connector section is considered to be abnormal and an error flag is set (step S16A), and R
If it is determined that C <RH (that is, NO), the connector section is regarded as normal and the error flag is cleared (step S17A).

【0122】こうして、ステップS16AまたはS17
Aにおいてエラーフラグを操作した後、モータ3を制御
するためのメイン処理ステップS18を実行し、メイン
処理ステップS18の終了後にステップ10に戻り、上
記処理を繰り返し実行する。ステップS16AまたはS
17Aで操作されたエラーフラグは、メイン処理ステッ
プS18において、モータ3の駆動または非駆動の判定
に用いられる。この場合も、図2の回路構成の装置のみ
ならず、図4の回路構成の装置に適用可能なことは言う
までもない。
Thus, step S16A or S17
After the error flag is operated in A, the main processing step S18 for controlling the motor 3 is executed, and after the main processing step S18 ends, the process returns to step 10 to repeat the above processing. Step S16A or S
The error flag operated in 17A is used to determine whether to drive or not drive the motor 3 in the main processing step S18. It goes without saying that this case can be applied not only to the device having the circuit configuration shown in FIG. 2 but also to the device having the circuit configuration shown in FIG.

【0123】実施例5.(請求項10に対応) なお、上記各実施例では、短絡回路13の短絡動作中に
AD変換器を無効にしたが、短絡回路13の短絡動作中
の入力値VTSを保持するようにしてもよい。以下、図
13の回路構成図を参照しながら、この発明の実施例5
について説明する。
Example 5. (Corresponding to claim 10) In each of the above embodiments, the AD converter is disabled during the short circuit operation of the short circuit 13, but the input value VTS during the short circuit operation of the short circuit 13 may be held. Good. Embodiment 5 of the present invention will now be described with reference to the circuit configuration diagram of FIG.
Will be described.

【0124】この場合、制御装置1は、短絡回路13を
短絡したときの検出信号Dを、短絡回路13が再び開放
されるまで保持する検出信号保持部を含む。図13は短
絡回路13としてNPNトランジスタTRNを用いた場
合を示し、1、2、10、12および13は前述と同様
のものであり、動作の概要は実施例1と同様なので詳述
を省略する。
In this case, the control device 1 includes a detection signal holding section that holds the detection signal D when the short circuit 13 is short-circuited until the short circuit 13 is opened again. FIG. 13 shows a case in which an NPN transistor TRN is used as the short circuit 13, 1, 2, 10, 12 and 13 are the same as those described above. .

【0125】ASはセンサ検出回路12内のフィルタの
入力端子側に挿入されたアナログスイッチ、IVは出力
ポートTPの信号レベルに応答してアナログスイッチA
Sをオンオフさせるインバータである。アナログスイッ
チASは、サンプルホールド回路としての機能を有し、
オフ時の信号を保持する検出信号保持部を構成してい
る。
AS is an analog switch inserted in the input terminal side of the filter in the sensor detection circuit 12, and IV is analog switch A in response to the signal level of the output port TP.
It is an inverter that turns S on and off. The analog switch AS has a function as a sample hold circuit,
A detection signal holding unit that holds a signal when it is off is configured.

【0126】図13において、図2との相違点は、セン
サ検出回路12内にアナログスイッチASを挿入し、短
絡回路13に対するマイコン10からの駆動信号(出力
ポートTP)が「L」レベル(NPNトランジスタTR
Nがオフとなり短絡回路13が駆動停止)のときに、イ
ンバータIVによりアナログスイッチASをオンにする
点である。
In FIG. 13, the difference from FIG. 2 is that the analog switch AS is inserted in the sensor detection circuit 12 and the drive signal (output port TP) from the microcomputer 10 to the short circuit 13 is at the “L” level (NPN). Transistor TR
The point is that the analog switch AS is turned on by the inverter IV when N is turned off and the short circuit 13 stops driving.

【0127】このように、マイコン10から短絡回路1
3に対する「L」レベル信号がインバータIVを介して
アナログスイッチASをオンさせると、トルクセンサ2
からの検出信号Dは、フィルタRおよびCを介してAD
変換ポートTSに印加される。
In this way, the short circuit 1
When the "L" level signal for the third switch turns on the analog switch AS via the inverter IV, the torque sensor 2
Detection signal D from AD is passed through filters R and C to AD
It is applied to the conversion port TS.

【0128】逆に、マイコン10から短絡回路13に対
する駆動信号が「H」レベル(NPNトランジスタTR
Nがオンとなり短絡回路13が短絡駆動)のとき、マイ
コン10から短絡回路13への「H」レベル信号がイン
バータIVを介してアナログスイッチASオフをさせ
る。これにより、アナログスイッチASは、オフされる
直前の検出信号DをAD変換ポートTSに出力する。
On the contrary, the drive signal from the microcomputer 10 to the short circuit 13 is at "H" level (NPN transistor TR).
When N is on and the short circuit 13 is short-circuited), the "H" level signal from the microcomputer 10 to the short circuit 13 turns off the analog switch AS via the inverter IV. As a result, the analog switch AS outputs the detection signal D immediately before being turned off to the AD conversion port TS.

【0129】したがって、短絡回路13のオンオフ駆動
状態によってトルクセンサ2からの検出信号Dが変化し
ないので、短絡回路13の駆動状態に関係なく、AD変
換を実行することができる。
Therefore, since the detection signal D from the torque sensor 2 does not change depending on the ON / OFF drive state of the short circuit 13, AD conversion can be performed regardless of the drive state of the short circuit 13.

【0130】ここでは、短絡回路13内の開閉素子とし
てNPNトランジスタTRNを用いたが、逆極性のPN
PトランジスタTRPを用いてもよい。図14は、短絡
回路13としてPNPトランジスタTRPを用いた場合
のこの発明の実施例5を示す回路構成図であり、1、
2、10、12、13およびASは前述と同様のもので
あり、動作の概要は図4の場合と同様なので詳述を省略
する。
Although the NPN transistor TRN is used as the switching element in the short circuit 13 here, the PN having the opposite polarity is used.
The P transistor TRP may be used. FIG. 14 is a circuit configuration diagram showing a fifth embodiment of the present invention when a PNP transistor TRP is used as the short circuit 13, 1.
2, 10, 12, 13 and AS are the same as those described above, and the outline of the operation is the same as in the case of FIG.

【0131】図14において、IBはアナログスイッチ
ASをオンオフ駆動するためのバッファである。この場
合、図4との相違点は、図13と同様にアナログスイッ
チASを挿入し、マイコン10から短絡回路13に対す
る駆動信号が「H」レベル(PNPトランジスタTRP
がオフとなり短絡回路13が駆動停止)のときに、バッ
ファIBによりアナログスイッチASをオンにする点で
ある。
In FIG. 14, IB is a buffer for driving the analog switch AS on and off. In this case, the difference from FIG. 4 is that the analog switch AS is inserted as in FIG. 13, and the drive signal from the microcomputer 10 to the short circuit 13 is at the “H” level (PNP transistor TRP).
Is off and the short circuit 13 is stopped driving), the analog switch AS is turned on by the buffer IB.

【0132】このように、マイコン10から短絡回路1
3に対する「H」レベル信号がバッファIBを介してア
ナログスイッチASをオンさせると、トルクセンサ2か
らの検出信号Dは、そのままフィルタRおよびCを介し
てAD変換ポートTSに印加される。
Thus, the short circuit 1
When the "H" level signal for 3 turns on the analog switch AS via the buffer IB, the detection signal D from the torque sensor 2 is directly applied to the AD conversion port TS via the filters R and C.

【0133】逆に、マイコン10から短絡回路13に対
する駆動信号が「L」レベル(PNPトランジスタTR
Pがオンとなり短絡回路13が短絡駆動)のとき、マイ
コン10から短絡回路13への「L」レベル信号がバッ
ファIBを介してアナログスイッチASオフをさせる。
これにより、アナログスイッチASは、オフされる直前
の検出信号DをAD変換ポートTSに出力する。
On the contrary, the drive signal from the microcomputer 10 to the short circuit 13 is at the "L" level (PNP transistor TR
When P is turned on and the short circuit 13 is short-circuited), the "L" level signal from the microcomputer 10 to the short circuit 13 turns off the analog switch AS via the buffer IB.
As a result, the analog switch AS outputs the detection signal D immediately before being turned off to the AD conversion port TS.

【0134】したがって、前述と同様に、短絡回路13
のオンオフ駆動状態によってトルクセンサ2からの検出
信号Dが変化しないので、短絡回路13の駆動状態に関
係なく、AD変換を実行することができる。この場合、
安価なアナログスイッチASを用いることができるの
で、コストアップを招くこともない。
Therefore, as described above, the short circuit 13
Since the detection signal D from the torque sensor 2 does not change depending on the ON / OFF driving state of A, AD conversion can be executed regardless of the driving state of the short circuit 13. in this case,
Since the inexpensive analog switch AS can be used, the cost does not increase.

【0135】なお、図13および図14では、検出信号
保持部としてアナログスイッチASを用いたが、フィル
タを構成するコンデンサCに開閉素子を組み合わせるこ
とによって実現することもできる。以下、図15の回路
構成図を参照しながら、コンデンサCに開閉素子を組み
合わせたこの発明の実施例5について説明する。
Although the analog switch AS is used as the detection signal holding unit in FIGS. 13 and 14, it can be realized by combining the switching element with the capacitor C which constitutes the filter. Embodiment 5 of the present invention in which a capacitor C is combined with a switching element will be described below with reference to the circuit configuration diagram of FIG.

【0136】図15は、短絡回路13としてNPNトラ
ンジスタTRNを用いた場合を示し、1、2、10、1
2、13およびIVに関する動作の概要は前述と同様な
ので詳述を省略する。TRNHはエミッタ接地のNPN
トランジスタであり、コレクタがコンデンサCに接続さ
れ、ベースがインバータIVに出力端子に接続されてい
る。NPNトランジスタTRNHは、コンデンサCと協
動して検出信号保持部を構成している。
FIG. 15 shows a case where the NPN transistor TRN is used as the short circuit 13, 1, 2, 10, 1.
Since the outline of the operations regarding 2, 13, and IV is the same as that described above, detailed description thereof will be omitted. TRNH is a grounded NPN
It is a transistor, the collector is connected to the capacitor C, and the base is connected to the output terminal of the inverter IV. The NPN transistor TRNH cooperates with the capacitor C to form a detection signal holding unit.

【0137】この場合、図2との相違点は、コンデンサ
Cとグランドとの間にNPNトランジスタTRNHを挿
入し、マイコン10から短絡回路13に対する駆動信号
(出力ポートTPの信号レベル)により、インバータI
Vを介してNPNトランジスタTRNHを駆動する点で
ある。
In this case, the difference from FIG. 2 is that an NPN transistor TRNH is inserted between the capacitor C and the ground, and the inverter I is driven by the drive signal (signal level of the output port TP) from the microcomputer 10 to the short circuit 13.
The point is that the NPN transistor TRNH is driven via V.

【0138】すなわち、出力ポートTPを「H」レベル
として短絡回路13を短絡駆動したとき、NPNトラン
ジスタTRNHは、インバータIVからの「L」レベル
信号によってオフとなり、センサ検出回路12中のコン
デンサCのグランドレベルを浮かすことになる。
That is, when the output port TP is set to the “H” level and the short circuit 13 is short-circuit driven, the NPN transistor TRNH is turned off by the “L” level signal from the inverter IV, and the capacitor C in the sensor detection circuit 12 is turned off. It will float the ground level.

【0139】これにより、コンデンサCには、短絡回路
13を駆動する直前の電荷が蓄積されたまま放電されず
保持される。この場合、短絡回路13を駆動した後で、
短絡回路13を再び駆動停止して開放しても、検出信号
Dに相当するAD変換ポートTSの入力電圧値VTS
は、抵抗器RおよびコンデンサCによるフィルタ遅れな
く、直ちに短絡回路13を駆動する直前の値に復帰す
る。したがって、タイマ手段を設ける必要がなくなる。
As a result, the electric charge immediately before driving the short circuit 13 is stored in the capacitor C without being discharged as it is. In this case, after driving the short circuit 13,
Even if the driving of the short circuit 13 is stopped again and opened, the input voltage value VTS of the AD conversion port TS corresponding to the detection signal D
Immediately returns to the value immediately before driving the short circuit 13 without delaying the filter by the resistor R and the capacitor C. Therefore, it is not necessary to provide timer means.

【0140】図15では、短絡回路13としてNPNト
ランジスタTRNを用いた場合を示したが、PNPトラ
ンジスタTRPを用いてもよい。図16は、短絡回路1
3としてPNPトランジスタTRPを用いた場合の回路
構成図であり、動作の概要は前述と同様なので詳述を省
略する。
Although FIG. 15 shows the case where the NPN transistor TRN is used as the short circuit 13, the PNP transistor TRP may be used. FIG. 16 shows the short circuit 1
FIG. 3 is a circuit configuration diagram when a PNP transistor TRP is used as 3, and the outline of the operation is the same as that described above, and a detailed description thereof will be omitted.

【0141】この場合、図15との相違点は、短絡回路
13をPNPトランジスタTRPで構成し、インバータ
IVを除去した点にある。したがって、短絡回路13の
駆動時において、NPNトランジスタTRNHは、出力
ポートTPからの「L」レベル信号によって、センサ検
出回路12内のコンデンサCのグランドレベルを浮かす
ことになる。
In this case, the difference from FIG. 15 is that the short circuit 13 is formed of the PNP transistor TRP and the inverter IV is removed. Therefore, when the short circuit 13 is driven, the NPN transistor TRNH floats the ground level of the capacitor C in the sensor detection circuit 12 by the “L” level signal from the output port TP.

【0142】これにより、前述と同様に、コンデンサC
には短絡回路3を駆動する直前の電荷が蓄積されたまま
放電されず保持され、その後、短絡回路13を再び駆動
停止したときに、AD変換ポートTSに対する入力電圧
値VTSは、フィルタ遅れなく短絡回路3の駆動直前の
値に復帰する。
As a result, similarly to the above, the capacitor C
The electric charge immediately before driving the short-circuit 3 is accumulated and held without being discharged. When the short-circuit 13 is stopped again after that, the input voltage value VTS to the AD conversion port TS is short-circuited without a filter delay. The value immediately before the driving of the circuit 3 is restored.

【0143】実施例6.(請求項11に対応) なお、上記各実施例では、単一のトルクセンサ2からの
検出信号Dを単一のセンサ検出回路12で検出する場合
を示したが、複数のトルクセンサからの検出信号を複数
のセンサ検出回路で検出してもよい。
Example 6. (Corresponding to Claim 11) In each of the above embodiments, the case where the detection signal D from the single torque sensor 2 is detected by the single sensor detection circuit 12 has been described. The signal may be detected by a plurality of sensor detection circuits.

【0144】以下、図17〜図19を参照しながら、複
数のトルクセンサを並設したこの発明の実施例6につい
て説明する。図17において、2aおよび2bは並設さ
れた複数のトルクセンサ、12aおよび12bは各トル
クセンサ2aおよび2bに対応して制御装置1A内に並
設された複数のセンサ検出回路、13aおよび13bは
各センサ検出回路12aおよび12bに対応して並設さ
れた複数の短絡回路である。ここでは、各回路構成が並
設されたこと以外は図2と同様であるため詳細な説明を
省略する。
A sixth embodiment of the present invention in which a plurality of torque sensors are arranged in parallel will be described below with reference to FIGS. In FIG. 17, 2a and 2b are a plurality of torque sensors arranged in parallel, 12a and 12b are a plurality of sensor detection circuits arranged in parallel in the control device 1A corresponding to the torque sensors 2a and 2b, 13a and 13b are It is a plurality of short-circuit circuits arranged in parallel corresponding to each sensor detection circuit 12a and 12b. Here, the detailed description is omitted because it is the same as that of FIG. 2 except that each circuit configuration is arranged in parallel.

【0145】この場合、制御装置1A内のマイコン10
Aは、各センサ検出回路12aおよび12bに対応した
AD変換ポートTS1およびTS2と、各短絡回路13
aおよび13bに対応した出力ポートTP1およびTP
2を有し、各トルクセンサ2aおよび2bのうちのAD
変換していないトルクセンサに関連する短絡手段を逐次
に開閉するようになっている。
In this case, the microcomputer 10 in the control device 1A
A is the AD conversion ports TS1 and TS2 corresponding to the sensor detection circuits 12a and 12b, and the short circuit 13
Output ports TP1 and TP corresponding to a and 13b
2 and AD of each torque sensor 2a and 2b
The short-circuit means associated with the unconverted torque sensor is opened and closed sequentially.

【0146】図17においては、たとえば、2種類のト
ルクセンサ2aおよび2bを用いた場合を示し、トルク
センサ2aおよび2bと同数のセンサ検出回路12aお
よび12bと、短絡回路13aおよび13bとが設けら
れている。
FIG. 17 shows, for example, a case where two types of torque sensors 2a and 2b are used, and sensor detection circuits 12a and 12b and short circuit circuits 13a and 13b are provided in the same number as torque sensors 2a and 2b. ing.

【0147】図18はAD変換および短絡駆動の動作タ
イミングを示すタイミングチャートであり、図18か
ら、トルクセンサ2aおよび2bが交互に短絡動作とA
D変換とを実行しているのがわかる。たとえば、トルク
センサ2a側の検出信号相当値(AD変換ポートTS1
の入力値)VTS1をAD変換しているとき、トルクセ
ンサ2a側の短絡回路13aの出力ポートTP1を
「L」レベルにしてNPNトランジスタTRN1をオフ
とし、短絡回路13aの駆動を停止している。
FIG. 18 is a timing chart showing the operation timings of AD conversion and short-circuit drive. From FIG. 18, the torque sensors 2a and 2b alternate between short-circuit operation and A
It can be seen that D conversion is being performed. For example, the detection signal equivalent value on the torque sensor 2a side (AD conversion port TS1
Input value) VTS1 is AD-converted, the output port TP1 of the short circuit 13a on the torque sensor 2a side is set to the "L" level to turn off the NPN transistor TRN1 to stop the driving of the short circuit 13a.

【0148】一方、このとき、トルクセンサ2b側では
AD変換を実行せず、トルクセンサ2b側の短絡回路1
3bの出力ポートTP2を「H」レベルにしてNPNト
ランジスタTRN2をオンとし、短絡回路13bを短絡
駆動している。以上の動作は、たとえば周期的に実行さ
れる。
On the other hand, at this time, AD conversion is not executed on the torque sensor 2b side, and the short circuit 1 on the torque sensor 2b side is not executed.
The output port TP2 of 3b is set to "H" level to turn on the NPN transistor TRN2, and the short circuit 13b is short-circuit driven. The above operation is periodically executed, for example.

【0149】次に、図19のフローチャートを参照しな
がら、この発明の実施例6の動作について説明する。ま
ず、トルクセンサ2a側のAD変換を要求するフラグが
セットされているか否かを判定し(ステップS20)、
もしセットされている(すなわち、YES)と判定され
れば、トルクセンサ2a側の短絡回路13aに対する出
力ポートTP1を「L」レベルとし、NPNトランジス
タTRN1をオフにする(ステップS21)。
Next, the operation of the sixth embodiment of the present invention will be described with reference to the flowchart of FIG. First, it is determined whether or not a flag requesting AD conversion on the torque sensor 2a side is set (step S20),
If it is determined that it is set (that is, YES), the output port TP1 for the short circuit 13a on the torque sensor 2a side is set to "L" level, and the NPN transistor TRN1 is turned off (step S21).

【0150】また、トルクセンサ2b側の短絡回路13
bに対する出力ポートTP2を「H」レベルとし、NP
NトランジスタTRN2をオンにして短絡回路13bを
短絡駆動する(ステップS22)。そして、トルクセン
サ2a側のAD変換ポートTS1の入力値(トルクセン
サ2aの検出値)をAD変換し、このAD変換値をマイ
コン10A内のRAMに記憶させる(ステップS2
3)。その後、トルクセンサ2a側のAD変換を要求す
るフラグをクリアする(ステップS24)。
Further, the short circuit 13 on the side of the torque sensor 2b.
The output port TP2 for b is set to "H" level, and NP
The N-transistor TRN2 is turned on to short-circuit the short-circuit 13b (step S22). Then, the input value (detection value of the torque sensor 2a) of the AD conversion port TS1 on the torque sensor 2a side is AD-converted, and this AD conversion value is stored in the RAM in the microcomputer 10A (step S2).
3). Then, the flag requesting AD conversion on the torque sensor 2a side is cleared (step S24).

【0151】一方、ステップS20において、トルクセ
ンサ2a側のAD変換を要求するフラグがセットされて
いない(すなわち、NO)と判定されれば、トルクセン
サ2a側の短絡回路13aに対する出力ポートTP1を
「H」レベルとし、NPNトランジスタTRN1をオン
にして短絡回路13aを駆動する(ステップS25)。
On the other hand, if it is determined in step S20 that the flag requesting AD conversion on the torque sensor 2a side is not set (that is, NO), the output port TP1 for the short circuit 13a on the torque sensor 2a side is set to " The "H" level is set, the NPN transistor TRN1 is turned on, and the short circuit 13a is driven (step S25).

【0152】また、トルクセンサ2b側の短絡回路13
bに対する出力ポートTP2を「L」レベルとし、NP
NトランジスタTRN2をオフにして短絡回路13bを
短絡駆動する(ステップS26)。そして、トルクセン
サ2b側のAD変換ポートTS2の入力値(トルクセン
サ2bの検出値)をAD変換し、このAD変換値をマイ
コン10A内のRAMに記憶させる(ステップS2
7)。その後、トルクセンサ2a側のAD変換を要求す
るフラグをセットする(ステップS28)。
The short circuit 13 on the torque sensor 2b side is also provided.
The output port TP2 for b is set to the “L” level and NP
The N-transistor TRN2 is turned off and the short-circuit 13b is short-circuit driven (step S26). Then, the input value (detection value of the torque sensor 2b) of the AD conversion port TS2 on the torque sensor 2b side is AD-converted, and this AD conversion value is stored in the RAM in the microcomputer 10A (step S2).
7). Then, a flag requesting AD conversion on the torque sensor 2a side is set (step S28).

【0153】以下、RAMに記憶されているトルクセン
サ2aおよび2bに関するAD変換値に基づいてモータ
出力値を決定し、モータ駆動回路14(図1参照)にモ
ータ駆動信号を出力してモータ3を制御する(ステップ
S29)。その後、ステップS20からの処理が再度繰
り返される。ステップS20〜S29の処理が繰り返さ
れる毎に、AD変換対象となるトルクセンサおよび駆動
される短絡回路は、図18のように交互に入れ替わる。
Hereinafter, the motor output value is determined on the basis of the AD conversion values relating to the torque sensors 2a and 2b stored in the RAM, and the motor drive signal is output to the motor drive circuit 14 (see FIG. 1) to drive the motor 3. Control (step S29). Then, the process from step S20 is repeated again. Each time the process of steps S20 to S29 is repeated, the torque sensor to be AD-converted and the driven short circuit are alternately switched as shown in FIG.

【0154】なお、ここでは短絡回路13aおよび13
bをNPNトランジスタTRN1およびTRN2で構成
したが、短絡回路13aおよび13bをPNPトランジ
スタで構成した場合も、短絡回路13aおよび13bの
駆動論理が逆になる以外は同様の動作である。
Here, the short circuits 13a and 13
Although b is composed of the NPN transistors TRN1 and TRN2, the operation is similar when the short circuits 13a and 13b are composed of PNP transistors, except that the driving logics of the short circuits 13a and 13b are reversed.

【0155】また、上記各実施例では、短絡回路13、
13aおよび13b内の開閉素子としてトランジスタを
用いたが、トランジスタの代わりにリレー等を用いても
よい。また、上記各実施例の組み合わせることができ、
これにより相乗効果を得ることができる。
In each of the above embodiments, the short circuit 13,
Although a transistor is used as the switching element in 13a and 13b, a relay or the like may be used instead of the transistor. Further, the above embodiments can be combined,
Thereby, a synergistic effect can be obtained.

【0156】さらに、電動パワーステアリング制御装置
に適用した場合を例にとり、センサとしてトルクセンサ
2、2aおよび2bを用いたが、トルクセンサに限ら
ず、任意のセンサに適用可能なことは言うまでもない。
Further, although the torque sensors 2, 2a and 2b are used as the sensors in the case of being applied to the electric power steering control device as an example, it is needless to say that the present invention can be applied to not only the torque sensor but also any sensor.

【0157】[0157]

【発明の効果】以上のようにこの発明の請求項1によれ
ば、制御対象に関連する検出信号を出力するセンサと、
検出信号をデジタル信号に変換するAD変換器を含み、
AD変換された検出信号を用いて制御対象を制御する制
御装置と、センサの出力端子と制御装置の入力端子との
間を接続する信号線と、センサの電源端子と制御装置の
電源端子との間を接続する電源線と、センサのグランド
端子と制御装置のグランド端子との間を接続するグラン
ド線とを備え、制御装置は、所定タイミングにおいて制
御装置の入力端子を電源またはグランドの一方に短絡さ
せる短絡手段を含み、短絡手段は、電源線またはグラン
ド線を介して、信号線の両端に接続された出力端子およ
び入力端子間に所定電圧を印加して所定電流を通電し、
信号線の接触抵抗増大の原因となる酸化膜を破壊するよ
うにしたので、金等でメッキした高価な接触部を用いる
ことなく接触不良の発生を防止することができる。した
がって、制御用のAD変換値が変動して制御に悪影響を
与えることがなく安定な制御が可能となり、センサと制
御装置との間のコネクタ部の確実な接触不良対策および
コストダウンを実現したセンサ制御装置が得られる効果
がある。
As described above, according to claim 1 of the present invention, a sensor for outputting a detection signal related to a controlled object,
An AD converter for converting the detection signal into a digital signal,
A control device that controls a control target using the AD-converted detection signal, a signal line that connects between an output terminal of the sensor and an input terminal of the control device, a power supply terminal of the sensor, and a power supply terminal of the control device. The control device is provided with a power supply line connecting between them and a ground line connecting between the ground terminal of the sensor and the ground terminal of the control device, and the control device short-circuits the input terminal of the control device to one of the power supply and the ground at a predetermined timing. Including a short-circuiting means, the short-circuiting means applies a predetermined voltage between the output terminal and the input terminal connected to both ends of the signal line through the power supply line or the ground line to supply a predetermined current,
Since the oxide film that causes an increase in the contact resistance of the signal line is destroyed, it is possible to prevent the occurrence of contact failure without using an expensive contact portion plated with gold or the like. Therefore, stable control is possible without the control AD conversion value fluctuating and adversely affecting the control, and a reliable contact failure countermeasure for the connector portion between the sensor and the control device and cost reduction. The control device can be obtained.

【0158】また、この発明の請求項2によれば、請求
項1において、短絡手段は、一端が入力端子に接続され
且つ他端が接地された開閉素子からなり、制御装置は、
所定タイミングにおいて開閉素子を閉成駆動する開閉素
子駆動部を含み、電源線および信号線を介して開閉素子
に流れる電流により酸化膜を破壊するようにしたので、
センサと制御装置との間のコネクタ部の確実な接触不良
対策およびコストダウンを実現したセンサ制御装置が得
られる効果がある。
According to a second aspect of the present invention, in the first aspect, the short-circuit means comprises an opening / closing element whose one end is connected to the input terminal and the other end is grounded.
Since the switching element drive unit for closing and driving the switching element at a predetermined timing is included, the oxide film is destroyed by the current flowing through the switching element via the power supply line and the signal line.
It is possible to obtain a sensor control device that realizes a reliable countermeasure against contact failure of the connector portion between the sensor and the control device and cost reduction.

【0159】また、この発明の請求項3によれば、請求
項1において、短絡手段は、一端が入力端子に接続され
且つ他端が電源に接続された開閉素子からなり、制御装
置は、所定タイミングにおいて開閉素子を閉成駆動する
開閉素子駆動部を含み、開閉素子から信号線およびグラ
ンド線を介して流れる電流により酸化膜を破壊するよう
にしたので、センサと制御装置との間のコネクタ部の確
実な接触不良対策およびコストダウンを実現したセンサ
制御装置が得られる効果がある。
According to a third aspect of the present invention, in the first aspect, the short-circuiting means comprises an opening / closing element whose one end is connected to the input terminal and the other end is connected to the power source, and the control device is a predetermined device. The connector part between the sensor and the control device includes the switching element drive part that closes and drives the switching element at the timing, and the oxide film is destroyed by the current flowing from the switching element through the signal line and the ground line. There is an effect that a sensor control device that realizes reliable contact failure countermeasures and cost reduction can be obtained.

【0160】また、この発明に請求項4によれば、請求
項2または請求項3において、短絡手段は、開閉素子に
流れる電流を制限する制限抵抗器を含み、開閉素子およ
び開閉素子駆動部を構成するトランジスタ素子等の破壊
を防止するようにしたので、開閉素子および開閉素子駆
動部の故障を防止し安全性を向上させたセンサ制御装置
が得られる効果がある。
According to a fourth aspect of the present invention, in the second or third aspect, the short-circuiting means includes a limiting resistor that limits a current flowing through the switching element, and the switching element and the switching element driving section are provided. Since the constituent transistor elements are prevented from being destroyed, it is possible to obtain a sensor control device in which failure of the switching element and the switching element driving section is prevented and safety is improved.

【0161】また、この発明に請求項5によれば、請求
項1から請求項4までのいずれかにおいて、所定タイミ
ングを、AD変換器が動作していないときとし、短絡手
段の駆動時に発生するノイズや検出信号の変動をAD変
換値に影響させないようにしたので、安定な制御を実現
したセンサ制御装置が得られる効果がある。
According to a fifth aspect of the present invention, in any one of the first to fourth aspects, the predetermined timing is when the AD converter is not operating and is generated when the short-circuit means is driven. Since the noise and the fluctuation of the detection signal are not influenced on the AD conversion value, there is an effect that a sensor control device realizing stable control can be obtained.

【0162】また、この発明に請求項6に係るセンサ制
御装置は、請求項1から請求項4までのいずれかにおい
て、所定タイミングを、制御装置が制御対象を駆動して
いないときとし、短絡手段の駆動時に発生するノイズや
検出信号の変動が制御対象に影響しないようにしたの
で、安定な制御を実現したセンサ制御装置が得られる効
果がある。
According to a sixth aspect of the present invention, in the sensor control device according to any one of the first to fourth aspects, the predetermined timing is set when the control device is not driving the controlled object, and the short-circuiting means is provided. Since the noise and the fluctuation of the detection signal generated at the time of driving do not affect the control target, there is an effect that a sensor control device that realizes stable control can be obtained.

【0163】また、この発明に請求項7に係るセンサ制
御装置は、請求項1から請求項6までのいずれかにおい
て、制御装置は、短絡手段が開放されてから所定時間経
過後にAD変換器を有効にするタイマ手段を含み、安定
した後のAD変換値を用いて制御対象を制御することに
より、短絡手段を駆動する際に発生するノイズや検出信
号の変動がAD変換値に影響しないようにしたので、短
絡手段の駆動時に発生するノイズやフィルタ回路による
検出電圧の遅れ等による悪影響がAD変換値に反映され
ることはなく、さらに安定な制御を実現したセンサ制御
装置が得られる効果がある。
Further, a sensor control device according to a seventh aspect of the present invention is the sensor control device according to any one of the first to sixth aspects, wherein the control device turns on the AD converter after a predetermined time has elapsed since the short-circuit means was opened. By controlling the control target by using the AD conversion value after stabilization including the timer means for enabling, the noise generated when driving the short-circuiting means and the fluctuation of the detection signal do not affect the AD conversion value. Therefore, the AD conversion value will not be adversely affected by the noise generated when the short-circuiting means is driven or the delay of the detection voltage due to the filter circuit, and the sensor control device that realizes more stable control can be obtained. .

【0164】また、この発明に請求項8に係るセンサ制
御装置は、請求項1から請求項7までのいずれかにおい
て、制御装置は、制御装置の起動時において、短絡手段
の開放中にAD変換された検出信号と短絡手段の短絡中
にAD変換された検出信号とから、センサの抵抗値を算
出するセンサ抵抗値算出手段と、抵抗値に基づいてセン
サの不良を判定するセンサ不良判定手段と、センサの不
良判定時に制御対象の制御を停止する制御停止手段とを
含み、センサ抵抗値が設定値より所定分異なっていれば
センサ誤組付け等を含むセンサ異常と判定して制御を停
止するようにしたので、さらに安全性および信頼性を向
上させセンサ制御装置が得られる効果がある。
The sensor control device according to an eighth aspect of the present invention is the sensor control device according to any one of the first to seventh aspects, wherein the control device performs AD conversion during opening of the short-circuit means at the time of starting the control device. A sensor resistance value calculating means for calculating a resistance value of the sensor from the detected signal and the detection signal AD-converted during the short circuit of the short-circuiting means; and a sensor failure determining means for determining a sensor failure based on the resistance value. , Including control stop means for stopping control of the controlled object when the sensor is judged to be defective, and if the sensor resistance value differs from the set value by a predetermined amount, it is judged to be a sensor abnormality including sensor misassembly and the control is stopped. Since this is done, there is an effect that the safety and reliability are further improved and a sensor control device is obtained.

【0165】また、この発明に請求項9に係るセンサ制
御装置は、請求項1から請求項8までのいずれかにおい
て、制御装置は、短絡手段の開放中にAD変換された検
出信号と短絡手段の短絡中にAD変換された検出信号と
から、信号線の両端を含むコネクタ部の接触抵抗値を算
出する接触抵抗値算出手段と、接触抵抗値に基づいてコ
ネクタ部の不良を判定するコネクタ部不良判定手段と、
コネクタ部の不良判定時に制御対象の制御を停止する制
御停止手段とを含み、コネクタ部の接触抵抗値が判定値
より所定分異なっていればコネクタ部の不良と判定して
制御を停止するようにしたので、さらに安全性および信
頼性を向上させセンサ制御装置が得られる効果がある。
The sensor control device according to a ninth aspect of the present invention is the sensor control device according to any one of the first to eighth aspects, wherein the control device is the detection signal AD-converted while the short circuit means is open and the short circuit means. Contact resistance value calculating means for calculating the contact resistance value of the connector part including both ends of the signal line from the detection signal AD-converted during the short circuit of the connector part, and the connector part for determining the defect of the connector part based on the contact resistance value. Defect determination means,
A control stop means for stopping control of the controlled object when the connector section is judged to be defective, and if the contact resistance value of the connector section is different from the judgment value by a predetermined amount, it is judged that the connector section is defective and the control is stopped. Therefore, there is an effect that the safety and reliability are further improved and the sensor control device is obtained.

【0166】また、この発明に請求項10に係るセンサ
制御装置は、請求項1から請求項9までのいずれかにお
いて、制御装置は、短絡手段を短絡したときの検出信号
を、短絡手段が開放されるまで保持する検出信号保持部
を含み、短絡手段の駆動時に検出信号が保持されて変化
しないようにしたので、短絡手段の駆動直後に検出信号
をAD変換しても制御に影響を与えることがなく、短絡
手段を駆動する直前の検出信号に戻ってAD変換するこ
とができ、短絡手段の駆動時に発生するノイズ等の影響
のない安定な制御を実現したセンサ制御装置が得られる
効果がある。
According to a tenth aspect of the present invention, in the sensor control device according to any one of the first to ninth aspects, the control device opens the detection signal when the short-circuit means is short-circuited. Since the detection signal holding unit that holds the detection signal is held until the short-circuiting unit is driven to prevent the detection signal from being changed when the short-circuiting unit is driven, even if the detection signal is AD-converted immediately after the driving of the short-circuiting unit, the control is affected. There is no problem, and the AD conversion can be performed by returning to the detection signal immediately before the driving of the short-circuiting means, and there is an effect that a sensor control device that realizes stable control without the influence of noise or the like generated when the short-circuiting means is driven can be obtained. .

【0167】また、この発明に請求項11に係るセンサ
制御装置は、請求項1から請求項10までのいずれかに
おいて、センサは複数並設され、制御装置は、複数のセ
ンサのうちのAD変換していないセンサに関連する短絡
手段を逐次に開閉し、消費電流を抑制するようにしたの
で、制御装置およびセンサの劣化を遅くしたセンサ制御
装置が得られる効果がある。
Further, a sensor control device according to an eleventh aspect of the present invention is the sensor control device according to any one of the first to tenth aspects, in which a plurality of sensors are arranged in parallel, and the control device is an AD converter of the plurality of sensors. Since the short-circuiting means associated with the non-operated sensor is sequentially opened and closed to suppress the current consumption, there is an effect that a sensor control device in which deterioration of the control device and the sensor is delayed can be obtained.

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

【図1】 この発明の実施例1(請求項1〜請求項6に
対応)を示す回路構成図である。
FIG. 1 is a circuit configuration diagram showing a first embodiment (corresponding to claims 1 to 6) of the present invention.

【図2】 この発明の実施例1の具体例(請求項2に対
応)を示す回路図である。
FIG. 2 is a circuit diagram showing a specific example (corresponding to claim 2) of the first embodiment of the present invention.

【図3】 図2に示した実施例1の動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing an operation of the first embodiment shown in FIG.

【図4】 この発明の実施例1の他の具体例(請求項3
に対応)を示す回路図である。
FIG. 4 is another specific example of the first embodiment of the present invention (claim 3).
FIG.

【図5】 図4に示した実施例1の動作を示すフローチ
ャートである。
FIG. 5 is a flowchart showing an operation of the first embodiment shown in FIG.

【図6】 この発明の実施例2(請求項7に対応)の動
作を示すフローチャートである。
FIG. 6 is a flowchart showing the operation of the second embodiment (corresponding to claim 7) of the present invention.

【図7】 この発明の実施例2の動作に関連する操舵ト
ルクとモータ電流との関係を示す特性図である。
FIG. 7 is a characteristic diagram showing the relationship between steering torque and motor current related to the operation of the second embodiment of the present invention.

【図8】 この発明の実施例2の動作に関連するAD変
換ポートおよび出力ポートの信号レベルを示す波形図で
ある。
FIG. 8 is a waveform diagram showing signal levels of an AD conversion port and an output port related to the operation of the second embodiment of the present invention.

【図9】 この発明の実施例3(請求項8に対応)によ
るセンサ抵抗値の検出動作を説明するための回路図であ
る。
FIG. 9 is a circuit diagram for explaining a sensor resistance value detecting operation according to a third embodiment (corresponding to claim 8) of the present invention.

【図10】 この発明の実施例3の動作を示すフローチ
ャートである。
FIG. 10 is a flowchart showing the operation of the third embodiment of the present invention.

【図11】 この発明の実施例4(請求項9に対応)に
よる接触抵抗値の検出動作を説明するための回路図であ
る。
FIG. 11 is a circuit diagram for explaining a contact resistance value detecting operation according to a fourth embodiment (corresponding to claim 9) of the present invention.

【図12】 この発明の実施例4の動作を示すフローチ
ャートである。
FIG. 12 is a flowchart showing the operation of the fourth embodiment of the present invention.

【図13】 この発明の実施例5(請求項10に対応)
においてアナログスイッチを用いた場合を示す回路構成
図である。
FIG. 13 is a fifth embodiment of the present invention (corresponding to claim 10).
3 is a circuit configuration diagram showing a case where an analog switch is used in FIG.

【図14】 この発明の実施例5においてアナログスイ
ッチを用いた場合の他の例を示す回路構成図である。
FIG. 14 is a circuit configuration diagram showing another example when an analog switch is used in the fifth embodiment of the present invention.

【図15】 この発明の実施例5(請求項10に対応)
においてNPNトランジスタを用いた場合を示す回路構
成図である。
FIG. 15 is a fifth embodiment of the present invention (corresponding to claim 10).
3 is a circuit configuration diagram showing a case where an NPN transistor is used in FIG.

【図16】 この発明の実施例5においてNPNトラン
ジスタを用いた場合の他の例を示す回路構成図である。
FIG. 16 is a circuit configuration diagram showing another example in which an NPN transistor is used in the fifth embodiment of the present invention.

【図17】 この発明の実施例6(請求項11に対応)
を示す回路構成図である。
FIG. 17 is a sixth embodiment of the present invention (corresponding to claim 11).
It is a circuit block diagram showing.

【図18】 この発明の実施例6の動作を説明するため
のタイミングチャートである。
FIG. 18 is a timing chart for explaining the operation of the sixth embodiment of the present invention.

【図19】 この発明の実施例6の動作を示すフローチ
ャートである。
FIG. 19 is a flowchart showing the operation of the sixth embodiment of the present invention.

【図20】 従来のセンサ制御装置を示す回路構成図で
ある。
FIG. 20 is a circuit configuration diagram showing a conventional sensor control device.

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

1 制御装置、2 トルクセンサ、3 モータ(制御対
象)、10 マイコン、11 センサ電源回路、12
センサ検出回路、13 短絡回路、14 モータ駆動回
路、AS アナログスイッチ(検出信号保持部)、D
検出信号、LD信号線、LG グランド線、LP 電源
線、a、d 電源端子、b 出力端子、c、f グラン
ド端子、e 入力端子、RB 制限抵抗器、RS 可変
抵抗器、TRN NPNトランジスタ、TRNH NP
Nトランジスタ(検出信号保持部)、TRP PNPト
ランジスタ、TS AD変換ポート、TP 出力ポー
ト、AD変換中を判定するステップ、S2、S3 短絡
手段を開閉するステップ、S4 AD変換するステッ
プ、S5 モータを制御するステップ、S6 所定時間
経過させるステップ(タイマ手段)、S15 センサの
不良を判定するステップ、S15A コネクタ部の不良
を判定するステップ、S21、S22、S25、S26
逐次に開閉するステップ。
1 control device, 2 torque sensor, 3 motor (control target), 10 microcomputer, 11 sensor power supply circuit, 12
Sensor detection circuit, 13 short-circuit circuit, 14 motor drive circuit, AS analog switch (detection signal holding unit), D
Detection signal, LD signal line, LG ground line, LP power supply line, a, d power supply terminal, b output terminal, c, f ground terminal, e input terminal, RB limiting resistor, RS variable resistor, TRN NPN transistor, TRNH NP
N transistor (detection signal holding unit), TRP PNP transistor, TS AD conversion port, TP output port, step of determining during AD conversion, S2, S3 step of opening / closing short-circuit means, step of S4 AD conversion, step of S5 motor control Step, S6 step for elapse of a predetermined time (timer means), S15 step for determining defective sensor, S15A step for determining defective connector portion, S21, S22, S25, S26.
Steps to open and close sequentially.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 制御対象に関連する検出信号を出力する
センサと、 前記検出信号をデジタル信号に変換するAD変換器を含
み、AD変換された前記検出信号を用いて前記制御対象
を制御する制御装置と、 前記センサの出力端子と前記制御装置の入力端子との間
を接続する信号線と、 前記センサの電源端子と前記制御装置の電源端子との間
を接続する電源線と、 前記センサのグランド端子と前記制御装置のグランド端
子との間を接続するグランド線とを備えたセンサ制御装
置において、 前記制御装置は、所定タイミングにおいて前記制御装置
の入力端子を電源またはグランドの一方に短絡させる短
絡手段を含み、 前記短絡手段は、前記電源線または前記グランド線を介
して、前記信号線の両端に接続された前記出力端子およ
び前記入力端子間に所定電圧を印加して所定電流を通電
することを特徴とするセンサ制御装置。
1. A control that includes a sensor that outputs a detection signal related to a control target and an AD converter that converts the detection signal into a digital signal, and controls the control target using the AD-converted detection signal. A device, a signal line connecting between an output terminal of the sensor and an input terminal of the control device, a power supply line connecting between a power supply terminal of the sensor and a power supply terminal of the control device, and the sensor In a sensor control device including a ground line connecting a ground terminal and a ground terminal of the control device, the control device short-circuits an input terminal of the control device to one of a power supply and a ground at a predetermined timing. A short circuit means between the output terminal and the input terminal connected to both ends of the signal line via the power supply line or the ground line. A sensor control device characterized in that a predetermined voltage is applied to the sensor to supply a predetermined current.
【請求項2】 前記短絡手段は、一端が前記入力端子に
接続され且つ他端が接地された開閉素子からなり、 前記制御装置は、前記所定タイミングにおいて前記開閉
素子を閉成駆動する開閉素子駆動部を含むことを特徴と
する請求項1のセンサ制御装置。
2. The short-circuiting device comprises an opening / closing element having one end connected to the input terminal and the other end grounded, and the control device drives the opening / closing element to close-drive the opening / closing element at the predetermined timing. The sensor control device according to claim 1, further comprising a unit.
【請求項3】 前記短絡手段は、一端が前記入力端子に
接続され且つ他端が電源に接続された開閉素子からな
り、 前記制御装置は、前記所定タイミングにおいて前記開閉
素子を閉成駆動する開閉素子駆動部を含むことを特徴と
する請求項1のセンサ制御装置。
3. The short-circuit means is composed of an opening / closing element having one end connected to the input terminal and the other end connected to a power source, and the control device is an opening / closing element for closing and driving the opening / closing element at the predetermined timing. The sensor control device according to claim 1, further comprising an element driving unit.
【請求項4】 前記短絡手段は、前記開閉素子に流れる
電流を制限する制限抵抗器を含むことを特徴とする請求
項2または請求項3のセンサ制御装置。
4. The sensor control device according to claim 2, wherein the short-circuit means includes a limiting resistor that limits a current flowing through the switching element.
【請求項5】 前記所定タイミングは、前記AD変換器
が動作していないときであることを特徴とする請求項1
から請求項4までのいずれかのセンサ制御装置。
5. The predetermined timing is when the AD converter is not operating.
5. The sensor control device according to claim 4.
【請求項6】 前記所定タイミングは、前記制御装置が
前記制御対象を駆動していないときであることを特徴と
する請求項1から請求項4までのいずれかのセンサ制御
装置。
6. The sensor control device according to claim 1, wherein the predetermined timing is when the control device is not driving the controlled object.
【請求項7】 前記制御装置は、前記短絡手段が開放さ
れてから所定時間経過後に前記AD変換器を有効にする
タイマ手段を含むことを特徴とする請求項1から請求項
6までのいずれかのセンサ制御装置。
7. The control device according to claim 1, further comprising timer means for enabling the AD converter after a lapse of a predetermined time from the opening of the short-circuit means. Sensor controller.
【請求項8】 前記制御装置は、 前記制御装置の起動時において、前記短絡手段の開放中
にAD変換された検出信号と前記短絡手段の短絡中にA
D変換された検出信号とから、前記センサの抵抗値を算
出するセンサ抵抗値算出手段と、 前記抵抗値に基づいて前記センサの不良を判定するセン
サ不良判定手段と、 前記センサの不良判定時に前記制御対象の制御を停止す
る制御停止手段とを含むことを特徴とする請求項1から
請求項7までのいずれかのセンサ制御装置。
8. The control device is configured such that, when the control device is started, the detection signal AD-converted while the short-circuiting device is open and the A-signal during the short-circuiting of the short-circuiting device.
A sensor resistance value calculation unit that calculates a resistance value of the sensor from the D-converted detection signal; a sensor failure determination unit that determines a failure of the sensor based on the resistance value; 8. The sensor control device according to claim 1, further comprising a control stop means for stopping control of a controlled object.
【請求項9】 前記制御装置は、 前記短絡手段の開放中にAD変換された検出信号と前記
短絡手段の短絡中にAD変換された検出信号とから、前
記信号線の両端を含むコネクタ部の接触抵抗値を算出す
る接触抵抗値算出手段と、 前記接触抵抗値に基づいて前記コネクタ部の不良を判定
するコネクタ部不良判定手段と、 前記コネクタ部の不良判定時に前記制御対象の制御を停
止する制御停止手段とを含むことを特徴とする請求項1
から請求項8までのいずれかのセンサ制御装置。
9. The control device, based on a detection signal AD-converted while the short-circuiting device is open and a detection signal AD-converted while the short-circuiting device is short-circuited, Contact resistance value calculating means for calculating a contact resistance value, connector portion defect determining means for determining a defect in the connector portion based on the contact resistance value, and stopping control of the control target when determining a defect in the connector portion A control stop means is included.
9. The sensor control device according to claim 8.
【請求項10】 前記制御装置は、前記短絡手段を短絡
したときの検出信号を、前記短絡手段が開放されるまで
保持する検出信号保持部を含むことを特徴とする請求項
1から請求項9までのいずれかのセンサ制御装置。
10. The control device according to claim 1, further comprising a detection signal holding unit that holds a detection signal when the short-circuit means is short-circuited until the short-circuit means is opened. Up to any sensor control device.
【請求項11】 前記センサは複数並設され、前記制御
装置は、前記複数のセンサのうちのAD変換していない
センサに関連する短絡手段を逐次に開閉することを特徴
とする請求項1から請求項10までのいずれかのセンサ
制御装置。
11. A plurality of the sensors are arranged in parallel, and the control device sequentially opens and closes a short-circuit means associated with a sensor which is not AD converted among the plurality of sensors. The sensor control device according to claim 10.
JP17128094A 1994-07-22 1994-07-22 Sensor controller Pending JPH0835860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17128094A JPH0835860A (en) 1994-07-22 1994-07-22 Sensor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17128094A JPH0835860A (en) 1994-07-22 1994-07-22 Sensor controller

Publications (1)

Publication Number Publication Date
JPH0835860A true JPH0835860A (en) 1996-02-06

Family

ID=15920404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17128094A Pending JPH0835860A (en) 1994-07-22 1994-07-22 Sensor controller

Country Status (1)

Country Link
JP (1) JPH0835860A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4517490B2 (en) * 1999-10-29 2010-08-04 株式会社デンソー Sensor device
JP2012108013A (en) * 2010-11-18 2012-06-07 Nsk Ltd Motor angle detector
JPWO2010119901A1 (en) * 2009-04-15 2012-10-22 ボッシュ株式会社 Detection circuit and electric circuit abnormality detection device, and detection system and electronic system using the abnormality detection device
US8385764B2 (en) 2008-06-09 2013-02-26 Canon Kabushiki Kaisha Image forming apparatus
CN111313202A (en) * 2018-12-11 2020-06-19 矢崎总业株式会社 Connector connection regeneration system and connector connection regeneration method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4517490B2 (en) * 1999-10-29 2010-08-04 株式会社デンソー Sensor device
US8385764B2 (en) 2008-06-09 2013-02-26 Canon Kabushiki Kaisha Image forming apparatus
JPWO2010119901A1 (en) * 2009-04-15 2012-10-22 ボッシュ株式会社 Detection circuit and electric circuit abnormality detection device, and detection system and electronic system using the abnormality detection device
JP2012108013A (en) * 2010-11-18 2012-06-07 Nsk Ltd Motor angle detector
CN111313202A (en) * 2018-12-11 2020-06-19 矢崎总业株式会社 Connector connection regeneration system and connector connection regeneration method
CN111313202B (en) * 2018-12-11 2021-07-20 矢崎总业株式会社 Connector connection regeneration system and connector connection regeneration method

Similar Documents

Publication Publication Date Title
US8369056B2 (en) Power supply control device, method for controlling power supply, program and power supply device
EP2301822B1 (en) Electric power steering system
JP5157429B2 (en) Electric power steering device
US6960903B2 (en) Trouble determining apparatus for DC boosting circuit
JP4565574B2 (en) Anomaly detection device
JP3812720B2 (en) Motor control device and electric power steering device
JP4882467B2 (en) Electric power steering control device
JP2007242247A (en) Arrangement for controlling vehicular power supply system
JPH07241096A (en) Motor controller
JPH08255016A (en) Method and equipment for monitoring of function of load
JPH0835860A (en) Sensor controller
JP2016060433A (en) Vehicular power supply device
JP3964375B2 (en) Power window drive
US7466355B2 (en) Electronic system for reducing power supply voltage
JP3079776B2 (en) Fuel pump control device
JP2008118812A (en) Controller of vehicle alternator
JPH0847296A (en) Electric motor controller for vehicle
EP3982540B1 (en) Switch control device, switch control method, and in-vehicle power supply system
JPH0481578A (en) Trouble diagnoser for glow plug
US7078861B2 (en) Vehicle lamp controlling device and vehicle lamp controlling method
JPH11338556A (en) Power circuit
JP4010266B2 (en) Water heater
JPH1169865A (en) Electric motor drive gear
JP3812693B2 (en) Vehicle driving state detection device
JP3203521B2 (en) Load disconnection detection circuit