JP2005047302A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2005047302A
JP2005047302A JP2003203160A JP2003203160A JP2005047302A JP 2005047302 A JP2005047302 A JP 2005047302A JP 2003203160 A JP2003203160 A JP 2003203160A JP 2003203160 A JP2003203160 A JP 2003203160A JP 2005047302 A JP2005047302 A JP 2005047302A
Authority
JP
Japan
Prior art keywords
input
output
switching
electronic control
control device
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
JP2003203160A
Other languages
Japanese (ja)
Other versions
JP2005047302A5 (en
Inventor
Takanori Makimoto
隆典 牧元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2003203160A priority Critical patent/JP2005047302A/en
Publication of JP2005047302A publication Critical patent/JP2005047302A/en
Publication of JP2005047302A5 publication Critical patent/JP2005047302A5/ja
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L2924/00Indexing scheme for arrangements or methods for connecting or disconnecting semiconductor or solid-state bodies as covered by H01L24/00
    • H01L2924/0001Technical content checked by a classifier
    • H01L2924/0002Not covered by any one of groups H01L24/00, H01L24/00 and H01L2224/00

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic control device capable of automatically setting wiring connection corresponding to an external connection state. <P>SOLUTION: A switching control unit 37 inside an ECU 3 automatically corresponds to a connection state of an output circuit unit 4 by switching the wiring state inside a connection switching unit 35 to the monitoring wiring, inputting the input signal for monitoring when setting of the connection switching unit 35 is requested, monitoring the output signal from output ports Po1, Po2-Pom of the connection switching unit 35 by a monitor circuit unit 36, determining the connection state of the output switching unit 4 according to the monitoring result, and switching the wiring connection of the connection switching unit 35 based on the result of determination. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、複数の入力端子と複数の出力ドライバとの間の配線接続を切替え可能な電子制御装置に関し、特に外部の接続状態に対応して配線接続を自動設定可能な電子制御装置に関する。
【0002】
【従来の技術】
近年、車両に電子制御機器(ECU)を搭載し、車両の運行時に必要な種々の処理を電子制御することが行われている。たとえばエンジンの噴出の制御にECUを適用し、速度センサや水温センサなどに接続することで、車両の速度やエンジンの冷却水の温度に応じてガソリンの噴出量を制御することができる。
【0003】
このような車載ECUでは、車両の種類や走行する国などによって入出力信号や処理動作が異なる場合が多い。そこで車載ECUでは、車両ごとに異なる入力を受け付け、必要な処理動作を実行できるように設定を変更可能であることが求められる。
【0004】
設定を変更可能なLSIとしては、FPGA(Field Programmable Gate Array)が広く利用されている。例えば、特許文献1は、多様な半導体集積回路を検査するため、検査対象の半導体集積回路と検査装置との間にFPGAを介在させ、半導体集積回路の出力をもとにFPGAの設定を変更することで出力を補正する外付けテスト回路を開示している。
【0005】
また、特許文献2では、FPGAを用いて入出力部を構成することで多様なICの機能に対応したデータ発生・評価を行うデジタル・データ処理装置が開示されている。
【0006】
さらに、特許文献3では、FPGA等の内部配線を外部から設定・変更可能な集積回路において、集積回路の一部乃至全部の回路の動作をモニタする回路モニタ方法が開示されている。
【0007】
また、特許文献4では、出力回路部をFPGAで構成し、多機種への対応や仕様変更を容易にした論理モジュールおよび集積回路が開示されている。
【0008】
【特許文献1】
特開2001−337141号公報
【特許文献2】
特開平11−248804号公報
【特許文献3】
特開平9−311162号公報
【特許文献4】
特開平5−252025号公報
【0009】
【発明が解決しようとする課題】
ところで、上述した従来の技術では、FPGAを利用して処理内容(内部配線接続)を変更することができるが、その変更自体は基本的にユーザが行う必要があった。特許文献1に示された技術では、入力信号に対応して処理内容を自動的に設定できるが、出力側(検査装置側)は固定されており、検査装置側に何らかの変更があった場合には、ユーザによる設定変更、もしくはLSI自体の交換が必要であった。
【0010】
しかしながら、車両用のECUのように、出力信号に対して車種ごとに異なる多様な形式が求められる場合、FPGAなどによって設定が変更可能であったとしても、その設定変更をユーザが行うこととすると、ユーザにかかる負担は非常に大きくなる。特に、車載ECUでは、出力先が多様であることに加えて出力信号の種類自体が膨大であるので、この設定変更にかかる負担が顕著となる。
【0011】
そこで、接続先の外部配線状況に応じて自動的に配線の変更を実行し、多種多様な出力先に自律的に対応する電子制御装置の実現が重要な課題となっていた。
【0012】
この発明は、上述した従来技術による問題点を解消し、課題を解決するためになされたものであり、外部の接続状態に対応して配線接続を自動設定可能な電子制御装置を提供することを目的とする。
【0013】
【課題を解決するための手段】
上述した課題を解決し、目的を達成するため、請求項1の発明にかかる電子制御装置は、複数の入力端子と複数の出力ドライバとの間の配線接続を切替え可能な電子制御装置であって、前記出力ドライバに対する外部接続状態を検出するモニタ手段と、前記モニタ手段の検出結果をもとに、前記配線接続を切替える切替え制御手段と、を備えたことを特徴とする。
【0014】
この請求項1の発明によれば、電子制御装置は、出力ドライバに対する外部接続状態を検出し、その検出結果に基いて入力端子と出力ドライバとの配線接続を切替える。
【0015】
また、請求項2の発明にかかる電子制御装置は、請求項1の発明において、前記複数の入力端子から入力された入力信号に対して所定の処理を実行して前記出力ドライバに供給する処理手段をさらに備え、前記切替え制御手段は、前記処理手段内部に設けられたことを特徴とする。
【0016】
この請求項2の発明によれば、電子制御装置は、入力端子から入力された入力信号に対して所定の処理を実行する処理手段を備え、処理手段が外部接続状態に基いて出力ドライバの配線接続の切替えを制御する。
【0017】
また、請求項3の発明にかかる電子制御装置は、請求項1の発明において、前記複数の入力端子から入力された入力信号に対して所定の処理を実行する処理手段をさらに備え、前記切替え制御手段は、前記処理手段と独立に設けられたことを特徴とする。
【0018】
この請求項3の発明によれば、電子制御装置は、入力端子から入力された入力信号に対して所定の処理を実行する処理手段と、外部接続状態に基いて出力ドライバの配線接続の切替えを制御する切替え手段とを独立に有する。
【0019】
また、請求項4の発明にかかる電子制御装置は、請求項1,2または3の発明において、前記モニタ手段は、前記複数の出力ドライバにモニタ用入力信号を入力した場合の出力信号をそれぞれモニタし、前記切替え制御手段は、該モニタ結果が同一である出力ドライバが外部で接続されていると判定することを特徴とする。
【0020】
この請求項4の発明によれば、電子制御装置は、複数の出力ドライバにモニタ用入力信号を入力した場合の出力信号をモニタし、モニタ結果が同一である出力ドライバが外部で接続されていると判定する。
【0021】
また、請求項5の発明にかかる電子制御装置は、請求項1〜4のいずれか一つに記載の発明において、前記モニタ手段は、前記入力端子に入力が行われた場合と同一の信号を入力モニタ信号として前記複数の出力ドライバに入力し、当該出力ドライバからの出力信号をそれぞれモニタし、前記切替え制御手段は、該モニタ結果が同一である出力ドライバが外部で接続されていると判定することを特徴とする。
【0022】
この請求項5の発明によれば、電子制御装置は、入力端子に入力が行われた場合と同一の信号を入力モニタ信号として複数の出力ドライバに入力し、出力ドライバからの出力信号をそれぞれモニタし、モニタ結果が同一である出力ドライバが外部で接続されていると判定する。
【0023】
また、請求項6の発明にかかる電子制御装置は、請求項1〜5の発明において、出力信号に対して実行すべき処理内容および/または出力信号に付与すべき駆動電流を仕様情報として記憶する仕様記憶手段をさらに備え、前記切替え制御手段は、前記仕様情報と前記モニタ手段の検出結果とをもとに前記配線接続を切替えることを特徴とする。
【0024】
この請求項6の発明によれば、電子制御装置は、出力信号に対して実行すべき処理内容や出力信号に付与すべき駆動電流を仕様情報として記憶し、仕様情報とモニタ結果とをもとに前記配線接続を切替える。
【0025】
また、請求項7の発明にかかる電子制御装置は、請求項1〜6の発明において、前記複数の入力端子と前記複数の出力ドライバとの間の配線接続を切替える切替え手段は、前記複数の出力ドライバにそれぞれ対応する複数のスイッチを備え、前記複数のスイッチの各々は、前記複数の入力端子に一対一に接続された複数の接点を備え、概接点と対応する出力ドライバとの接続/非接続を切替え可能であることを特徴とする。
【0026】
この請求項7の発明によれば、入力端子に1対1に接続された複数の接点を有するスイッチを出力ドライバの数だけ備え、出力ドライバと接点との接続を切替えることで、入力端子と出力ドライバとの配線接続を切替える。
【0027】
【発明の実施の形態】
以下に添付図面を参照して、この発明に係る電子制御装置(ECU)の好適な実施の形態について説明する。
【0028】
(実施の形態1)
まず、本実施の形態1にかかるECUの概要構成について説明する。図1は、本実施の形態1にかかるECU3を搭載した基板1の概要構成を説明する説明図である。図1において基板1は、外部入力端子Ta1,Ta2〜Tak,Tal,外部出力端子Td1,Td2〜Tdnを有する。さらに基板1は、入力回路部2、ECU3および出力回路部4を有する。
【0029】
入力回路部2は、外部入力端子Ta1,Ta2〜Tak,Talと接続され、外部入力端子Ta1,Ta2〜Tak,Talから入力された入力信号に対してそれぞれ所定の処理を実行した後、ECU3が有する内部入力端子Tb1,Tb2〜Tbk,Tblに入力する。
【0030】
ECU3は、内部入力端子Tb1,Tb2〜Tbk,Tblに入力された信号を元に演算処理などを実行し、その結果を内部出力端子Tc1,Tc2〜Tcmを介して出力回路部4に出力する。
【0031】
出力回路部4は、内部出力端子Tc1,Tc2〜Tcmから出力された出力信号に対してそれぞれ所定の処理を実行した後、外部出力端子Td1,Td2〜Tdnから出力する。
【0032】
ここで、入力回路部2および出力回路部4は、基板1が搭載される車種などによって異なる。一方、ECU3は、基板1が搭載される車種に関わらず同一である。
【0033】
したがって、異なる種類の車両にそれぞれ対応した基板を作成する場合、入力回路部2および出力回路部4のみを設定すればよく、ECU3は設定変更をすることなく異なる車両に対応することができる。
【0034】
換言するならば、ECU3は、入力信号に対応するのみならず、出力回路4の接続状態に対応して設定変更を自動的に実行する機能を有する。このECU3の内部構成についてさらに説明する。
【0035】
図1に示すように、ECU3は、その内部にADC(アナログ−デジタル変換器)31,32、演算処理部33、処理回路34、接続切替部35、モニタ回路部36および切替制御部37を有する。
【0036】
ADC31,32は、入力されたアナログ信号をデジタル信号に変換し、演算処理部33もしくは処理回路34に出力する。具体的には、ADC31は、内部入力端子Tb1,Tb2から入力されたアナログ信号をデジタル信号に変換して演算処理部33に入力し、ADC32は、内部入力端子Tbkから入力されたアナログ信号をデジタル信号に変換して処理回路34に入力する。
【0037】
なお、内部入力端子Tb3から入力された信号は、直接に演算処理部33に入力され、内部入力端子Tblから入力された信号は、直接に処理回路34に入力される。処理回路34は、ADC32から入力された信号および内部入力端子Tblから入力された信号に対して所定の処理を実行して演算処理部33および接続切替部35に出力する。
【0038】
演算処理部33は、ADC31からの入力、内部入力端子Tb3からの入力、および処理回路34からの入力をもとに所定の演算処理を実行し、演算結果を接続切替部35に入力する。
【0039】
接続切替部35は、入力ポートPi1,Pi2〜Pinおよび出力ポートPo1,Po2〜Pomを有する。接続切替部35は、入力ポートPi1,Pi2〜Pinと、出力ポートPo1,Po2〜Pomとの接続関係を切替可能である。この出力ポートPo1,Po2〜Pomは、内部出力端子Tc1、Tc2〜Tcmを介して出力回路部4に接続される。
【0040】
一方、モニタ回路部36は、出力ポートPo1,Po2〜Pomの出力をそれぞれモニタし、切替え制御部37に出力する。切替え制御部37は、モニタ回路部36の出力をもとに接続切替え部35の接続状態を切り替える。
【0041】
すなわち、切替え制御部37は、モニタ回路36がモニタした出力ポートPo1,Po2〜Pomからの出力によって、出力回路部4の接続状態を判定して接続切替え部35の内部接続状態を切り替える。
【0042】
ここで、基板1における信号処理の例について説明する。図2は、基板1において実行される処理の具体例を説明する説明図である。図1において、外部入力端子Ta1に入力された信号がアナログ信号S1である場合、入力回路部2は、このアナログ信号S1に対してレベルシフト、オフセット加算、ゲイン制御などを実行し、その結果であるアナログ信号S2を内部入力端子Tb1に入力する。
【0043】
このアナログ信号S2は、内部入力端子Tb1からADC31に入力され、デジタル信号に変換されてデジタル信号S3として演算処理部33に入力される。演算処理部33は、このデジタル信号S3や、他の入力信号を用いて演算処理を実行し、その結果としてデジタル信号S4を接続切替え部35の入力ポートPi1に入力する。
【0044】
接続切替え部35は、その内部の接続状態に応じて入力ポートPi1に入力された信号に対して所定の駆動電流を与えて出力ポートPo1,Po2〜Pomのいずれかから出力する。
【0045】
つぎに、モニタ回路部36および切替え制御部37による接続切替え部35の設定についてさらに説明する。図3は、接続切替え部35の設定を説明する説明図である。同図に示すように、接続切替え部35は、その内部にマルチプレクサ51、駆動回路(出力ドライバ)52a,52b〜52fを有する。
【0046】
マルチプレクサ51は、切替え制御部37からの制御を受け、その内部の接続状態、すなわち入力ポートPi1,Pi2〜Pinと出力ポートPo1,Po2〜Pomとの配線を任意に設定することができる。また、各種出力ポートPo1,Po2〜Pomには、それぞれ駆動回路52a,52b〜52fが割り当てられている。ここで、駆動回路52a,52b〜52fは、同一の駆動電流(例えば100mA)を供給する回路である。
【0047】
切替え制御部37は、接続切替え部35の設定を行う場合、まず、入力ポートPi1と駆動回路52aとを接続し、他の入力ポートおよび駆動回路の接続を切断する。次に、入力ポートPi1に、図4に示すモニタ用入力信号S10を入力する。その後、出力ポートPo1,Po2〜Pomからの出力信号をモニタ回路部36によってモニタし、切替え制御部37に入力する。
【0048】
ここで、図4に示すように出力ポートPo1からの出力信号S11と出力ポートPo2からの出力信号S12が同一であり、かつ出力ポートPo3〜Pomからの出力信号S13〜S1mに波形データが含まれていなければ、出力ポートPo1と出力ポートPo2とは、出力回路部4の内部で結線されていると判定できる。
【0049】
次に、入力ポートPi1と駆動回路52bとを接続し、モニタ用入力信号を入力する。この場合にも、出力信号S11と出力信号S12とは同一の波形を示し、他の出力信号には波形データが含まれない。その後、入力ポートPi1と接続する駆動回路を順次変更することで、他の出力ポートからの出力に対する出力回路部4での接続状態を検出することができる。
【0050】
例えば図3に示した出力回路部4は、その内部に結線部分4a,4b,4cを有し、結線部分4aによって出力ポートPo1と出力ポートPo2とを接続し、結線部分4b、4cによって出力ポートPo3〜Po5を接続している。この場合、入力ポートPi1と駆動回路52c,駆動回路52d,駆動回路52eのいずれかを接続してモニタ用入力信号を入力すると、出力信号S13〜S15に同一の波形が現れ、他の出力信号には波形データが現れないこととなる。
【0051】
このように出力回路部4における配線接続状態を検出し、切替え制御部37は、図5に示すようにマルチプレクサ51を設定する。すなわち、入力ポートPi1に対して駆動回路52aおよび駆動回路52bを同時に接続し、入力ポートPi2に対して駆動回路52c,52d,52eを同時に接続する。
【0052】
したがって、入力ポートPi1から入力された信号には、駆動回路52aおよび駆動回路52bからそれぞれ駆動電流(100mA)が付与され、出力ポートPo1および出力ポートPo2から出力される。その後、出力回路4の内部で、出力ポートPo1からの出力と出力ポートPo2からの出力が合成されるので、入力ポートPi1に入力された信号は、最終的には200mAの駆動電流で出力されることとなる。
【0053】
同様に、入力ポートPi2から入力された信号には、駆動回路52c,駆動回路52dおよび駆動回路52eからそれぞれ駆動電流(100mA)が付与され、出力ポートPo3,Po4,Po5から出力される。その後、出力回路4の内部で、出力ポートPo3〜5の出力が合成されるので、入力ポートPi2に入力された信号は、最終的には300mAの駆動電流で出力されることとなる。
【0054】
ここで、マルチプレクサ51の具体的な内部構成について説明する。図6は、マルチプレクサ51の内部構成の一例を説明する説明図である。同図に示すように、マルチプレクサ51は、その内部に複数のスイッチ(SW1〜SWm)を有する。各スイッチは、入力ポートの数と同一のn個の接点を有しており、各スイッチのi番目(iは自然数とする)の接点は、i番目の入力ポート(入力ポートPii)と接続されている。
【0055】
マルチプレクサ51は、このスイッチSW1〜SWmの端子と、出力ポートPo1〜Pomとを駆動回路を介して接続することで、入力ポートと出力ポートの接続関係を切替えることができる。なお、図6では、スイッチSW1の1番目の接点を出力ポートPo1に接続し、スイッチSW2の1番目の接点を出力ポート2に接続することで、入力ポートPi1を2つの出力ポート(出力ポートPo1,Po2)に接続している。
【0056】
つぎに、接続切替え部35の設定時の処理動作について説明する。図7は、接続切替え部35の設定時の処理動作を説明するフローチャートである。同図に示すように、切替え制御部37は、接続切替え部35の設定開始要求を受け付けたならば(ステップS101)、最初の駆動回路をモニタ用入力信号の入力対象に設定する(ステップS102)。つぎに、入力対象の駆動回路にモニタ用入力信号を入力し(ステップS103)、各出力ポートの出力をモニタする(ステップS104)。
【0057】
その後、全ての駆動回路にモニタ用入力信号を入力したか否かを判定し(ステップS105)、モニタ用入力信号を入力していない駆動回路が残っているならば(ステップS105,No)、次の駆動回路をモニタ用入力信号の入力対象に設定し(ステップS106)、モニタ用入力信号を入力する(ステップS103)。
【0058】
一方、全ての駆動回路に対してモニタ用入力信号の入力が終了したならば(ステップS105,Yes)、切替え制御部37は、出力回路部4の接続状態を判定し(ステップS107)、接続切替え部35内部のマルチプレクサ51の配線設定を実行する。
【0059】
このように、単一の駆動回路にモニタ用入力信号を入力した場合における各出力ポートの出力信号をモニタすることで、切替え制御部37は、出力回路4の接続状態を検出し、接続切替え部35の配線接続を自動的に設定することができる。
【0060】
そのため、基板1を異なる車種に搭載する場合など、出力回路4の配線が異なる場合であっても、ユーザによるECU3の設定変更を行う必要がなく、出力回路3に対応して自律的に配線の変更を実行することができる。
【0061】
なお、ステップS101に示した設定開始要求としては、ECU3に最初に電源が投入された場合に自動的に設定開始要求が行われるように構成しても良いし、接続切替え部35に設定開始要求用の入力ポートを設け、この入力ポートに信号が入力された場合に設定変更を実行するように構成してもよい。
【0062】
なお、モニタ用入力信号としては、矩形波や正弦波、実際の基板動作時に入力される入力信号など、任意の信号を用いることができる。
【0063】
ところで、図1に示した構成では、ECU3の内部において、演算処理部33と切替え制御部37とを独立に設ける構成としているが、本発明の実施はこれに限定されるものではなく、例えば、切替え制御部を演算処理部の内部に設ける構成としてもよい。
【0064】
図8は、演算処理部の内部に切替え制御部を設けたECUの概要構成を説明する概要構成図である。同図に示すように、ECU3aは、その内部にADC31,32、演算処理部33a、処理回路34、接続切替部35、モニタ回路部36および切替制御部37を有する。
【0065】
演算処理部33aは、その内部に切替え制御部37aを有し、また、モニタ回路36の出力を受け付ける。切替え制御部37aは、モニタ回路36の出力をもとに、接続切替え部35の配線接続を設定する。ここで、切替え制御部37aは、ハードウェア構成によって実現する必要はなく、演算処理部33aが実行するソフトウェアであってもよい。
【0066】
なお、その他の構成および動作については、図1に示したECU3と同様であるので、同一の構成要素には同一の符号を付して説明を省略する。
【0067】
上述してきたように、本実施の形態1では、接続切替え部35における配線をモニタ用の配線状態に切り替えてモニタ用入力信号を入力し、その出力をモニタ回路部35によってモニタすることで出力回路部4の接続状態を検出し、検出した接続状態に対応して接続切替え部35の配線接続を設定するので、出力回路部4の接続状態に対応して接続切替え部35の配線接続を自動的に設定することができる。
【0068】
(実施の形態2)
上記実施の形態1では、同一の駆動回路を複数備えた接続切替え部を有するECUについて説明したが、本実施の形態2では、出力信号に対して実行すべき処理内容や付与すべき駆動電流を仕様情報として記憶し、互いに異なる複数の駆動回路を組み合わせて使用するECUの構成について説明する。
【0069】
図9は、本実施の形態2にかかるECUの構成について説明する説明図である。同図においては、本実施の形態2に特徴的な構成を有する接続切替え部70および切替え制御部37b、さらに接続切替え部70および切替え制御部37bの動作に関連するモニタ回路部36および出力回路部4を示している。図示しない構成については、図1に示した基板1と同様であるので、ここでは説明を省略する。
【0070】
図9に示すように、切替え制御部37bは、その内部に仕様データ60を記憶している。この仕様データ60は、出力信号に対して実行すべき処理内容や付与すべき駆動電流を示す情報である。この仕様データ60の具体例を図10に示す。同図に示すように、仕様データ60は、入力ポートの番号、入力信号の種類、必要な処理および必要な出力を関連付けて記憶している。
【0071】
たとえば、接続切替え部70の入力ポートPi1にはバルブ制御信号が入力され、必要な処理は「ローパスフィルタ」、必要な出力は「aaamA」である。また、入力ポートPi2には、点火制御信号が入力され、必要な処理は「プルアップ」、必要な出力は「bbbmA」である。さらに入力ポートPi3には、タイミング制御信号が入力され、必要な処理は「ハイパスフィルタ」、必要な出力は「cccmA」である。
【0072】
このように、仕様データ60には、入力ポートと入力信号の種類、必要な処理および必要な出力を関連付けて記憶しているので、切替え制御部37bは、モニタ回路35によって出力回路部4の接続状態を検出した後、この仕様データを参照して、どの入力ポートに加えられた信号にどの駆動回路を接続し、どの出力ポートから出力すべきかを詳細に設定することができる。なお、ここでは駆動回路72a〜72fは、全て同一の駆動能力を有するものに限らず、種類の異なる駆動回路を含むものとする。
【0073】
なお、接続切替え部は、たとえばFPGAなどの設定内容を変更可能な集積回路を用いてもよい。図11は、接続切替え部をFPGAによって実現したECUの構成を説明する説明図である。図11では、接続切替え部80は、その内部にFPGA81を有し、PFGA81は、駆動回路82、フィルタ83、抵抗84、コンデンサ85などを有する。
【0074】
この接続切替え部80では、切替え制御部37bから配線設定の要求があった場合に、PFGA81内部の、駆動回路82、フィルタ83、抵抗84、コンデンサ85などを組み合わせて接続することで、必要な処理や駆動電流を実現する。
【0075】
上述してきたように、本実施の形態2では、実行すべき処理内容や付与すべき駆動電流を示す情報を仕様データとして記憶し、モニタ回路部36によって検出した出力回路部4の接続状態と仕様データとをもとに接続切替え部の設定を行うので、仕様に対応した詳細な配線の設定を自動的に実行することができる。
【0076】
したがって、入出力の仕様が変更された場合であっても、ユーザは仕様データ60を書き換えるのみでよく、配線設計工程や配線変更工程を省略し、低コストでフレキシビリティの高いECUを得ることができる。
【0077】
【発明の効果】
以上説明したように、請求項1の発明によれば、電子制御装置は、出力ドライバに対する外部接続状態を検出し、その検出結果に基いて入力端子と出力ドライバとの配線接続を切替えるので、外部の接続状態に対応して配線接続を自動設定可能な電子制御装置が得られるという効果を奏する。
【0078】
また、請求項2の発明によれば、電子制御装置は、入力端子から入力された入力信号に対して所定の処理を実行する処理手段を備え、処理手段が外部接続状態に基いて出力ドライバの配線接続の切替えを制御するので、簡易な構成で外部の接続状態に対応して配線接続を自動設定可能な電子制御装置が得られるという効果を奏する。
【0079】
また、請求項3の発明によれば、電子制御装置は、入力端子から入力された入力信号に対して所定の処理を実行する処理手段と、外部接続状態に基いて出力ドライバの配線接続の切替えを制御する切替え手段とを独立に有するので、外部の接続状態に対応して配線接続を自動設定可能な電子制御装置が得られるという効果を奏する。
【0080】
また、請求項4の発明によれば、電子制御装置は、複数の出力ドライバにモニタ用入力信号を入力した場合の出力信号をモニタし、モニタ結果が同一である出力ドライバが外部で接続されていると判定するので、外部の接続状態を簡易かつ適切に判定し、配線接続を自動設定可能な電子制御装置が得られるという効果を奏する。
【0081】
また、請求項5の発明によれば、電子制御装置は、入力端子に入力が行われた場合と同一の信号を入力モニタ信号として複数の出力ドライバに入力し、出力ドライバからの出力信号をそれぞれモニタし、モニタ結果が同一である出力ドライバが外部で接続されていると判定するので、外部の接続状態を実際の稼動時の入力信号に基いて判定し、配線接続を自動設定可能な電子制御装置が得られるという効果を奏する。
【0082】
また、請求項6の発明によれば、電子制御装置は、出力信号に対して実行すべき処理内容や出力信号に付与すべき駆動電流を仕様情報として記憶し、仕様情報とモニタ結果とをもとに前記配線接続を切替えるので、外部の接続状態に対応して配線接続を詳細に自動設定可能な電子制御装置が得られるという効果を奏する。
【0083】
また、請求項7の発明によれば、電子制御装置は、入力端子に1対1に接続された複数の接点を有するスイッチを出力ドライバの数だけ備え、出力ドライバと接点との接続を切替えることで、入力端子と出力ドライバとの配線接続を切替えるので、簡易な構成で配線接続を設定可能な電子制御装置が得られるという効果を奏する。
【図面の簡単な説明】
【図1】本実施の形態1にかかるECUを搭載した基板の概要構成を説明する説明図である。
【図2】図1に示した基板において実行される処理の具体例を説明する説明図である。
【図3】図1に示した接続切替え部の設定を説明する説明図である。
【図4】モニタ用入力信号および出力信号の具体例を説明する説明図である。
【図5】図1に示した接続切替え部の設定例を説明する説明図である。
【図6】図3に示したマルチプレクサの内部構成の一例を説明する説明図である。
【図7】図1に示した接続切替え部の設定時の処理動作を説明するフローチャートである。
【図8】演算処理部の内部に切替え制御部を設けたECUの概要構成を説明する概要構成図である。
【図9】本実施の形態2にかかるECUの構成について説明する説明図である。
【図10】図9に示した切替制御部が記憶する仕様データについて説明する説明図である。
【図11】接続切替え部をFPGAによって実現したECUの構成を説明する説明図である。
【符号の説明】
1 基板
2 入力回路部
3,3a ECU
4 出力回路部
4a〜4c 結線部分
31,32 ADC
33,33a 演算処理部
34 処理回路
35、70,80 接続切替え部
36 モニタ回路部
37,37a,37b 切替え制御部
51,71 マルチプレクサ
52a〜52f,72a〜72f,82 駆動回路
60 仕様データ
81 FPGA
83 フィルタ回路
84 抵抗
85 コンデンサ
Ta1,Ta2〜Tak,Tal 外部入力端子
Tb1,Tb2〜Tbk,Tbl 内部入力端子
Tc1,Tc2〜Tck,Tcn 内部出力端子
Td1,Td2〜Tdn 外部出力端子
Pi1,Pi2〜Pin 入力ポート
Po1,Po2〜Pom 出力ポート
S1,S2 アナログ信号
S3,S4 デジタル信号
S10 モニタ用入力信号
S11,S12〜S1m 出力信号
SW1〜SWm スイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic control device capable of switching wiring connections between a plurality of input terminals and a plurality of output drivers, and more particularly to an electronic control device capable of automatically setting wiring connections in accordance with an external connection state.
[0002]
[Prior art]
In recent years, an electronic control device (ECU) is mounted on a vehicle to electronically control various processes necessary for the operation of the vehicle. For example, by applying an ECU to the control of engine ejection and connecting it to a speed sensor, a water temperature sensor, or the like, the amount of gasoline ejection can be controlled in accordance with the speed of the vehicle or the temperature of engine coolant.
[0003]
In such an in-vehicle ECU, input / output signals and processing operations are often different depending on the type of vehicle and the country where the vehicle is traveling. Therefore, in-vehicle ECUs are required to be able to change settings so that different inputs can be received for each vehicle and necessary processing operations can be executed.
[0004]
An FPGA (Field Programmable Gate Array) is widely used as an LSI whose settings can be changed. For example, in Patent Document 1, in order to inspect various semiconductor integrated circuits, an FPGA is interposed between the semiconductor integrated circuit to be inspected and the inspection apparatus, and the setting of the FPGA is changed based on the output of the semiconductor integrated circuit. Thus, an external test circuit for correcting the output is disclosed.
[0005]
Patent Document 2 discloses a digital data processing apparatus that generates and evaluates data corresponding to various IC functions by configuring an input / output unit using an FPGA.
[0006]
Further, Patent Document 3 discloses a circuit monitoring method for monitoring the operation of a part or all of an integrated circuit in an integrated circuit in which internal wiring such as FPGA can be set and changed from the outside.
[0007]
Further, Patent Document 4 discloses a logic module and an integrated circuit in which an output circuit unit is configured by an FPGA, so that it is easy to cope with multiple models and change specifications.
[0008]
[Patent Document 1]
JP 2001-337141 A
[Patent Document 2]
JP-A-11-248804
[Patent Document 3]
JP-A-9-311162
[Patent Document 4]
JP-A-5-252025
[0009]
[Problems to be solved by the invention]
By the way, in the above-described conventional technology, the processing content (internal wiring connection) can be changed using the FPGA, but the change itself basically needs to be performed by the user. In the technique disclosed in Patent Document 1, the processing content can be automatically set according to the input signal, but the output side (inspection apparatus side) is fixed, and there is some change on the inspection apparatus side. Therefore, it is necessary to change the setting by the user or replace the LSI itself.
[0010]
However, when various types of output signals are required for each vehicle type, such as an ECU for a vehicle, even if the setting can be changed by an FPGA or the like, the setting is changed by the user. The burden on the user becomes very large. In particular, in an in-vehicle ECU, since the output destinations are various in addition to the variety of output destinations, the burden of this setting change becomes significant.
[0011]
Therefore, it has been an important issue to realize an electronic control device that automatically changes wiring according to the external wiring status of the connection destination and autonomously supports various output destinations.
[0012]
The present invention has been made to solve the above-described problems of the prior art and to solve the problems, and provides an electronic control device capable of automatically setting a wiring connection corresponding to an external connection state. Objective.
[0013]
[Means for Solving the Problems]
In order to solve the above-described problems and achieve the object, an electronic control device according to claim 1 is an electronic control device capable of switching wiring connections between a plurality of input terminals and a plurality of output drivers. And a monitoring unit for detecting an external connection state with respect to the output driver, and a switching control unit for switching the wiring connection based on a detection result of the monitoring unit.
[0014]
According to the first aspect of the present invention, the electronic control unit detects the external connection state with respect to the output driver, and switches the wiring connection between the input terminal and the output driver based on the detection result.
[0015]
According to a second aspect of the present invention, the electronic control device according to the first aspect of the present invention is the processing means according to the first aspect, wherein the processing means executes predetermined processing on the input signals input from the plurality of input terminals and supplies the input signals to the output driver The switching control means is provided inside the processing means.
[0016]
According to the second aspect of the present invention, the electronic control device includes processing means for executing predetermined processing on an input signal input from the input terminal, and the processing means is connected to the output driver based on the external connection state. Control connection switching.
[0017]
The electronic control device according to a third aspect of the present invention is the electronic control device according to the first aspect, further comprising processing means for executing a predetermined process on the input signals input from the plurality of input terminals. The means is provided independently of the processing means.
[0018]
According to the third aspect of the present invention, the electronic control device switches the wiring connection of the output driver based on the external connection state and the processing means for executing a predetermined process on the input signal input from the input terminal. It has the switching means to control independently.
[0019]
According to a fourth aspect of the present invention, in the electronic control device according to the first, second, or third aspect of the invention, the monitoring means monitors the output signals when the monitoring input signals are input to the plurality of output drivers, respectively. The switching control means determines that output drivers having the same monitoring result are externally connected.
[0020]
According to the invention of claim 4, the electronic control unit monitors the output signal when the monitoring input signal is input to the plurality of output drivers, and the output drivers having the same monitoring result are connected externally. Is determined.
[0021]
An electronic control device according to a fifth aspect of the present invention is the electronic control device according to any one of the first to fourth aspects, wherein the monitor means outputs the same signal as when the input is made to the input terminal. Input to the plurality of output drivers as input monitor signals, monitor the output signals from the output drivers, respectively, and the switching control means determines that output drivers having the same monitoring result are connected externally It is characterized by that.
[0022]
According to the fifth aspect of the present invention, the electronic control device inputs the same signal as that when the input is made to the input terminal to the plurality of output drivers as the input monitor signal, and monitors each output signal from the output driver. Then, it is determined that output drivers having the same monitoring result are connected externally.
[0023]
According to a sixth aspect of the present invention, in the first to fifth aspects of the invention, the processing contents to be executed on the output signal and / or the drive current to be applied to the output signal are stored as specification information. The storage device further includes a specification storage unit, wherein the switching control unit switches the wiring connection based on the specification information and a detection result of the monitoring unit.
[0024]
According to the invention of claim 6, the electronic control device stores the processing contents to be executed on the output signal and the drive current to be given to the output signal as the specification information, and based on the specification information and the monitoring result. The wiring connection is switched.
[0025]
According to a seventh aspect of the present invention, in the electronic control device according to the first to sixth aspects of the present invention, the switching means for switching the wiring connection between the plurality of input terminals and the plurality of output drivers is the plurality of outputs. Each of the plurality of switches includes a plurality of contacts connected to the plurality of input terminals on a one-to-one basis, and connection / disconnection between the general contact and the corresponding output driver. Can be switched.
[0026]
According to the seventh aspect of the present invention, the switch having a plurality of contacts connected to the input terminal in a one-to-one correspondence is provided for the number of output drivers, and the connection between the output driver and the contacts is switched, whereby the input terminal and the output are switched. Switch the wiring connection with the driver.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of an electronic control unit (ECU) according to the present invention will be described below with reference to the accompanying drawings.
[0028]
(Embodiment 1)
First, a schematic configuration of the ECU according to the first embodiment will be described. FIG. 1 is an explanatory diagram for explaining a schematic configuration of a substrate 1 on which an ECU 3 according to the first embodiment is mounted. In FIG. 1, a substrate 1 has external input terminals Ta1, Ta2-Tak, Tal, and external output terminals Td1, Td2-Tdn. Further, the substrate 1 has an input circuit unit 2, an ECU 3 and an output circuit unit 4.
[0029]
The input circuit unit 2 is connected to the external input terminals Ta1, Ta2-Tak, Tal, and after executing predetermined processing on the input signals input from the external input terminals Ta1, Ta2-Tak, Tal, the ECU 3 The internal input terminals Tb1, Tb2 to Tbk, Tbl are input.
[0030]
The ECU 3 executes arithmetic processing based on signals input to the internal input terminals Tb1, Tb2 to Tbk, Tbl, and outputs the result to the output circuit unit 4 via the internal output terminals Tc1, Tc2 to Tcm.
[0031]
The output circuit unit 4 performs predetermined processing on the output signals output from the internal output terminals Tc1, Tc2 to Tcm, and then outputs them from the external output terminals Td1, Td2 to Tdn.
[0032]
Here, the input circuit unit 2 and the output circuit unit 4 differ depending on the vehicle type on which the board 1 is mounted. On the other hand, the ECU 3 is the same regardless of the vehicle type on which the substrate 1 is mounted.
[0033]
Therefore, when creating substrates corresponding to different types of vehicles, only the input circuit unit 2 and the output circuit unit 4 need be set, and the ECU 3 can handle different vehicles without changing the settings.
[0034]
In other words, the ECU 3 has a function of not only responding to the input signal but also automatically executing a setting change corresponding to the connection state of the output circuit 4. The internal configuration of the ECU 3 will be further described.
[0035]
As shown in FIG. 1, the ECU 3 includes ADCs (Analog-Digital Converters) 31 and 32, an arithmetic processing unit 33, a processing circuit 34, a connection switching unit 35, a monitor circuit unit 36, and a switching control unit 37. .
[0036]
The ADCs 31 and 32 convert the input analog signals into digital signals and output them to the arithmetic processing unit 33 or the processing circuit 34. Specifically, the ADC 31 converts an analog signal input from the internal input terminals Tb1 and Tb2 into a digital signal and inputs the digital signal to the arithmetic processing unit 33, and the ADC 32 digitally converts the analog signal input from the internal input terminal Tbk. The signal is converted into a signal and input to the processing circuit 34.
[0037]
A signal input from the internal input terminal Tb3 is directly input to the arithmetic processing unit 33, and a signal input from the internal input terminal Tbl is directly input to the processing circuit 34. The processing circuit 34 performs predetermined processing on the signal input from the ADC 32 and the signal input from the internal input terminal Tbl and outputs the result to the arithmetic processing unit 33 and the connection switching unit 35.
[0038]
The arithmetic processing unit 33 executes predetermined arithmetic processing based on the input from the ADC 31, the input from the internal input terminal Tb 3, and the input from the processing circuit 34, and inputs the calculation result to the connection switching unit 35.
[0039]
The connection switching unit 35 has input ports Pi1, Pi2-Pin and output ports Po1, Po2-Pom. The connection switching unit 35 can switch the connection relationship between the input ports Pi1, Pi2-Pin and the output ports Po1, Po2-Pom. The output ports Po1, Po2 to Pom are connected to the output circuit unit 4 via internal output terminals Tc1 and Tc2 to Tcm.
[0040]
On the other hand, the monitor circuit unit 36 monitors the outputs of the output ports Po 1, Po 2 to Pom, and outputs them to the switching control unit 37. The switching control unit 37 switches the connection state of the connection switching unit 35 based on the output of the monitor circuit unit 36.
[0041]
That is, the switching control unit 37 determines the connection state of the output circuit unit 4 based on the outputs from the output ports Po1, Po2 to Pom monitored by the monitor circuit 36, and switches the internal connection state of the connection switching unit 35.
[0042]
Here, an example of signal processing in the substrate 1 will be described. FIG. 2 is an explanatory diagram for explaining a specific example of processing executed on the substrate 1. In FIG. 1, when the signal input to the external input terminal Ta1 is the analog signal S1, the input circuit unit 2 performs level shift, offset addition, gain control, etc. on the analog signal S1, and the result is An analog signal S2 is input to the internal input terminal Tb1.
[0043]
The analog signal S2 is input to the ADC 31 from the internal input terminal Tb1, converted into a digital signal, and input to the arithmetic processing unit 33 as the digital signal S3. The arithmetic processing unit 33 performs arithmetic processing using the digital signal S3 and other input signals, and as a result, inputs the digital signal S4 to the input port Pi1 of the connection switching unit 35.
[0044]
The connection switching unit 35 gives a predetermined drive current to the signal input to the input port Pi1 according to the internal connection state, and outputs it from one of the output ports Po1, Po2 to Pom.
[0045]
Next, the setting of the connection switching unit 35 by the monitor circuit unit 36 and the switching control unit 37 will be further described. FIG. 3 is an explanatory diagram illustrating the setting of the connection switching unit 35. As shown in the figure, the connection switching unit 35 includes a multiplexer 51 and driving circuits (output drivers) 52a and 52b to 52f therein.
[0046]
The multiplexer 51 receives control from the switching control unit 37 and can arbitrarily set the internal connection state, that is, the wiring between the input ports Pi1, Pi2-Pin and the output ports Po1, Po2-Pom. Further, drive circuits 52a, 52b to 52f are assigned to the various output ports Po1, Po2 to Pom, respectively. Here, the drive circuits 52a and 52b to 52f are circuits that supply the same drive current (for example, 100 mA).
[0047]
When setting the connection switching unit 35, the switching control unit 37 first connects the input port Pi1 and the drive circuit 52a, and disconnects the other input ports and the drive circuit. Next, the monitor input signal S10 shown in FIG. 4 is input to the input port Pi1. Thereafter, output signals from the output ports Po1, Po2 to Pom are monitored by the monitor circuit unit 36 and input to the switching control unit 37.
[0048]
Here, as shown in FIG. 4, the output signal S11 from the output port Po1 is the same as the output signal S12 from the output port Po2, and the output signals S13 to S1m from the output ports Po3 to Pom include waveform data. If not, it can be determined that the output port Po1 and the output port Po2 are connected inside the output circuit unit 4.
[0049]
Next, the input port Pi1 and the drive circuit 52b are connected to input a monitor input signal. Also in this case, the output signal S11 and the output signal S12 show the same waveform, and the other output signals do not include waveform data. Thereafter, by sequentially changing the drive circuit connected to the input port Pi1, it is possible to detect the connection state in the output circuit unit 4 for the output from the other output ports.
[0050]
For example, the output circuit section 4 shown in FIG. 3 has connection portions 4a, 4b, and 4c therein, and connects the output port Po1 and the output port Po2 by the connection portion 4a, and the output ports by the connection portions 4b and 4c. Po3 to Po5 are connected. In this case, when the input port Pi1 is connected to any one of the drive circuit 52c, the drive circuit 52d, and the drive circuit 52e and a monitor input signal is input, the same waveform appears in the output signals S13 to S15, and the other output signals are displayed. No waveform data will appear.
[0051]
Thus, the wiring connection state in the output circuit unit 4 is detected, and the switching control unit 37 sets the multiplexer 51 as shown in FIG. That is, the drive circuit 52a and the drive circuit 52b are simultaneously connected to the input port Pi1, and the drive circuits 52c, 52d, and 52e are simultaneously connected to the input port Pi2.
[0052]
Therefore, a drive current (100 mA) is applied to the signal input from the input port Pi1 from the drive circuit 52a and the drive circuit 52b, respectively, and is output from the output port Po1 and the output port Po2. Thereafter, the output from the output port Po1 and the output from the output port Po2 are combined in the output circuit 4, so that the signal input to the input port Pi1 is finally output with a drive current of 200 mA. It will be.
[0053]
Similarly, a drive current (100 mA) is applied to the signal input from the input port Pi2 from the drive circuit 52c, the drive circuit 52d, and the drive circuit 52e, respectively, and is output from the output ports Po3, Po4, Po5. Thereafter, since the outputs of the output ports Po3 to Po5 are synthesized in the output circuit 4, the signal input to the input port Pi2 is finally output with a drive current of 300 mA.
[0054]
Here, a specific internal configuration of the multiplexer 51 will be described. FIG. 6 is an explanatory diagram for explaining an example of the internal configuration of the multiplexer 51. As shown in the figure, the multiplexer 51 has a plurality of switches (SW1 to SWm) therein. Each switch has n contacts equal to the number of input ports, and the i-th contact (i is a natural number) of each switch is connected to the i-th input port (input port Pii). ing.
[0055]
The multiplexer 51 can switch the connection relationship between the input port and the output port by connecting the terminals of the switches SW1 to SWm and the output ports Po1 to Pom via a drive circuit. In FIG. 6, by connecting the first contact of the switch SW1 to the output port Po1 and connecting the first contact of the switch SW2 to the output port 2, the input port Pi1 is connected to two output ports (output port Po1). , Po2).
[0056]
Next, a processing operation at the time of setting the connection switching unit 35 will be described. FIG. 7 is a flowchart for explaining the processing operation when the connection switching unit 35 is set. As shown in the figure, when the switching control unit 37 receives a setting start request from the connection switching unit 35 (step S101), the switching control unit 37 sets the first drive circuit as an input target of the monitor input signal (step S102). . Next, a monitor input signal is input to the input drive circuit (step S103), and the output of each output port is monitored (step S104).
[0057]
Thereafter, it is determined whether or not the monitor input signal has been input to all the drive circuits (step S105). If there remains a drive circuit to which the monitor input signal is not input (step S105, No), the next Is set as an input target of the monitor input signal (step S106), and the monitor input signal is input (step S103).
[0058]
On the other hand, if the input of the monitor input signal has been completed for all the drive circuits (step S105, Yes), the switching control unit 37 determines the connection state of the output circuit unit 4 (step S107) and switches the connection. The wiring setting of the multiplexer 51 in the unit 35 is executed.
[0059]
In this way, by monitoring the output signal of each output port when a monitor input signal is input to a single drive circuit, the switching control unit 37 detects the connection state of the output circuit 4, and the connection switching unit 35 wiring connections can be set automatically.
[0060]
Therefore, even when the wiring of the output circuit 4 is different, such as when the board 1 is mounted on a different vehicle type, there is no need to change the setting of the ECU 3 by the user, and the wiring is autonomously corresponding to the output circuit 3. Changes can be made.
[0061]
The setting start request shown in step S101 may be configured such that the setting start request is automatically made when the ECU 3 is first turned on, or the connection switching unit 35 is requested to set the setting start request. An input port may be provided, and a setting change may be executed when a signal is input to the input port.
[0062]
As the monitor input signal, an arbitrary signal such as a rectangular wave, a sine wave, or an input signal input during actual substrate operation can be used.
[0063]
Incidentally, in the configuration shown in FIG. 1, the arithmetic processing unit 33 and the switching control unit 37 are provided independently inside the ECU 3, but the implementation of the present invention is not limited to this, for example, The switching control unit may be provided inside the arithmetic processing unit.
[0064]
FIG. 8 is a schematic configuration diagram illustrating a schematic configuration of an ECU provided with a switching control unit inside the arithmetic processing unit. As shown in the figure, the ECU 3a includes ADCs 31 and 32, an arithmetic processing unit 33a, a processing circuit 34, a connection switching unit 35, a monitor circuit unit 36, and a switching control unit 37 therein.
[0065]
The arithmetic processing unit 33a has a switching control unit 37a therein and receives the output of the monitor circuit 36. The switching control unit 37 a sets the wiring connection of the connection switching unit 35 based on the output of the monitor circuit 36. Here, the switching control unit 37a does not need to be realized by a hardware configuration, and may be software executed by the arithmetic processing unit 33a.
[0066]
Since other configurations and operations are the same as those of the ECU 3 shown in FIG. 1, the same components are denoted by the same reference numerals, and description thereof is omitted.
[0067]
As described above, in the first embodiment, the wiring in the connection switching unit 35 is switched to the monitoring wiring state, the monitor input signal is input, and the output is monitored by the monitor circuit unit 35, thereby outputting the output circuit. Since the connection state of the unit 4 is detected and the wiring connection of the connection switching unit 35 is set according to the detected connection state, the wiring connection of the connection switching unit 35 is automatically set according to the connection state of the output circuit unit 4 Can be set to
[0068]
(Embodiment 2)
In the first embodiment, the ECU having the connection switching unit including a plurality of the same drive circuits has been described. However, in the second embodiment, the processing content to be executed on the output signal and the drive current to be applied are determined. A configuration of an ECU that is stored as specification information and uses a plurality of different drive circuits in combination will be described.
[0069]
FIG. 9 is an explanatory diagram illustrating the configuration of the ECU according to the second embodiment. In the figure, the connection switching unit 70 and the switching control unit 37b having the characteristic configuration of the second embodiment, and the monitor circuit unit 36 and the output circuit unit related to the operation of the connection switching unit 70 and the switching control unit 37b. 4 is shown. Since the configuration not shown is the same as that of the substrate 1 shown in FIG. 1, the description thereof is omitted here.
[0070]
As shown in FIG. 9, the switching control unit 37b stores specification data 60 therein. The specification data 60 is information indicating the processing contents to be executed on the output signal and the driving current to be applied. A specific example of the specification data 60 is shown in FIG. As shown in the figure, the specification data 60 stores an input port number, an input signal type, necessary processing, and necessary output in association with each other.
[0071]
For example, the valve control signal is input to the input port Pi1 of the connection switching unit 70, the required processing is “low-pass filter”, and the required output is “aaamA”. Further, the ignition control signal is input to the input port Pi2, the necessary processing is “pull-up”, and the necessary output is “bbbbmA”. Further, the timing control signal is input to the input port Pi3, the necessary processing is “high-pass filter”, and the necessary output is “cccmA”.
[0072]
As described above, since the specification data 60 stores the input port, the type of the input signal, the necessary processing, and the necessary output in association with each other, the switching control unit 37b connects the output circuit unit 4 with the monitor circuit 35. After detecting the state, it is possible to set in detail which drive circuit is connected to the signal applied to which input port and which output port is to be output by referring to the specification data. Here, the drive circuits 72a to 72f are not limited to those having the same drive capability, but include different types of drive circuits.
[0073]
Note that the connection switching unit may use an integrated circuit that can change setting contents such as an FPGA. FIG. 11 is an explanatory diagram illustrating the configuration of the ECU in which the connection switching unit is realized by an FPGA. In FIG. 11, the connection switching unit 80 includes an FPGA 81 therein, and the PFGA 81 includes a drive circuit 82, a filter 83, a resistor 84, a capacitor 85, and the like.
[0074]
In the connection switching unit 80, when there is a wiring setting request from the switching control unit 37b, the drive circuit 82, the filter 83, the resistor 84, the capacitor 85, and the like in the PFGA 81 are connected in combination to perform necessary processing. And drive current.
[0075]
As described above, in the second embodiment, information indicating the processing content to be executed and the drive current to be applied is stored as specification data, and the connection state and specification of the output circuit unit 4 detected by the monitor circuit unit 36. Since the connection switching unit is set based on the data, detailed wiring setting corresponding to the specification can be automatically executed.
[0076]
Therefore, even if the input / output specification is changed, the user only has to rewrite the specification data 60, and the wiring design process and the wiring change process can be omitted, and a highly flexible ECU can be obtained at low cost. it can.
[0077]
【The invention's effect】
As described above, according to the invention of claim 1, the electronic control unit detects the external connection state with respect to the output driver, and switches the wiring connection between the input terminal and the output driver based on the detection result. The electronic control device capable of automatically setting the wiring connection corresponding to the connection state is obtained.
[0078]
According to the invention of claim 2, the electronic control device includes processing means for executing a predetermined process on the input signal input from the input terminal, and the processing means is based on the external connection state of the output driver. Since the switching of the wiring connection is controlled, an electronic control device capable of automatically setting the wiring connection corresponding to the external connection state with a simple configuration is obtained.
[0079]
According to a third aspect of the invention, the electronic control device switches processing means for executing predetermined processing on an input signal inputted from the input terminal, and switching of wiring connection of the output driver based on an external connection state. Therefore, it is possible to obtain an electronic control device capable of automatically setting the wiring connection in accordance with the external connection state.
[0080]
According to the invention of claim 4, the electronic control unit monitors the output signal when the monitoring input signal is input to the plurality of output drivers, and the output driver having the same monitoring result is externally connected. Therefore, it is possible to obtain an electronic control device that can easily and appropriately determine the external connection state and automatically set the wiring connection.
[0081]
According to the invention of claim 5, the electronic control unit inputs the same signal as when input is made to the input terminal to the plurality of output drivers as an input monitor signal, and outputs the output signals from the output drivers, respectively. Monitors and determines that an output driver with the same monitoring result is connected externally, so the external connection status is determined based on the input signal during actual operation, and electronic control that can automatically set the wiring connection There exists an effect that an apparatus is obtained.
[0082]
According to the invention of claim 6, the electronic control unit stores the processing contents to be executed for the output signal and the drive current to be given to the output signal as the specification information, and includes the specification information and the monitor result. In addition, since the wiring connection is switched, an electronic control device capable of automatically setting the wiring connection in detail corresponding to the external connection state can be obtained.
[0083]
According to the invention of claim 7, the electronic control device includes a switch having a plurality of contacts connected to the input terminal in a one-to-one correspondence to the number of the output drivers, and switches the connection between the output driver and the contacts. Thus, since the wiring connection between the input terminal and the output driver is switched, an electronic control device capable of setting the wiring connection with a simple configuration is obtained.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram illustrating a schematic configuration of a board on which an ECU according to a first embodiment is mounted.
FIG. 2 is an explanatory diagram illustrating a specific example of processing executed on the substrate shown in FIG. 1;
FIG. 3 is an explanatory diagram explaining settings of the connection switching unit shown in FIG. 1;
FIG. 4 is an explanatory diagram illustrating a specific example of a monitor input signal and an output signal.
FIG. 5 is an explanatory diagram illustrating a setting example of a connection switching unit illustrated in FIG. 1;
6 is an explanatory diagram illustrating an example of an internal configuration of the multiplexer illustrated in FIG. 3;
FIG. 7 is a flowchart for explaining a processing operation when setting the connection switching unit shown in FIG. 1;
FIG. 8 is a schematic configuration diagram illustrating a schematic configuration of an ECU provided with a switching control unit inside an arithmetic processing unit.
FIG. 9 is an explanatory diagram for explaining a configuration of an ECU according to the second embodiment;
10 is an explanatory diagram for explaining specification data stored in a switching control unit shown in FIG. 9;
FIG. 11 is an explanatory diagram illustrating a configuration of an ECU in which a connection switching unit is realized by an FPGA.
[Explanation of symbols]
1 Substrate
2 Input circuit section
3,3a ECU
4 Output circuit section
4a-4c Connection part
31,32 ADC
33, 33a arithmetic processing unit
34 Processing circuit
35, 70, 80 Connection switching part
36 Monitor circuit section
37, 37a, 37b switching control unit
51, 71 Multiplexer
52a to 52f, 72a to 72f, 82 Drive circuit
60 Specification data
81 FPGA
83 Filter circuit
84 Resistance
85 capacitors
Ta1, Ta2-Tak, Tal External input terminal
Tb1, Tb2-Tbk, Tbl Internal input terminal
Tc1, Tc2-Tck, Tcn Internal output terminal
Td1, Td2 to Tdn External output terminals
Pi1, Pi2-Pin input port
Po1, Po2-Pom output port
S1, S2 Analog signal
S3, S4 Digital signal
S10 Monitor input signal
S11, S12 ~ S1m Output signal
SW1 to SWm switch

Claims (7)

複数の入力端子と複数の出力ドライバとの間の配線接続を切替え可能な電子制御装置であって、
前記出力ドライバに対する外部接続状態を検出するモニタ手段と、
前記モニタ手段の検出結果をもとに、前記配線接続を切替える切替え制御手段と、
を備えたことを特徴とする電子制御装置。
An electronic control device capable of switching wiring connections between a plurality of input terminals and a plurality of output drivers,
Monitoring means for detecting an external connection state to the output driver;
Switching control means for switching the wiring connection based on the detection result of the monitoring means;
An electronic control device comprising:
前記複数の入力端子から入力された入力信号に対して所定の処理を実行して前記出力ドライバに供給する処理手段をさらに備え、前記切替え制御手段は、前記処理手段内部に設けられたことを特徴とする請求項1に記載の電子制御装置。The apparatus further comprises processing means for executing predetermined processing on input signals input from the plurality of input terminals and supplying the processed signals to the output driver, and the switching control means is provided in the processing means. The electronic control device according to claim 1. 前記複数の入力端子から入力された入力信号に対して所定の処理を実行する処理手段をさらに備え、前記切替え制御手段は、前記処理手段と独立に設けられたことを特徴とする請求項1に記載の電子制御装置。2. The processing apparatus according to claim 1, further comprising processing means for executing predetermined processing on input signals input from the plurality of input terminals, wherein the switching control means is provided independently of the processing means. The electronic control device described. 前記モニタ手段は、前記複数の出力ドライバにモニタ用入力信号を入力した場合の出力信号をそれぞれモニタし、前記切替え制御手段は、該モニタ結果が同一である出力ドライバが外部で接続されていると判定することを特徴とする請求項1,2または3に記載の電子制御装置。The monitoring means monitors each output signal when a monitoring input signal is input to the plurality of output drivers, and the switching control means indicates that the output driver having the same monitoring result is externally connected. The electronic control device according to claim 1, wherein the electronic control device is determined. 前記モニタ手段は、前記入力端子に入力が行われた場合と同一の信号を入力モニタ信号として前記複数の出力ドライバに入力し、当該出力ドライバからの出力信号をそれぞれモニタし、前記切替え制御手段は、該モニタ結果が同一である出力ドライバが外部で接続されていると判定することを特徴とする請求項1〜4のいずれか一つに記載の電子制御装置。The monitor means inputs the same signal as when input is made to the input terminal to the plurality of output drivers as an input monitor signal, monitors each output signal from the output driver, and the switching control means 5. The electronic control device according to claim 1, wherein it is determined that output drivers having the same monitoring result are externally connected. 出力信号に対して実行すべき処理内容および/または出力信号に付与すべき駆動電流を仕様情報として記憶する仕様記憶手段をさらに備え、前記切替え制御手段は、前記仕様情報と前記モニタ手段の検出結果とをもとに前記配線接続を切替えることを特徴とする請求項1〜5のいずれか一つに記載の電子制御装置。Specification storage means for storing, as specification information, processing contents to be executed on the output signal and / or drive current to be applied to the output signal, and the switching control means includes the specification information and the detection result of the monitoring means. The electronic control device according to claim 1, wherein the wiring connection is switched based on 前記複数の入力端子と前記複数の出力ドライバとの間の配線接続を切替える切替え手段は、前記複数の出力ドライバにそれぞれ対応する複数のスイッチを備え、前記複数のスイッチの各々は、前記複数の入力端子に一対一に接続された複数の接点を備え、概接点と対応する出力ドライバとの接続/非接続を切替え可能であることを特徴とする請求項1〜6のいずれか一つに記載の電子制御装置。The switching means for switching the wiring connection between the plurality of input terminals and the plurality of output drivers includes a plurality of switches respectively corresponding to the plurality of output drivers, and each of the plurality of switches includes the plurality of inputs. 7. The device according to claim 1, comprising a plurality of contacts connected to the terminal on a one-to-one basis, wherein connection / disconnection between the general contact and the corresponding output driver can be switched. Electronic control device.
JP2003203160A 2003-07-29 2003-07-29 Electronic control device Pending JP2005047302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003203160A JP2005047302A (en) 2003-07-29 2003-07-29 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003203160A JP2005047302A (en) 2003-07-29 2003-07-29 Electronic control device

