JP2014049916A - On-vehicle electronic control device - Google Patents

On-vehicle electronic control device Download PDF

Info

Publication number
JP2014049916A
JP2014049916A JP2012190755A JP2012190755A JP2014049916A JP 2014049916 A JP2014049916 A JP 2014049916A JP 2012190755 A JP2012190755 A JP 2012190755A JP 2012190755 A JP2012190755 A JP 2012190755A JP 2014049916 A JP2014049916 A JP 2014049916A
Authority
JP
Japan
Prior art keywords
path
electronic control
vehicle
control device
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012190755A
Other languages
Japanese (ja)
Other versions
JP5753824B2 (en
Inventor
Yukihiko Oishi
行彦 大石
Hiroaki Komatsu
弘明 小松
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2012190755A priority Critical patent/JP5753824B2/en
Publication of JP2014049916A publication Critical patent/JP2014049916A/en
Application granted granted Critical
Publication of JP5753824B2 publication Critical patent/JP5753824B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an on-vehicle electronic control device that can keep a vehicle system in operation even if a built-in AD converter fails.SOLUTION: An on-vehicle electronic control device 1 connects with sensors 21-25, and acquires sensor signals output from the sensors 21-25, respectively, through AD conversion. In the on-vehicle electronic control device 1, a CPU 19 executes an anomalous path detection process to detect anomalous paths from among a plurality of transmission paths and a plurality of reception paths. A path selection process is also executed to select at least one from the plurality of transmission paths, excluding the anomalous path, and at least one from the plurality of reception paths, excluding the anomalous path, to be allocated to each of the sensors 21-25.

Description

本発明は、車両に搭載されて使用される車載用電子制御装置に関する。   The present invention relates to an in-vehicle electronic control device that is mounted on a vehicle and used.

従来、車両システムを制御するために、AD変換器を内蔵したマイクロコンピュータ等の電子制御装置が車両に搭載されて使用されている。こうした電子制御装置において、内蔵したAD変換器によりAD変換が正しく行われているか否かを判別する技術が知られている(たとえば、特許文献1参照)。   Conventionally, in order to control a vehicle system, an electronic control device such as a microcomputer incorporating an AD converter is mounted on the vehicle and used. In such an electronic control device, a technique for determining whether or not AD conversion is correctly performed by a built-in AD converter is known (see, for example, Patent Document 1).

特開2009−284302号公報JP 2009-284302 A

特許文献1に記載の従来技術では、AD変換器においてAD変換が正しく行われているか否かを判別することはできるが、AD変換が正しく行われていないと判別した場合の制御については考慮されていない。そのため、AD変換器が故障してAD変換が正しく行われなくなった場合、このマイクロコンピュータを搭載した車両システムでは、それ以上の動作継続が困難となる。   In the prior art described in Patent Document 1, it is possible to determine whether or not AD conversion is correctly performed in the AD converter, but control when it is determined that AD conversion is not correctly performed is considered. Not. Therefore, when the AD converter fails and AD conversion is not performed correctly, it is difficult for the vehicle system equipped with this microcomputer to continue further operation.

本発明は、上記のような従来の問題点に鑑み、内蔵するAD変換器が故障した場合においても車両システムの動作継続を可能とする車載用電子制御装置を提供することを目的とする。   An object of the present invention is to provide an in-vehicle electronic control device that allows operation of a vehicle system to continue even when a built-in AD converter fails.

本発明による車載用電子制御装置は、複数のセンサと接続され、複数のセンサからそれぞれ出力されるセンサ信号をAD変換して取得するものであって、複数のAD変換器と、演算装置と、演算装置から複数のAD変換器の各々へ、センサ信号に対するAD変換命令を出力するための複数の送信パスと、AD変換命令に応じて複数のAD変換器の各々によりAD変換されたセンサ信号を演算装置へ入力するための複数の受信パスと、を備える。この車載用電子制御装置において、演算装置は、複数の送信パスおよび複数の受信パスの中から異常パスを検出する異常パス検出部と、複数のセンサの各々に対して、異常パスを除いた複数の送信パスのうちいずれか少なくとも1つと、異常パスを除いた複数の受信パスのうちいずれか少なくとも1つとを、それぞれ選択して割り当てるパス選択部と、パス選択部により割り当てられた送信パスを用いて、AD変換器にAD変換命令を送信するAD変換命令送信部と、パス選択部により割り当てられた受信パスを用いて、AD変換器によりAD変換されたセンサ信号を受信するAD変換結果受信部と、を有する。   An in-vehicle electronic control device according to the present invention is connected to a plurality of sensors, acquires a sensor signal output from each of the plurality of sensors by AD conversion, and includes a plurality of AD converters, an arithmetic device, A plurality of transmission paths for outputting an AD conversion command for the sensor signal from the arithmetic unit to each of the plurality of AD converters, and a sensor signal AD-converted by each of the plurality of AD converters according to the AD conversion command A plurality of reception paths for inputting to the arithmetic device. In this on-vehicle electronic control device, the arithmetic device includes an abnormal path detection unit that detects an abnormal path from among a plurality of transmission paths and a plurality of reception paths, and a plurality of the plurality of sensors excluding the abnormal paths. A path selection unit that selects and assigns at least one of the transmission paths of the transmission path and at least one of a plurality of reception paths excluding the abnormal path, and a transmission path assigned by the path selection unit An AD conversion command transmitting unit that transmits an AD conversion command to the AD converter, and an AD conversion result receiving unit that receives a sensor signal AD converted by the AD converter using the reception path assigned by the path selecting unit And having.

本発明によれば、内蔵するAD変換器が故障した場合においても車両システムの動作継続を可能とする車載用電子制御装置を提供することができる。   According to the present invention, it is possible to provide an in-vehicle electronic control device that enables operation of a vehicle system to continue even when a built-in AD converter fails.

本発明の一実施形態による車載用電子制御装置の構成を示す図である。It is a figure which shows the structure of the vehicle-mounted electronic control apparatus by one Embodiment of this invention. CPUの制御ブロック図である。It is a control block diagram of CPU. 正常時の選択パスの例を示す図である。It is a figure which shows the example of the selection path | pass at the time of normal. 異常時の選択パスの例を示す図である。It is a figure which shows the example of the selection path | pass at the time of abnormality. AD変換命令送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of AD conversion command transmission processing. 異常パス検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an abnormal path detection process. パス選択処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a path | pass selection process.

以下に本発明の一実施形態について説明する。図1は、本発明の一実施形態による車載用電子制御装置の構成を示す図である。この図に示す車載用電子制御装置1は、車両の各種機器を制御するために、車両に搭載されて使用されるものであり、マルチプレクサ11、AD変換器12および13、送信用FIFO(First-In First-Out)メモリ14および15、受信用FIFOメモリ16および17、RAM18、およびCPU19を備えている。車載用電子制御装置1は、センサ21〜25と接続されている。なお、図1のような構成の車載用電子制御装置1は、たとえばAD変換器を内蔵したマイクロコンピュータを用いて実現することができる。   Hereinafter, an embodiment of the present invention will be described. FIG. 1 is a diagram showing a configuration of an in-vehicle electronic control device according to an embodiment of the present invention. An in-vehicle electronic control device 1 shown in this figure is used by being mounted on a vehicle in order to control various devices of the vehicle, and includes a multiplexer 11, AD converters 12 and 13, a transmission FIFO (First- In First-Out) memories 14 and 15, receiving FIFO memories 16 and 17, RAM 18, and CPU 19. The on-vehicle electronic control device 1 is connected to the sensors 21 to 25. Note that the on-vehicle electronic control device 1 configured as shown in FIG. 1 can be realized by using, for example, a microcomputer incorporating an AD converter.

センサ21〜25は、車両制御に用いるための各種の物理量、たとえば電流、電圧、温度、回転数、油圧等をそれぞれ検出し、その検出値に応じたセンサ信号を車載用電子制御装置1に対してそれぞれ出力する。センサ21〜25からの各センサ信号は、車載用電子制御装置1においてマルチプレクサ11に入力される。   The sensors 21 to 25 detect various physical quantities for use in vehicle control, such as current, voltage, temperature, rotational speed, hydraulic pressure, etc., and send sensor signals corresponding to the detected values to the on-vehicle electronic control device 1. Output each. Each sensor signal from the sensors 21 to 25 is input to the multiplexer 11 in the in-vehicle electronic control device 1.

さらにマルチプレクサ11には、センサ21〜25からの各センサ信号に加えて、既知の信号レベルを有する所定の基準信号も入力される。たとえば、車載用電子制御装置1内で使用される一定の電源電圧などを基準信号として利用することができる。   Furthermore, in addition to the sensor signals from the sensors 21 to 25, a predetermined reference signal having a known signal level is also input to the multiplexer 11. For example, a constant power supply voltage used in the in-vehicle electronic control device 1 can be used as the reference signal.

マルチプレクサ11は、CPU19の制御により、センサ21〜25からの各センサ信号または上記の基準信号を順次選択してAD変換器12、13へ出力する。AD変換器12、13は、CPU19から出力されるAD変換命令に応じて、入力されたセンサ信号または基準信号をアナログ形式からデジタル形式へとAD変換し、センサ信号データまたは基準信号データとして受信用FIFOメモリ16または17へ出力する。受信用FIFOメモリ16、17は、AD変換器12、13から入力されたセンサ信号データまたは基準信号データを一時的に保持する。このセンサ信号データまたは基準信号データは、CPU19の制御に応じて受信用FIFOメモリ16、17から読み出され、RAM18内の所定アドレスに記録される。   The multiplexer 11 sequentially selects each sensor signal from the sensors 21 to 25 or the above-described reference signal under the control of the CPU 19 and outputs it to the AD converters 12 and 13. The AD converters 12 and 13 perform AD conversion of the input sensor signal or reference signal from an analog format to a digital format in response to an AD conversion command output from the CPU 19, and receive the signal as sensor signal data or reference signal data. The data is output to the FIFO memory 16 or 17. The reception FIFO memories 16 and 17 temporarily hold sensor signal data or reference signal data input from the AD converters 12 and 13. This sensor signal data or reference signal data is read from the reception FIFO memories 16 and 17 under the control of the CPU 19 and recorded at a predetermined address in the RAM 18.

RAM18において、上記のセンサ信号データや基準信号データが記録されるのとは別の所定アドレスには、センサ21〜25からの各センサ信号および基準信号に対するAD変換命令が格納されている。CPU19は、この各センサ信号および基準信号に対するAD変換命令をRAM18からそれぞれ所定のタイミングごとに読み出し、送信用FIFOメモリ14、15へ出力する。送信用FIFOメモリ14、15は、RAM18から入力されたAD変換命令を一時的に保持した後、CPU19の制御に応じてAD変換器12または13へ出力する。   In the RAM 18, AD conversion commands for the sensor signals and the reference signals from the sensors 21 to 25 are stored at a predetermined address different from that where the sensor signal data and the reference signal data are recorded. The CPU 19 reads out AD conversion commands for the sensor signals and the reference signals from the RAM 18 at predetermined timings, and outputs them to the transmission FIFO memories 14 and 15. The transmission FIFO memories 14 and 15 temporarily hold the AD conversion command input from the RAM 18 and then output it to the AD converter 12 or 13 according to the control of the CPU 19.

ここで、送信用FIFOメモリ14は、AD変換器12とAD変換器13のどちらに対しても、CPU19からのAD変換命令を出力することができる。送信用FIFOメモリ15も同様に、AD変換器12とAD変換器13のどちらに対してもAD変換命令を出力することができる。このAD変換命令の出力に関する送信用FIFOメモリ14、15とAD変換器12、13との組み合わせを、以下では送信パスと称する。すなわち、車載用電子制御装置1は、CPU19からAD変換器12または13へAD変換命令を出力するために、複数の送信パスを有している。   Here, the transmission FIFO memory 14 can output an AD conversion command from the CPU 19 to both the AD converter 12 and the AD converter 13. Similarly, the transmission FIFO memory 15 can output an AD conversion command to both the AD converter 12 and the AD converter 13. The combination of the transmission FIFO memories 14 and 15 and the AD converters 12 and 13 related to the output of the AD conversion command is hereinafter referred to as a transmission path. That is, the in-vehicle electronic control device 1 has a plurality of transmission paths in order to output an AD conversion command from the CPU 19 to the AD converter 12 or 13.

また、AD変換器12は、受信用FIFOメモリ16と受信用FIFOメモリ17のどちらに対しても、センサ21〜25からのセンサ信号をAD変換したセンサ信号データや基準信号をAD変換した基準信号データを出力することができる。AD変換器13も同様に、受信用FIFOメモリ16と受信用FIFOメモリ17のどちらに対してもセンサ信号データや基準信号データを出力することができる。このセンサ信号データおよび基準信号データの出力に関するAD変換器12、13と受信用FIFOメモリ16、17との組み合わせを、以下では受信パスと称する。すなわち、車載用電子制御装置1は、CPU19からのAD変換命令に応じてAD変換器12、13によりAD変換されたセンサ信号や基準信号をCPU19へ入力するために、複数の受信パスを有している。   In addition, the AD converter 12 performs sensor signal data obtained by AD conversion of sensor signals from the sensors 21 to 25 and a reference signal obtained by AD conversion of the reference signal for both the reception FIFO memory 16 and the reception FIFO memory 17. Data can be output. Similarly, the AD converter 13 can output sensor signal data and reference signal data to both the reception FIFO memory 16 and the reception FIFO memory 17. The combination of the AD converters 12 and 13 and the reception FIFO memories 16 and 17 relating to the output of the sensor signal data and the reference signal data is hereinafter referred to as a reception path. That is, the in-vehicle electronic control device 1 has a plurality of reception paths for inputting the sensor signal and the reference signal AD converted by the AD converters 12 and 13 to the CPU 19 in accordance with the AD conversion command from the CPU 19. ing.

図2は、CPU19の制御ブロック図である。図2に示すように、演算装置であるCPU19は、AD変換命令送信部191、AD変換結果受信部192、異常パス検出部193、パス選択部194、および制御系処理部195の各制御ブロックを機能的に有している。   FIG. 2 is a control block diagram of the CPU 19. As shown in FIG. 2, the CPU 19, which is an arithmetic device, controls each control block of the AD conversion command transmission unit 191, the AD conversion result reception unit 192, the abnormal path detection unit 193, the path selection unit 194, and the control system processing unit 195. Has functionally.

AD変換命令送信部191は、後で図5を参照して説明するAD変換命令送信処理を所定のタイミングごとに実行する。これにより、センサ21〜25からの各センサ信号または基準信号に対するAD変換命令をRAM18から読み出し、前述の送信パスのいずれかを用いてAD変換器12または13に送信する。   The AD conversion command transmission unit 191 executes AD conversion command transmission processing described later with reference to FIG. 5 at predetermined timings. As a result, an AD conversion command for each sensor signal or reference signal from the sensors 21 to 25 is read from the RAM 18 and transmitted to the AD converter 12 or 13 using any of the transmission paths described above.

AD変換結果受信部192は、AD変換器12または13から出力されたセンサ信号データまたは基準信号データを、前述の受信パスのいずれかを用いて受信する。このセンサ信号データまたは基準信号データは、前述のように、AD変換命令送信部191により送信されたAD変換命令に応じて、センサ21〜25のいずれかのセンサ信号または基準信号をAD変換器12または13がAD変換することによって得られたものである。   The AD conversion result receiving unit 192 receives the sensor signal data or the reference signal data output from the AD converter 12 or 13 using any of the above-described reception paths. As described above, the sensor signal data or the reference signal data is obtained by converting any one of the sensor signals 21 to 25 of the sensors 21 to 25 according to the AD conversion command transmitted by the AD conversion command transmitting unit 191. Or 13 is obtained by AD conversion.

異常パス検出部193は、AD変換結果受信部192により受信された基準信号データに基づいて、後で図6を参照して説明する異常パス検出処理を実行する。これにより、送信パスや受信パスの中にデータ転送が正常に行われない異常パスが存在する場合に、その異常パスを検出する。   Based on the reference signal data received by the AD conversion result reception unit 192, the abnormal path detection unit 193 performs an abnormal path detection process described later with reference to FIG. Thereby, when there is an abnormal path in which data transfer is not normally performed in the transmission path and the reception path, the abnormal path is detected.

パス選択部194は、後で図7を参照して説明するパス選択処理を実行する。これにより、異常パス検出部193で検出された異常パスを除いた正常な送信パスの中から、AD変換命令送信部191がAD変換命令を送信する際に用いる送信パスを選択する。また、異常パス検出部193で検出された異常パスを除いた正常な受信パスの中から、AD変換結果受信部192がセンサ信号データまたは基準信号データを受信する際に用いる受信パスを選択する。   The path selection unit 194 executes a path selection process which will be described later with reference to FIG. As a result, the transmission path used when the AD conversion command transmission unit 191 transmits the AD conversion command is selected from the normal transmission paths excluding the abnormal path detected by the abnormal path detection unit 193. In addition, the reception path used when the AD conversion result reception unit 192 receives the sensor signal data or the reference signal data is selected from the normal reception paths excluding the abnormal path detected by the abnormal path detection unit 193.

制御系処理部195は、AD変換結果受信部192により受信された各センサ信号データに基づいて、たとえば車両の駆動装置であるエンジンまたは電気モータなど、車両の各種機器を制御するための演算や処理を行う。この制御系処理部195による演算や処理の結果は、必要に応じて車両内の他の制御装置等に出力される。   Based on each sensor signal data received by the AD conversion result receiving unit 192, the control system processing unit 195 calculates and processes for controlling various devices of the vehicle such as an engine or an electric motor that is a driving device of the vehicle. I do. The results of computation and processing by the control system processing unit 195 are output to other control devices in the vehicle as necessary.

次に、送信パスおよび受信パスの選択について説明する。前述のように、車載用電子制御装置1では、パス選択部194の処理により、異常パスを除いた正常な送信パスおよび受信パスの中から、送信パスと受信パスがそれぞれ選択される。この様子を、以下に図3、4を参照して説明する。   Next, selection of a transmission path and a reception path will be described. As described above, in the in-vehicle electronic control device 1, the transmission path and the reception path are respectively selected from the normal transmission path and the reception path excluding the abnormal path by the processing of the path selection unit 194. This state will be described below with reference to FIGS.

図3は、正常時の選択パスの例を示す図である。異常パスが存在しない場合は、予め設定された各センサ信号の優先順位等に応じて、センサ21〜25の各々と基準信号に対して、送信パスと受信パスがそれぞれ割り当てられる。たとえば図3に示すように、基準信号およびセンサ21、22に対しては、送信用FIFOメモリ14およびAD変換器12を含む送信パスと、AD変換器12および受信用FIFOメモリ16を含む受信パスとが割り当てられる。また、センサ23〜25に対しては、送信用FIFOメモリ15およびAD変換器13を含む送信パスと、AD変換器13および受信用FIFOメモリ17を含む受信パスとが割り当てられる。なお、図3において破線の矢印で示した送信パスおよび受信パスは、選択されないパスを示している。   FIG. 3 is a diagram illustrating an example of a selection path at a normal time. When there is no abnormal path, a transmission path and a reception path are assigned to each of the sensors 21 to 25 and the reference signal according to the priority order of each sensor signal set in advance. For example, as shown in FIG. 3, for the reference signal and the sensors 21 and 22, a transmission path including the transmission FIFO memory 14 and the AD converter 12, and a reception path including the AD converter 12 and the reception FIFO memory 16 are provided. And are assigned. Further, a transmission path including the transmission FIFO memory 15 and the AD converter 13 and a reception path including the AD converter 13 and the reception FIFO memory 17 are allocated to the sensors 23 to 25. Note that the transmission path and the reception path indicated by broken-line arrows in FIG. 3 indicate paths that are not selected.

図4は、異常時の選択パスの例を示す図である。図3に示した正常時の選択パスにおいて、たとえばAD変換器12が故障等によって正常なAD変換を実行できなくなったとする。この場合、AD変換器12を含む送信パスおよび受信パスが異常パスとして検出され、以後の選択対象から除外される。その結果、たとえば図4に示すように、基準信号およびセンサ21、22に対しては、図3で説明したパスに代えて、送信用FIFOメモリ14およびAD変換器13を含む送信パスと、AD変換器13および受信用FIFOメモリ16を含む受信パスとが新たに割り当てられる。なお、センサ23〜25に対して割り当てられるパスは、図3のままで変化しない。これにより、車載用電子制御装置1において送信パスや受信パスの一部に異常が発生した場合でも、その異常パスを除いた送信パスおよび受信パスを用いて、車載用電子制御装置1の動作を継続できるようにする。なお、図4においても図3と同様に、破線の矢印で示した送信パスおよび受信パスは、選択されないパスを示している。   FIG. 4 is a diagram illustrating an example of a selection path at the time of abnormality. Assume that the AD converter 12 cannot perform normal AD conversion due to a failure or the like in the normal selection path shown in FIG. In this case, the transmission path and the reception path including the AD converter 12 are detected as abnormal paths and excluded from the subsequent selection targets. As a result, for example, as shown in FIG. 4, for the reference signal and the sensors 21, 22, a transmission path including the transmission FIFO memory 14 and the AD converter 13 instead of the path described in FIG. A reception path including the converter 13 and the reception FIFO memory 16 is newly allocated. The paths assigned to the sensors 23 to 25 remain the same as in FIG. As a result, even if an abnormality occurs in a part of the transmission path or the reception path in the in-vehicle electronic control device 1, the operation of the in-vehicle electronic control device 1 is performed using the transmission path and the reception path excluding the abnormal path. To be able to continue. In FIG. 4 as well, similarly to FIG. 3, the transmission path and the reception path indicated by the broken-line arrows indicate paths that are not selected.

図5は、AD変換命令送信処理の手順を示すフローチャートである。このフローチャートに示すAD変換命令送信処理は、AD変換命令送信部191により、たとえば一定周期ごとや、所定の割り込み条件が満たされたときなどのタイミングで実行される。   FIG. 5 is a flowchart showing a procedure of AD conversion command transmission processing. The AD conversion command transmission process shown in this flowchart is executed by the AD conversion command transmission unit 191 at, for example, a certain period or when a predetermined interrupt condition is satisfied.

ステップS10において、AD変換命令送信部191は、フェールセーフフラグがオンであるか否かを判定する。フェールセーフフラグがオフである場合はステップS20へ進み、オンである場合は図5のフローチャートに示すAD変換命令送信処理を終了する。なお、フェールセーフフラグとは、車載用電子制御装置1がセンサ信号を正常に取得できない状態にあり、そのため所定のフェールセーフ値をセンサ信号の代わりに用いて車両制御を行う必要があるか否かを示すためのフラグである。このフェールセーフフラグは、後で説明する異常パス検出処理において、全てのパスが異常パスとして検出された場合にオンされるものである。   In step S10, the AD conversion command transmission unit 191 determines whether or not the fail safe flag is on. If the fail safe flag is off, the process proceeds to step S20. If the fail safe flag is on, the AD conversion command transmission process shown in the flowchart of FIG. 5 is terminated. Note that the fail-safe flag is a state in which the vehicle-mounted electronic control device 1 cannot normally acquire a sensor signal, and therefore whether or not it is necessary to perform vehicle control using a predetermined fail-safe value instead of the sensor signal. It is a flag for indicating. This fail safe flag is turned on when all paths are detected as abnormal paths in the abnormal path detection process described later.

ステップS20において、AD変換命令送信部191は、異常パス検出処理を実行するか否かを判定する。異常パス検出処理を実行すると判定した場合はステップS30へ進み、実行しないと判定した場合はステップS40へ進む。なお、このステップS20の判定は、予め定められた実行条件に基づいて行うことができる。たとえば、一定周期ごとに異常パス検出処理を実行する場合、前回の処理からの経過時間に対して実行条件としての閾値を設定し、これに基づいて異常パス検出処理を実行するか否かを判定すればよい。   In step S20, the AD conversion command transmission unit 191 determines whether or not to execute an abnormal path detection process. If it is determined that the abnormal path detection process is to be executed, the process proceeds to step S30. If it is determined not to be executed, the process proceeds to step S40. The determination in step S20 can be performed based on a predetermined execution condition. For example, when abnormal path detection processing is executed at regular intervals, a threshold is set as an execution condition for the elapsed time from the previous processing, and whether or not abnormal path detection processing is executed is determined based on this threshold. do it.

あるいは、車両の動作状態に基づいて実行条件を定めてもよい。たとえば、イグニッションスイッチがオンされて車両の動作が開始され、車載用電子制御装置1に電源が投入されたときや、反対にイグニッションスイッチがオフされて車両の動作が停止されたときに、実行条件が満たされと判断してステップS20を肯定判定する。他にも、車両の駆動装置であるエンジンや電気モータの回転数が所定値以下であるときに、実行条件が満たされと判断してステップS20を肯定判定してもよい。このようにすれば、車載用電子制御装置1においてAD変換の負荷が低いときに異常パス検出処理を実行できる。したがって、車載用電子制御装置1が行う車両制御に対して悪影響を与えない適切なタイミングで、異常パス検出処理を実行することができる。なお、これらの実行条件を複数組み合わせて用いてもよい。   Alternatively, the execution condition may be determined based on the operation state of the vehicle. For example, when the ignition switch is turned on to start the operation of the vehicle and the vehicle-mounted electronic control device 1 is turned on, or conversely, the ignition switch is turned off and the operation of the vehicle is stopped. Is satisfied and step S20 is affirmed. In addition, when the number of revolutions of the engine or electric motor that is the vehicle drive device is equal to or less than a predetermined value, it may be determined that the execution condition is satisfied, and the determination in step S20 may be affirmative. In this way, the abnormal path detection process can be executed when the AD conversion load is low in the in-vehicle electronic control device 1. Therefore, the abnormal path detection process can be executed at an appropriate timing that does not adversely affect the vehicle control performed by the in-vehicle electronic control device 1. A combination of these execution conditions may be used.

ステップS30において、AD変換命令送信部191は、基準信号に対するAD変換命令をRAM18から読み出し、AD変換器12またはAD変換器13へ送信する。このとき用いられる送信パスは、パス選択部194が後述するパス選択処理を実行することにより、基準信号に対して割り当てられたものである。   In step S <b> 30, the AD conversion command transmission unit 191 reads an AD conversion command for the reference signal from the RAM 18 and transmits it to the AD converter 12 or the AD converter 13. The transmission path used at this time is assigned to the reference signal by the path selection unit 194 performing a path selection process described later.

ステップS30でAD変換命令が送信されると、それに応じて、AD変換器12またはAD変換器13により基準信号がAD変換され、基準信号データが生成される。そして、AD変換結果受信部192により、基準信号データが受信されてRAM18に記録される。このとき用いられる受信パスは、パス選択部194が後述するパス選択処理を実行することにより、基準信号に対して割り当てられたものである。なお、後で説明するように、基準信号に対する送信パスおよび受信パスの割り当ては一定ではなく、パス選択部194が行うパス選択処理において順次変化される。そのため、受信した基準信号データは、RAM18においてパスごとに別々の場所に記録される。   When the AD conversion command is transmitted in step S30, the reference signal is AD-converted by the AD converter 12 or the AD converter 13 to generate reference signal data. Then, the reference signal data is received by the AD conversion result receiving unit 192 and recorded in the RAM 18. The reception path used at this time is assigned to the reference signal by the path selection unit 194 performing a path selection process described later. As will be described later, the assignment of the transmission path and the reception path to the reference signal is not constant, and is sequentially changed in the path selection process performed by the path selection unit 194. Therefore, the received reference signal data is recorded in a separate place for each path in the RAM 18.

ステップS40において、AD変換命令送信部191は、間引き要求フラグがオンであるか否かを判定する。間引き要求フラグがオンである場合はステップS50へ進み、オフである場合はステップS60へ進む。なお、間引き要求フラグとは、車載用電子制御装置1においていずれかのパスが異常であり、そのため優先順位の低いセンサからのセンサ信号のAD変換を間引いて行う必要があるか否かを示すためのフラグである。この間引き要求フラグは、後で説明する異常パス検出処理において、一部のパスが異常パスとして検出された場合にオンされるものである。   In step S40, the AD conversion command transmission unit 191 determines whether or not the thinning request flag is on. When the thinning request flag is on, the process proceeds to step S50, and when it is off, the process proceeds to step S60. Note that the thinning request flag indicates whether any path is abnormal in the in-vehicle electronic control apparatus 1 and therefore it is necessary to thin out the AD conversion of the sensor signal from the sensor having a low priority. Flag. This thinning request flag is turned on when some paths are detected as abnormal paths in an abnormal path detection process described later.

ステップS50において、AD変換命令送信部191は、センサ21〜25に対して予め設定された優先順位に基づいて、優先順位の低いセンサに対するAD変換命令を間引く。たとえば、優先順位の高いセンサについては、通常時のAD変換周期を維持する一方で、優先順位の低いセンサについては、通常時よりもAD変換周期を低下させ、そのAD変換周期に合わせてAD変換命令の出力を間引くようにする。さらにこのとき、優先順位の最も低いセンサについては、AD変換命令の出力を停止してもよい。なお、センサ21〜25の優先順位は、車両制御における重要度に基づいて設定することが好ましい。これにより、一部のパスに異常がある場合に、車両制御への影響を考慮しつつ、正常なパスに集中してかかる負荷を軽減することができる。   In step S50, the AD conversion command transmission unit 191 thins out AD conversion commands for the sensors with lower priority based on the priorities preset for the sensors 21 to 25. For example, for a sensor with a high priority, the AD conversion cycle at the normal time is maintained, while for a sensor with a low priority, the AD conversion cycle is lowered from that at the normal time, and AD conversion is performed in accordance with the AD conversion cycle. Decimate the output of instructions. Further, at this time, the output of the AD conversion command may be stopped for the sensor having the lowest priority. The priority order of the sensors 21 to 25 is preferably set based on the importance in vehicle control. Thereby, when there is an abnormality in some of the paths, it is possible to reduce the load concentrated on the normal path while considering the influence on the vehicle control.

ステップS60において、AD変換命令送信部191は、各センサ21〜25に対するAD変換命令をRAM18から読み出し、AD変換器12またはAD変換器13へ送信する。ここでは、センサ21〜25の全てに対してAD変換命令を送信する必要はなく、予め設定された各センサのAD変換周期に応じたタイミングで、該当するセンサへのAD変換命令を送信すればよい。なお、前述のステップS50でAD変換命令を間引かれたセンサについては、その間引き後のタイミングでAD変換命令を送信する。このとき用いられる送信パスは、パス選択部194が後述するパス選択処理を実行することにより、センサ21〜25に対してそれぞれ割り当てられたものである。   In step S <b> 60, the AD conversion command transmission unit 191 reads an AD conversion command for each of the sensors 21 to 25 from the RAM 18 and transmits it to the AD converter 12 or the AD converter 13. Here, it is not necessary to send an AD conversion command to all of the sensors 21 to 25, and if an AD conversion command to the corresponding sensor is sent at a timing corresponding to a preset AD conversion cycle of each sensor. Good. In addition, about the sensor by which the AD conversion command was thinned by the above-mentioned step S50, an AD conversion command is transmitted at the timing after the thinning. The transmission path used at this time is assigned to each of the sensors 21 to 25 by the path selection unit 194 performing a path selection process described later.

ステップS60でAD変換命令が送信されると、それに応じて、AD変換器12またはAD変換器13により、センサ21〜25のうち該当するセンサからのセンサ信号がAD変換され、センサ信号データが生成される。そして、AD変換結果受信部192により、センサ信号データが受信されてRAM18に記録される。このとき用いられる受信パスは、パス選択部194が後述するパス選択処理を実行することにより、当該センサに対して割り当てられたものである。   When the AD conversion command is transmitted in step S60, the AD converter 12 or the AD converter 13 correspondingly converts the sensor signal from the corresponding sensor among the sensors 21 to 25 to generate sensor signal data. Is done. Then, the sensor signal data is received by the AD conversion result receiving unit 192 and recorded in the RAM 18. The reception path used at this time is assigned to the sensor when the path selection unit 194 executes a path selection process described later.

ステップS60を実行したら、AD変換命令送信部191は図5のフローチャートに示すAD変換命令送信処理を終了する。   When step S60 is executed, the AD conversion command transmission unit 191 ends the AD conversion command transmission processing shown in the flowchart of FIG.

図6は、異常パス検出処理の手順を示すフローチャートである。このフローチャートに示す異常パス検出処理は、異常パス検出部193により、たとえば一定周期ごとなどの所定のタイミングで実行される。   FIG. 6 is a flowchart illustrating a procedure of abnormal path detection processing. The abnormal path detection process shown in this flowchart is executed by the abnormal path detection unit 193 at a predetermined timing, for example, at regular intervals.

ステップS110において、異常パス検出部193は、基準信号のAD変換結果を受信済みであるか否かを判定する。前述のように、図5のステップS30において、AD変換命令送信部191により基準信号に対するAD変換命令が送信されると、これに応じて基準信号のAD変換結果が基準信号データとして受信され、RAM18に記録される。この基準信号データを受信済みである場合はステップS120へ進み、そうでない場合は図6のフローチャートに示す異常パス検出処理を終了する。   In step S110, the abnormal path detection unit 193 determines whether the AD conversion result of the reference signal has been received. As described above, when the AD conversion command for the reference signal is transmitted by the AD conversion command transmitting unit 191 in step S30 of FIG. 5, the AD conversion result of the reference signal is received as the reference signal data accordingly, and the RAM 18 To be recorded. If the reference signal data has been received, the process proceeds to step S120. If not, the abnormal path detection process shown in the flowchart of FIG. 6 ends.

ステップS120において、異常パス検出部193は、RAM18に記録されている受信済みの基準信号データが表す基準信号のAD変換結果と、予め記憶された基準値とを比較する。なお、この基準信号のAD変換結果は、車載用電子制御装置1が有する複数の送信パスおよび受信パスのうち、基準信号に対して割り当てられた送信パスおよび受信パスを用いて、AD変換器12またはAD変換器13により基準信号をAD変換して得られたものである。ここで、前述のように基準信号データは、RAM18においてパスごとに別々の場所に記録されている。ステップS120では、このパスごとの各基準信号データを基準値とそれぞれ比較する。   In step S120, the abnormal path detection unit 193 compares the AD conversion result of the reference signal represented by the received reference signal data recorded in the RAM 18 with a reference value stored in advance. The AD conversion result of the reference signal is obtained by using the transmission path and the reception path assigned to the reference signal among the plurality of transmission paths and reception paths of the in-vehicle electronic control device 1. Alternatively, it is obtained by AD conversion of the reference signal by the AD converter 13. Here, as described above, the reference signal data is recorded in different locations in the RAM 18 for each pass. In step S120, each reference signal data for each path is compared with a reference value.

ステップS130において、異常パス検出部193は、ステップS120の比較結果を基に、基準信号のAD変換結果と基準値とが一致するか否かを判定する。いずれか少なくとも1つの基準信号データが表すAD変換結果が基準値と一致していない場合は、異常パスありと判断してステップS140へ進む。一方、全ての基準信号データが基準値と一致している場合は、異常パスなしと判断して図6のフローチャートに示す異常パス検出処理を終了する。   In step S130, the abnormal path detection unit 193 determines whether or not the AD conversion result of the reference signal matches the reference value based on the comparison result in step S120. If the AD conversion result represented by any one of the reference signal data does not match the reference value, it is determined that there is an abnormal path and the process proceeds to step S140. On the other hand, if all the reference signal data match the reference value, it is determined that there is no abnormal path, and the abnormal path detection process shown in the flowchart of FIG.

ステップS140において、異常パス検出部193は、異常パス検出フラグをオンに設定する。この異常パス検出フラグは、送信パスおよび受信パスのうちいずれかが異常パスとして検出されたことを示すためのフラグである。   In step S140, the abnormal path detection unit 193 sets the abnormal path detection flag to ON. The abnormal path detection flag is a flag for indicating that one of the transmission path and the reception path is detected as an abnormal path.

ステップS150において、異常パス検出部193は、異常パスを特定する。この処理は、ステップS130の判定結果に基づいて行うことができる。すなわち、ステップS130において基準値と一致しないと判定された基準信号データが得られたときの送信パスおよび受信パスを、ステップS150では異常パスとして特定する。   In step S150, the abnormal path detection unit 193 identifies an abnormal path. This process can be performed based on the determination result of step S130. That is, the transmission path and the reception path when the reference signal data determined not to match the reference value in step S130 are specified as abnormal paths in step S150.

以上説明したステップS120〜S150の処理により、異常パス検出部193は、複数の送信パスのいずれかと、複数の受信パスのいずれかとを用いて、AD変換器12または13により基準信号をAD変換したときのAD変換結果と、基準信号に対して予め記憶された基準値とを比較し、その比較結果に基づいて異常パスを検出することができる。   By the processing of steps S120 to S150 described above, the abnormal path detection unit 193 AD-converts the reference signal by the AD converter 12 or 13 using any of the plurality of transmission paths and any of the plurality of reception paths. The AD conversion result and the reference value stored in advance with respect to the reference signal are compared, and an abnormal path can be detected based on the comparison result.

ステップS160において、異常パス検出部193は、ステップS150で特定した異常パスを正常パスリストから除外する。正常パスリストは、車載用電子制御装置1が有する複数の送信パスおよび受信パスのうち、正常であるものをリスト化して示したものである。この正常パスリストの情報はRAM18において記憶され、パス選択部194が行うパス選択処理において利用される。   In step S160, the abnormal path detection unit 193 excludes the abnormal path identified in step S150 from the normal path list. The normal path list is a list of normal ones among a plurality of transmission paths and reception paths of the in-vehicle electronic control device 1. The information of the normal path list is stored in the RAM 18 and used in the path selection process performed by the path selection unit 194.

ステップS170において、異常パス検出部193は、正常パスが存在するか否かを判定する。正常パスが存在する場合、すなわち正常パスリストにおいて少なくとも1つの正常パスが登録されている場合はステップS180へ進む。一方、正常パスが存在しない場合、すなわち送信パスおよび受信パスの全てが異常パスとして検出され、正常パスリストにおいて正常パスが1つも登録されていない場合はステップS190へ進む。   In step S170, the abnormal path detection unit 193 determines whether a normal path exists. If a normal path exists, that is, if at least one normal path is registered in the normal path list, the process proceeds to step S180. On the other hand, when there is no normal path, that is, when all of the transmission path and the reception path are detected as abnormal paths, and no normal path is registered in the normal path list, the process proceeds to step S190.

ステップS180において、異常パス検出部193は、前述の間引き要求フラグをオンに設定する。これにより、送信パスおよび受信パスのうちいずれかが異常パスとして検出された場合に、センサ21〜25のうち一部のセンサからのセンサ信号に対するAD変換命令の出力が、前述の図5のステップS50において間引かれるようにする。ステップS180を実行したら、図6のフローチャートに示す異常パス検出処理を終了する。   In step S180, the abnormal path detection unit 193 sets the thinning request flag described above to ON. As a result, when any one of the transmission path and the reception path is detected as an abnormal path, the output of the AD conversion command for the sensor signal from some of the sensors 21 to 25 is performed in the step of FIG. In S50, the thinning is performed. When step S180 is executed, the abnormal path detection process shown in the flowchart of FIG. 6 ends.

ステップS190において、異常パス検出部193は、前述のフェールセーフフラグをオンに設定する。これにより、送信パスおよび受信パスの全てが異常パスとして検出された場合に、車載用電子制御装置1により所定のフェールセーフ値を用いて車両制御が行われるようにする。ステップS190を実行したら、図6のフローチャートに示す異常パス検出処理を終了する。   In step S190, the abnormal path detection unit 193 sets the above-described fail safe flag to ON. Thereby, when all of the transmission path and the reception path are detected as abnormal paths, the vehicle-mounted electronic control device 1 performs vehicle control using a predetermined fail-safe value. When step S190 is executed, the abnormal path detection process shown in the flowchart of FIG. 6 ends.

図7は、パス選択処理の手順を示すフローチャートである。このフローチャートに示すパス選択処理は、パス選択部194により、たとえば一定周期ごとなどの所定のタイミングで実行される。   FIG. 7 is a flowchart showing a procedure of path selection processing. The path selection process shown in this flowchart is executed by the path selection unit 194 at a predetermined timing, for example, at regular intervals.

ステップS210において、パス選択部194は、図5のステップS10と同様に、フェールセーフフラグがオンであるか否かを判定する。フェールセーフフラグがオフである場合はステップS220へ進み、オンである場合は図7のフローチャートに示すパス選択処理を終了する。   In step S210, the path selection unit 194 determines whether or not the fail safe flag is on, as in step S10 of FIG. If the failsafe flag is off, the process proceeds to step S220. If the failsafe flag is on, the path selection process shown in the flowchart of FIG. 7 ends.

ステップS220において、パス選択部194は、RAM18に記憶されている前述の正常パスリストを参照する。   In step S220, the path selection unit 194 refers to the above-described normal path list stored in the RAM 18.

ステップS230において、パス選択部194は、ステップS220で参照した正常パスリストに基づいて、正常である送信パスおよび受信パスの中から、基準信号に対する送信パスおよび受信パスを割り当てる。このとき、基準信号に対して割り当てる送信パスおよび受信パスを一定とはせずに、順次変化させるようにする。たとえば、正常パスリストにおける登録順序を基に、基準信号に対して割り当てるパスを毎回1つずつリスト上で移動させる。なお、これ以外の方法により、基準信号に対して割り当てる送信パスおよび受信パスを順次変化させてもよい。   In step S230, the path selection unit 194 assigns a transmission path and a reception path for the reference signal from among normal transmission paths and reception paths based on the normal path list referenced in step S220. At this time, the transmission path and the reception path assigned to the reference signal are not changed, but are sequentially changed. For example, on the basis of the registration order in the normal path list, the path assigned to the reference signal is moved on the list one by one each time. Note that the transmission path and the reception path assigned to the reference signal may be sequentially changed by other methods.

ステップS240において、パス選択部194は、ステップS220で参照した正常パスリストに基づいて、正常である送信パスおよび受信パスの中から、各センサ21〜25に対する送信パスおよび受信パスを割り当てる。たとえば、正常パスリストにおける登録順序を基に、各パスの伝送容量を考慮して、優先順位の高いセンサから順に送信パスおよび受信パスをそれぞれ割り当てる。なお、ここで割り当てるパスは、前述のステップS230で基準信号に対して割り当てたパスとは異なり、順次変化させる必要はない。ステップS240を実行したら、図7のフローチャートに示すパス選択処理を終了する。   In step S240, the path selection unit 194 allocates transmission paths and reception paths for the sensors 21 to 25 from the normal transmission paths and reception paths based on the normal path list referenced in step S220. For example, based on the registration order in the normal path list, the transmission path and the reception path are assigned in order from the sensor with the highest priority in consideration of the transmission capacity of each path. Note that the paths assigned here do not need to be sequentially changed, unlike the paths assigned to the reference signal in step S230 described above. If step S240 is performed, the path | pass selection process shown to the flowchart of FIG. 7 will be complete | finished.

以上説明した実施の形態によれば、次の作用効果を奏する。   According to the embodiment described above, the following operational effects are obtained.

(1)車載用電子制御装置1は、センサ21〜25と接続され、センサ21〜25からそれぞれ出力されるセンサ信号をAD変換して取得する。この車載用電子制御装置1は、AD変換器12、13と、演算装置であるCPU19と、CPU19からAD変換器12、13へセンサ信号に対するAD変換命令を出力するための複数の送信パスと、AD変換命令に応じてAD変換器12、13の各々によりAD変換されたセンサ信号をCPU19へ入力するための複数の受信パスとを備える。CPU19は、異常パス検出部193と、パス選択部194と、AD変換命令送信部191と、AD変換結果受信部192とを機能的に有する。異常パス検出部193は、異常パス検出処理を実行することにより、複数の送信パスおよび複数の受信パスの中から異常パスを検出する(ステップS120〜150)。パス選択部194は、パス選択処理を実行することにより、センサ21〜25の各々に対して、異常パスを除いた複数の送信パスのうちいずれか少なくとも1つと、異常パスを除いた複数の受信パスのうちいずれか少なくとも1つとを、それぞれ選択して割り当てる(ステップS240)。AD変換命令送信部191は、AD変換命令送信処理を実行することにより、パス選択部194によって割り当てられた送信パスを用いて、AD変換器12、13にAD変換命令を送信する(ステップS60)。AD変換結果受信部192は、パス選択部194により割り当てられた受信パスを用いて、AD変換器12、13によりAD変換されたセンサ信号を受信する。このようにしたので、内蔵するAD変換器12、13が故障した場合においても、車両システムの動作継続を可能とする車載用電子制御装置1を提供することができる。 (1) The vehicle-mounted electronic control device 1 is connected to the sensors 21 to 25 and acquires the sensor signals output from the sensors 21 to 25 by AD conversion. This in-vehicle electronic control device 1 includes AD converters 12 and 13, a CPU 19 that is an arithmetic device, a plurality of transmission paths for outputting an AD conversion command for a sensor signal from the CPU 19 to the AD converters 12 and 13, And a plurality of reception paths for inputting the sensor signals AD-converted by each of the AD converters 12 and 13 in response to the AD conversion command to the CPU 19. The CPU 19 functionally includes an abnormal path detection unit 193, a path selection unit 194, an AD conversion command transmission unit 191, and an AD conversion result reception unit 192. The abnormal path detection unit 193 detects an abnormal path from a plurality of transmission paths and a plurality of reception paths by executing an abnormal path detection process (steps S120 to S150). The path selection unit 194 performs path selection processing, so that each of the sensors 21 to 25 receives at least one of a plurality of transmission paths excluding the abnormal path and a plurality of receptions excluding the abnormal path. At least one of the paths is selected and assigned (step S240). The AD conversion command transmission unit 191 transmits the AD conversion command to the AD converters 12 and 13 using the transmission path assigned by the path selection unit 194 by executing the AD conversion command transmission process (step S60). . The AD conversion result receiving unit 192 receives the sensor signal AD-converted by the AD converters 12 and 13 using the reception path assigned by the path selection unit 194. Since it did in this way, even when built-in AD converters 12 and 13 fail, the vehicle-mounted electronic control apparatus 1 which can continue operation | movement of a vehicle system can be provided.

(2)異常パス検出部193は、ステップS120〜S150において、複数の送信パスのいずれかと、複数の受信パスのいずれかとを用いて、AD変換器12または13により所定の基準信号をAD変換したときのAD変換結果と、基準信号に対して予め記憶された所定の基準値とを比較し、その比較結果に基づいて異常パスを検出する。このようにしたので、異常パスを確実かつ容易に検出することができる。 (2) The abnormal path detection unit 193 AD-converts a predetermined reference signal by the AD converter 12 or 13 using any of the plurality of transmission paths and any of the plurality of reception paths in steps S120 to S150. The AD conversion result is compared with a predetermined reference value stored in advance with respect to the reference signal, and an abnormal path is detected based on the comparison result. Since it did in this way, an abnormal path can be detected reliably and easily.

(3)AD変換命令送信部191は、車両の動作状態に基づく所定の実行条件により、異常パス検出処理を実行するか否かを判定し(ステップS20)、基準信号に対するAD変換命令を送信することができる(ステップS30)。このAD変換命令に応じて、AD変換器12、13は、車両の動作状態に応じた所定のタイミング、具体的には、車両の動作が開始または停止されたとき、および、車両の駆動装置であるエンジンや電気モータの回転数が所定値以下であるときのいずれか少なくとも1つを含むタイミングで、基準信号をAD変換する。異常パス検出部193は、こうしてAD変換器12、13により基準信号がAD変換されることで、ステップS120〜S150において異常パスの検出を行う。このようにしたので、車載用電子制御装置1が行う車両制御に対して悪影響を与えない適切なタイミングで、異常パス検出処理を実行することができる。 (3) The AD conversion command transmission unit 191 determines whether or not to execute the abnormal path detection process based on a predetermined execution condition based on the operation state of the vehicle (step S20), and transmits an AD conversion command for the reference signal. (Step S30). In response to the AD conversion command, the AD converters 12 and 13 are operated at predetermined timings according to the operation state of the vehicle, specifically, when the operation of the vehicle is started or stopped, and at the vehicle drive device. The reference signal is AD-converted at a timing including at least one of the rotation speed of a certain engine or electric motor being a predetermined value or less. The abnormal path detection unit 193 detects an abnormal path in steps S120 to S150 by AD converting the reference signal by the AD converters 12 and 13 in this way. Since it did in this way, an abnormal path | pass detection process can be performed at the appropriate timing which does not have a bad influence with respect to the vehicle control which the vehicle-mounted electronic control apparatus 1 performs.

(4)AD変換命令送信部191は、異常パス検出部193により異常パスが検出された場合に、センサ21〜25のうち一部のセンサからのセンサ信号に対するAD変換命令の出力を間引くまたは停止する(ステップS50)。このようにしたので、車両制御への影響を考慮しつつ、正常なパスに集中してかかる負荷を軽減することができる。 (4) When the abnormal path is detected by the abnormal path detection unit 193, the AD conversion command transmission unit 191 thins out or stops the output of the AD conversion command with respect to sensor signals from some of the sensors 21 to 25. (Step S50). Since it did in this way, the load which concentrates on a normal path | pass can be reduced considering the influence on vehicle control.

なお、以上説明した実施形態では、AD変換器12および13と、送信用FIFOメモリ14および15と、受信用FIFOメモリ16および17との組み合わせにより、複数の送信パスおよび複数の受信パスが構成される例を説明したが、本発明を適用可能な送信パスおよび受信パスの構成はこれに限定されるものではない。たとえば、3つ以上のAD変換器を内蔵したマイクロプロセッサや、送信用FIFOメモリや受信用FIFOメモリが複数段で構成されたマイクロプロセッサにおいても、本発明を適用することができる。また、複数のマイクロプロセッサを用いて送信パスや受信パスを構成した場合においても、同様に本発明を適用可能である。   In the embodiment described above, a plurality of transmission paths and a plurality of reception paths are configured by a combination of the AD converters 12 and 13, the transmission FIFO memories 14 and 15, and the reception FIFO memories 16 and 17. However, the configuration of the transmission path and the reception path to which the present invention can be applied is not limited to this. For example, the present invention can also be applied to a microprocessor having three or more AD converters, or a microprocessor in which a transmission FIFO memory and a reception FIFO memory are configured in a plurality of stages. Further, the present invention can be similarly applied when a transmission path and a reception path are configured using a plurality of microprocessors.

本発明の特徴を損なわない限り、本発明は上記実施の形態に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。   As long as the characteristics of the present invention are not impaired, the present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. .

1 車載用電子制御装置
11 マルチプレクサ
12、13 AD変換器
14、15 送信用FIFOメモリ
16、17 受信用FIFOメモリ
18 RAM
19 CPU
21〜25 センサ
191 AD変換命令送信部
192 AD変換結果受信部
193 異常パス検出部
194 パス選択部
195 制御系処理部
DESCRIPTION OF SYMBOLS 1 Vehicle-mounted electronic control apparatus 11 Multiplexer 12, 13 AD converter 14, 15 Transmission FIFO memory 16, 17 Reception FIFO memory 18 RAM
19 CPU
21-25 Sensor 191 AD conversion command transmission unit 192 AD conversion result reception unit 193 Abnormal path detection unit 194 Path selection unit 195 Control system processing unit

Claims (5)

複数のセンサと接続され、前記複数のセンサからそれぞれ出力されるセンサ信号をAD変換して取得する車載用電子制御装置であって、
複数のAD変換器と、
演算装置と、
前記演算装置から前記複数のAD変換器の各々へ、前記センサ信号に対するAD変換命令を出力するための複数の送信パスと、
前記AD変換命令に応じて前記複数のAD変換器の各々によりAD変換された前記センサ信号を前記演算装置へ入力するための複数の受信パスと、を備え、
前記演算装置は、
前記複数の送信パスおよび前記複数の受信パスの中から異常パスを検出する異常パス検出部と、
前記複数のセンサの各々に対して、前記異常パスを除いた前記複数の送信パスのうちいずれか少なくとも1つと、前記異常パスを除いた前記複数の受信パスのうちいずれか少なくとも1つとを、それぞれ選択して割り当てるパス選択部と、
前記パス選択部により割り当てられた送信パスを用いて、前記AD変換器に前記AD変換命令を送信するAD変換命令送信部と、
前記パス選択部により割り当てられた受信パスを用いて、前記AD変換器によりAD変換された前記センサ信号を受信するAD変換結果受信部と、を有することを特徴とする車載用電子制御装置。
A vehicle-mounted electronic control device that is connected to a plurality of sensors and acquires a sensor signal output from each of the plurality of sensors by AD conversion,
A plurality of AD converters;
An arithmetic unit;
A plurality of transmission paths for outputting an AD conversion command for the sensor signal from the arithmetic unit to each of the plurality of AD converters;
A plurality of reception paths for inputting the sensor signals AD-converted by each of the plurality of AD converters in response to the AD conversion command to the arithmetic unit;
The arithmetic unit is:
An abnormal path detector that detects an abnormal path from the plurality of transmission paths and the plurality of reception paths;
For each of the plurality of sensors, at least one of the plurality of transmission paths excluding the abnormal path and at least one of the plurality of reception paths excluding the abnormal path, A path selector to select and assign;
An AD conversion command transmission unit that transmits the AD conversion command to the AD converter using the transmission path assigned by the path selection unit;
An in-vehicle electronic control device comprising: an AD conversion result receiving unit that receives the sensor signal AD-converted by the AD converter using the reception path assigned by the path selection unit.
請求項1に記載の車載用電子制御装置において、
前記異常パス検出部は、前記複数の送信パスのいずれかと、前記複数の受信パスのいずれかとを用いて、前記AD変換器により所定の基準信号をAD変換したときのAD変換結果と、前記基準信号に対して予め記憶された所定の基準値とを比較し、その比較結果に基づいて前記異常パスを検出することを特徴とする車載用電子制御装置。
The in-vehicle electronic control device according to claim 1,
The abnormal path detection unit uses an AD conversion result when a predetermined reference signal is AD-converted by the AD converter using any one of the plurality of transmission paths and one of the plurality of reception paths, and the reference A vehicle-mounted electronic control device, wherein a signal is compared with a predetermined reference value stored in advance, and the abnormal path is detected based on the comparison result.
請求項2に記載の車載用電子制御装置において、
前記AD変換器は、車両の動作状態に応じた所定のタイミングで前記基準信号をAD変換し、
前記異常パス検出部は、前記AD変換器により前記基準信号がAD変換されることで、前記異常パスの検出を行うことを特徴とする車載用電子制御装置。
The in-vehicle electronic control device according to claim 2,
The AD converter AD converts the reference signal at a predetermined timing according to the operating state of the vehicle,
The in-vehicle electronic control device, wherein the abnormal path detection unit detects the abnormal path by AD conversion of the reference signal by the AD converter.
請求項3に記載の車載用電子制御装置において、
前記所定のタイミングは、前記車両の動作が開始または停止されたとき、および、前記車両の駆動装置の回転数が所定値以下であるときのいずれか少なくとも1つを含むことを特徴とする車載用電子制御装置。
The on-vehicle electronic control device according to claim 3,
The predetermined timing includes at least one of when the operation of the vehicle is started or stopped and when the rotational speed of the driving device of the vehicle is equal to or less than a predetermined value. Electronic control device.
請求項1乃至4のいずれか一項に記載の車載用電子制御装置において、
前記AD変換命令送信部は、前記異常パス検出部により前記異常パスが検出された場合に、前記複数のセンサのうち一部のセンサからのセンサ信号に対する前記AD変換命令の出力を間引くまたは停止することを特徴とする車載用電子制御装置。
In the vehicle-mounted electronic control apparatus as described in any one of Claims 1 thru | or 4,
The AD conversion command transmission unit thins out or stops the output of the AD conversion command with respect to sensor signals from some of the plurality of sensors when the abnormal path is detected by the abnormal path detection unit. An on-vehicle electronic control device.
JP2012190755A 2012-08-31 2012-08-31 In-vehicle electronic control unit Expired - Fee Related JP5753824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012190755A JP5753824B2 (en) 2012-08-31 2012-08-31 In-vehicle electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012190755A JP5753824B2 (en) 2012-08-31 2012-08-31 In-vehicle electronic control unit

Publications (2)

Publication Number Publication Date
JP2014049916A true JP2014049916A (en) 2014-03-17
JP5753824B2 JP5753824B2 (en) 2015-07-22

Family

ID=50609175

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012190755A Expired - Fee Related JP5753824B2 (en) 2012-08-31 2012-08-31 In-vehicle electronic control unit

Country Status (1)

Country Link
JP (1) JP5753824B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016072731A (en) * 2014-09-29 2016-05-09 日立オートモティブシステムズ株式会社 Automobile electronic control apparatus and diagnostic method
WO2017098781A1 (en) * 2015-12-10 2017-06-15 株式会社東芝 Thickness measuring device
JP2018006893A (en) * 2016-06-29 2018-01-11 ローム株式会社 Abnormality detection device
JP2020170258A (en) * 2019-04-01 2020-10-15 Ntn株式会社 State monitoring device and state monitoring method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06181434A (en) * 1992-12-14 1994-06-28 Hitachi Ltd Fault detection system for a/d converter
JP2000151405A (en) * 1998-11-11 2000-05-30 Mitsubishi Electric Corp Single chip micro computer incorporating ad converter and its fault detection
JP2007006512A (en) * 2006-07-27 2007-01-11 Denso Corp Fault detector for a/d converter
JP2008013053A (en) * 2006-07-06 2008-01-24 Nissan Motor Co Ltd Noise controlling apparatus, and noise controlling method
JP2008118583A (en) * 2006-11-08 2008-05-22 Meidensha Corp A/d conversion system
JP2009536892A (en) * 2006-05-12 2009-10-22 デルファイ・テクノロジーズ・インコーポレーテッド System and method for controlling a vehicle hydraulic system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06181434A (en) * 1992-12-14 1994-06-28 Hitachi Ltd Fault detection system for a/d converter
JP2000151405A (en) * 1998-11-11 2000-05-30 Mitsubishi Electric Corp Single chip micro computer incorporating ad converter and its fault detection
JP2009536892A (en) * 2006-05-12 2009-10-22 デルファイ・テクノロジーズ・インコーポレーテッド System and method for controlling a vehicle hydraulic system
JP2008013053A (en) * 2006-07-06 2008-01-24 Nissan Motor Co Ltd Noise controlling apparatus, and noise controlling method
JP2007006512A (en) * 2006-07-27 2007-01-11 Denso Corp Fault detector for a/d converter
JP2008118583A (en) * 2006-11-08 2008-05-22 Meidensha Corp A/d conversion system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016072731A (en) * 2014-09-29 2016-05-09 日立オートモティブシステムズ株式会社 Automobile electronic control apparatus and diagnostic method
WO2017098781A1 (en) * 2015-12-10 2017-06-15 株式会社東芝 Thickness measuring device
JP2017106837A (en) * 2015-12-10 2017-06-15 株式会社東芝 Thickness measurement device which reduces noise of a/d converter in detection signal
KR20180039693A (en) * 2015-12-10 2018-04-18 가부시끼가이샤 도시바 Thickness measuring device
TWI641803B (en) * 2015-12-10 2018-11-21 日商東芝股份有限公司 Thickness measuring device
KR102113079B1 (en) * 2015-12-10 2020-05-20 가부시끼가이샤 도시바 Thickness measuring device
JP2018006893A (en) * 2016-06-29 2018-01-11 ローム株式会社 Abnormality detection device
JP2020170258A (en) * 2019-04-01 2020-10-15 Ntn株式会社 State monitoring device and state monitoring method
JP7341702B2 (en) 2019-04-01 2023-09-11 Ntn株式会社 Condition monitoring device and condition monitoring method

Also Published As

Publication number Publication date
JP5753824B2 (en) 2015-07-22

Similar Documents

Publication Publication Date Title
JP5753824B2 (en) In-vehicle electronic control unit
US10431015B2 (en) Remote vehicle data collection system
JP5853099B2 (en) Battery control device
JP5316128B2 (en) Fault diagnosis system, electronic control unit, fault diagnosis method
JP5954228B2 (en) Network monitoring apparatus and network monitoring method
JP2019128639A (en) Electronic control device
JP2015080045A (en) On-vehicle diagnosis system
JP2006253921A (en) Network system for vehicle
JP5365551B2 (en) Internal combustion engine control device
US9334948B2 (en) Split electronic transmission range selection systems and methods with electronic button shifter
US20110218705A1 (en) Trouble notification apparatus and in-vehicle apparatus
JP6070578B2 (en) Assembled battery system
JP6094387B2 (en) Control device
JP5423573B2 (en) Signal processing device
JP6233212B2 (en) Assembled battery system
JP2016143908A (en) Electronic controller and electronic control system
JP2009147555A (en) Failure prediction system for in-vehicle electronic control unit
JP2010133806A (en) Physical quantity sensor and control device of physical quantity sensor
JP4586625B2 (en) Network diagnostic device and network diagnostic method
JP2019097350A (en) Battery assembly controlling device
JP6032174B2 (en) Communication control device
JP2016072731A (en) Automobile electronic control apparatus and diagnostic method
US20230168637A1 (en) Electronic control apparatus
JP6812765B2 (en) Electronic control device
JP2012126230A (en) Program rewriting system of electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140523

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150406

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150428

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150525

R150 Certificate of patent or registration of utility model

Ref document number: 5753824

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees