JP2014091340A - Automobile control device - Google Patents

Automobile control device Download PDF

Info

Publication number
JP2014091340A
JP2014091340A JP2012241053A JP2012241053A JP2014091340A JP 2014091340 A JP2014091340 A JP 2014091340A JP 2012241053 A JP2012241053 A JP 2012241053A JP 2012241053 A JP2012241053 A JP 2012241053A JP 2014091340 A JP2014091340 A JP 2014091340A
Authority
JP
Japan
Prior art keywords
communication
transmission
signal
control unit
circuit
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
JP2012241053A
Other languages
Japanese (ja)
Other versions
JP6068931B2 (en
Inventor
Takanori Mizusaki
隆規 水崎
Yasushi Konishi
泰史 小西
Hiroki Takeda
宏樹 武田
Haruhiko Fujita
治彦 藤田
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 JP2012241053A priority Critical patent/JP6068931B2/en
Publication of JP2014091340A publication Critical patent/JP2014091340A/en
Application granted granted Critical
Publication of JP6068931B2 publication Critical patent/JP6068931B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an automobile control device capable of diagnosing a transmission shutoff function while reducing a cost.SOLUTION: In a state where a master pressure control unit 1 is enabled to receive a communication signal from a control unit 12 and the like, a diagnostic part 8b requests a V-CAN communication I/F circuit 2a for transmission of a communication signal, causes a sub-CPU 1b to request for stopping transmission from the V-CAN communication I/F circuit 2a, and determines that a transmission shutoff function performed by the sub-CPU 1b is normal when detecting an event of being unable to receive a signal corresponding to a response from other control units 12, 13 and the like as a response to the communication signal with which the transmission has been requested.

Description

本発明は、自動車用の制御装置に関する。   The present invention relates to a control device for an automobile.

従来、通信バスによって双方向に通信可能に接続されている複数の制御ユニットからなる自動車用制御装置が知られている。例えば特許文献1に記載の装置は、一の制御ユニット内の異常を検出したときに該制御ユニットからの通信信号の送信を遮断する機能を有しており、さらに、この送信遮断機能に異常がないかを診断する診断手段を備えている。   2. Description of the Related Art Conventionally, there is known an automobile control device including a plurality of control units that are connected so as to be capable of bidirectional communication via a communication bus. For example, the device described in Patent Document 1 has a function of blocking transmission of a communication signal from a control unit when an abnormality in one control unit is detected. Further, there is an abnormality in the transmission blocking function. A diagnostic means for diagnosing whether or not there is provided.

特開2011−189918号公報JP 2011-189918 A

上記従来の装置では、制御ユニットが自ら送信した通信信号と通信バス上の信号との比較結果に基づいて送信遮断機能の診断を行うようになっている。よって、上記比較を行うことができる集積回路(IC)を制御ユニットに実装する必要がある。このため、コストが増大するおそれがあった。本発明の目的とするところは、コストを低減しつつ送信遮断機能の診断を行うことができる自動車用制御装置を提供することにある。   In the above-described conventional apparatus, the transmission blocking function is diagnosed based on the comparison result between the communication signal transmitted by the control unit itself and the signal on the communication bus. Therefore, it is necessary to mount an integrated circuit (IC) capable of performing the comparison on the control unit. For this reason, there existed a possibility that cost might increase. An object of the present invention is to provide an automotive control device capable of diagnosing a transmission cutoff function while reducing costs.

上記目的を達成するため、請求項1に記載の自動車用制御装置は、好ましくは、一の制御ユニットが他の制御ユニットから通信信号を受信可能な状態であるときに、該一の制御ユニットが送信した通信信号に対する回答に相当する信号を他の制御ユニットから受信できないとき、送信遮断機能が正常であると判断することとした。   In order to achieve the above-mentioned object, the automobile control device according to claim 1 is preferably configured such that when one control unit is capable of receiving a communication signal from another control unit, the one control unit When a signal corresponding to the response to the transmitted communication signal cannot be received from another control unit, it is determined that the transmission cutoff function is normal.

よって、コストを低減しつつ送信遮断機能の診断を行うことができる。   Therefore, the transmission blocking function can be diagnosed while reducing the cost.

実施例1の自動車用制御装置が適用された通信システムを示す。1 shows a communication system to which an automobile control device of Embodiment 1 is applied. 実施例1のマスタ圧制御ユニット1の電気回路構成を示す。The electric circuit structure of the master pressure control unit 1 of Example 1 is shown. 実施例1のV-CAN通信バス9aへの送信遮断機能の診断処理手順を示すフローチャートである。It is a flowchart which shows the diagnostic processing procedure of the transmission interruption | blocking function to the V-CAN communication bus 9a of Example 1. FIG. 実施例1のV-CAN通信バス9aへの送信遮断機能の診断処理における作動状態を示す全体的なタイムチャートである。It is a whole time chart which shows the operation state in the diagnostic process of the transmission cutoff function to the V-CAN communication bus 9a of Example 1. 実施例1のV-CAN通信バス9aへの送信遮断機能の診断処理における作動状態を示すタイムチャートである(BusONに復帰できる場合)。It is a time chart which shows the operation state in the diagnostic processing of the transmission interruption | blocking function to the V-CAN communication bus 9a of Example 1 (when it can return to BusON). 実施例1のV-CAN通信バス9aへの送信遮断機能の診断処理における作動状態を示すタイムチャートである(BusONに復帰できない場合)。It is a time chart which shows the operation state in the diagnostic process of the transmission interruption | blocking function to the V-CAN communication bus 9a of Example 1 (when it cannot return to BusON). 実施例1のL-CAN通信バス9bへの送信遮断機能の診断処理における作動状態を示すタイムチャートである。It is a time chart which shows the operation state in the diagnostic process of the transmission interruption | blocking function to the L-CAN communication bus 9b of Example 1. FIG.

以下、本発明の自動車用制御装置を実現する形態を、実施例を用いて図面に基づき説明する。   Hereinafter, the form which implement | achieves the control apparatus for motor vehicles of this invention is demonstrated based on drawing using an Example.

[実施例1]
[構成]
自動車用制御装置は、自動車に搭載された通信システムに適用される制御装置であって、通信バスによって双方向に通信可能に接続されている複数の制御ユニットからなる。図1は、本実施例の自動車用制御装置が適用された通信システムの一例を示す。上記複数の制御ユニットは、マスタ圧制御ユニット1、ホイル圧制御ユニット12、及び回生制御ユニット13等を有している。これらは通信バス9を介して互いに接続されており、互いの間で情報を担う通信信号の伝送(送受信)が行われる。通信バス9を介した通信方式は、シリアル通信でもよいし、CANやFlexRay等の多重通信でもよい。本実施例ではCAN通信システムを用いる。
[Example 1]
[Constitution]
The vehicle control device is a control device that is applied to a communication system mounted on a vehicle, and includes a plurality of control units that are connected so as to be capable of bidirectional communication via a communication bus. FIG. 1 shows an example of a communication system to which the automobile control device of this embodiment is applied. The plurality of control units include a master pressure control unit 1, a wheel pressure control unit 12, a regeneration control unit 13, and the like. These are connected to each other via a communication bus 9, and transmission (transmission / reception) of communication signals carrying information is performed between them. The communication method via the communication bus 9 may be serial communication or multiplex communication such as CAN or FlexRay. In this embodiment, a CAN communication system is used.

マスタ圧制御ユニット1は、電動式の液圧発生装置であるマスタ圧制御機構16の作動を制御する。マスタ圧制御機構16は、リザーバ16bからブレーキ液の補給を受け、ブレーキペダル15の操作に応じた液圧を発生可能なタンデム型のマスタシリンダ16aと、ブレーキペダル15の操作とは独立に作動してマスタシリンダ16aの液圧を加減圧し、運転者のブレーキ操作力を補助可能に設けられた電動式の倍力装置16cとを備えている。倍力装置16cは、三相のDCブラシレスモータである電動モータ160と、ベルト161を介して伝達される電動モータ160の回転力を直線方向の推力に変換するボール−ネジ機構162と、ボール−ネジ機構162から伝達される推力により進退移動してマスタシリンダ16a内に液圧を発生させるアシスト部材163とを有している。   The master pressure control unit 1 controls the operation of a master pressure control mechanism 16 that is an electric hydraulic pressure generator. The master pressure control mechanism 16 receives the replenishment of the brake fluid from the reservoir 16b and operates independently of the operation of the tandem master cylinder 16a capable of generating the fluid pressure according to the operation of the brake pedal 15 and the operation of the brake pedal 15. And an electric booster 16c provided to increase and decrease the hydraulic pressure of the master cylinder 16a and assist the driver's brake operation force. The booster 16c includes an electric motor 160 that is a three-phase DC brushless motor, a ball-screw mechanism 162 that converts the rotational force of the electric motor 160 transmitted through the belt 161 into a thrust in a linear direction, And an assist member 163 that moves forward and backward by thrust transmitted from the screw mechanism 162 to generate hydraulic pressure in the master cylinder 16a.

ホイル圧制御ユニット12は、電動式の液圧発生装置であるホイル圧制御機構17の作動を制御する。ホイル圧制御機構17は、プライマリ系統及びセカンダリ系統の配管19a,19bを介してマスタ圧制御機構16に接続されると共に、配管191〜194を介して車両の各車輪に設けられたキャリパ(ホイルシリンダ18a〜18d)に接続されている。ホイル圧制御機構17は、液圧回路を備えると共に、アクチュエータとして、液圧回路の連通状態を制御するための電磁弁や液圧を発生するためのポンプを備えている。ポンプはモータにより駆動される。ホイル圧制御機構17は、マスタシリンダ16aからの液圧に基づき各ホイルシリンダ18a〜18dへ供給する液圧を定めると共に、マスタシリンダ16aの液圧に基づくことなく各ホイルシリンダ18a〜18dへ供給する液圧を制御可能に設けられている。   The wheel pressure control unit 12 controls the operation of a wheel pressure control mechanism 17 that is an electric hydraulic pressure generator. The wheel pressure control mechanism 17 is connected to the master pressure control mechanism 16 via the primary system and secondary system pipes 19a and 19b, and calipers (foil cylinders) provided on the wheels of the vehicle via the pipes 191 to 194. 18a to 18d). The wheel pressure control mechanism 17 includes a hydraulic circuit, and also includes, as an actuator, an electromagnetic valve for controlling the communication state of the hydraulic circuit and a pump for generating hydraulic pressure. The pump is driven by a motor. The wheel pressure control mechanism 17 determines the hydraulic pressure supplied to each wheel cylinder 18a-18d based on the hydraulic pressure from the master cylinder 16a, and supplies it to each wheel cylinder 18a-18d without being based on the hydraulic pressure of the master cylinder 16a. The hydraulic pressure is provided to be controllable.

回生制御ユニット13は、車両の運動エネルギを電力に変換する回生制御を担っており、例えば車両減速中に車両駆動用アクチュエータを発電機として動作させてバッテリに電力を回生するときに発生する回生制動力と、ホイルシリンダ18a〜18dに供給される液圧に由来する液圧制動力とを協調させる所謂回生協調制御のための制御要求の出力を行う。回生制御ユニット13は、回生量やこれに相当する回生制動力、トルク、液圧等の情報を、制御要求として、通信バス9を介してマスタ圧制御ユニット1に伝達する。これによって、マスタ圧制御ユニット1は、液圧制動力分のブレーキ量が回生制動力分のブレーキ量だけ少なくなるようにマスタ圧制御機構16を制御することができる。   The regenerative control unit 13 performs regenerative control that converts the kinetic energy of the vehicle into electric power. For example, the regenerative control that occurs when the vehicle driving actuator is operated as a generator to regenerate electric power to the battery during vehicle deceleration. A control request is output for so-called regenerative cooperative control in which power and hydraulic braking force derived from hydraulic pressure supplied to the wheel cylinders 18a to 18d are coordinated. The regenerative control unit 13 transmits information such as the regenerative amount and the regenerative braking force, torque, hydraulic pressure and the like corresponding thereto to the master pressure control unit 1 via the communication bus 9 as a control request. Thereby, the master pressure control unit 1 can control the master pressure control mechanism 16 so that the brake amount corresponding to the hydraulic braking force is reduced by the brake amount corresponding to the regenerative braking force.

なお、通信バス9を介して接続される制御ユニットとして、上記のものに限らず、例えばエンジン制御ユニットや、カメラやレーダ等の外界認識センサやナビゲーションシステムからの情報に基づき車両の走行状態を変化させる制御(例えば車両追従制御や高度道路交通システムITS)を担う車両制御ユニットでもよい。この場合、車両制御ユニットは、走行状態を変化させるために必要な制動力やこれに相当するトルク、液圧等の情報を、制御要求として、通信バス9を介してマスタ圧制御ユニット1に伝達する。   Note that the control unit connected via the communication bus 9 is not limited to the above-described one. For example, the traveling state of the vehicle is changed based on information from an engine control unit, an external recognition sensor such as a camera or radar, or a navigation system. It may be a vehicle control unit that performs control (for example, vehicle following control or intelligent road traffic system ITS). In this case, the vehicle control unit transmits the braking force necessary for changing the running state and the corresponding information such as torque and hydraulic pressure to the master pressure control unit 1 via the communication bus 9 as a control request. To do.

ブレーキペダル15には、ブレーキペダル15の操作の有無を検出し、ブレーキランプスイッチとしても機能するブレーキスイッチ14aが設けられており、そのオン・オフ信号はマスタ圧制御ユニット1に入力される。ブレーキペダル15(ないしブレーキペダル15に連動する操作入力部材150)には、ブレーキペダル15の操作量(変位量)を検出する変位センサ(ストロークセンサ)14bが設けられており、その検出信号はマスタ圧制御ユニット1に入力される。電動モータ160には、そのロータの回転角度ないし回転位相を検出する回転角検出センサ14dが設けられており、その検出信号はマスタ圧制御ユニット1に入力される。マスタ圧制御機構16とホイル圧制御機構17とを接続する配管の一方19aには、マスタシリンダ16aの液圧を計測する液圧センサ14cが設けられており、その検出信号はホイル圧制御ユニット12に入力される。   The brake pedal 15 is provided with a brake switch 14a that detects whether or not the brake pedal 15 is operated and functions also as a brake lamp switch, and an on / off signal thereof is input to the master pressure control unit 1. The brake pedal 15 (or the operation input member 150 linked to the brake pedal 15) is provided with a displacement sensor (stroke sensor) 14b for detecting an operation amount (displacement amount) of the brake pedal 15, and the detection signal is a master signal. Input to the pressure control unit 1. The electric motor 160 is provided with a rotation angle detection sensor 14 d for detecting the rotation angle or rotation phase of the rotor, and the detection signal is input to the master pressure control unit 1. One of the pipes 19a connecting the master pressure control mechanism 16 and the foil pressure control mechanism 17 is provided with a hydraulic pressure sensor 14c for measuring the hydraulic pressure of the master cylinder 16a. Is input.

マスタ圧制御ユニット1は、各センサ14a等からの入力信号、及び通信バス9を介して入力される信号に基づきマスタ圧制御機構16(倍力装置16cの電動モータ160)の作動を制御し、所望の液圧をマスタシリンダ16a内に発生させてホイル圧制御機構17(ホイルシリンダ18a〜18d)に供給する。例えば、ブレーキペダル15の操作に応じてホイルシリンダ18a〜18dの液圧に対し倍力装置16cによるアシスト力を付与する倍力制御を行う。また、倍力装置16c(電動モータ160の回転)を適宜制御して所望の倍力比を発生させることにより、ブレーキアシスト制御、回生協調制御、車両追従制御等のブレーキ制御を実行可能である。例えば回生協調制御においては、アシスト部材163を引き戻す方向に電動モータ160を回転制御することで、回生制動力相当の液圧制動力を減少させることができる。   The master pressure control unit 1 controls the operation of the master pressure control mechanism 16 (the electric motor 160 of the booster 16c) based on input signals from the sensors 14a and the like and signals input via the communication bus 9. A desired hydraulic pressure is generated in the master cylinder 16a and supplied to the wheel pressure control mechanism 17 (the wheel cylinders 18a to 18d). For example, in accordance with the operation of the brake pedal 15, the boost control is performed to apply the assist force by the booster 16c to the hydraulic pressure of the wheel cylinders 18a to 18d. Also, by appropriately controlling the booster 16c (rotation of the electric motor 160) to generate a desired boost ratio, it is possible to execute brake control such as brake assist control, regenerative cooperative control, and vehicle follow-up control. For example, in regenerative cooperative control, the hydraulic braking force corresponding to the regenerative braking force can be reduced by controlling the rotation of the electric motor 160 in the direction in which the assist member 163 is pulled back.

ホイル圧制御ユニット12は、各センサ14c等からの入力信号、及び通信バス9を介して入力される信号に基づきホイル圧制御機構17の作動を制御し、所望の液圧を発生させてホイルシリンダ18a〜18dに供給する。これにより、アンチロックブレーキ制御(ABS)や横滑り防止制御(ESC)、トラクション制御、その他の車両の操縦安定性を向上する制動力制御を実行することができる。すなわち、ホイル圧制御ユニット12として、例えばESCを担うESCユニットを用いることができる。ESCとは、車両姿勢等をセンサによって感知し、オーバーステアと判断するとコーナー外側の前輪にブレーキをかけ、逆にアンダーステアと判断した場合は、エンジンパワーを落とすとともに後輪のコーナー内側のタイヤにブレーキをかける等のコントロールを、運転状況に応じて自動的に制御するものである。   The wheel pressure control unit 12 controls the operation of the wheel pressure control mechanism 17 based on an input signal from each sensor 14c and the like and a signal input via the communication bus 9, and generates a desired hydraulic pressure to generate a wheel cylinder. Supply to 18a-18d. Thereby, anti-lock brake control (ABS), skid prevention control (ESC), traction control, and other braking force control that improves the steering stability of the vehicle can be executed. That is, as the wheel pressure control unit 12, for example, an ESC unit that bears ESC can be used. ESC detects the vehicle posture, etc. with a sensor, and brakes the front wheel outside the corner when it is judged as oversteer, and conversely when it is judged as understeer, it reduces the engine power and brakes the tire inside the corner of the rear wheel. The control such as applying the automatic control is automatically controlled according to the driving situation.

図2は、マスタ圧制御ユニット1の電気回路構成の一例を示す。太線枠内はマスタ圧制御ユニット1の電気回路を示し、点線枠内はマスタ圧制御機構16側の電気回路を示す。マスタ圧制御ユニット1は、V-CAN通信バス9aを介して他の制御ユニット12,13等と接続されている。また、マスタ圧制御ユニット1は、L-CAN通信バス9bを介してホイル圧制御ユニット12と接続されている。なお、V-はVehcle-の略であり、制御ユニット1,12,13に限らず、エンジン制御ユニット等の車両の制御ユニット全般がV-CAN通信バス9aに接続される。また、L-はLocal-の略であり、車両の一部の制御ユニット同士がL-CAN通信バス9bに接続される。本実施例ではブレーキ液圧制御を担う制御ユニット1,12同士がL-CAN通信バス9bに接続されている。仮にV-CAN通信バス9aが断線等により通信不可能になった場合でもL-CAN通信バス9bを介して通信を行うことができるため、ブレーキ液圧制御のフェールセーフ性を向上することができる。また、L-CAN通信バス9bでは比較的短い通信周期で信号をやりとりでき、一方の制御ユニット(例えばホイル圧制御ユニット12)に接続されたセンサ(液圧センサ14c)の検出信号を他方の制御ユニット(マスタ圧制御ユニット1)の側で用いることができるため、制御ユニットやセンサ等のレイアウト性を向上できる。   FIG. 2 shows an example of an electric circuit configuration of the master pressure control unit 1. The bold line frame shows the electric circuit of the master pressure control unit 1, and the dotted line frame shows the electric circuit on the master pressure control mechanism 16 side. The master pressure control unit 1 is connected to other control units 12, 13 and the like via a V-CAN communication bus 9a. The master pressure control unit 1 is connected to the foil pressure control unit 12 via the L-CAN communication bus 9b. V- is an abbreviation for Vehcle-, and is not limited to the control units 1, 12, and 13, and all vehicle control units such as an engine control unit are connected to the V-CAN communication bus 9 a. L- is an abbreviation for Local-, and some control units of the vehicle are connected to the L-CAN communication bus 9b. In this embodiment, the control units 1 and 12 responsible for brake fluid pressure control are connected to the L-CAN communication bus 9b. Even if the V-CAN communication bus 9a becomes unable to communicate due to disconnection or the like, communication can be performed via the L-CAN communication bus 9b, so that the fail-safe property of the brake fluid pressure control can be improved. . The L-CAN communication bus 9b can exchange signals with a relatively short communication cycle, and the detection signal of the sensor (hydraulic pressure sensor 14c) connected to one control unit (for example, the foil pressure control unit 12) is controlled by the other control unit. Since it can be used on the unit (master pressure control unit 1) side, the layout of the control unit, sensor, etc. can be improved.

マスタ圧制御ユニット1の電気回路は、メインの中央演算処理装置(以下、CPU)1aと、サブのCPU1bと、インターフェイス回路(以下、I/F回路)2a〜2eと、フィルタ回路3と、リレー回路4a〜4cと、5V電源回路5a,5bと、オン・オフ信号出力部6と、三相モータ駆動回路7aと、相電流モニタ回路7bと、相電圧モニタ回路7cと、を有している。   The electric circuit of the master pressure control unit 1 includes a main central processing unit (hereinafter referred to as CPU) 1a, a sub CPU 1b, interface circuits (hereinafter referred to as I / F circuits) 2a to 2e, a filter circuit 3, and a relay. Circuits 4a to 4c, 5V power supply circuits 5a and 5b, an on / off signal output unit 6, a three-phase motor drive circuit 7a, a phase current monitor circuit 7b, and a phase voltage monitor circuit 7c. .

車両内の電源ラインからの12V電源は、ECU電源リレー回路4aを介して5V電源回路5a,5bに供給される。ECU電源リレー回路4aは、マスタ圧制御ユニット1の外部からオア回路であるオン・オフ信号出力部6を介して入力されるイグニッションスイッチのオン・オフ信号、又は所定の起動(W/U)信号、或いは後述するV-CAN通信I/F回路2aからオン・オフ信号出力部6を介して入力される信号により、オン動作する。上記起動信号として、ブレーキスイッチ14aからの信号、ドアスイッチ信号等を使用することができる。オン・オフ信号出力部6は、いずれか1つの信号が入力されると、ECU電源リレー回路4aをオン側に作動させる。これにより、マスタ圧制御ユニット1に供給された12V電源が5V電源回路5a,5bに入力され、マスタ圧制御ユニット1が起動する。5V電源回路5a,5bは、それぞれ安定した5V電源(以下、Vcc1およびVcc2)を発生する。Vcc1は、メインCPU1a、温度センサI/F回路2d、変位センサI/F回路2e等に供給される。一方、Vcc2はサブCPU1b等に供給される。また、電源ラインからの12V電源は、フィルタ回路3によりノイズが除去された上で、フェールセーフリレー回路4bを介して三相モータ駆動回路7aに供給される。フェールセーフリレー回路4bは、上記電源ラインと三相モータ駆動回路7aとの接続を遮断可能に設けられており、メインCPU1aによりそのオン・オフが制御されることで、三相モータ駆動回路7aへの電源の供給と遮断が制御される。三相モータ駆動回路7aは、マスタ圧制御機構16の電動モータ160に接続されており、メインCPU1aからの信号に基づき駆動電流を電動モータ160に供給する。相電流モニタ回路7b及び相電圧モニタ回路7cは、三相モータ駆動回路84aが出力する各相の電流および電圧をそれぞれモニタし、各モニタ値をメインCPU1aに出力する。   The 12V power from the power line in the vehicle is supplied to the 5V power circuits 5a and 5b via the ECU power relay circuit 4a. The ECU power supply relay circuit 4a is an ignition switch on / off signal or a predetermined start (W / U) signal input from the outside of the master pressure control unit 1 via an on / off signal output unit 6 that is an OR circuit. Alternatively, it is turned on by a signal input from the V-CAN communication I / F circuit 2a described later via the on / off signal output unit 6. As the activation signal, a signal from the brake switch 14a, a door switch signal, or the like can be used. When any one signal is input, the on / off signal output unit 6 operates the ECU power relay circuit 4a to the on side. As a result, the 12V power supplied to the master pressure control unit 1 is input to the 5V power supply circuits 5a and 5b, and the master pressure control unit 1 is activated. The 5V power supply circuits 5a and 5b generate stable 5V power supplies (hereinafter referred to as Vcc1 and Vcc2), respectively. Vcc1 is supplied to the main CPU 1a, the temperature sensor I / F circuit 2d, the displacement sensor I / F circuit 2e, and the like. On the other hand, Vcc2 is supplied to the sub CPU 1b and the like. The 12V power from the power line is supplied to the three-phase motor drive circuit 7a via the fail-safe relay circuit 4b after noise is removed by the filter circuit 3. The fail-safe relay circuit 4b is provided so that the connection between the power line and the three-phase motor driving circuit 7a can be cut off. The main CPU 1a controls on / off of the connection to the three-phase motor driving circuit 7a. The supply and cut-off of the power is controlled. The three-phase motor drive circuit 7a is connected to the electric motor 160 of the master pressure control mechanism 16, and supplies a drive current to the electric motor 160 based on a signal from the main CPU 1a. The phase current monitor circuit 7b and the phase voltage monitor circuit 7c respectively monitor the current and voltage of each phase output from the three-phase motor drive circuit 84a, and output each monitor value to the main CPU 1a.

メインCPU1aには、ブレーキペダル15ないしマスタ圧制御機構16の側に配置された各センサからの信号が入力される。すなわち、変位センサ14bからの信号が変位センサI/F回路2eを介して入力され、回転角検出センサ14dからの信号が回転角検出センサI/F回路2cを介して入力され、温度センサ14eからの信号が温度センサI/F回路2dを介して入力される。メインCPU1aは、これら各センサの検出値および他の制御ユニット12,13からの信号(例えばホイル圧制御ユニット12からL-CAN通信バス9bを介して入力される液圧センサ14cの検出値)に基づき三相モータ駆動回路7aに信号を出力し、電動モータ160を制御する。メインCPU1aは、相電流モニタ回路84b及び相電圧モニタ回路84cのモニタ値に基づき三相モータ駆動回路84aを動作させる。   Signals from the sensors arranged on the brake pedal 15 or the master pressure control mechanism 16 side are input to the main CPU 1a. That is, a signal from the displacement sensor 14b is input via the displacement sensor I / F circuit 2e, a signal from the rotation angle detection sensor 14d is input via the rotation angle detection sensor I / F circuit 2c, and the temperature sensor 14e Is input via the temperature sensor I / F circuit 2d. The main CPU 1a uses the detection values of these sensors and signals from the other control units 12 and 13 (for example, the detection value of the hydraulic pressure sensor 14c input from the wheel pressure control unit 12 via the L-CAN communication bus 9b). Based on this, a signal is output to the three-phase motor drive circuit 7a to control the electric motor 160. The main CPU 1a operates the three-phase motor drive circuit 84a based on the monitor values of the phase current monitor circuit 84b and the phase voltage monitor circuit 84c.

メインCPU1aは、サブCPU1bとの間で信号の送受を行うことが可能に設けられている。また、メインCPU1aは、受信ライン10a及び送信ライン10bを介してV-CAN通信I/F回路2aと接続され、V-CAN通信I/F回路2aを介してV-CAN通信バス9aと接続されている。また、メインCPU1aは、受信ライン10c及び送信ライン10dを介してL-CAN通信I/F回路2bと接続され、L-CAN通信I/F回路2bを介してL-CAN通信バス9bと接続されている。送信ライン10dには、送信ライン10dから分岐してメインCPU1aと接続するモニタ回路10fが設けられている。送信ライン10dには、モニタ回路10fの分岐部位よりも下流側(L-CAN通信I/F回路2bの側)から分岐してグラウンドGNDに接続する接地ライン10eが設けられている。すなわち送信ライン10dは接地ライン10eを介して地絡可能に設けられている。なお、送信ライン10dにおける接地ライン10eの分岐部位を、モニタ回路10fの分岐部位よりも上流側(メインCPU1aの側)に設けることとしてもよい。接地ライン10eにはリレー回路4cが設けられている。リレー回路4cはスイッチ40を有している。サブCPU1bは、遮断ライン10gを介してV-CAN通信I/F回路2aと接続されると共に、遮断ライン10hを介してリレー回路4c(スイッチ40)と接続されている。   The main CPU 1a is provided so as to be able to send and receive signals to and from the sub CPU 1b. The main CPU 1a is connected to the V-CAN communication I / F circuit 2a via the reception line 10a and the transmission line 10b, and is connected to the V-CAN communication bus 9a via the V-CAN communication I / F circuit 2a. ing. The main CPU 1a is connected to the L-CAN communication I / F circuit 2b via the reception line 10c and the transmission line 10d, and is connected to the L-CAN communication bus 9b via the L-CAN communication I / F circuit 2b. ing. The transmission line 10d is provided with a monitor circuit 10f branched from the transmission line 10d and connected to the main CPU 1a. The transmission line 10d is provided with a ground line 10e that branches from the downstream side (the L-CAN communication I / F circuit 2b side) of the branch portion of the monitor circuit 10f and connects to the ground GND. That is, the transmission line 10d is provided so as to be grounded via the ground line 10e. Note that the branch portion of the ground line 10e in the transmission line 10d may be provided on the upstream side (the main CPU 1a side) of the branch portion of the monitor circuit 10f. A relay circuit 4c is provided on the ground line 10e. The relay circuit 4 c has a switch 40. The sub CPU 1b is connected to the V-CAN communication I / F circuit 2a via the cutoff line 10g and is connected to the relay circuit 4c (switch 40) via the cutoff line 10h.

V-CAN通信I/F回路2aは、メインCPU1aがV-CAN通信バス9aを介して外部機器(マスタ圧制御ユニット1以外の制御ユニット12,13等)との間でデータ伝送を行うための通信手段(CANドライバ)である。V-CAN通信I/F回路2aは、V-CAN通信バス9aから送信されてきた通信信号をCANデータとして受信ライン10aを介してメインCPU1aへ送ると共に、メインCPU1aから送信ライン10bを介して送られてきたCANデータを通信信号としてこれをV-CAN通信バス9aへ送信する。V-CAN通信I/F回路2aは、サブCPU1bからの送信停止要求に応じてV-CAN通信バス9aへの通信信号の送信を停止することが可能に設けられている。具体的には、V-CAN通信I/F回路2aは、サブCPU1bから遮断ライン10gを介して送信停止信号が入力されると、次にサブCPU1bから遮断ライン10gを介して送信停止解除信号が入力されるまでの間、メインCPU1aから送られてきたCANデータのV-CAN通信バス9aへの送信を停止(遮断)する。L-CAN通信I/F回路2bは、メインCPU1aがL-CAN通信バス9bを介してホイル圧制御ユニット12とデータ伝送を行うための通信手段(CANドライバ)である。L-CAN通信I/F回路2bは、L-CAN通信バス9bから送信されてきた通信信号をCANデータとして受信ライン10cを介してメインCPU1aへ送ると共に、メインCPU1aから送信ライン10dを介して送られてきたCANデータを通信信号としてこれをL-CAN通信バス9bへ送信する。   The V-CAN communication I / F circuit 2a allows the main CPU 1a to transmit data to / from external devices (control units 12, 13, etc. other than the master pressure control unit 1) via the V-CAN communication bus 9a. It is a communication means (CAN driver). The V-CAN communication I / F circuit 2a sends the communication signal transmitted from the V-CAN communication bus 9a as CAN data to the main CPU 1a via the reception line 10a and from the main CPU 1a via the transmission line 10b. The received CAN data is transmitted as a communication signal to the V-CAN communication bus 9a. The V-CAN communication I / F circuit 2a is provided so as to be able to stop transmission of communication signals to the V-CAN communication bus 9a in response to a transmission stop request from the sub CPU 1b. Specifically, when a transmission stop signal is input from the sub CPU 1b via the cutoff line 10g, the V-CAN communication I / F circuit 2a then receives a transmission stop cancellation signal from the sub CPU 1b via the cutoff line 10g. Until input, the transmission of the CAN data sent from the main CPU 1a to the V-CAN communication bus 9a is stopped (blocked). The L-CAN communication I / F circuit 2b is a communication means (CAN driver) for the main CPU 1a to perform data transmission with the wheel pressure control unit 12 via the L-CAN communication bus 9b. The L-CAN communication I / F circuit 2b sends the communication signal transmitted from the L-CAN communication bus 9b as CAN data to the main CPU 1a via the reception line 10c and from the main CPU 1a via the transmission line 10d. The received CAN data is transmitted as a communication signal to the L-CAN communication bus 9b.

メインCPU1aは、相電流モニタ回路7b及び相電圧モニタ回路7cの各モニタ値が正常範囲外となった場合や、制御指令どおりに電動モータ160を制御できない場合等に、マスタ圧制御機構16の故障を検出・判断するよう構成されている。また、メインCPU1aは、メインCPU1a内の異常、及び5V電源回路5aやVcc1の異常を監視する。メインCPU1aは、これらの故障や異常を検出した場合は、速やかにフェールセーフリレー回路4bに対して信号を出力しこれをオフ動作させ、三相モータ駆動回路7aへの電源供給を遮断すると共に、サブCPU1bに対して送信遮断要求信号を出力することで、マスタ圧制御ユニット1(V-CAN通信I/F回路2a、L-CAN通信I/F回路2b)からV-CAN通信バス9a及びL-CAN通信バス9bへの通信信号の送信を遮断させる。なお、メインCPU1aには、電気的にデータの消去/書き換えが可能な半導体記憶装置としてEEPROM9(不揮発性メモリ)が設けられている。EEPROM9は記憶回路として、例えば検出した故障情報等を格納する。   The main CPU 1a fails in the master pressure control mechanism 16 when the monitor values of the phase current monitor circuit 7b and the phase voltage monitor circuit 7c are out of the normal range or when the electric motor 160 cannot be controlled according to the control command. It is configured to detect and judge. Further, the main CPU 1a monitors the abnormality in the main CPU 1a and the abnormality of the 5V power supply circuit 5a and Vcc1. When the main CPU 1a detects such a failure or abnormality, the main CPU 1a promptly outputs a signal to the fail-safe relay circuit 4b to turn it off, shuts off the power supply to the three-phase motor drive circuit 7a, By outputting a transmission cutoff request signal to the sub CPU 1b, the master pressure control unit 1 (V-CAN communication I / F circuit 2a, L-CAN communication I / F circuit 2b) transmits the V-CAN communication bus 9a and L -Block transmission of communication signals to the CAN communication bus 9b. The main CPU 1a is provided with an EEPROM 9 (nonvolatile memory) as a semiconductor memory device that can electrically erase / rewrite data. The EEPROM 9 stores, for example, detected failure information as a storage circuit.

サブCPU1bは、メインCPU1aから送信遮断要求信号が入力されると、V-CAN通信I/F回路2aに対し送信遮断信号としての送信停止信号を出力する。これにより、V-CAN通信I/F回路2aからV-CAN通信バス9aへの通信信号の送信を停止させて、該送信を遮断する。すなわち、サブCPU1bは、メインCPU1a内の異常等に応じてV-CAN通信バス9aへの通信信号の送信を遮断することが可能な信号遮断手段を構成している。また、サブCPU1bは、メインCPU1aからの送信遮断要求信号が入力されると、リレー回路4cに対し、送信遮断信号としてスイッチ40を閉動作させる信号を出力させる。これにより送信ライン10dを地絡させ、メインCPU1aからL-CAN通信I/F回路2bへの信号伝達を遮断することで、L-CAN通信I/F回路2bからL-CAN通信バス9bへの通信信号の送信を遮断する。すなわち、リレー回路4c(スイッチ40)とサブCPU1bは、メインCPU1a内での異常等が検出されたときにL-CAN通信バス9bへの通信信号の送信を遮断することが可能な信号遮断手段を構成している。   When the transmission cutoff request signal is input from the main CPU 1a, the sub CPU 1b outputs a transmission stop signal as a transmission cutoff signal to the V-CAN communication I / F circuit 2a. As a result, transmission of the communication signal from the V-CAN communication I / F circuit 2a to the V-CAN communication bus 9a is stopped, and the transmission is blocked. That is, the sub CPU 1b constitutes a signal blocking means that can block transmission of a communication signal to the V-CAN communication bus 9a according to an abnormality in the main CPU 1a. Further, when the transmission cutoff request signal from the main CPU 1a is input, the sub CPU 1b causes the relay circuit 4c to output a signal for closing the switch 40 as a transmission cutoff signal. As a result, the transmission line 10d is grounded, and signal transmission from the main CPU 1a to the L-CAN communication I / F circuit 2b is interrupted, whereby the L-CAN communication I / F circuit 2b to the L-CAN communication bus 9b. Block transmission of communication signals. That is, the relay circuit 4c (switch 40) and the sub CPU 1b have signal blocking means capable of blocking the transmission of the communication signal to the L-CAN communication bus 9b when an abnormality or the like in the main CPU 1a is detected. It is composed.

メインCPU1aは、CANプロトコルに従った通信制御を実行するCANコントローラである通信部8aと、上記信号遮断手段の送信遮断機能が正常であるか否かを診断する診断部8bとを備える。通信部8aは、送信処理として、BusOFFフラグが立っていなければ(自身の通信ステータスがBusONであれば)、必要に応じて、送信ライン10bを介してV-CAN通信I/F回路2aへ送信用のCANデータを入力することで、V-CAN通信I/F回路2aを介してV-CAN通信バス9aへ通信信号を送信する。一方、BusOFFフラグが立っていれば(自身の通信ステータスがBusOFFであれば)、V-CAN通信I/F回路2aへ送信用のCANデータを入力しないことで、V-CAN通信I/F回路2aを介したV-CAN通信バス9aへの通信信号の送信を停止する。また、通信部8aは、送信処理として、必要に応じて、送信ライン10dを介してL-CAN通信I/F回路2bへ送信用のCANデータを入力することで、L-CAN通信I/F回路2bを介してL-CAN通信バス9bへ通信信号を送信する。一方、L-CAN通信I/F回路2bへ送信用のCANデータを入力しないことで、L-CAN通信I/F回路2bを介したL-CAN通信バス9bへの通信信号の送信を停止する。   The main CPU 1a includes a communication unit 8a that is a CAN controller that executes communication control according to the CAN protocol, and a diagnosis unit 8b that diagnoses whether or not the transmission blocking function of the signal blocking unit is normal. As a transmission process, the communication unit 8a transmits to the V-CAN communication I / F circuit 2a through the transmission line 10b as necessary if the BusOFF flag is not set (if its communication status is BusON). By inputting trusted CAN data, a communication signal is transmitted to the V-CAN communication bus 9a via the V-CAN communication I / F circuit 2a. On the other hand, if the BusOFF flag is set (if the communication status is BusOFF), the V-CAN communication I / F circuit is not input to the V-CAN communication I / F circuit 2a by transmitting CAN data for transmission. The transmission of the communication signal to the V-CAN communication bus 9a via 2a is stopped. Further, the communication unit 8a inputs the CAN data for transmission to the L-CAN communication I / F circuit 2b via the transmission line 10d as necessary as a transmission process, so that the L-CAN communication I / F A communication signal is transmitted to the L-CAN communication bus 9b via the circuit 2b. On the other hand, the transmission of communication signals to the L-CAN communication bus 9b via the L-CAN communication I / F circuit 2b is stopped by not inputting CAN data for transmission to the L-CAN communication I / F circuit 2b. .

通信部8aは、自身が通信信号をV-CAN通信I/F回路2aを介してV-CAN通信バス9aへ送信したにも関わらず、この通信信号に対する他の制御ユニット12,13等からの回答に相当する信号(回答信号)をV-CAN通信I/F回路2aが(例えば10msよりも短い)所定時間内に受信しなければ(送信が未完了となれば)、マスタ圧制御ユニット1が他の制御ユニット12,13等からV-CAN通信バス9aを介して通信信号を受信不可能な状態であると判断し、自身の通信ステータスを、受信は可能であるが送信が不可能なモードBusOFFとして、BusOFFフラグを立てる。一方、通信部8aは、自身がV-CAN通信I/F回路2aを介して送信した通信信号に対する回答信号をV-CAN通信I/F回路2aが上記所定時間内に受信すると、または、自身が通信信号を送信していない状態で他の制御ユニット12,13等からの通信信号をV-CAN通信I/F回路2aがV-CAN通信バス9aから受信すると、マスタ圧制御ユニット1が他の制御ユニット12,13等からV-CAN通信バス9aを介して通信信号を受信可能な状態であると判断し、自身の通信ステータスを、受信も送信も可能なモードBusONとして、BusOFFフラグを立てない(BusOFFフラグをクリアする)。   Although the communication unit 8a has transmitted a communication signal to the V-CAN communication bus 9a via the V-CAN communication I / F circuit 2a, the communication unit 8a receives the communication signal from other control units 12, 13 and the like. If the V-CAN communication I / F circuit 2a does not receive a signal corresponding to the answer (answer signal) within a predetermined time (for example, shorter than 10 ms) (if transmission is incomplete), the master pressure control unit 1 Determines that the communication signal cannot be received from the other control units 12, 13 and the like via the V-CAN communication bus 9a, and the communication status of itself can be received but cannot be transmitted. Set the BusOFF flag as the mode BusOFF. On the other hand, when the V-CAN communication I / F circuit 2a receives a response signal to the communication signal transmitted by the communication unit 8a via the V-CAN communication I / F circuit 2a within the predetermined time, When the V-CAN communication I / F circuit 2a receives from the V-CAN communication bus 9a a communication signal from another control unit 12, 13 or the like while the communication signal is not transmitted, the master pressure control unit 1 It is determined that the communication signal can be received from the control units 12 and 13 via the V-CAN communication bus 9a, and the communication status is set to the mode BusON in which reception and transmission can be performed, and the BusOFF flag is set. Not present (BusOFF flag is cleared).