Publications (2)

Publication Number Publication Date
JP2005047302A true JP2005047302A (en) 2005-02-24
JP2005047302A5 JP2005047302A5 (en) 2006-09-07

Family

ID=34262626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003203160A Pending JP2005047302A (en) 2003-07-29 2003-07-29 Electronic control device

Country Status (1)

Country Link
JP (1) JP2005047302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015014283A (en) * 2013-06-06 2015-01-22 三菱重工業株式会社 Control system of four-cycle engine
US9223559B2 (en) 2012-03-02 2015-12-29 Mitsubishi Electric Corporation Information processing apparatus, electronic control unit, information processing method, and program
CN113246876A (en) * 2020-02-10 2021-08-13 矢崎总业株式会社 Communication system and proxy input and output unit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9223559B2 (en) 2012-03-02 2015-12-29 Mitsubishi Electric Corporation Information processing apparatus, electronic control unit, information processing method, and program
JP2015014283A (en) * 2013-06-06 2015-01-22 三菱重工業株式会社 Control system of four-cycle engine
CN113246876A (en) * 2020-02-10 2021-08-13 矢崎总业株式会社 Communication system and proxy input and output unit
JP2021129134A (en) * 2020-02-10 2021-09-02 矢崎総業株式会社 Communication system and proxy input/output unit
JP7219238B2 (en) 2020-02-10 2023-02-07 矢崎総業株式会社 Communication system and proxy input/output unit
US11584316B2 (en) 2020-02-10 2023-02-21 Yazaki Corporation Communication system and vicarious inputting and outputting unit
CN113246876B (en) * 2020-02-10 2024-03-08 矢崎总业株式会社 Communication system and proxy input and output unit