通信部8aは、自身が送信した信号レベルと通信バス9上の信号レベルとを通信データ(CANデータ)の最初の部分(SOF領域)で比較、監視する機能を有していない。よって、通信バス9への通信信号の送信を正常に遮断できたか否かを、SOF領域での食い違い(ビットエラーの発生)の有無に基づき診断することができない。よって、本実施例の装置では、ビットエラーの発生を判定条件として使用しない方法で送信遮断機能を診断する診断部8bを備える。診断部8bは、マスタ圧制御ユニット1が他の制御ユニット12,13等からV-CAN通信バス9aを介して通信信号を受信可能な状態(BusON)で、サブCPU1bへ送信遮断要求信号を出力すると共に通信部8aにより通信信号を送信させ、他の制御ユニット12,13等からの回答信号を受信できないことを検出したとき、V-CAN通信バス9aへの送信の遮断機能が正常であると判断する。また、診断部8bは、(閉動作により送信ライン10dを地絡させることでL-CAN通信バス9bへの送信を遮断する)リレー回路4cの閉動作指令をサブCPU1bにより出力させた状態で、通信部8aにより出力させた送信ライン10d上の通信信号をモニタし、モニタしている通信信号に応じて、L-CAN通信バス9bへの送信の遮断機能が正常であるか否かを診断する。以下、具体的に説明する。   The communication unit 8a does not have a function of comparing and monitoring the signal level transmitted by itself and the signal level on the communication bus 9 in the first part (SOF area) of the communication data (CAN data). Therefore, it cannot be diagnosed whether or not the transmission of the communication signal to the communication bus 9 has been normally blocked based on the presence or absence of a discrepancy (occurrence of a bit error) in the SOF area. Therefore, the apparatus according to the present embodiment includes the diagnosis unit 8b that diagnoses the transmission cutoff function using a method that does not use the occurrence of a bit error as a determination condition. The diagnosis unit 8b outputs a transmission cutoff request signal to the sub CPU 1b in a state where the master pressure control unit 1 can receive a communication signal from the other control units 12, 13, etc. via the V-CAN communication bus 9a (BusON). When the communication unit 8a transmits a communication signal and detects that the answer signal from the other control units 12, 13 or the like cannot be received, the function of blocking the transmission to the V-CAN communication bus 9a is normal. to decide. In addition, the diagnosis unit 8b outputs a closing operation command of the relay circuit 4c (which interrupts transmission to the L-CAN communication bus 9b by grounding the transmission line 10d by the closing operation) by the sub CPU 1b, The communication signal on the transmission line 10d output by the communication unit 8a is monitored, and it is diagnosed whether the function of blocking the transmission to the L-CAN communication bus 9b is normal according to the monitored communication signal. . This will be specifically described below.

(V-CAN通信バス9aへの送信遮断機能の診断処理)
図3は、診断部8bにより実行される、V-CAN通信バス9aへの送信遮断機能の診断処理手順の一例を示す。この診断処理は、マスタ圧制御ユニット1が起動する際に実行される。なお、マスタ圧制御ユニット1は、車両システムの起動を意図する操作(例えばイグニッションオン)により起動するほか、このような操作がなくても、運転者のブレーキ踏み込み操作(具体的にはブレーキスイッチ14aのオン)により起動してマスタ圧制御機構16を制御可能となるように設けられている。なお、診断処理の実行タイミングは、マスタ圧制御ユニット1の起動時に限らず起動後でもよい。
(Diagnosis of transmission blocking function to V-CAN communication bus 9a)
FIG. 3 shows an example of a diagnostic processing procedure for the function of blocking transmission to the V-CAN communication bus 9a, which is executed by the diagnostic unit 8b. This diagnosis process is executed when the master pressure control unit 1 is activated. The master pressure control unit 1 is activated by an operation intended to activate the vehicle system (for example, ignition on), and even if there is no such operation, the driver depresses the brake (specifically, the brake switch 14a). And the master pressure control mechanism 16 can be controlled. The execution timing of the diagnosis process is not limited to when the master pressure control unit 1 is started, but may be after the start.

ステップS1では、メインCPU1a及びサブCPU1bの初期処理(起動処理)が完了したことを確認した後、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態であるか否かを判定する。具体的には、BusOFFフラグが立っているか否かを判定し、BusOFFフラグが立っていなければBusONすなわち他の制御ユニット12,13等から受信可能な状態であると判断してステップS2へ進み、BusOFFフラグが立っていればBusOFFすなわち他の制御ユニット12,13等から受信不可能な状態であると判断してステップS15へ進む。このステップS1は、後述のように他の制御ユニット12,13等からの回答信号の有無により送信遮断機能を診断するための前提条件を判定するステップである。
ステップS2では、サブCPU1bへ送信遮断要求信号を出力し、ステップS3へ進む。
ステップS3では、通信部8aによりV-CAN通信I/F回路2aへ(診断用の)CANデータを入力させることで、V-CAN通信I/F回路2aによるV-CAN通信バス9aへの通信信号の送信を指令し(言い換えるとV-CAN通信I/F回路2aに送信を要求し)、ステップS4へ進む。なお、診断部8bがV-CAN通信I/F回路2aに直接送信を要求するように構成してもよい。
ステップS4では、10msが経過したか否かを判定する。10msが経過するまではステップS4を繰り返し、10msが経過するとステップS5へ進む。
ステップS5では、送信(要求)した通信信号に対する他の制御ユニット12,13等からの回答信号をV-CAN通信I/F回路2aが受信したか否かを判定する。回答信号を受信しなければ(言い換えれば送信が未完了であれば)ステップS6へ進み、回答信号を受信すれば(言い換えれば送信が完了すれば)ステップS12へ進む。なお、通信信号の送信から回答信号の受信までに通常要する時間(通信周期)は10msよりも十分短いものとする。
ステップS6では、通信部8aによりV-CAN通信I/F回路2aへ(診断用の)CANデータを入力させないことで、V-CAN通信I/F回路2aによるV-CAN通信バス9aへの通信信号の送信停止を指令し(言い換えるとV-CAN通信I/F回路2aに送信の停止を要求し)、ステップS7へ進む。なお、診断部8bがV-CAN通信I/F回路2aに直接送信の停止を要求するように構成してもよい。
ステップS7では、正常カウンタをインクリメント(カウントアップ)して、ステップS8へ進む。
ステップS8では、正常カウンタが所定値N1(例えば10)以上であるか否かを判定する。N1以上であればステップS10へ進み、N1未満であればステップS9へ進む。
ステップS9では、10msが経過したか否かを判定する。10msが経過するまではステップS9を繰り返し、10msが経過するとステップS1へ戻る。
ステップS10では、送信遮断機能が正常であると判定し、ステップS11へ進む。
ステップS11では、サブCPU1bへ送信遮断解除要求信号を出力し、サブCPU1bによりV-CAN通信I/F回路2aへ送信停止解除信号を出力させて、本制御を終了する。
ステップS12では、送信遮断機能が異常であると判定し、ステップS13へ進む。
ステップS13では、サブCPU1bへ送信遮断解除要求信号を出力し、ステップS14へ進む。
ステップS14では、通信部8aによりV-CAN通信I/F回路2aへワーニング要求信号を出力させ、本制御を終了する。
ステップS15では、キャンセルカウンタをインクリメントして、ステップS16へ進む。
ステップS16では、10msが経過したか否かを判定する。10msが経過するまではステップS16を繰り返し、10msが経過するとステップS17へ進む。
ステップS17では、キャンセルカウンタが所定値N2(例えば20)以上であるか否かを判定する。N2以上であればステップS18へ進み、N2未満であればステップS1へ戻る。
ステップS18では、サブCPU1bへ送信遮断解除要求信号を出力し、本制御を終了する。
In step S1, after confirming that the initial processing (startup processing) of the main CPU 1a and the sub CPU 1b has been completed, is the master pressure control unit 1 ready to receive communication signals from other control units 12, 13 and the like? Determine whether or not. Specifically, it is determined whether or not the BusOFF flag is set. If the BusOFF flag is not set, it is determined that BusON, that is, a state where the signal can be received from other control units 12, 13 and the like, and the process proceeds to step S2. If the BusOFF flag is set, it is determined that BusOFF, that is, a state in which reception is not possible from other control units 12, 13, etc., and processing proceeds to step S15. This step S1 is a step of determining a precondition for diagnosing the transmission cutoff function based on the presence / absence of answer signals from other control units 12, 13 and the like as will be described later.
In step S2, a transmission cutoff request signal is output to the sub CPU 1b, and the process proceeds to step S3.
In step S3, the communication unit 8a inputs CAN data (for diagnosis) to the V-CAN communication I / F circuit 2a so that the V-CAN communication I / F circuit 2a communicates with the V-CAN communication bus 9a. Signal transmission is commanded (in other words, transmission is requested to the V-CAN communication I / F circuit 2a), and the process proceeds to step S4. Note that the diagnosis unit 8b may request the V-CAN communication I / F circuit 2a to directly transmit.
In step S4, it is determined whether 10 ms has elapsed. Step S4 is repeated until 10 ms elapses, and when 10 ms elapses, the process proceeds to step S5.
In step S5, it is determined whether or not the V-CAN communication I / F circuit 2a has received a response signal from another control unit 12, 13 or the like with respect to the transmitted (requested) communication signal. If the answer signal is not received (in other words, if the transmission is not completed), the process proceeds to step S6. If the answer signal is received (in other words, if the transmission is completed), the process proceeds to step S12. Note that the time (communication cycle) normally required from the transmission of the communication signal to the reception of the response signal is sufficiently shorter than 10 ms.
In step S6, the communication unit 8a does not input CAN data (for diagnosis) to the V-CAN communication I / F circuit 2a, so that the V-CAN communication I / F circuit 2a communicates with the V-CAN communication bus 9a. A signal transmission stop is commanded (in other words, the V-CAN communication I / F circuit 2a is requested to stop transmission), and the process proceeds to step S7. Note that the diagnosis unit 8b may request the V-CAN communication I / F circuit 2a to directly stop transmission.
In step S7, the normal counter is incremented (counted up), and the process proceeds to step S8.
In step S8, it is determined whether or not the normal counter is greater than or equal to a predetermined value N1 (for example, 10). If it is N1 or more, the process proceeds to step S10, and if it is less than N1, the process proceeds to step S9.
In step S9, it is determined whether 10 ms has elapsed. Step S9 is repeated until 10 ms elapses, and when 10 ms elapses, the process returns to step S1.
In step S10, it is determined that the transmission blocking function is normal, and the process proceeds to step S11.
In step S11, a transmission cutoff cancellation request signal is output to the sub CPU 1b, and a transmission stop cancellation signal is output to the V-CAN communication I / F circuit 2a by the sub CPU 1b, and this control is terminated.
In step S12, it is determined that the transmission blocking function is abnormal, and the process proceeds to step S13.
In step S13, a transmission cutoff cancellation request signal is output to the sub CPU 1b, and the process proceeds to step S14.
In step S14, the communication unit 8a outputs a warning request signal to the V-CAN communication I / F circuit 2a, and this control is terminated.
In step S15, the cancel counter is incremented and the process proceeds to step S16.
In step S16, it is determined whether 10 ms has elapsed. Step S16 is repeated until 10 ms elapses, and when 10 ms elapses, the process proceeds to step S17.
In step S17, it is determined whether or not the cancel counter is greater than or equal to a predetermined value N2 (for example, 20). If it is N2 or more, the process proceeds to step S18, and if it is less than N2, the process returns to step S1.
In step S18, a transmission cutoff release request signal is output to the sub CPU 1b, and this control is terminated.

図4〜図6は、サブCPU1bがV-CAN通信バス9aへの通信信号の送信を正常に遮断できるか否かを診断部8bにより診断するときの作動状態変化の一例を示すタイムチャートである。図4は、メインCPU1a及びサブCPU1bの作動状態を示す全体的なタイムチャートである。図5は、診断処理に伴うBusOFF遷移後にメインCPU1aがBusONに復帰できる場合の作動状態を示すタイムチャートである。図6は、診断処理に伴うBusOFF遷移後にメインCPU1aがBusONに復帰できない場合の作動状態を示すタイムチャートである。図4に示すように、時刻t1でイグニッションオフからオンに切り替ることにより、マスタ圧制御ユニット1が起動し、メインCPU1a及びサブCPU1bの初期処理が開始される。時刻t1後、初期処理中は、メインCPU1aの通信部8aは送信処理を行わない。また、診断部8bは診断処理を行わない。サブCPU1bへの送信遮断要求信号(及び遮断解除要求信号)は不定であり、これらの遮断要求信号等はサブCPU1bへ出力されない。一方、サブCPU1bは、遮断要求信号又は遮断解除要求信号が入力されるまで、V-CAN通信I/F回路2aからV-CAN通信バス9aへの送信を遮断するハードウェア構成となっている。よって、時刻t1後、サブCPU1bからV-CAN通信I/F回路2aへ送信停止信号は出力されないが、V-CAN通信I/F回路2aからV-CAN通信バス9aへの送信は遮断される。   4 to 6 are time charts showing an example of changes in the operating state when the sub CPU 1b diagnoses whether or not the transmission of the communication signal to the V-CAN communication bus 9a can be normally blocked by the diagnosis unit 8b. . FIG. 4 is an overall time chart showing operating states of the main CPU 1a and the sub CPU 1b. FIG. 5 is a time chart showing an operating state when the main CPU 1a can return to BusON after the BusOFF transition associated with the diagnostic processing. FIG. 6 is a time chart showing an operating state when the main CPU 1a cannot return to BusON after the BusOFF transition associated with the diagnosis processing. As shown in FIG. 4, the master pressure control unit 1 is activated by switching from ignition off to on at time t1, and initial processing of the main CPU 1a and the sub CPU 1b is started. After time t1, during the initial processing, the communication unit 8a of the main CPU 1a does not perform transmission processing. The diagnosis unit 8b does not perform diagnosis processing. The transmission cutoff request signal (and cutoff release request signal) to the sub CPU 1b is indefinite, and these cutoff request signals and the like are not output to the sub CPU 1b. On the other hand, the sub CPU 1b has a hardware configuration that blocks transmission from the V-CAN communication I / F circuit 2a to the V-CAN communication bus 9a until a block request signal or block cancel request signal is input. Therefore, after time t1, no transmission stop signal is output from the sub CPU 1b to the V-CAN communication I / F circuit 2a, but transmission from the V-CAN communication I / F circuit 2a to the V-CAN communication bus 9a is blocked. .

時刻t2で、メインCPU1a及びサブCPU1bの初期処理が終了する。時刻t2後、メインCPU1aの通信部8aは送信処理を行う。また、診断部8bが診断処理を開始する。時刻t3で、他の制御ユニット12,13等から受信可能な状態(BusON)であると診断部8bが判断し、具体的に診断を開始する。サブCPU1bへ送信遮断要求信号を出力すると共に、通信部8aによる(診断用の)通信信号の送信を要求する(ステップS1〜S3)。サブCPU1bは送信遮断要求信号に応じてV-CAN通信I/F回路2aへ送信停止信号を出力する。以後、時刻t4まで、診断部8bは、図3の処理手順に従い、サブCPU1bの送信遮断機能が正常であるか否かを診断する。他の制御ユニット12,13等からの回答信号を受信しない(送信が未完了である)状態を複数回(N1回)確認すれば送信遮断機能が正常であると判定し(ステップS1〜S10)、回答信号を受信(送信が完了)すれば送信遮断機能が異常であると判定する(ステップS12)。時刻t4で、診断部8bが診断処理を終了する。通信部8aによる(診断用の)送信を終了させると共に、サブCPU1bへ送信遮断解除要求信号を出力する(ステップS5〜S8、S10〜S14)。以後、診断部8bは診断を行わない(診断が禁止される)。サブCPU1bは、送信遮断解除要求信号に応じてV-CAN通信I/F回路2aへの送信停止信号の出力を終了し、V-CAN通信I/F回路2aからV-CAN通信バス9aへの送信の遮断を解除する。   At time t2, the initial processing of the main CPU 1a and sub CPU 1b ends. After time t2, the communication unit 8a of the main CPU 1a performs transmission processing. Further, the diagnosis unit 8b starts diagnosis processing. At time t3, the diagnosis unit 8b determines that it is in a state (BusON) that can be received from the other control units 12, 13 and the like, and specifically starts diagnosis. A transmission cutoff request signal is output to the sub CPU 1b, and transmission of a communication signal (for diagnosis) by the communication unit 8a is requested (steps S1 to S3). The sub CPU 1b outputs a transmission stop signal to the V-CAN communication I / F circuit 2a in response to the transmission cutoff request signal. Thereafter, until time t4, the diagnosis unit 8b diagnoses whether the transmission blocking function of the sub CPU 1b is normal according to the processing procedure of FIG. If a response signal from another control unit 12, 13 or the like is not received (transmission is not completed) is confirmed a plurality of times (N1 times), it is determined that the transmission cutoff function is normal (steps S1 to S10). If the response signal is received (transmission is completed), it is determined that the transmission cutoff function is abnormal (step S12). At time t4, the diagnosis unit 8b ends the diagnosis process. The transmission (for diagnosis) by the communication unit 8a is terminated, and a transmission cutoff cancellation request signal is output to the sub CPU 1b (steps S5 to S8, S10 to S14). Thereafter, the diagnosis unit 8b does not make a diagnosis (diagnosis is prohibited). The sub CPU 1b terminates the output of the transmission stop signal to the V-CAN communication I / F circuit 2a in response to the transmission cutoff release request signal, and transmits from the V-CAN communication I / F circuit 2a to the V-CAN communication bus 9a. Cancel transmission blocking.

診断処理においては、BusONであり(ステップS1)、かつサブCPU1bにより送信を遮断させた状態で(ステップS2)、通信部8aによる(診断用の)送信を要求し(ステップS3)、この送信要求に対する回答信号を10ms以内に受信しない(送信が未完了となる)ことを検知することで(ステップS4,S5)、送信遮断機能が正常であると判断可能である。しかし、送信要求に対する回答信号が、送信の非遮断時にも10ms以内に確実に返信される保証はないため、本実施例では、上記診断を複数回繰り返し、回答信号を10ms以内に受信しないことを複数回確認すると、送信遮断機能が正常であると最終的に判断する。これにより、誤診断を抑制することができる。なお、送信要求後の回答信号の受信の有無を判断する時間(ステップS4の10ms)や正常カウンタの閾値N1(=10)等は適宜設定可能である。   In the diagnosis processing, BusON is set (step S1) and transmission is interrupted by the sub CPU 1b (step S2), and a transmission (for diagnosis) by the communication unit 8a is requested (step S3). It is possible to determine that the transmission cut-off function is normal by detecting that the response signal is not received within 10 ms (transmission is not completed) (steps S4 and S5). However, since there is no guarantee that the response signal to the transmission request is reliably returned within 10 ms even when transmission is not blocked, in this embodiment, the above diagnosis is repeated a plurality of times and the response signal is not received within 10 ms. After confirming multiple times, it is finally determined that the transmission blocking function is normal. Thereby, misdiagnosis can be suppressed. It should be noted that the time for determining whether or not the response signal is received after the transmission request (10 ms in step S4), the threshold value N1 (= 10) of the normal counter, and the like can be set as appropriate.

ここで、通信部8aは、回答信号を受信しない場合にはBusOFFへ遷移し、回答信号を利用した診断が不可能になる構成であるため、上記繰り返される診断サイクル毎に、BusONに復帰させた上で診断を実行する必要がある。よって、診断部8bは、要求(指令)した送信に対する回答信号を10ms以内に受信しないことを検知すると、送信要求を停止する(ステップS6)。これによりBusONへの復帰を試みる。すなわち、自身が通信信号を送信していない状態で、他の制御ユニット12,13等からの通信信号をV-CAN通信バス9aから受信すると、BusONへ復帰できる。これにより、送信遮断機能以外の要因でBusOFFとなっていない状態(BusON)の時に、診断を実行することが可能となる。   Here, when the communication unit 8a does not receive the answer signal, the communication unit 8a transitions to BusOFF, and the diagnosis using the answer signal becomes impossible. Therefore, the communication unit 8a is returned to BusON for each repeated diagnosis cycle. Need to run diagnostics above. Therefore, when detecting that the response signal for the requested (commanded) transmission is not received within 10 ms, the diagnosis unit 8b stops the transmission request (step S6). This will attempt to return to BusON. That is, when a communication signal from another control unit 12, 13 or the like is received from the V-CAN communication bus 9a in a state where it does not transmit a communication signal, it can return to BusON. This makes it possible to execute diagnosis when the state is not BusOFF (BusON) due to factors other than the transmission cutoff function.

図5は、診断サイクル毎にBusONに復帰でき、送信遮断機能の診断を正常に行うことができる(診断がキャンセルされない)場合の作動状態を示す。時刻t31で、BusOFFフラグが立っておらずBusON(他の制御ユニット12,13等から受信可能な状態)、すなわち診断が可能な状態である。よって、図3のフローチャートでステップS1→S2→S3→S4へ進む流れとなり、診断部8bがサブCPU1bへ送信遮断要求信号を出力すると共に、V-CAN通信バス9aへの(診断用の)通信信号の送信を通信部8aにより開始させ、この状態を時刻t31から10ms経過するまで継続する。時刻t32で、送信を要求した通信信号に対する回答信号が所定時間内に受信されない(送信が未完了となる)状態が発生するため、この状態が検出されて送信未完了(送信エラー)フラグが立てられる。時刻t33で、送信未完了フラグにより送信未完了を検知した通信部8aがBusOFFへ遷移するため、BusOFFフラグが立てられる。   FIG. 5 shows an operating state in which it is possible to return to BusON for each diagnosis cycle and to perform normal diagnosis of the transmission cutoff function (diagnosis is not canceled). At time t31, the BusOFF flag is not raised, and BusON (a state in which reception is possible from other control units 12, 13, etc.), that is, a state in which diagnosis is possible. Therefore, in the flowchart of FIG. 3, the process proceeds from step S1 to S2 to S3 to S4, and the diagnosis unit 8b outputs a transmission cutoff request signal to the sub CPU 1b and performs communication (for diagnosis) to the V-CAN communication bus 9a. Transmission of the signal is started by the communication unit 8a, and this state is continued until 10 ms elapses from time t31. At time t32, a response signal to the communication signal that requested transmission is not received within a predetermined time (transmission is not completed), so this state is detected and a transmission incomplete (transmission error) flag is set. It is done. At time t33, the communication unit 8a that has detected transmission incompletion by the transmission incomplete flag transitions to BusOFF, so that the BusOFF flag is set.

時刻t34で、時刻t31から10ms経過するため、ステップS4→S5へ進む流れとなり、回答信号の受信が行われているか否か、すなわち送信未完了となっているか否かを、診断部8bが確認する。診断部8bが、BusOFFフラグを検知することで、回答信号が受信されていない(送信未完了である)ことを確認すると、ステップS5→S6→S7へ進む流れとなり、送信遮断機能がとりあえず正常であると判断して正常カウンタをインクリメントする。また、V-CAN通信バス9aへの(診断用の)通信信号の送信を通信部8aにより停止させると共に、送信未完了フラグをクリアする。これにより、次回の診断サイクルを実行するためのBusONへの復帰を可能とする。正常カウンタが所定値N1未満である限り、ステップS7→S8→S9へ進む流れとなり、この状態を時刻t34から10ms経過するまで継続する。時刻t35で、V-CAN通信バス9aへの送信を停止した状態で、V-CAN通信I/F回路2aが他の制御ユニット12,13等から通信信号を受信する。これにより、通信部8aがBusONに復帰し、BusOFFフラグをクリアするため、時刻t31以前の状態に戻る。   Since 10 ms elapses from time t31 at time t34, the flow proceeds from step S4 to S5, and the diagnosis unit 8b checks whether the answer signal has been received, that is, whether transmission has not been completed. To do. When the diagnosis unit 8b detects the BusOFF flag and confirms that the answer signal has not been received (transmission is not completed), the flow proceeds from step S5 to S6 to S7, and the transmission blocking function is normal for the time being. It is judged that there is, and the normal counter is incremented. Further, the transmission of the communication signal (for diagnosis) to the V-CAN communication bus 9a is stopped by the communication unit 8a, and the transmission incomplete flag is cleared. Thereby, it is possible to return to BusON to execute the next diagnostic cycle. As long as the normal counter is less than the predetermined value N1, the flow proceeds from step S7 to S8 to S9, and this state is continued until 10 ms elapses from time t34. At time t35, the transmission to the V-CAN communication bus 9a is stopped, and the V-CAN communication I / F circuit 2a receives communication signals from the other control units 12, 13 and the like. As a result, the communication unit 8a returns to BusON and clears the BusOFF flag, so that the state before time t31 is restored.

時刻t36で、時刻t34から10ms経過するため、ステップS9→S1へ進む流れとなり、以後、時刻t31以降と同様の動作を繰り返す。すなわち、通信部8aは、回答信号を受信できない原因が送信遮断機能の診断処理によるものであるか否かに関わらず、回答信号を受信しないときは一律にBusOFFへ遷移する。よって、診断部8bは、診断のサイクル(ステップS1〜S7)毎に送信を停止させることでBusONに復帰させ(ステップS6,S9)、診断を可能とした上で、診断サイクルを繰り返す。これにより、ステップS1〜S9が実行される20ms毎に正常カウンタがインクリメントされる。正常カウンタが所定値N1(10)以上になると(すなわち診断開始時刻t31から略200msが経過すると)、ステップS8→S10へ進む流れとなり、送信遮断機能が正常であると最終的に判断する。なお、診断処理中、他の制御ユニット12,13等からの回答信号が一回でも受信されると、ステップS5→S12〜S14へ進む流れとなり、診断部8bは、送信遮断機能が異常であると判断してこの診断結果をEEPROM9へ書き込む。また、通信部8aによりワーニング要求信号をマスタ圧制御ユニット1から他の(異常警告ランプを制御する)制御ユニットへ送信させる。これにより例えば警告ランプを点灯させることで、遮断機能の異常をドライバ等に報知する。   Since 10 ms elapses from time t34 at time t36, the flow proceeds from step S9 to S1, and thereafter, the same operation as that after time t31 is repeated. That is, the communication unit 8a makes a uniform transition to BusOFF when the answer signal is not received regardless of whether or not the reason why the answer signal cannot be received is due to the diagnosis process of the transmission cutoff function. Therefore, the diagnosis unit 8b stops the transmission for each diagnosis cycle (steps S1 to S7) to return to BusON (steps S6 and S9) and repeats the diagnosis cycle after enabling diagnosis. As a result, the normal counter is incremented every 20 ms when steps S1 to S9 are executed. When the normal counter becomes equal to or greater than the predetermined value N1 (10) (that is, when approximately 200 ms elapses from the diagnosis start time t31), the flow proceeds to step S8 → S10, and it is finally determined that the transmission cutoff function is normal. During the diagnosis process, if a response signal from another control unit 12, 13 or the like is received even once, the flow proceeds to steps S5 to S12 to S14, and the diagnosis unit 8b has an abnormal transmission blocking function. The diagnosis result is written to the EEPROM 9. Further, a warning request signal is transmitted from the master pressure control unit 1 to another control unit (which controls the abnormality warning lamp) by the communication unit 8a. Thus, for example, by turning on a warning lamp, the driver or the like is notified of an abnormality in the cutoff function.