Similar Documents

Publication Publication Date Title
JP6001334B2 (en) Semiconductor device, battery state monitoring module, and vehicle system
JP6158029B2 (en) Electronic control unit
US7213097B2 (en) Electronic control unit and electronic driving unit
JP2018518857A (en) Method and apparatus for providing redundancy to a vehicle electronic control system
JPH08136413A (en) Failure diagnostic equipment
JP3925062B2 (en) In-vehicle electronic control unit
US20070294605A1 (en) Circuit configuration with serial test interface or serial test operating-mode procedure
US20180225249A1 (en) Application-specific integrated circuit configured to interface with automotive diagnostic port
JP2007333574A (en) Sensing device
JP2005047302A (en) Electronic control device
US20180144560A1 (en) Motor vehicle device and system controller and method
JP2011178237A (en) Signal input device and on-vehicle processing system
JP6166442B2 (en) Vehicle system
JP3585401B2 (en) Engine control device
JPH11338556A (en) Power circuit
CN114125615B (en) Vehicle-mounted interface data processing system and method and vehicle-mounted equipment
CN110582915A (en) Microcomputer input/output circuit
JP2009010825A (en) Semiconductor integrated circuit
WO2023007974A1 (en) Semiconductor device, in-vehicle device, and consumer equipment
JP2012128716A (en) Vehicle control device
JP2005038075A (en) Current signal converter
JP2010258592A (en) Differential communication system
CN107037867A (en) Semiconductor devices and system
JP2013222279A (en) Semiconductor device
JP5445417B2 (en) Signal processing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060720

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090414

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090908