図6に示すように、各診断サイクルでBusONに復帰できない場合、送信遮断機能の診断を正常に行うことができないため、診断をキャンセル(停止)する。時刻t31〜t34は図5と同様である。時刻t34以後、時刻t35以前のいずれかの時点で、例えばV-CAN通信バス9aの断線等が発生すると他の制御ユニット12,13等からV-CAN通信バス9aを介して信号を受信できなくなる。このため、時刻t34以後、通信部8aがBusONに復帰できず、BusOFFフラグを立てたままとなる。時刻t35で、BusONに復帰していないため、ステップS1→S15へ進む流れとなり、診断を一時停止し、キャンセルカウンタをインクリメントする。この状態が継続すると、時刻t35以降も10msが経過する毎にキャンセルカウンタをインクリメントし続ける。キャンセルカウンタが所定値N2以上になると、ステップS17→S18→エンドへ進む流れとなり、送信遮断状態を解除して、診断処理を終了する。なお、このように診断処理を終了する場合でも、送信遮断機能が異常であると判断した場合のような処理(ステップS14の異常の報知等)を行わない。診断処理を終了する前、キャンセルカウンタが所定値N2未満のときにBusONに復帰すれば、診断を再開する(ステップS17→S1→S2)。一方、正常カウンタがある程度の回数(N1未満)インクリメントされた時点であっても、その後、BusONに復帰できなくなった場合は、キャンセルカウンタが所定値N2以上になると診断をキャンセルする。   As shown in FIG. 6, if the BusON cannot be restored in each diagnosis cycle, the diagnosis of the transmission cutoff function cannot be performed normally, and the diagnosis is canceled (stopped). Times t31 to t34 are the same as those in FIG. If a disconnection of the V-CAN communication bus 9a, for example, occurs at any time after time t34 and before time t35, signals cannot be received from the other control units 12, 13, etc. via the V-CAN communication bus 9a. . For this reason, after time t34, the communication unit 8a cannot return to BusON, and the BusOFF flag remains on. Since it has not returned to BusON at time t35, the flow proceeds to steps S1 to S15, the diagnosis is temporarily stopped, and the cancel counter is incremented. If this state continues, the cancel counter is continuously incremented every time 10 ms elapses after time t35. When the cancel counter becomes equal to or greater than the predetermined value N2, the flow proceeds from step S17 to S18 to end, the transmission cut-off state is canceled, and the diagnosis process is terminated. Even when the diagnosis process is terminated in this way, the process (such as notifying of an abnormality in step S14) that is performed when it is determined that the transmission blocking function is abnormal is not performed. If the cancel counter returns to BusON when the cancel counter is less than the predetermined value N2 before ending the diagnosis process, the diagnosis is resumed (steps S17 → S1 → S2). On the other hand, even when the normal counter is incremented a certain number of times (less than N1), if it becomes impossible to return to BusON thereafter, the diagnosis is canceled when the cancel counter reaches a predetermined value N2 or more.

(L-CAN通信バス9bへの送信遮断機能の診断処理)
L-CAN通信バス9bへの送信を遮断する機能の診断処理は、V-CAN通信バス9aへの送信遮断機能の診断処理と同様、マスタ圧制御ユニット1が起動する際に実行される。図7は、サブCPU1b及びリレー回路4cがL-CAN通信バス9bへの通信信号の送信を正常に遮断できるか否かを診断するときの作動状態の一例を示すタイムチャートである。図4と同様、メインCPU1a及びサブCPU1bの作動状態を示す。時刻t11でイグニッションオフからオンに切り替ることにより、マスタ圧制御ユニット1が起動し、メインCPU1a及びサブCPU1bの初期処理が開始される。時刻t11後、初期処理中は、メインCPU1aの通信部8aは送信処理を行わない。また、診断部8bは診断処理を行わない。サブCPU1bへの送信遮断要求信号(及び遮断解除要求信号)は不定であり、これらの遮断要求信号等はサブCPU1bへ出力されない。一方、サブCPU1bは、初期処理中は、L-CAN通信I/F回路2bからL-CAN通信バス9bへの送信を遮断するハードウェア構成となっている。よって、時刻t11後、サブCPU1bからL-CAN通信I/F回路2bへ送信停止信号は出力されないが、L-CAN通信I/F回路2bからL-CAN通信バス9bへの送信は遮断される。時刻t12で、サブCPU1bの初期処理が終了する。サブCPU1bは、初期処理が終了すると、リレー回路4cに対して送信遮断信号を出力してスイッチ40を閉動作させ、これにより送信ライン10dを地絡させることで、L-CAN通信I/F回路2bからL-CAN通信バス9bへの通信信号の送信を遮断するように設けられている。
(Diagnosis of transmission blocking function to L-CAN communication bus 9b)
The diagnosis process of the function for blocking the transmission to the L-CAN communication bus 9b is executed when the master pressure control unit 1 is activated, like the diagnosis process of the function for blocking the transmission to the V-CAN communication bus 9a. FIG. 7 is a time chart showing an example of an operation state when diagnosing whether or not the sub CPU 1b and the relay circuit 4c can normally block transmission of the communication signal to the L-CAN communication bus 9b. As in FIG. 4, the operating states of the main CPU 1a and the sub CPU 1b are shown. By switching from the ignition off to the on at time t11, the master pressure control unit 1 is activated, and initial processing of the main CPU 1a and the sub CPU 1b is started. After time t11, during the initial processing, the communication unit 8a of the main CPU 1a does not perform transmission processing. The diagnosis unit 8b does not perform diagnosis processing. The transmission cutoff request signal (and cutoff release request signal) to the sub CPU 1b is indefinite, and these cutoff request signals and the like are not output to the sub CPU 1b. On the other hand, the sub CPU 1b has a hardware configuration that blocks transmission from the L-CAN communication I / F circuit 2b to the L-CAN communication bus 9b during initial processing. Therefore, after time t11, no transmission stop signal is output from the sub CPU 1b to the L-CAN communication I / F circuit 2b, but transmission from the L-CAN communication I / F circuit 2b to the L-CAN communication bus 9b is blocked. . At time t12, the initial processing of the sub CPU 1b ends. When the initial processing is completed, the sub CPU 1b outputs a transmission cutoff signal to the relay circuit 4c and closes the switch 40, thereby causing the transmission line 10d to be grounded, whereby the L-CAN communication I / F circuit It is provided so as to block transmission of communication signals from 2b to the L-CAN communication bus 9b.

時刻t13で、メインCPU1aの初期処理が終了する。時刻t13後、メインCPU1aの通信部8aは送信処理を行う。また、診断部8bが診断処理を開始する。具体的には、サブCPU1bへ送信遮断要求信号を出力する。これにより、サブCPU1b及びリレー回路4cによる送信遮断を継続させる。また、モニタ回路10fを介して遮断状態を検出することで、サブCPU1b及びリレー回路4cによる送信遮断機能が正常であるか否かを判断する。すなわち、モニタ回路10fを介して検出される状態が遮断状態であれば送信遮断機能が正常であり、遮断が解除された状態であれば遮断機能が異常であると判断する。具体的には、診断部8bは、通信部8aにより送信ライン10d上にHi信号を(一定)出力させた状態で、モニタ回路10fにより検出される状態がLo(一定)であれば送信遮断機能が正常であると判断し、Hiであれば送信遮断機能が異常であると判断する。   At time t13, the initial process of the main CPU 1a ends. After time t13, the communication unit 8a of the main CPU 1a performs transmission processing. Further, the diagnosis unit 8b starts diagnosis processing. Specifically, a transmission cutoff request signal is output to the sub CPU 1b. As a result, transmission interruption by the sub CPU 1b and the relay circuit 4c is continued. Further, by detecting the cutoff state via the monitor circuit 10f, it is determined whether or not the transmission cutoff function by the sub CPU 1b and the relay circuit 4c is normal. That is, if the state detected via the monitor circuit 10f is a cutoff state, the transmission cutoff function is normal, and if the cutoff is released, the cutoff function is determined to be abnormal. Specifically, the diagnosis unit 8b transmits the Hi signal on the transmission line 10d by the communication unit 8a (constant), and if the state detected by the monitor circuit 10f is Lo (constant), the transmission blocking function Is determined to be normal, and if Hi, the transmission blocking function is determined to be abnormal.

時刻t14で、診断部8bが送信遮断機能の診断を終了する。診断部8bは、サブCPU1bへ送信遮断解除要求信号を出力する。これに応じて、サブCPU1bは、リレー回路4cに対して送信遮断解除信号を出力してスイッチ40を開動作させる。これにより送信ライン10dが地絡しなくなることで、メインCPU1aからL-CAN通信I/F回路2bへの送信ライン10dを介した信号伝達が遮断されなくなり、L-CAN通信I/F回路2bからL-CAN通信バス9bへの通信信号の送信遮断が解除される。時刻t14以後、診断部8bは、モニタ回路10fを介して送信遮断解除状態を検出することで、モニタ回路10fによる送信遮断状態の検出機能(遮断モニタ機能)が正常であるか否かを判断する。すなわち、モニタ回路10fを介して検出される状態が送信遮断解除状態であればモニタ回路10fによる遮断モニタ機能が正常であると判断し、送信遮断状態のままであれば遮断モニタ機能が異常であると判断する。具体的には、診断部8bは、通信部8aにより送信ライン10d上にHi信号を(一定)出力させた状態で、モニタ回路10fにより検出される状態がHi(一定)であれば遮断モニタ機能が正常であると判断し、Loであれば遮断モニタ機能が異常であると判断する。時刻t15で、診断部8bが遮断モニタ機能を含めた送信遮断機能の診断を終了する。以後、診断部8bは診断を行わない(診断が禁止される)。   At time t14, the diagnosis unit 8b finishes the diagnosis of the transmission blocking function. The diagnosis unit 8b outputs a transmission cutoff cancellation request signal to the sub CPU 1b. In response to this, the sub CPU 1b outputs a transmission cutoff release signal to the relay circuit 4c to open the switch 40. As a result, since the transmission line 10d is not grounded, signal transmission from the main CPU 1a to the L-CAN communication I / F circuit 2b via the transmission line 10d is not interrupted, and the L-CAN communication I / F circuit 2b Transmission interruption of the communication signal to the L-CAN communication bus 9b is released. After time t14, the diagnosis unit 8b detects whether or not the transmission cutoff state detection function (shutdown monitoring function) by the monitor circuit 10f is normal by detecting the transmission cutoff cancellation state via the monitor circuit 10f. . That is, if the state detected through the monitor circuit 10f is the transmission cutoff release state, it is determined that the cutoff monitor function by the monitor circuit 10f is normal, and if it remains in the transmission cutoff state, the cutoff monitor function is abnormal. Judge. Specifically, the diagnosis unit 8b outputs the Hi signal (constant) on the transmission line 10d by the communication unit 8a, and the monitoring monitor function if the state detected by the monitor circuit 10f is Hi (constant). Is judged to be normal, and if it is Lo, the cutoff monitor function is judged to be abnormal. At time t15, the diagnosis unit 8b finishes the diagnosis of the transmission cutoff function including the cutoff monitor function. Thereafter, the diagnosis unit 8b does not make a diagnosis (diagnosis is prohibited).

[作用]
次に、作用を説明する。信号遮断手段(サブCPU1b等)は、マスタ圧制御ユニット1内の異常が検出されたときにこのマスタ圧制御ユニット1からの通信信号の送信を遮断する機能を有する。よって、他の制御ユニット12,13等による制御にまでマスタ圧制御ユニット1の異常の影響が及ぶことを抑制できる。この場合、例えば警告ランプの点灯により異常を報知したりフェールセーフ制御を実行したりすることができる。また、診断手段(診断部8b)は、信号遮断手段(サブCPU1b等)の送信遮断機能に異常がない(送信遮断機能が正常に動作している)かを診断する機能を有する。よって、送信遮断機能に異常が発生した場合にも速やかな対応をとる(速やかに異常を報知したりフェールセーフ制御を実行したりする)ことができる。
[Action]
Next, the operation will be described. The signal blocking means (sub CPU 1b and the like) has a function of blocking transmission of communication signals from the master pressure control unit 1 when an abnormality in the master pressure control unit 1 is detected. Therefore, it is possible to suppress the influence of the abnormality of the master pressure control unit 1 to the control by the other control units 12, 13 and the like. In this case, for example, an abnormality can be notified or fail-safe control can be performed by lighting a warning lamp. Further, the diagnostic means (diagnostic unit 8b) has a function of diagnosing whether there is no abnormality in the transmission cutoff function of the signal cutoff means (sub CPU 1b or the like) (the transmission cutoff function is operating normally). Therefore, even when an abnormality occurs in the transmission cut-off function, it is possible to take a prompt action (promptly notify the abnormality or execute fail-safe control).

従来の装置では、制御ユニットが自ら送信した通信信号と通信バス上の信号との比較結果(例えばSOF領域でのビットエラーの発生の有無に基づき)に基づいて送信遮断機能の診断を行うようになっている。よって、上記比較を行うことができる集積回路(例えばビットエラーを検出することができるIC)を制御ユニットに実装する必要があるため、コストが増大するおそれがあった。一方、このような集積回路(IC)を実装しない汎用の制御ユニット(マイコン)により診断を行う場合には、ソフトウェア処理をする必要があるため、診断のためのプログラムが煩雑になるおそれがある。また、診断に時間が掛かって遅延が生じる可能性もある。   In the conventional apparatus, the transmission cutoff function is diagnosed based on the comparison result between the communication signal transmitted by the control unit itself and the signal on the communication bus (for example, based on whether or not a bit error occurs in the SOF area). It has become. Therefore, since it is necessary to mount an integrated circuit (for example, an IC capable of detecting a bit error) capable of performing the above-described comparison on the control unit, there is a possibility that the cost may increase. On the other hand, when a diagnosis is performed by a general-purpose control unit (microcomputer) that does not include such an integrated circuit (IC), it is necessary to perform software processing, which may make a diagnosis program complicated. Moreover, there is a possibility that diagnosis takes time and delay occurs.

これに対し、本実施例では、まず、V-CAN通信バス9aへの通信信号の送信のサブCPU1bによる遮断機能の診断構成について見ると、診断部8bは、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態(通信部8aがBusON)であるときに、マスタ圧制御ユニット1(通信部8a)が送信した通信信号に対して他の制御ユニット12,13等から回答信号を受信できないことにより、送信遮断状態と判断する。言い換えると、マスタ圧制御ユニット1が自ら送信した通信信号とV-CAN通信バス9a上の信号とを比較する(ビットエラーを検出する)ことなく、送信した通信信号に対する他の制御ユニット12,13等からの回答信号を受信できるか否かにより、送信遮断機能の診断を行う。よって、上記比較を行うことができる集積回路(IC)をマスタ圧制御ユニット1に実装する必要がないため、コストを低減しつつ送信遮断機能の診断を行うことができる。   On the other hand, in the present embodiment, first, regarding the diagnostic configuration of the cutoff function by the sub CPU 1b for transmission of the communication signal to the V-CAN communication bus 9a, the diagnostic unit 8b has the master pressure control unit 1 perform other control. When the communication signal can be received from the units 12, 13 and the like (the communication unit 8a is BusON), the other control units 12, 13 respond to the communication signal transmitted by the master pressure control unit 1 (communication unit 8a). It is determined that the transmission is cut off because the answer signal cannot be received from the other party. In other words, without comparing the communication signal transmitted by the master pressure control unit 1 with the signal on the V-CAN communication bus 9a (detecting a bit error), other control units 12 and 13 for the transmitted communication signal. The transmission blocking function is diagnosed depending on whether or not a response signal from the above can be received. Therefore, since it is not necessary to mount an integrated circuit (IC) capable of performing the comparison on the master pressure control unit 1, it is possible to diagnose the transmission cutoff function while reducing the cost.

診断部8bは、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態でない(BusOFFである)ときには、送信遮断機能の診断を停止する。このように、BusOFFとなっているときは診断を実行せず、BusONのときに診断を実行することで、回答信号の受信の有無により送信遮断機能を診断することが可能となる。すなわち、送信遮断機能以外の要因でBusOFFとなっているときは診断を実行しない。また、診断用に送信を遮断させることによりBusOFFとなったときは、BusONに復帰させた上で診断を再度実行すると共に、BusONに復帰できないときは診断を停止する。これにより、誤診断を回避することができる。さらに、BusONのときに診断を繰り返し実行し、ある程度の回数(N1)以上正常と判断したときに最終的に正常と診断することで、誤診断をより確実に回避することができる。また、ある程度の回数(N2)以上BusONに復帰できないときは最終的に診断をキャンセルすることで、誤診断をより確実に回避することができる。   The diagnosis unit 8b stops the diagnosis of the transmission cutoff function when the master pressure control unit 1 is not in a state where it can receive communication signals from the other control units 12, 13, etc. (BusOFF). As described above, the diagnosis is not performed when BusOFF is set, and the diagnosis is performed when BusON is set, so that the transmission cutoff function can be diagnosed based on whether or not the answer signal is received. That is, the diagnosis is not executed when BusOFF is caused by a factor other than the transmission cutoff function. Also, when the transmission is cut off for diagnosis, when BusOFF is set, the diagnosis is executed again after returning to BusON, and when the diagnosis cannot be returned to BusON, the diagnosis is stopped. Thereby, misdiagnosis can be avoided. Further, the diagnosis is repeatedly executed at the time of BusON, and when it is determined to be normal for a certain number of times (N1) or more, it is finally diagnosed as normal, so that misdiagnosis can be avoided more reliably. Further, when it is not possible to return to BusON for a certain number of times (N2) or more, it is possible to more reliably avoid erroneous diagnosis by finally canceling the diagnosis.

ここで、他の制御ユニットから通信信号を受信可能な状態であるか否かを検出する構成や、一の制御ユニットが送信した通信信号に対して他の制御ユニットから回答に相当する信号を該一の制御ユニットに送り返す構成は、通信システムにおいて一般的なものである。本実施例のV-CAN通信バス9aに係る送信遮断機能の診断処理では、これら一般的な構成を利用して診断を行うことから、コストを効果的に低減することができる。例えば、L-CAN通信バス9bに係る送信遮断機能の診断処理のように、送信ライン10dを地絡させて送信遮断状態とし、地絡した送信ライン10dの通信信号をモニタすることにより送信遮断機能の診断を行う場合には、送信ライン10dを地絡させるための構成(接地ライン10eやリレー回路4c等)やモニタするための構成(モニタ回路10f)が必要となる。これに対し、他の制御ユニット12,13等からの回答信号の受信の有無により送信遮断機能の診断を行う場合には、これらの追加的な構成が不要であるため、構成をより簡素化してコストをより低減することができる。   Here, a configuration for detecting whether or not a communication signal can be received from another control unit, and a signal corresponding to a response from another control unit to the communication signal transmitted by one control unit The configuration of sending back to one control unit is common in communication systems. In the diagnosis processing of the transmission cutoff function related to the V-CAN communication bus 9a of this embodiment, the diagnosis is performed using these general configurations, so that the cost can be effectively reduced. For example, as in the diagnostic processing of the transmission cutoff function related to the L-CAN communication bus 9b, the transmission line 10d is grounded to be in the transmission cutoff state, and the communication signal of the grounded transmission line 10d is monitored to monitor the transmission cutoff function. When the above diagnosis is performed, a configuration for grounding the transmission line 10d (such as the ground line 10e and the relay circuit 4c) and a configuration for monitoring (the monitor circuit 10f) are required. On the other hand, when diagnosing the transmission blocking function based on the presence / absence of reception of response signals from other control units 12, 13, etc., these additional configurations are not necessary, so the configuration is further simplified. Cost can be further reduced.

また、診断部8bは、他の制御ユニット12,13等から通信信号を受信可能な状態であるときに、回答信号を受信できないことにより送信遮断機能が正常であると判断するものであることから、送信遮断機能の診断を行うために複雑なソフトウェア処理を行う必要がない。よって、制御構成を簡素化できると共に、診断に不必要に時間が掛かって遅延が生じる事態を回避することができる。   In addition, the diagnosis unit 8b determines that the transmission blocking function is normal because the answer signal cannot be received when the communication signal can be received from the other control units 12, 13 and the like. There is no need to perform complicated software processing to diagnose the transmission blocking function. Therefore, it is possible to simplify the control configuration and to avoid a situation in which the diagnosis takes time unnecessarily and causes a delay.

次に、L-CAN通信バス9bへの通信信号の送信のサブCPU1bとリレー回路4cによる遮断機能の診断構成について見ると、診断部8bは、モニタしている送信ライン10dの通信信号に応じて送信遮断状態を診断する。言い換えると、マスタ圧制御ユニット1が送信した通信信号とL-CAN通信バス9b上の信号とを比較することなく、送信遮断機能の診断を行う。よって、上記比較を行うことができる集積回路(IC)をマスタ圧制御ユニット1に実装する必要がないため、コストを低減しつつ送信遮断機能の診断を行うことができる。また、送信ライン10dの通信信号をモニタすることにより送信遮断機能が正常であるか否かを判断するものであることから、送信遮断機能の診断を行うために複雑なソフトウェア処理を行う必要がない。よって、制御構成を簡素化できると共に、診断に不必要に時間が掛かって遅延が生じる事態を回避することができる。また、L-CAN通信I/F回路2bへの送信ライン10d上の信号をメインCPU1a(診断部8b)がモニタすることにより送信遮断機能を診断するものであることから、例えば接地ライン10e上の信号をモニタする場合に比べ、センサを別途設ける必要がないため、構成を簡素化し、コストを低減することができる。   Next, looking at the diagnosis configuration of the cutoff function by the sub CPU 1b and the relay circuit 4c for transmission of the communication signal to the L-CAN communication bus 9b, the diagnosis unit 8b corresponds to the communication signal of the transmission line 10d being monitored. Diagnose the transmission blocking status. In other words, the transmission cutoff function is diagnosed without comparing the communication signal transmitted by the master pressure control unit 1 with the signal on the L-CAN communication bus 9b. Therefore, since it is not necessary to mount an integrated circuit (IC) capable of performing the comparison on the master pressure control unit 1, it is possible to diagnose the transmission cutoff function while reducing the cost. In addition, since it is determined whether or not the transmission blocking function is normal by monitoring the communication signal of the transmission line 10d, it is not necessary to perform complicated software processing to diagnose the transmission blocking function. . Therefore, it is possible to simplify the control configuration and to avoid a situation in which the diagnosis takes time unnecessarily and causes a delay. Since the main CPU 1a (diagnostic unit 8b) monitors the signal on the transmission line 10d to the L-CAN communication I / F circuit 2b to diagnose the transmission cutoff function, for example, on the ground line 10e. Compared with the case of monitoring signals, it is not necessary to provide a separate sensor, so that the configuration can be simplified and the cost can be reduced.

また、V-CAN通信バス9aに係る送信遮断機能の診断処理のように、他の制御ユニット12,13等から回答信号を受信できるか否かにより送信遮断機能の診断を行う場合には、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態(BusON)であるときに診断を行う必要がある。これに対し、送信ライン10dの通信信号をモニタすることにより送信遮断機能の診断を行う場合には、他の制御ユニット12,13等から受信可能な状態であるか否かに左右されずに診断を行うことができる。すなわち、診断の前提条件として、他の制御ユニット12,13等から通信信号を受信可能な状態であるか否か(通信バス9上に返信可能な他のノードがいるか等の条件)を判断したり、受信不可能な場合には診断を停止したりする必要がない。よって、制御構成をより簡素化できると共に、診断をより速やかに完了することができる。   Further, when the transmission blocking function is diagnosed based on whether or not a response signal can be received from another control unit 12, 13 or the like, as in the transmission blocking function diagnosis processing related to the V-CAN communication bus 9a, the master It is necessary to perform diagnosis when the pressure control unit 1 is in a state (BusON) in which communication signals can be received from other control units 12, 13 and the like. On the other hand, when diagnosing the transmission cut-off function by monitoring the communication signal of the transmission line 10d, the diagnosis is performed regardless of whether or not reception is possible from other control units 12, 13 and the like. It can be performed. That is, as a precondition for diagnosis, it is determined whether or not communication signals can be received from other control units 12, 13 or the like (conditions such as whether there are other nodes that can return on the communication bus 9). There is no need to stop diagnosis when reception is impossible. Therefore, the control configuration can be simplified and the diagnosis can be completed more quickly.

[効果]
以下、本実施例の自動車用制御装置が奏する効果を列挙する。
(1)V-CAN通信バス9aによって双方向に通信可能に接続されている複数の制御ユニット1,12,13等からなる自動車用制御装置であって、複数の制御ユニット1,12,13等のうちマスタ圧制御ユニット1は、要求に応じて通信信号をV-CAN通信バス9aへ送信し、又はこの送信を要求(送信停止信号)に応じて停止することが可能なV-CAN通信I/F回路2a(通信手段)と、マスタ圧制御ユニット1内の異常に応じてV-CAN通信I/F回路2aに対し送信の停止を要求(送信停止信号を出力)し、V-CAN通信I/F回路2aによる通信信号の送信を遮断することが可能なサブCPU1b(信号遮断手段)と、サブCPU1bによる通信信号の送信の遮断機能を診断する診断部8b(診断手段)と、を備え、診断部8bは、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態(BusON)で、V-CAN通信I/F回路2aに対し通信信号の送信を要求する(通信部8aからV-CAN通信I/F回路2aへ診断用のCANデータを入力させる)と共にサブCPU1bに送信の停止を要求させ(サブCPU1bに送信遮断要求信号を出力し)、送信を要求した(診断用の)通信信号に対する他の制御ユニット12,13等からの回答に相当する信号を受信できないことを検出したとき、送信遮断機能が正常であると判断する。
よって、他の制御ユニット12,13等からの回答信号の受信の有無により送信遮断機能を診断することで、コストを低減しつつ送信遮断機能の診断を行うことができる。
[effect]
Hereafter, the effect which the control apparatus for motor vehicles of a present Example show | plays is enumerated.
(1) A vehicle control device including a plurality of control units 1, 12, 13, and the like that are connected so as to be capable of bidirectional communication via a V-CAN communication bus 9 a, and includes a plurality of control units 1, 12, 13, etc. Among them, the master pressure control unit 1 transmits a communication signal to the V-CAN communication bus 9a in response to a request, or can stop this transmission in response to a request (transmission stop signal). / F circuit 2a (communication means) and V-CAN communication I / F circuit 2a is requested to stop transmission (output a transmission stop signal) in response to an abnormality in master pressure control unit 1, and V-CAN communication A sub CPU 1b (signal blocking means) capable of blocking communication signal transmission by the I / F circuit 2a, and a diagnosis unit 8b (diagnostic means) for diagnosing the blocking function of communication signal transmission by the sub CPU 1b are provided. In the diagnosis unit 8b, the master pressure control unit 1 is connected to another control unit. In a state in which communication signals can be received from the buses 12, 13, etc. (BusON), the V-CAN communication I / F circuit 2a is requested to transmit a communication signal (from the communication unit 8a to the V-CAN communication I / F circuit 2a). To the sub CPU 1b is requested to stop transmission (outputs a transmission cutoff request signal to the sub CPU 1b), and another control unit 12 for the communication signal that requests transmission (for diagnosis) , 13 and so on, it is determined that the transmission blocking function is normal.
Therefore, the transmission blocking function can be diagnosed while reducing the cost by diagnosing the transmission blocking function based on the presence / absence of reception of response signals from other control units 12, 13 and the like.

(2)診断部8bは、マスタ圧制御ユニット1が他の制御ユニット12,13等から通信信号を受信可能な状態でない(BusOFFである)ときに、送信遮断機能の診断を停止する。
よって、回答信号の受信の有無により送信遮断機能を診断することができ、誤診断を回避することができる。
(2) The diagnosis unit 8b stops diagnosis of the transmission cutoff function when the master pressure control unit 1 is not in a state where it can receive a communication signal from the other control units 12, 13, etc. (BusOFF).
Therefore, the transmission cutoff function can be diagnosed based on whether or not the answer signal is received, and misdiagnosis can be avoided.

(3)L-CAN通信バス9bによって双方向に通信可能に接続されている複数の制御ユニット1,12からなる自動車用制御装置であって、複数の制御ユニット1,12のうちマスタ圧制御ユニット1は、マスタ圧制御ユニット1内で異常を検出したときに通信信号の送信を遮断することが可能なリレー回路4c及びサブCPU1b(信号遮断手段)と、リレー回路4c及びサブCPU1bによる通信信号の送信の遮断機能を診断する診断部8b(診断手段)と、を備え、リレー回路4c及びサブCPU1bは、通信信号の送信ライン10dを地絡させることで送信遮断を実行するものであって、診断部8bは、地絡した状態でも送信ライン10dの通信信号をモニタできるようになっており、リレー回路4c及びサブCPU1bにより送信遮断が実行されたときに、モニタしている通信信号に応じて送信遮断機能を診断する。
よって、送信ライン10dの通信信号をモニタすることにより送信遮断機能を診断することで、コストを低減しつつ送信遮断機能の診断を行うことができる。
(3) A control apparatus for an automobile comprising a plurality of control units 1 and 12 connected so as to be able to communicate bidirectionally via an L-CAN communication bus 9 b, wherein the master pressure control unit among the plurality of control units 1 and 12 1 is a relay circuit 4c and a sub CPU 1b (signal blocking means) that can cut off transmission of a communication signal when an abnormality is detected in the master pressure control unit 1, and a communication signal of the relay circuit 4c and the sub CPU 1b. A diagnostic unit 8b (diagnostic means) for diagnosing a transmission cutoff function, and the relay circuit 4c and the sub CPU 1b execute transmission cutoff by grounding the transmission line 10d of the communication signal. The unit 8b can monitor the communication signal of the transmission line 10d even in the case of a ground fault. When the transmission cut-off is executed by the relay circuit 4c and the sub CPU 1b, the monitor 8b Diagnosing transmission blocking function according to to have communication signal.
Therefore, by diagnosing the transmission blocking function by monitoring the communication signal of the transmission line 10d, it is possible to diagnose the transmission blocking function while reducing costs.

[他の実施例]
以上、本発明を実現するための形態を、実施例に基づいて説明してきたが、本発明の具体的な構成は実施例に限定されるものではなく、発明の要旨を逸脱しない範囲の設計変更等があっても、本発明に含まれる。例えば、実施例では通信バス9への送信の遮断手段および送信遮断機能の診断手段をマスタ圧制御ユニット1に設けたが、他の制御ユニット12,13等に設けてもよい。
実施例では通信バス9への送信の遮断手段および送信遮断機能の診断手段の構成を、V-CAN通信バス9aとL-CAN通信バス9bとで異ならせたが、両通信バス9で同じ構成に揃えてもよい。また、実施例ではV-CAN通信バス9aとL-CAN通信バス9bの両方について送信の遮断手段および送信遮断機能の診断手段を設けたが、どちらか一方の通信バス9についてのみこれらの手段を設けることとしてもよい。
また、実施例では、他の制御ユニット12,13等からの回答信号の有無により送信遮断機能を診断する(ステップS5)ための前提条件として、通信ステータスがBusONであることを条件として用いたが(ステップS1)、これに限らず、他の条件を用いてもよい。
例えば、(1)V-CAN通信バス9a上に返信可能な他のノード(起動した制御ユニット12,13等)がいることを確認できていること、(2)マスタ圧制御ユニット1のエラー状態が、送受信動作を禁止されたバスオフ状態でないこと、(3)調停負けして送信不可能な状態でないこと、等を条件として用いてもよい。
上記(1)として例えば、(ア)他の制御ユニット12,13等も起動している車両条件を確認する(イグニッションスイッチ信号、ドアスイッチ信号等がオンの場合は、他の制御ユニット12,13等も起動している)、(イ)V-CAN通信I/F回路2a(CANドライバ)が通信信号を受信したことを確認する、(ウ)V-CAN通信バス9aの負荷状態を確認する、(エ)他の制御ユニット12,13等が起動した際に起動通知信号を送信してもらう、等により、他の制御ユニット12,13等が起動していることを確認できる。
[Other embodiments]
As mentioned above, although the form for implement | achieving this invention has been demonstrated based on the Example, the concrete structure of this invention is not limited to an Example, The design change of the range which does not deviate from the summary of invention Are included in the present invention. For example, in the embodiment, the cutoff means for transmission to the communication bus 9 and the diagnostic means for the transmission cutoff function are provided in the master pressure control unit 1, but may be provided in other control units 12, 13 and the like.
In the embodiment, the configuration of the blocking means for transmission to the communication bus 9 and the diagnostic means for the transmission blocking function are different between the V-CAN communication bus 9a and the L-CAN communication bus 9b. May be aligned. In the embodiment, the transmission blocking means and the transmission blocking function diagnosis means are provided for both the V-CAN communication bus 9a and the L-CAN communication bus 9b. However, these means are provided for only one of the communication buses 9. It is good also as providing.
In the embodiment, the communication status is BusON as a precondition for diagnosing the transmission cutoff function based on the presence / absence of response signals from other control units 12 and 13 (step S5). (Step S1), not limited to this, other conditions may be used.
For example, (1) it has been confirmed that there are other nodes (such as activated control units 12, 13) that can be returned on the V-CAN communication bus 9a, and (2) the error state of the master pressure control unit 1 However, it may be used as a condition that it is not in a bus-off state in which transmission / reception operation is prohibited, or (3) is not in a state where transmission cannot be performed due to loss of arbitration.
As (1) above, for example, (a) Check the vehicle conditions in which the other control units 12, 13 and the like are activated (if the ignition switch signal, door switch signal, etc. are on, the other control units 12, 13 (B) Confirm that the V-CAN communication I / F circuit 2a (CAN driver) has received the communication signal. (C) Check the load state of the V-CAN communication bus 9a. It is possible to confirm that the other control units 12, 13, etc. are activated by, for example, having an activation notification signal transmitted when the other control units 12, 13, etc. are activated.

1 マスタ圧制御ユニット
1b サブCPU(信号遮断手段)
2a V−CAN通信I/F回路(通信手段)
4c リレー回路(信号遮断手段)
8b 診断部(診断手段)
9a V−CAN通信バス
9b L−CAN通信バス
10d 送信ライン
12 ホイル圧制御ユニット
13 回生制御ユニット
1 Master pressure control unit 1b Sub CPU (signal blocking means)
2a V-CAN communication I / F circuit (communication means)
4c Relay circuit (signal blocking means)
8b Diagnostic unit (diagnostic means)
9a V-CAN communication bus 9b L-CAN communication bus 10d Transmission line 12 Wheel pressure control unit 13 Regenerative control unit

Claims (3)

通信バスによって双方向に通信可能に接続されている複数の制御ユニットからなる自動車用制御装置であって、
前記複数の制御ユニットのうち一の制御ユニットは、
要求に応じて通信信号を通信バスへ送信し、又は該送信を要求に応じて停止することが可能な通信手段と、
前記一の制御ユニット内の異常に応じて前記通信手段に対し送信の停止を要求し、前記通信手段による通信信号の送信を遮断することが可能な信号遮断手段と、
該信号遮断手段による通信信号の送信の遮断機能を診断する診断手段と、を備え、
該診断手段は、前記一の制御ユニットが他の制御ユニットから通信信号を受信可能な状態で、前記通信手段に対し通信信号の送信を要求すると共に前記信号遮断手段に前記送信の停止を要求させ、前記送信を要求した通信信号に対する他の制御ユニットからの回答に相当する信号を受信できないことを検出したとき、前記遮断機能が正常であると判断する
ものである自動車用制御装置。
A control device for an automobile comprising a plurality of control units connected to be able to communicate bidirectionally via a communication bus,
One control unit of the plurality of control units is:
A communication means capable of transmitting a communication signal to a communication bus in response to a request, or stopping the transmission in response to the request;
Signal blocking means capable of requesting the communication means to stop transmission in response to an abnormality in the one control unit, and blocking transmission of a communication signal by the communication means;
Diagnostic means for diagnosing the function of blocking transmission of communication signals by the signal blocking means,
The diagnostic unit requests the communication unit to transmit a communication signal and allows the signal blocking unit to stop the transmission while the one control unit can receive a communication signal from another control unit. An automotive control device that determines that the blocking function is normal when it is detected that a signal corresponding to an answer from another control unit with respect to the communication signal requested to be transmitted cannot be received.
前記診断手段は、前記一の制御ユニットが他の制御ユニットから通信信号を受信可能な状態でないときに、前記遮断機能の診断を停止することを特徴とする請求項1に記載の自動車用制御装置。   2. The automobile control device according to claim 1, wherein the diagnosis unit stops diagnosing the shut-off function when the one control unit is not in a state capable of receiving a communication signal from another control unit. . 通信バスによって双方向に通信可能に接続されている複数の制御ユニットからなる自動車用制御装置であって、
前記複数の制御ユニットのうち一の制御ユニットは、
該制御ユニット内で異常を検出したときに通信信号の送信を遮断することが可能な信号遮断手段と、
該信号遮断手段による通信信号の送信の遮断機能を診断する診断手段と、を備え、
前記信号遮断手段は、通信信号の送信ラインを地絡させることで前記遮断を実行するものであって、
前記診断手段は、前記地絡した状態でも前記送信ラインの通信信号をモニタできるようになっており、前記信号遮断手段により前記遮断が実行されたときに、前記モニタしている通信信号に応じて前記遮断機能を診断する
ものである自動車用制御装置。
A control device for an automobile comprising a plurality of control units connected to be able to communicate bidirectionally via a communication bus,
One control unit of the plurality of control units is:
Signal blocking means capable of blocking transmission of a communication signal when an abnormality is detected in the control unit;
Diagnostic means for diagnosing the function of blocking transmission of communication signals by the signal blocking means,
The signal blocking means performs the blocking by grounding a transmission line of a communication signal,
The diagnosis means can monitor the communication signal of the transmission line even in the ground fault state, and when the blocking is executed by the signal blocking means, according to the monitored communication signal An automotive control device for diagnosing the blocking function.
JP2012241053A 2012-10-31 2012-10-31 Automotive control device Active JP6068931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012241053A JP6068931B2 (en) 2012-10-31 2012-10-31 Automotive control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012241053A JP6068931B2 (en) 2012-10-31 2012-10-31 Automotive control device

Publications (2)

Publication Number Publication Date
JP2014091340A true JP2014091340A (en) 2014-05-19
JP6068931B2 JP6068931B2 (en) 2017-01-25

Family

ID=50935758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012241053A Active JP6068931B2 (en) 2012-10-31 2012-10-31 Automotive control device

Country Status (1)

Country Link
JP (1) JP6068931B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015194407A1 (en) * 2014-06-18 2015-12-23 日立オートモティブシステムズ株式会社 Vehicle-mounted control device or vehicle-mounted control system
JP2016126716A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105549A (en) * 2007-10-22 2009-05-14 Denso Corp Communication apparatus and communication system
JP2011189918A (en) * 2010-03-17 2011-09-29 Hitachi Automotive Systems Ltd Vehicular control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009105549A (en) * 2007-10-22 2009-05-14 Denso Corp Communication apparatus and communication system
JP2011189918A (en) * 2010-03-17 2011-09-29 Hitachi Automotive Systems Ltd Vehicular control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015194407A1 (en) * 2014-06-18 2015-12-23 日立オートモティブシステムズ株式会社 Vehicle-mounted control device or vehicle-mounted control system
US10221944B2 (en) 2014-06-18 2019-03-05 Hitachi Automotive Systems, Ltd. Vehicle-mounted control device or vehicle-mounted control system
JP2016126716A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device

Also Published As

Publication number Publication date
JP6068931B2 (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN110494333B (en) Motor vehicle control unit for an electric parking brake
JP5254334B2 (en) Brake device for vehicle and method for operating vehicle brake device
US8775046B2 (en) Unintended acceleration detection and correction
KR102197473B1 (en) Control device for at least one electrical parking brake of a braking system for a vehicle and method for operating a braking system for a vehicle having a brake booster and an electrical parking brake
JP6873282B2 (en) Auxiliary deceleration using electronic parking brake in fully integrated braking system
JP2006335353A (en) Brake system for motor vehicle
JP6098138B2 (en) Electric brake control device
US9594356B2 (en) Circuit arrangement having a fail-silent function
US10800385B2 (en) Method for operating a brake system with an automated parking brake
JP2013532613A (en) How to fix an electrically operated parking brake
CN107792042B (en) Brake-by-wire system
JP6068931B2 (en) Automotive control device
CN111565984B (en) Signal processing device for vehicle with ABS unit, vehicle, signal processing method for vehicle, and control unit
JP2008149807A (en) Vehicle load control device
JP2008137472A (en) Vehicle load control device
JP2017171215A (en) Brake system
CN111527012A (en) Device and method for calculating brake pressure, vehicle, computer program and control unit
KR20220128565A (en) Integrated electronic brake apparatus for control method thereof
JP2008293057A (en) Load drive circuit
JP2019030055A (en) Vehicular power supply device
JP2019041171A (en) Vehicle control device
KR102264093B1 (en) Apparatus and method controlling electronic parking brake of vehicle
JP2005343248A (en) Parking assist brake controlling device
JP6498530B2 (en) In-vehicle control device
WO2014158299A2 (en) System and method for maintaining operational states of vehicle remote actuators during failure conditions

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160719

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: 20161220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161226

R150 Certificate of patent or registration of utility model

Ref document number: 6068931

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250