JP2021133829A - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP2021133829A
JP2021133829A JP2020031934A JP2020031934A JP2021133829A JP 2021133829 A JP2021133829 A JP 2021133829A JP 2020031934 A JP2020031934 A JP 2020031934A JP 2020031934 A JP2020031934 A JP 2020031934A JP 2021133829 A JP2021133829 A JP 2021133829A
Authority
JP
Japan
Prior art keywords
unit
control device
vehicle control
command
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020031934A
Other languages
Japanese (ja)
Inventor
里志 古橋
Satoshi Furuhashi
里志 古橋
俊二 塚林
Shunji Tsukabayashi
俊二 塚林
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2020031934A priority Critical patent/JP2021133829A/en
Priority to CN202110172639.8A priority patent/CN113306509A/en
Priority to US17/179,362 priority patent/US11753025B2/en
Publication of JP2021133829A publication Critical patent/JP2021133829A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/18Propelling the vehicle
    • B60W30/18009Propelling the vehicle related to particular drive situations
    • B60W30/18018Start-stop drive, e.g. in a traffic jam
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/18Propelling the vehicle
    • B60W30/182Selecting between different operative modes, e.g. comfort and performance modes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/023Avoiding failures by using redundant parts
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0002Automatic control, details of type of controller or control system architecture
    • B60W2050/0004In digital systems, e.g. discrete-time systems involving sampling
    • B60W2050/0006Digital architecture hierarchy
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • B60W2050/021Means for detecting failure or malfunction

Abstract

To curb generation of erroneous failure detection and communication abnormality in a vehicle control device mounted with a plurality of ECUs.SOLUTION: A vehicle control device comprises a plurality of control units which can communicate with each other. The plurality of control units have a superior unit 21 and subordinate units managed by the superior unit 21. Any one of the subordinate units has a start signal input section into which a signal to start predetermined operation of the vehicle control device is input. The superior unit 21 has: a unit identification section 212 which identifies the subordinate unit to be used for executing the predetermined operation among the subordinate units when the signal is input through the start signal input section; a start-up request instruction section 213 which outputs a start-up request instruction to the identified subordinate unit; and an operation start-up instruction section 215 which outputs an operation start-up instruction for the predetermined operation to the subordinate unit identified by the unit identification section 212 after the lapse of a predetermined period since the start-up request instruction is output.SELECTED DRAWING: Figure 2B

Description

本発明は、車両を制御する車両制御装置に関する。 The present invention relates to a vehicle control device that controls a vehicle.

この種の装置として、従来、複数のECU(電子制御ユニット)を備え、各ECUが、他のECUと周期的に通信を行い、通信により得られた情報から他のECUの故障の有無を互いに検知するようにした装置が知られている(例えば特許文献1参照)。 Conventionally, as this type of device, a plurality of ECUs (electronic control units) are provided, and each ECU periodically communicates with another ECU, and the presence or absence of failure of the other ECU is determined from the information obtained by the communication. A device for detecting is known (see, for example, Patent Document 1).

特開2002−314632号公報JP-A-2002-314632

複数のECUを備える装置において、単一のECUが起動要求を受け付けた場合、その他のEUCは、その単一のECUが起動した後に、その単一のECUによって起動される。そのため、複数のECUを備える装置においては、各ECUが異なるタイミングで起動される場合がある。したがって、上記特許文献1に記載の装置のように故障検知を常に行うような構成では、各ECUが異なるタイミングで起動したときに、起動していないECUとの間で通信異常が発生したり、故障の誤検知が発生したりするおそれがある。 In a device including a plurality of ECUs, when a single ECU receives a start request, the other ECUs are started by the single ECU after the single ECU is started. Therefore, in a device including a plurality of ECUs, each ECU may be started at a different timing. Therefore, in a configuration such as the device described in Patent Document 1 that constantly detects a failure, when each ECU is started at a different timing, a communication abnormality may occur with an ECU that has not been started, or a communication abnormality may occur. False detection of failure may occur.

本発明の一態様は、互いに通信可能な複数の制御ユニットを備える車両制御装置であって、複数の制御ユニットは、上位ユニットと該上位ユニットによって管理される複数の下位ユニットとを有し、複数の下位ユニットのいずれかは、車両制御装置の所定動作を開始させるための信号を入力する信号入力部を有し、上位ユニットは、信号入力部により信号が入力されると、複数の下位ユニットの中から所定動作の実行に用いられる下位ユニットを特定するユニット特定部と、ユニット特定部により特定された下位ユニットに対して起動要求指令を出力する第1指令部と、第1指令部により起動要求指令が出力されてから所定時間が経過した後に、ユニット特定部により特定された下位ユニットに対して、所定動作の動作開始指令を出力する第2指令部と、を有する。 One aspect of the present invention is a vehicle control device including a plurality of control units capable of communicating with each other. One of the lower units of the above has a signal input unit for inputting a signal for starting a predetermined operation of the vehicle control device, and the upper unit has a plurality of lower units when a signal is input by the signal input unit. A unit identification unit that specifies the lower unit used to execute a predetermined operation, a first command unit that outputs an activation request command to the lower unit specified by the unit identification unit, and an activation request by the first command unit. It has a second command unit that outputs an operation start command of a predetermined operation to a lower unit specified by the unit specifying unit after a predetermined time has elapsed from the output of the command.

本発明によれば、複数のECUを備える車両制御装置における故障の誤検知や通信異常の発生を抑制することができる。 According to the present invention, it is possible to suppress erroneous detection of failure and occurrence of communication abnormality in a vehicle control device including a plurality of ECUs.

本発明の実施形態に係る車両制御装置が適用される車両の概略構成を示す図。The figure which shows the schematic structure of the vehicle to which the vehicle control device which concerns on embodiment of this invention is applied. 本発明の実施形態に係る車両制御装置の概略構成を示す図。The figure which shows the schematic structure of the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置が備える下位ユニットの機能的構成を示す図。The figure which shows the functional structure of the lower unit provided in the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置が備える上位ユニットの機能的構成を示す図。The figure which shows the functional structure of the superordinate unit provided in the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置の下位ユニットにより実行される処理の一例を示すフローチャート。The flowchart which shows an example of the process executed by the lower unit of the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置の上位ユニットにより実行される処理の一例を示すフローチャート。The flowchart which shows an example of the process executed by the higher-level unit of the vehicle control device which concerns on embodiment of this invention. ユニット特定テーブルの一例を示す図。The figure which shows an example of the unit identification table. 本発明の実施形態に係る車両制御装置の動作の一例を示すタイムチャートである。It is a time chart which shows an example of the operation of the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置の動作の他の例を示すタイムチャートである。It is a time chart which shows other example of the operation of the vehicle control device which concerns on embodiment of this invention. 本発明の実施形態に係る車両制御装置の他の概略構成の例を示す図。The figure which shows the example of another schematic structure of the vehicle control device which concerns on embodiment of this invention.

以下、図1A〜図8を参照して本発明の一実施形態について説明する。本発明の実施形態に係る車両制御装置は、複数のECUを有する車両に適用される。 Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1A to 8. The vehicle control device according to the embodiment of the present invention is applied to a vehicle having a plurality of ECUs.

ところで、近年、タイマ充電機能やタイマエアコン機能など、予め設定した時刻に所定動作(充電動作やエアコン動作)を開始させるタイマ機能を備える車両が登場してきている。そのような機能を車両の電源オフ時に作動させるためには、予め設定された時刻になったときに、所定動作の実行に必要とされるECUを起動させる必要がある。その際、所定動作の実行に必要とされるECUが複数ある場合には、まず、タイマにより単一のECUを起動させ、その後に、起動した単一のECUが、所定動作の実行に必要な他のECUに起動要求指令を出力してそれらのECUを起動させる。しかし、そのような起動方法では、タイマにより起動するECUと、該ECUからの起動要求指令により起動するECUとの間で起動タイミングにズレが発生する。特に、各ECUが階層的に接続されている場合には、起動要求指令が各ECUに到達する時間にもズレが発生するため、ECU間における起動タイミングのズレがさらに大きくなる。そのような状況において、各ECUが、起動した後すぐに故障検知のための通信処理を開始してしまうと、まだ起動していないECUとの間で通信異常が発生したり、故障の誤検知が発生したりするおそれがある。 By the way, in recent years, vehicles having a timer function such as a timer charging function and a timer air conditioner function that start a predetermined operation (charging operation or air conditioner operation) at a preset time have appeared. In order to operate such a function when the power of the vehicle is turned off, it is necessary to activate the ECU required for executing the predetermined operation at a preset time. At that time, when there are a plurality of ECUs required to execute the predetermined operation, first, a single ECU is started by a timer, and then the activated single ECU is required to execute the predetermined operation. A start request command is output to other ECUs to start those ECUs. However, in such an activation method, a deviation occurs in the activation timing between the ECU activated by the timer and the ECU activated by the activation request command from the ECU. In particular, when each ECU is hierarchically connected, a difference occurs in the time when the start request command reaches each ECU, so that the difference in start timing between the ECUs becomes even larger. In such a situation, if each ECU starts the communication process for failure detection immediately after starting, a communication abnormality occurs with an ECU that has not been started yet, or a failure is erroneously detected. May occur.

そこで、本実施形態では、上述したようなタイマ充電機能やタイマエアコン機能が搭載されている車両において、それらの機能の作動時に、通信異常や故障の誤検知を発生させないように各ECUを制御する車両制御装置について説明する。 Therefore, in the present embodiment, in a vehicle equipped with the timer charging function and the timer air conditioner function as described above, each ECU is controlled so as not to cause a false detection of a communication abnormality or a failure when those functions are operated. The vehicle control device will be described.

まず、本実施形態が適用される車両の構成について説明する。図1Aは、本発明の実施形態に係る車両制御装置100が適用される車両1の概略構成を示す図である。図1Aに示すように、車両1は、車両制御装置100の他に、エアコン2、バッテリ3、充電装置4、及び操作部5を備える。車両制御装置100は、エアコン2の駆動を制御してエアコン機能を実現する。また、車両制御装置100は、充電装置4を制御して外部電力からの電力をバッテリ3に供給してバッテリ3を充電する充電機能を実現する。バッテリ3は、例えばニッケル蓄電池やリチウム蓄電池である。 First, the configuration of the vehicle to which the present embodiment is applied will be described. FIG. 1A is a diagram showing a schematic configuration of a vehicle 1 to which the vehicle control device 100 according to the embodiment of the present invention is applied. As shown in FIG. 1A, the vehicle 1 includes an air conditioner 2, a battery 3, a charging device 4, and an operation unit 5 in addition to the vehicle control device 100. The vehicle control device 100 controls the drive of the air conditioner 2 to realize the air conditioner function. Further, the vehicle control device 100 realizes a charging function of controlling the charging device 4 to supply electric power from external electric power to the battery 3 to charge the battery 3. The battery 3 is, for example, a nickel storage battery or a lithium storage battery.

操作部5は、エアコン機能や充電機能の設定を行うための操作スイッチを含む。本実施形態では、操作部5は、タッチパネル(不図示)を有し、タッチパネル上にタッチスイッチを表示する。また、操作部5は、タッチパネル上に、エアコン機能や充電機能の設定内容、エアコン2やバッテリ3の状態等を表示する表示部としても機能する。 The operation unit 5 includes an operation switch for setting the air conditioner function and the charging function. In the present embodiment, the operation unit 5 has a touch panel (not shown) and displays a touch switch on the touch panel. The operation unit 5 also functions as a display unit for displaying the setting contents of the air conditioner function and the charging function, the status of the air conditioner 2 and the battery 3, and the like on the touch panel.

なお、車両1には、エアコン2や充電装置4以外の他の装置が含まれていてもよい。また、車両1は、エアコン機能及び充電機能以外の機能を有していてもよい。 The vehicle 1 may include a device other than the air conditioner 2 and the charging device 4. Further, the vehicle 1 may have a function other than the air conditioner function and the charging function.

図1Bは、本発明の実施形態に係る車両制御装置100の概略構成を示す図である。
図1Bに示すように、車両制御装置100は、CAN(Controller Area Network)等の車載通信網により接続された複数のECU(Electric Control Unit:電子制御ユニット)21〜27を備える。以下、ECUを単に制御ユニットと呼ぶ場合がある。
FIG. 1B is a diagram showing a schematic configuration of a vehicle control device 100 according to an embodiment of the present invention.
As shown in FIG. 1B, the vehicle control device 100 includes a plurality of ECUs (Electric Control Units) 21 to 27 connected by an in-vehicle communication network such as CAN (Controller Area Network). Hereinafter, the ECU may be simply referred to as a control unit.

本実施形態では、図1Bに示すように、複数のECU21〜27は、複数(図1Bでは2つ)のドメインD1,D2に割り当てられて設けられる。例えば、ドメインD1には、ECU21,23〜25が割り当てられ、ドメインD2には、ECU22,26,27が割り当てられる。さらに、ドメインD1,D2において、各ECUは階層的に接続される。 In the present embodiment, as shown in FIG. 1B, the plurality of ECUs 21 to 27 are assigned to and provided in a plurality of domains D1 and D2 (two in FIG. 1B). For example, domains D1 are assigned ECUs 21, 23 to 25, and domain D2 is assigned ECUs 22, 26, 27. Further, in the domains D1 and D2, each ECU is hierarchically connected.

上位の階層に割り当てられているECU21,22は、図示しないTCU(テレマティクス制御ユニット)を介して車外の通信網に接続される装置と通信を行ったり、ドメイン間の通信を中継したりするドメイン制御ユニットである。以下、ECU21,22をDCU(Domain Control Unit)21,22と呼ぶ。また、上位の階層に割り当てられているDCU21,22を上位ユニットと呼び、下位の階層に割り当てられているECU23〜25、及び、ECU26,27を下位ユニットと呼ぶ。 The ECUs 21 and 22 assigned to the upper layers communicate with a device connected to a communication network outside the vehicle via a TCU (telematics control unit) (not shown), and domain control that relays communication between domains. It is a unit. Hereinafter, the ECUs 21 and 22 will be referred to as DCUs (Domain Control Units) 21 and 22. Further, the DCUs 21 and 22 assigned to the upper hierarchy are referred to as upper units, and the ECUs 23 to 25 and the ECUs 26 and 27 assigned to the lower hierarchy are referred to as lower units.

本実施形態において、ドメインD1のECU23は、エアコン2を制御するエアコンECUである。ECU23は、同じドメインのECU24,25から取得した情報に基づきエアコン2の温度や風量を制御したり、それらのECUにエアコン2の状態を示す情報を送信したりする制御を行う。また、ドメインD2のECU26は、充電装置4を制御する充電ECUである。ECU26は、同じドメインのECU27及び異なるドメイン(ドメインD1)のECU25から取得した情報に基づき充電装置4への供給電力を調整したり、それらのECUに充電装置4の状態を示す情報を送信したりする制御を行う。 In the present embodiment, the ECU 23 of the domain D1 is an air conditioner ECU that controls the air conditioner 2. The ECU 23 controls the temperature and air volume of the air conditioner 2 based on the information acquired from the ECUs 24 and 25 of the same domain, and controls the transmission of information indicating the state of the air conditioner 2 to those ECUs. Further, the ECU 26 of the domain D2 is a charging ECU that controls the charging device 4. The ECU 26 adjusts the power supply to the charging device 4 based on the information acquired from the ECU 27 of the same domain and the ECU 25 of a different domain (domain D1), and transmits information indicating the state of the charging device 4 to those ECUs. Control to do.

次いで、本発明の実施形態に係る車両制御装置100の機能的構成を説明する。まず、下位ユニット(ECU23〜27)の機能的構成を説明する。図2Aは、本発明の実施形態に係る車両制御装置100が備える下位ユニットの機能的構成を示す図である。なお、各下位ユニットの機能的構成は同様であるため、ここではECU23の機能的構成について説明する。 Next, the functional configuration of the vehicle control device 100 according to the embodiment of the present invention will be described. First, the functional configuration of the lower units (ECUs 23 to 27) will be described. FIG. 2A is a diagram showing a functional configuration of a lower unit included in the vehicle control device 100 according to the embodiment of the present invention. Since the functional configuration of each lower unit is the same, the functional configuration of the ECU 23 will be described here.

ECU23は、図2Aに示すように、CPU等の演算部230と、ROM、RAM、ハードディスク等の記憶部235とを備える。演算部230は、記憶部235に記憶されたプログラムを実行することで、開始信号入力部231、起動要求入力部232、タイマ制御部233及び実行部234として機能する。 As shown in FIG. 2A, the ECU 23 includes a calculation unit 230 such as a CPU and a storage unit 235 such as a ROM, RAM, and hard disk. The calculation unit 230 functions as a start signal input unit 231, a start request input unit 232, a timer control unit 233, and an execution unit 234 by executing the program stored in the storage unit 235.

開始信号入力部231は、タイマ(不図示)からの信号(以下、開始信号または起動要求信号と呼ぶ。)を入力する。開始信号入力部231は、開始信号を入力すると、自身の上位ユニット(ここではDCU21)に起動要求指令を出力するとともに、ECU23を起動させる。なお、「ECU23を起動させる」とは、実行部234を動作可能な状態にすることである。また、上記タイマは、ECU23が備えるタイマであってもよいし、ECU23の外部に設置されたタイマであってもよい。 The start signal input unit 231 inputs a signal from a timer (not shown) (hereinafter, referred to as a start signal or a start request signal). When the start signal input unit 231 inputs the start signal, the start signal input unit 231 outputs a start request command to its own higher-level unit (DCU21 in this case) and starts the ECU 23. Note that "activating the ECU 23" means making the execution unit 234 operable. Further, the timer may be a timer included in the ECU 23 or a timer installed outside the ECU 23.

起動要求入力部232は、自身の上位ユニット(ここではDCU21)から起動要求指令を入力すると、ECU23を起動させる。 The start request input unit 232 starts the ECU 23 when a start request command is input from its own higher-level unit (DCU21 in this case).

タイマ制御部233は、タイマ充電機能やタイマエアコン機能を指定時刻に作動させるための情報、すなわち、所定動作(充電動作やエアコン動作)を指定時刻に開始させるための情報(以下、タイマ設定情報と呼ぶ。)に基づき、タイマを制御する。なお、本実施形態では、タイマ制御部233は、操作部5からタイマ設定情報を入力し、入力したタイマ設定情報に基づきタイマにカウント値を設定したり、タイマのカウントを開始させたりする。なお、タイマ設定情報は操作部5以外から入力されてもよく、例えば、車外の通信網に接続されたユーザ端末等から入力されてもよい。実行部234は、エアコン2を制御する処理や故障検知のための通信処理を実行する。なお、実行部の動作は下位ユニットごとに異なるが、故障検知のための通信処理についてはすべての下位ユニットの実行部において行われる。 The timer control unit 233 includes information for operating the timer charging function and the timer air conditioner function at a designated time, that is, information for starting a predetermined operation (charging operation or air conditioner operation) at a designated time (hereinafter, timer setting information). Control the timer based on (call). In the present embodiment, the timer control unit 233 inputs timer setting information from the operation unit 5, sets a count value in the timer based on the input timer setting information, and starts counting the timer. The timer setting information may be input from other than the operation unit 5, and may be input from, for example, a user terminal connected to a communication network outside the vehicle. The execution unit 234 executes a process of controlling the air conditioner 2 and a communication process for detecting a failure. Although the operation of the execution unit differs for each lower unit, communication processing for failure detection is performed in the execution unit of all lower units.

次いで、上位ユニット(DCU21,22)の機能的構成を説明する。図2Bは、本発明の実施形態に係る車両制御装置100が備える上位ユニットの機能的構成を示す図である。なお、各上位ユニットの機能的構成は同様であるため、ここではDCU21の機能的構成について説明する。 Next, the functional configuration of the upper unit (DCU21,22) will be described. FIG. 2B is a diagram showing a functional configuration of a higher-level unit included in the vehicle control device 100 according to the embodiment of the present invention. Since the functional configuration of each upper unit is the same, the functional configuration of the DCU 21 will be described here.

DCU21は、図2Bに示すように、CPU等の演算部210と、ROM、RAM、ハードディスク等の記憶部216とを備える。演算部210は、記憶部216に記憶されたプログラムを実行することで、起動要求入力部211、ユニット特定部212、起動要求指令部213、所定時間導出部214、及び動作開始指令部215として機能する。 As shown in FIG. 2B, the DCU 21 includes a calculation unit 210 such as a CPU and a storage unit 216 such as a ROM, RAM, and hard disk. By executing the program stored in the storage unit 216, the calculation unit 210 functions as a start request input unit 211, a unit identification unit 212, a start request command unit 213, a predetermined time derivation unit 214, and an operation start command unit 215. do.

起動要求入力部211は、ドメイン内の下位ユニットから起動要求指令を入力すると、または、他のドメインのDCUから起動要求指令を入力すると、DCU21を起動させる。なお、「DCU21を起動させる」とは、各部212〜216を動作可能な状態にすることである。 The activation request input unit 211 activates the DCU 21 when an activation request command is input from a lower unit in the domain or when an activation request command is input from a DCU of another domain. It should be noted that "activating the DCU 21" means making each part 212 to 216 in an operable state.

ユニット特定部212は、起動要求入力部211がドメイン内の下位ユニットから起動要求指令を入力すると、該起動要求指令から、所定動作の種類と、該所定動作の実行に必要な下位ユニットとを特定する。ユニット特定部212における下位ユニットの特定方法については後述する。なお、本実施形態では、エアコン動作の実行に必要な下位ユニットを、ECU23,24,25とする。また、充電動作の実行に必要な下位ユニットを、ECU26,27及びECU25とする。 When the start request input unit 211 inputs a start request command from a lower unit in the domain, the unit identification unit 212 identifies the type of the predetermined operation and the lower unit required to execute the predetermined operation from the start request command. do. The method of specifying the lower unit in the unit specifying unit 212 will be described later. In this embodiment, the lower units required to execute the air conditioner operation are ECUs 23, 24, and 25. Further, the lower units required to execute the charging operation are the ECUs 26 and 27 and the ECU 25.

起動要求指令部213は、ユニット特定部212により特定された下位ユニットに対して、起動要求指令を出力する。所定時間導出部214は、起動要求指令部213が起動要求指令を出力してから該起動要求指令の出力先の下位ユニットのすべてが起動するまでの所定時間を予測(導出)する。 The activation request command unit 213 outputs an activation request command to the lower unit specified by the unit identification unit 212. The predetermined time derivation unit 214 predicts (derives) a predetermined time from the output of the activation request command unit 213 to the activation of all the lower units to which the activation request command is output.

動作開始指令部215は、起動要求指令部213により起動要求指令が出力されてから上記所定時間が経過した後に、ユニット特定部212により特定された下位ユニットに対して所定動作を実行させるための指令(以下、動作開始指令と呼ぶ。)を出力する。 The operation start command unit 215 is a command for causing the lower unit specified by the unit identification unit 212 to execute a predetermined operation after the predetermined time has elapsed since the start request command was output by the start request command unit 213. (Hereinafter referred to as an operation start command) is output.

記憶部216は、上記プログラムの他に、所定時間導出部214が所定時間を導出するために必要な情報を記憶する。ここで、記憶部216が記憶する情報について説明する。本実施形態では、下位ユニットが同じドメインに属する下位ユニットを起動させる場合の起動時間(以下、第1起動時間と呼ぶ。)を5秒とする。また、下位ユニットが隣のドメインに属する下位ユニットを起動させる場合の起動時間(以下、第2起動時間と呼ぶ。)を、第1起動時間に2秒を加算した7秒とする。さらに、下位ユニットが隣のドメインのさらに隣のドメインに属する下位ユニットを起動させる場合の起動時間(以下、第3起動時間と呼ぶ。)を、第2起動時間にさらに2秒を加算した9秒とする。つまり、本実施形態では、下位ユニットがn個隣のドメインに属する下位ユニットを起動させる場合の起動時間を、第1起動時間に(2×n)秒を加算した時間とする。この場合、上記所定時間は、第1起動時間と、第1起動時間と第2起動時間の差分(2秒)であるドメイン加算時間とを用いて導出可能である。したがって、少なくとも第1起動時間とドメイン加算時間とを示す情報を、記憶部216に記憶させておけばよい。 In addition to the above program, the storage unit 216 stores information necessary for the predetermined time derivation unit 214 to derive the predetermined time. Here, the information stored in the storage unit 216 will be described. In the present embodiment, the activation time (hereinafter, referred to as the first activation time) when the lower unit activates the lower unit belonging to the same domain is 5 seconds. Further, the activation time when the lower unit activates the lower unit belonging to the adjacent domain (hereinafter, referred to as the second activation time) is 7 seconds, which is obtained by adding 2 seconds to the first activation time. Further, the activation time when the lower unit activates the lower unit belonging to the domain further adjacent to the adjacent domain (hereinafter referred to as the third activation time) is 9 seconds, which is obtained by adding 2 seconds to the second activation time. And. That is, in the present embodiment, the activation time when the lower unit activates the lower units belonging to the adjacent domain by n is the time obtained by adding (2 × n) seconds to the first activation time. In this case, the predetermined time can be derived by using the first start-up time and the domain addition time which is the difference (2 seconds) between the first start-up time and the second start-up time. Therefore, information indicating at least the first activation time and the domain addition time may be stored in the storage unit 216.

図3は、車両制御装置100の下位ユニットにより実行される処理の一例を示すフローチャートである。図3に示す処理は、下位ユニットに電力が供給されている間、所定周期で繰り返し実行される。なお、下位ユニットには、車両1の電力がオフ状態であるときにも、バッテリ3等から電力が供給されているものとする。各下位ユニットにおいて実行される処理は同様であるため、以下ではエアコンECU(ECU23)により実行される処理を説明する。 FIG. 3 is a flowchart showing an example of processing executed by a lower unit of the vehicle control device 100. The process shown in FIG. 3 is repeatedly executed at a predetermined cycle while power is being supplied to the lower unit. It is assumed that the lower unit is supplied with electric power from the battery 3 or the like even when the electric power of the vehicle 1 is off. Since the processes executed in each lower unit are the same, the processes executed by the air conditioner ECU (ECU 23) will be described below.

まず、ステップS301で、ECU23の開始信号入力部231は、タイマからの開始信号を受け付けたか否かを判定する。ステップS301で肯定されると、ステップS302で、ECU23が起動する。それにより、実行部234が動作可能な状態となる。次いで、ステップS303で、実行部234は、自身の上位ユニット、すなわちDCU21に起動要求指令を出力し、ステップS306に進む。 First, in step S301, the start signal input unit 231 of the ECU 23 determines whether or not the start signal from the timer has been received. If affirmed in step S301, the ECU 23 is activated in step S302. As a result, the execution unit 234 becomes operable. Next, in step S303, the execution unit 234 outputs a start request command to its own higher-level unit, that is, DCU21, and proceeds to step S306.

一方、ステップS301で否定されると、ステップS304で、起動要求入力部232は、上位ユニットのDCU21から起動要求指令を受け付けたか否かを確認する。ステップS304で否定されると、処理はステップS301に戻る。ステップS304で肯定されると、ステップS305で、ECU23が起動する。それにより、実行部234が動作可能な状態となる。 On the other hand, if it is denied in step S301, in step S304, the activation request input unit 232 confirms whether or not the activation request command has been received from the DCU21 of the higher-level unit. If denied in step S304, the process returns to step S301. If affirmed in step S304, the ECU 23 is activated in step S305. As a result, the execution unit 234 becomes operable.

ステップS306で、実行部234は、DCU21から動作開始指令を受け付けたか否かを判定する。ステップS306は肯定されるまで繰り返される。ステップS304で肯定されると、ステップS307で、実行部234は、動作を開始する。 In step S306, the execution unit 234 determines whether or not the operation start command has been received from the DCU 21. Step S306 is repeated until affirmed. If affirmed in step S304, the execution unit 234 starts the operation in step S307.

図4は、車両制御装置100の上位ユニットにより実行される処理の一例を示すフローチャートである。図4に示す処理は、上位ユニットに電力が供給されている間、所定周期で繰り返し実行される。なお、上位ユニットには、車両1の電力がオフ状態であるときにも、バッテリ3等から電力が供給されているものとする。また、各上位ユニットにおいて実行される処理は同様であるため、以下ではDCU21により実行される処理を説明する。 FIG. 4 is a flowchart showing an example of processing executed by the higher-level unit of the vehicle control device 100. The process shown in FIG. 4 is repeatedly executed at a predetermined cycle while power is being supplied to the upper unit. It is assumed that the upper unit is supplied with electric power from the battery 3 or the like even when the electric power of the vehicle 1 is off. Further, since the processes executed in each higher-level unit are the same, the processes executed by the DCU 21 will be described below.

まず、ステップS401で、DCU21の起動要求入力部211は、ドメイン内の下位ユニットから又は他のドメインから起動要求指令を入力したか否かを判定する。ステップS401は肯定されるまで繰り返される。ステップS401で肯定されると、ステップS402で、起動要求入力部211は、DCU21を起動させる。これにより、各部212〜215が動作可能な状態となる。次いで、ステップS403で、起動要求入力部211は、ステップS401にて入力された起動要求指令がドメイン内の下位ユニットから入力されたものであるか否かを判定する。ステップS403で否定されると、処理はステップS409に進む。ステップS403で肯定されると、処理はステップS404に進む。 First, in step S401, the activation request input unit 211 of the DCU 21 determines whether or not the activation request command has been input from a lower unit in the domain or from another domain. Step S401 is repeated until affirmed. If affirmed in step S401, the activation request input unit 211 activates the DCU 21 in step S402. As a result, each part 212 to 215 becomes operable. Next, in step S403, the activation request input unit 211 determines whether or not the activation request command input in step S401 is input from a lower unit in the domain. If denied in step S403, the process proceeds to step S409. If affirmed in step S403, the process proceeds to step S404.

ステップS404で、ユニット特定部212は、起動要求指令の出力元の下位ユニットに待機指示を出力する。待機指示は、少なくとも故障検知のための通信処理を実行させないようにするための指示である。次いで、ステップS405で、ユニット特定部212は、ドメイン内の下位ユニットから入力された起動要求指令で指定される所定動作と、該所定動作の実行に必要な下位ユニットとを特定する。 In step S404, the unit identification unit 212 outputs a standby instruction to a lower unit of the output source of the activation request command. The standby instruction is an instruction for not executing at least the communication process for failure detection. Next, in step S405, the unit specifying unit 212 identifies a predetermined operation specified by the activation request command input from the lower unit in the domain and a lower unit necessary for executing the predetermined operation.

ここで、ユニット特定部212における下位ユニットの特定方法を説明する。なお、DCU21は、各所定動作と、各所定動作の実行に必要な下位ユニットとを対応付けて格納するテーブル(以下、ユニット特定テーブル)を予め記憶部216に記憶しているものとする。図5は、ユニット特定テーブルの一例を示す図である。図5に示すように、ユニット特定テーブルは、各所定動作の識別情報(動作ID)と、各所定動作の実行に必要な下位ユニットの識別情報(ユニットID)とを対応付けて格納する。なお、図中のECU_A〜ECU_Eはそれぞれ、ECU23〜27のユニットIDである。ユニット特定部212は、記憶部216に記憶されているユニット特定テーブルを参照して、各所定動作の実行に必要な下位ユニットを特定する。 Here, a method of specifying a lower unit in the unit specifying unit 212 will be described. It is assumed that the DCU 21 stores in advance a table (hereinafter referred to as a unit identification table) for storing each predetermined operation and a lower unit required for executing each predetermined operation in association with each other. FIG. 5 is a diagram showing an example of a unit identification table. As shown in FIG. 5, the unit identification table stores the identification information (operation ID) of each predetermined operation and the identification information (unit ID) of the lower unit required for executing each predetermined operation in association with each other. In addition, ECU_A to ECU_E in the figure are unit IDs of ECUs 23 to 27, respectively. The unit identification unit 212 refers to the unit identification table stored in the storage unit 216 to specify lower-level units necessary for executing each predetermined operation.

例えば、エアコンECU(ECU23)の開始信号入力部231がエアコン動作の開始信号を入力した場合、開始信号入力部231は、上位ユニットのDCU21に起動要求指令とともにエアコン動作の動作IDを出力する。そして、DCU21のユニット特定部212は、下位ユニットから入力した動作IDから所定動作の種類(ここではエアコン動作)を特定する。さらに、ユニット特定部212は、動作IDに対応するユニットIDをユニット特定テーブルから読み出し、エアコン動作の実行に必要な下位ユニット(ここではECU23,24,25)を特定する。 For example, when the start signal input unit 231 of the air conditioner ECU (ECU 23) inputs the start signal of the air conditioner operation, the start signal input unit 231 outputs the operation ID of the air conditioner operation to the DCU 21 of the upper unit together with the start request command. Then, the unit specifying unit 212 of the DCU 21 specifies the type of predetermined operation (here, air conditioner operation) from the operation ID input from the lower unit. Further, the unit identification unit 212 reads the unit ID corresponding to the operation ID from the unit identification table, and identifies lower units (here, ECUs 23, 24, 25) necessary for executing the air conditioner operation.

次いで、ステップS406で、所定時間導出部214が、ステップS405で特定された下位ユニットに対して起動要求指令が出力されてから該下位ユニットのすべてが起動するまでの所定時間を導出する。例えば、ステップS405で特定された下位ユニットがすべて同じドメインに属している場合には、所定時間導出部214は、第1所定時間(5秒)を所定時間として導出する。 Next, in step S406, the predetermined time out-licensing unit 214 derives a predetermined time from the output of the activation request command to the lower-level units specified in step S405 to the activation of all of the lower-level units. For example, when all the lower units specified in step S405 belong to the same domain, the predetermined time derivation unit 214 derives the first predetermined time (5 seconds) as the predetermined time.

次いで、ステップS407で、起動要求指令部213は、ユニット特定部212により特定された下位ユニットに対して起動要求指令を出力して、該下位ユニットを起動させる。その際、起動要求指令部213は、起動要求指令の出力先の下位ユニットに対して待機指示を出力するようにしてもよい。なお、起動要求指令部213は、ユニット特定部212により特定された下位ユニットに他のドメインに属する下位ユニットが含まれる場合には、その下位ユニットの識別情報を起動要求指令とともに、他のドメインの上位ユニット(DCU)に対して出力する。 Next, in step S407, the activation request command unit 213 outputs an activation request command to the lower unit specified by the unit identification unit 212 to activate the lower unit. At that time, the activation request command unit 213 may output a standby instruction to a lower unit to which the activation request command is output. When the lower unit specified by the unit identification unit 212 includes a lower unit belonging to another domain, the activation request command unit 213 sends the identification information of the lower unit together with the activation request command of the other domain. Output to the upper unit (DCU).

起動要求指令部213が起動要求指令を出力してから所定時間(ステップS406で導出された所定時間)が経過すると、ステップS408で、動作開始指令部215が、起動要求指令の出力先の下位ユニットに対して、動作開始指令を出力する。これにより、ユニット特定部212により特定された下位ユニットにより所定動作が開始される。なお、動作開始指令部215は、ユニット特定部212により特定された下位ユニットに他のドメインに属する下位ユニットが含まれる場合には、その下位ユニットの識別情報を動作開始指令とともに、他のドメインの上位ユニット(DCU)に対して出力する。 When a predetermined time (predetermined time derived in step S406) has elapsed since the start request command unit 213 outputs the start request command, in step S408, the operation start command unit 215 is the lower unit to which the start request command is output. The operation start command is output to. As a result, the predetermined operation is started by the lower unit specified by the unit specifying unit 212. When the lower unit specified by the unit identification unit 212 includes a lower unit belonging to another domain, the operation start command unit 215 sends the identification information of the lower unit together with the operation start command of the other domain. Output to the upper unit (DCU).

一方、ステップS401にてDCU21の起動要求入力部211が他のドメインから起動要求指令を入力した場合には、ステップS403で否定され、ステップS409〜S410の処理が実行される。例えば、ドメインD2の充電ECU(ECU26)が充電動作の開始信号を入力した場合、充電動作の実行に必要な下位ユニットにドメインD1のECU25が含まれるため、ドメインD2のDCU22から、DCU21に対して起動要求指令が出力される。 On the other hand, when the activation request input unit 211 of the DCU 21 inputs an activation request command from another domain in step S401, it is denied in step S403, and the processes of steps S409 to S410 are executed. For example, when the charging ECU (ECU 26) of the domain D2 inputs the start signal of the charging operation, the ECU 25 of the domain D1 is included in the lower unit required to execute the charging operation. A start request command is output.

ステップS409で、ユニット特定部212は、ステップS401で入力した起動要求指令に付随する下位ユニットの識別情報から、起動要求指令を出力すべき下位ユニットを特定する。次いで、ステップS410で、起動要求指令部213は、ユニット特定部212により特定された下位ユニットに対して起動要求指令を出力して、該下位ユニットを起動させる。その際、起動要求指令部213は、起動要求指令の出力先の下位ユニットに対して待機指示を出力するようにしてもよい。 In step S409, the unit specifying unit 212 identifies the lower unit to which the activation request command should be output from the identification information of the lower unit associated with the activation request command input in step S401. Next, in step S410, the activation request command unit 213 outputs an activation request command to the lower unit specified by the unit identification unit 212 to activate the lower unit. At that time, the activation request command unit 213 may output a standby instruction to a lower unit to which the activation request command is output.

ここで、図6及び図7を用いて、車両1の電源がオフ状態であるときに、下位ユニットが所定動作の開始信号を入力したときの車両制御装置100の動作を説明する。 Here, with reference to FIGS. 6 and 7, the operation of the vehicle control device 100 when the lower unit inputs a start signal of a predetermined operation when the power supply of the vehicle 1 is off will be described.

図6は、エアコンECU(ECU23)がエアコン動作の開始信号を入力したときの車両制御装置100の動作を示すタイムチャートである。図6に示すように、時点t1で、ECU23が、エアコン動作の開始信号を入力する(ステップS301)。これにより、ECU23が起動する(ステップS302)。時点t2で、ECU23は、自身の上位ユニットであるDCU21に起動要求指令を出力する(ステップS303)。これにより、DCU21が起動する(ステップS401,S402)。時点t3で、DCU21は、ECU23に対して待機指令を出力する(ステップS403,S404)。待機指令を入力したECU23は、動作を開始せずに待機する。 FIG. 6 is a time chart showing the operation of the vehicle control device 100 when the air conditioner ECU (ECU 23) inputs the start signal of the air conditioner operation. As shown in FIG. 6, at the time point t1, the ECU 23 inputs the start signal of the air conditioner operation (step S301). As a result, the ECU 23 is activated (step S302). At the time point t2, the ECU 23 outputs a start request command to its higher-level unit DCU21 (step S303). As a result, DCU21 is activated (steps S401 and S402). At the time point t3, the DCU 21 outputs a standby command to the ECU 23 (steps S403 and S404). The ECU 23 that has input the standby command stands by without starting the operation.

時点t4で、DCU21は、エアコン動作の実行に必要な下位ユニットを特定する(ステップS405)。ここでは、ECU23,24,25が特定される。また、DCU21は、特定したすべての下位ユニットが起動完了するまでの所定時間を導出する(ステップS406)。なお、ECU23,24,25はすべて同じドメインに属しているので、所定時間として第1所定時間(5秒)が導出される。そして、所定時間を導出すると、DCU21は、特定したすべての下位ユニットに対して起動要求指令を出力する(ステップS407)。このとき、DCU21は、すでに起動しているECU23に対しては起動要求指令を出力しない。時点t4から所定時間経過した時点t5で、DCU21は、ECU23,24,25に対して動作開始指令を出力する(ステップS408)。これにより、ECU23,24,25によるエアコン動作が開始される(ステップS306,S307)。 At time point t4, the DCU 21 identifies the lower unit required to perform the air conditioner operation (step S405). Here, ECUs 23, 24, and 25 are specified. Further, the DCU 21 derives a predetermined time until all the specified lower units are activated (step S406). Since the ECUs 23, 24, and 25 all belong to the same domain, the first predetermined time (5 seconds) is derived as the predetermined time. Then, when the predetermined time is derived, the DCU 21 outputs a start request command to all the specified lower units (step S407). At this time, the DCU 21 does not output a start request command to the ECU 23 that has already been started. At the time point t5 when a predetermined time elapses from the time point t4, the DCU 21 outputs an operation start command to the ECUs 23, 24, 25 (step S408). As a result, the air conditioner operation by the ECUs 23, 24, and 25 is started (steps S306 and S307).

図7は、充電ECU(ECU26)が充電動作を指定時刻に開始させるための開始信号を入力したときの車両制御装置100の動作を示すタイムチャートである。なお、タイマ充電機能では、ECU26が開始信号を入力した場合に、ECU26の隣のドメインに属するECU25を起動させる必要がある。したがって、その点において、図7に示す車両制御装置100の動作は、図6に示す動作と異なる。 FIG. 7 is a time chart showing the operation of the vehicle control device 100 when the charging ECU (ECU 26) inputs a start signal for starting the charging operation at a designated time. In the timer charging function, when the ECU 26 inputs a start signal, it is necessary to activate the ECU 25 belonging to the domain next to the ECU 26. Therefore, in that respect, the operation of the vehicle control device 100 shown in FIG. 7 is different from the operation shown in FIG.

図7に示すように、時点t11で、ECU26が、充電動作の開始信号を入力する(ステップS301)。これにより、ECU26が起動する(ステップS302)。時点t12で、ECU26は、自身の上位ユニットであるDCU22に起動要求指令を出力する(ステップS303)。これにより、DCU22が起動する(ステップS401,S402)。時点t13で、DCU22は、ECU26に対して待機指令を出力する(ステップS403,S404)。待機指令を入力したECU26は、動作を開始せずに待機する。 As shown in FIG. 7, at the time point t11, the ECU 26 inputs the start signal of the charging operation (step S301). As a result, the ECU 26 is activated (step S302). At the time point t12, the ECU 26 outputs a start request command to its higher-level unit DCU22 (step S303). As a result, DCU22 is activated (steps S401 and S402). At the time point t13, the DCU 22 outputs a standby command to the ECU 26 (steps S403 and S404). The ECU 26 that has input the standby command stands by without starting the operation.

時点t14で、DCU22は、エアコン動作の実行に必要な下位ユニットを特定する(ステップS405)。ここでは、同じドメインのECU26,27及び異なるドメインのECU25が特定される。また、DCU22は、特定したすべての下位ユニットが起動完了するまでの所定時間を導出する(ステップS406)。なお、ECU25は、ECU26とは異なるドメイン(隣のドメイン)に属しているので、所定時間として第1所定時間(5秒)にドメイン加算時間(2秒)を加算した時間(7秒)が導出される。そして、所定時間を導出すると、DCU22は、特定したすべての下位ユニットに対して起動要求指令を出力する(ステップS407)。このとき、DCU22は、すでに起動しているECU26に対しては起動要求指令を出力しない。また、DCU22と異なるドメインに属しているECU25に対する起動要求指令は、DCU21を介してECU25に出力される。このとき、まず、DCU22からの起動要求指令に応じて、DCU21が起動する(ステップS401,S402)。そして、起動したDCU21が、時点t15で、ECU25に起動要求指令を出力する(ステップS403,S409,S410)。これにより、ECU25が起動する(ステップS304,S305)。時点t14から所定時間経過した時点t16で、DCU22は、ECU26,27及びECU25に対して動作開始指令を出力する。これにより、ECU26,27及びECU25による充電動作が開始される(ステップS306,S307)。なお、ECU25に対する動作開始指令は、DCU21を介してECU25に出力される。 At time point t14, the DCU 22 identifies the lower unit required to perform the air conditioner operation (step S405). Here, ECUs 26 and 27 of the same domain and ECU 25 of different domains are specified. Further, the DCU 22 derives a predetermined time until all the specified lower units are activated (step S406). Since the ECU 25 belongs to a domain (adjacent domain) different from that of the ECU 26, the time (7 seconds) obtained by adding the domain addition time (2 seconds) to the first predetermined time (5 seconds) is derived as the predetermined time. Will be done. Then, when the predetermined time is derived, the DCU 22 outputs a start request command to all the specified lower units (step S407). At this time, the DCU 22 does not output a start request command to the ECU 26 that has already been started. Further, a start request command for the ECU 25 belonging to a domain different from the DCU 22 is output to the ECU 25 via the DCU 21. At this time, first, the DCU 21 is activated in response to the activation request command from the DCU 22 (steps S401 and S402). Then, the activated DCU21 outputs a start request command to the ECU 25 at the time point t15 (steps S403, S409, S410). As a result, the ECU 25 is activated (steps S304 and S305). At the time point t16 when a predetermined time elapses from the time point t14, the DCU 22 outputs an operation start command to the ECUs 26 and 27 and the ECU 25. As a result, the charging operation by the ECUs 26 and 27 and the ECU 25 is started (steps S306 and S307). The operation start command for the ECU 25 is output to the ECU 25 via the DCU 21.

このように、本実施形態では、起動要求指令を受け付けた下位ユニットのすべてが起動完了するまで所定動作を開始させないようにしている。したがって、所定動作に故障検知のための通信が含まれる場合であっても、上述したような通信異常や故障の誤検知の発生を抑制することができる。 As described above, in the present embodiment, the predetermined operation is not started until all the lower units that have received the start request command have been started. Therefore, even when the predetermined operation includes communication for failure detection, it is possible to suppress the occurrence of the above-mentioned communication abnormality or false detection of failure.

本発明の実施形態によれば以下のような作用効果を奏することができる。
(1)車両制御装置100は、互いに通信可能な複数の制御ユニット21〜27を備える。複数の制御ユニット21〜27は、上位ユニット(DCU21,22)と該上位ユニットによって管理される下位ユニット(ECU23〜27)とを有する。下位ユニットのいずれかは、車両制御装置100の所定動作を開始させるための信号(開始信号)を入力する開始信号入力部(信号入力部)231を有する。上位ユニットは、信号入力部231により開始信号が入力されると、下位ユニットの中から所定動作の実行に用いられる下位ユニットを特定するユニット特定部212と、ユニット特定部212により特定された下位ユニットに対して起動要求指令を出力する起動要求指令部(第1指令部)213と、第1指令部213により起動要求指令が出力されてから所定時間が経過した後に、ユニット特定部212により特定された下位ユニットに対して、所定動作の動作開始指令を出力する動作開始指令部(第2指令部)215と、を有する。
According to the embodiment of the present invention, the following effects can be obtained.
(1) The vehicle control device 100 includes a plurality of control units 21 to 27 capable of communicating with each other. The plurality of control units 21 to 27 have an upper unit (DCU 21 and 22) and a lower unit (ECU 23 to 27) managed by the upper unit. Any of the lower units has a start signal input unit (signal input unit) 231 for inputting a signal (start signal) for starting a predetermined operation of the vehicle control device 100. When the start signal is input by the signal input unit 231, the upper unit has a unit identification unit 212 that specifies the lower unit used to execute a predetermined operation from the lower units and a lower unit specified by the unit identification unit 212. It is specified by the unit identification unit 212 after a predetermined time has elapsed since the activation request command was output by the activation request command unit (first command unit) 213 and the first command unit 213 that output the activation request command. It has an operation start command unit (second command unit) 215 that outputs an operation start command of a predetermined operation to the lower unit.

これにより、複数の下位ユニットを起動させるときに、各下位ユニットの動作開始タイミングを揃えることができる。したがって、起動していない下位ユニットとの間で通信処理(故障検知のための通信処理など)が行われてしまうことを防止することができる。よって、各下位ユニットが異なるタイミングで起動した場合に生じ得る、通信異常や故障の誤検知を抑制することができる。 As a result, when a plurality of lower units are activated, the operation start timing of each lower unit can be aligned. Therefore, it is possible to prevent communication processing (communication processing for failure detection, etc.) from being performed with a lower unit that has not been activated. Therefore, it is possible to suppress erroneous detection of communication abnormality or failure that may occur when each lower unit is started at a different timing.

(2)上記所定動作は、通信を介したDCU21,22およびECU23〜27の故障検知動作を含む。これにより、充電機能やタイマエアコン機能などのタイマ機能の作動時に、各下位ユニットは、通信異常や故障の誤検知を発生させることなく、故障検知動作を開始することが可能となる。 (2) The predetermined operation includes a failure detection operation of the DCUs 21 and 22 and the ECUs 23 to 27 via communication. As a result, when the timer function such as the charging function or the timer air conditioner function is operated, each lower unit can start the failure detection operation without causing a communication abnormality or a false detection of the failure.

(3)第1指令部213は、ユニット特定部212によって複数の下位ユニットが特定されると、ユニット特定部212によって特定された各下位ユニットに対して起動要求指令を出力する。また、第2指令部215は、第1指令部213により起動要求指令が出力されてから所定時間が経過した後に、ユニット特定部212により特定された各下位ユニットに対して、所定動作の動作開始指令を出力する。これにより、タイマ充電機能やタイマエアコン機能などのタイマ機能により開始される所定動作が複数の下位ユニットにより実行される場合でも、通信異常や故障の誤検知を抑制することができる。 (3) When a plurality of lower units are specified by the unit identification unit 212, the first command unit 213 outputs an activation request command to each lower unit specified by the unit identification unit 212. Further, the second command unit 215 starts the operation of the predetermined operation for each lower unit specified by the unit identification unit 212 after a predetermined time has elapsed after the activation request command is output by the first command unit 213. Output the command. As a result, even when a predetermined operation started by a timer function such as a timer charging function or a timer air conditioner function is executed by a plurality of lower units, it is possible to suppress false detection of a communication abnormality or failure.

(4)上位ユニットは、第1指令部213により起動要求指令が出力されてから複数の下位ユニットのすべてが通信可能状態になるまでの起動時間を予め記憶する記憶部216を備える。そして、所定時間導出部214は、記憶部216に記憶された起動時間を所定時間として導出する。これにより、所定動作の実行に用いられる下位ユニットのすべてが通信可能状態になったときに、それらの下位ユニットの動作を開始させることができるので、通信異常や故障の誤検知をより確実に抑制することができる。 (4) The upper unit includes a storage unit 216 that stores in advance the start-up time from when the start request command is output by the first command unit 213 until all of the plurality of lower units are in a communicable state. Then, the predetermined time derivation unit 214 derives the start-up time stored in the storage unit 216 as a predetermined time. As a result, when all the lower units used to execute the predetermined operation become communicable, the operations of those lower units can be started, so that false detection of communication abnormality or failure can be suppressed more reliably. can do.

(5)車両制御装置100は、互いに異なるドメインに属する第1上位ユニット(DCU21)と第2上位ユニット(DCU22)とを有する。第1上位ユニットの所定時間導出部214は、第1上位ユニットのユニット特定部212によって異なるドメインの下位ユニット(ドメインD2のECU26またはECU27)が特定されると、第1上位ユニットの記憶部216に記憶された起動時間に所定の加算時間(ドメイン加算時間)を加算して、所定時間を導出する。これにより、所定動作の実行に用いられる下位ユニットの中に異なるドメインに属する下位ユニットが含まれる場合でも、それらの下位ユニットのすべてが通信可能状態になったときに、それらの下位ユニットの動作を開始させることができる。 (5) The vehicle control device 100 has a first upper unit (DCU21) and a second upper unit (DCU22) that belong to different domains. When the lower unit (ECU 26 or ECU 27 of the domain D2) of a different domain is specified by the unit identification unit 212 of the first upper unit, the predetermined time out-licensing unit 214 of the first upper unit is stored in the storage unit 216 of the first upper unit. A predetermined addition time (domain addition time) is added to the stored startup time to derive a predetermined time. As a result, even if the subordinate units used to execute a predetermined operation include subordinate units belonging to different domains, when all of the subordinate units become communicable, the operation of those subordinate units is performed. You can get started.

なお、車両制御装置100の構成は、図1Bに示す構成に限らない。例えば、図8に示すように、車両制御装置100が備える複数のECUが、ゲートウェイ(中継装置)7を介して接続されたドメインD3とドメインD4とに割り当てられて設けられていてもよい。ただし、下位ユニットがゲートウェイ7を介して接続された隣のドメインに属する下位ユニットを起動させる場合、その起動時間は、ゲートウェイ7を介さない場合の起動時間(上記第2起動時間)よりも長くなる。したがって、下位ユニットがゲートウェイ7を介して接続された隣のドメインに属する下位ユニットを起動させる場合の起動時間については、第2起動時間(7秒)にゲートウェイ加算時間(3秒)を加算した10秒とする。つまり、下位ユニットがn個隣のドメインに属する下位ユニットを起動させる場合において、n個隣のドメインとの間にゲートウェイがm個設置されているときの起動時間は、第1起動時間に(2×n)秒と(3×m)秒とを加算した時間となる。したがって、ゲートウェイ加算時間を示す情報を、記憶部216に記憶させてもよい。 The configuration of the vehicle control device 100 is not limited to the configuration shown in FIG. 1B. For example, as shown in FIG. 8, a plurality of ECUs included in the vehicle control device 100 may be assigned to and provided in the domain D3 and the domain D4 connected via the gateway (relay device) 7. However, when the lower unit starts the lower unit belonging to the adjacent domain connected via the gateway 7, the start time is longer than the start time (the second start time) when the lower unit does not go through the gateway 7. .. Therefore, for the startup time when the lower unit starts the lower unit belonging to the adjacent domain connected via the gateway 7, the gateway addition time (3 seconds) is added to the second startup time (7 seconds) 10. Let it be seconds. That is, when the lower unit activates the lower unit belonging to the domain next to n, the activation time when m gateways are installed between the domain next to n is the first activation time (2). It is the time obtained by adding × n) seconds and (3 × m) seconds. Therefore, information indicating the gateway addition time may be stored in the storage unit 216.

上記実施形態は種々の形態に変形することができる。以下、変形例について説明する。上記実施形態では、車両制御装置が有する複数の制御ユニットが2つのドメインに割り当てられる例を示したが、複数の制御ユニットは、3つ以上のドメインに割り当てられてもよいし、1つのドメインに割り当てられてもよい。 The above embodiment can be transformed into various forms. Hereinafter, a modified example will be described. In the above embodiment, a plurality of control units of the vehicle control device are assigned to two domains, but the plurality of control units may be assigned to three or more domains, or may be assigned to one domain. May be assigned.

上記実施形態では、下位ユニットが同じドメインに属する下位ユニットを起動させる場合の起動時間(第1起動時間)を5秒としたが、各下位ユニットの起動時間はそれぞれ異なる場合がある。したがって、下位ユニットごとに起動時間を示す情報を予めDCUの記憶部等に記憶させておき、DCUは、その情報に基づいて第1起動時間を決定してもよい。例えば、所定動作の実行に必要な各下位ユニットの起動時間のうち最長の起動時間を第1起動時間としてもよい。最も長いがそれぞれ異なる場合には、それらの起動時間のうち最も長い起動時間を第1起動時間としてもよい。 In the above embodiment, the activation time (first activation time) when the lower unit activates the lower unit belonging to the same domain is set to 5 seconds, but the activation time of each lower unit may be different. Therefore, information indicating the start-up time for each lower unit may be stored in advance in a storage unit or the like of the DCU, and the DCU may determine the first start-up time based on the information. For example, the longest start-up time among the start-up times of each lower unit required to execute a predetermined operation may be set as the first start-up time. If they are the longest but different from each other, the longest start-up time among those start-up times may be set as the first start-up time.

以上の説明はあくまで一例であり、本発明の特徴を損なわない限り、上述した実施形態および変形例により本発明が限定されるものではない。上記実施形態と変形例の一つまたは複数を任意に組み合わせることも可能であり、変形例同士を組み合わせることも可能である。 The above description is merely an example, and the present invention is not limited to the above-described embodiments and modifications as long as the features of the present invention are not impaired. It is also possible to arbitrarily combine one or a plurality of the above-described embodiments and the modified examples, and it is also possible to combine the modified examples.

100 車両制御装置、21,22 DCU、23〜27 ECU、212 ユニット特定部、213 起動要求指令部、215 動作開始指令部、231 開始信号入力部 100 Vehicle control device, 21,22 DCU, 23-27 ECU, 212 Unit identification unit, 213 Start request command unit, 215 Operation start command unit, 231 Start signal input unit

Claims (5)

互いに通信可能な複数の制御ユニットを備える車両制御装置であって、
前記複数の制御ユニットは、上位ユニットと該上位ユニットによって管理される複数の下位ユニットとを有し、
前記複数の下位ユニットのいずれかは、前記車両制御装置の所定動作を開始させるための信号を入力する信号入力部を有し、
前記上位ユニットは、
前記信号入力部により前記信号が入力されると、前記複数の下位ユニットの中から前記所定動作の実行に用いられる下位ユニットを特定するユニット特定部と、
前記ユニット特定部により特定された下位ユニットに対して起動要求指令を出力する第1指令部と、
前記第1指令部により前記起動要求指令が出力されてから所定時間が経過した後に、前記ユニット特定部により特定された下位ユニットに対して、前記所定動作の動作開始指令を出力する第2指令部と、を有することを特徴とする車両制御装置。
A vehicle control device having a plurality of control units capable of communicating with each other.
The plurality of control units include a higher-level unit and a plurality of lower-level units managed by the higher-level unit.
One of the plurality of lower units has a signal input unit for inputting a signal for starting a predetermined operation of the vehicle control device.
The upper unit is
When the signal is input by the signal input unit, a unit specifying unit that specifies a lower unit used to execute the predetermined operation from the plurality of lower units, and a unit specifying unit.
A first command unit that outputs a start request command to a lower unit specified by the unit identification unit, and a first command unit.
After a predetermined time has elapsed from the output of the activation request command by the first command unit, the second command unit outputs the operation start command of the predetermined operation to the lower unit specified by the unit identification unit. And, a vehicle control device characterized by having.
請求項1に記載の車両制御装置において、
前記所定動作は、通信を介した前記上位ユニットおよび前記複数の下位ユニットの故障検知動作を含むことを特徴とする車両制御装置。
In the vehicle control device according to claim 1,
The vehicle control device, wherein the predetermined operation includes a failure detection operation of the upper unit and the plurality of lower units via communication.
請求項1または請求項2に記載の車両制御装置において、
前記第1指令部は、前記ユニット特定部によって複数の下位ユニットが特定されると、前記ユニット特定部によって特定された各下位ユニットに対して前記起動要求指令を出力し、
前記第2指令部は、前記第1指令部により前記起動要求指令が出力されてから前記所定時間が経過した後に、前記ユニット特定部により特定された前記各下位ユニットに対して、前記所定動作の前記動作開始指令を出力する車両制御装置。
In the vehicle control device according to claim 1 or 2.
When a plurality of lower units are specified by the unit identification unit, the first command unit outputs the activation request command to each lower unit specified by the unit identification unit.
The second command unit performs the predetermined operation with respect to each of the lower units specified by the unit identification unit after the predetermined time has elapsed after the activation request command is output by the first command unit. A vehicle control device that outputs the operation start command.
請求項1〜3のうちのいずれか1項に記載の車両制御装置において、
前記上位ユニットは、
前記第1指令部により前記起動要求指令が出力されてから前記複数の下位ユニットのすべてが通信可能状態になるまでの起動時間を予め記憶する記憶部を備え、
前記記憶部に記憶された前記起動時間を前記所定時間として導出する所定時間導出部をさらに有することを特徴とする車両制御装置。
In the vehicle control device according to any one of claims 1 to 3.
The upper unit is
The first command unit includes a storage unit that stores in advance the start-up time from when the start request command is output until all of the plurality of lower units are in a communicable state.
A vehicle control device further comprising a predetermined time out-licensing unit that derives the start-up time stored in the storage unit as the predetermined time.
請求項4に記載の車両制御装置において、
互いに異なるドメインに属する第1上位ユニットと第2上位ユニットとを有し、
前記第1上位ユニットの前記所定時間導出部は、
前記第1上位ユニットの前記ユニット特定部によって異なるドメインの下位ユニットが特定されると、前記第1上位ユニットの前記記憶部に記憶された前記起動時間に所定の加算時間を加算して、前記所定時間を導出することを特徴とする車両制御装置。
In the vehicle control device according to claim 4.
It has a first upper unit and a second upper unit that belong to different domains.
The predetermined time derivation unit of the first upper unit is
When a lower unit of a different domain is specified by the unit specifying unit of the first upper unit, a predetermined addition time is added to the activation time stored in the storage unit of the first upper unit, and the predetermined addition time is added. A vehicle control device characterized by deriving time.
JP2020031934A 2020-02-27 2020-02-27 Vehicle control device Pending JP2021133829A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2020031934A JP2021133829A (en) 2020-02-27 2020-02-27 Vehicle control device
CN202110172639.8A CN113306509A (en) 2020-02-27 2021-02-08 Vehicle control device
US17/179,362 US11753025B2 (en) 2020-02-27 2021-02-18 Vehicle control apparatus and vehicle control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020031934A JP2021133829A (en) 2020-02-27 2020-02-27 Vehicle control device

Publications (1)

Publication Number Publication Date
JP2021133829A true JP2021133829A (en) 2021-09-13

Family

ID=77370489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020031934A Pending JP2021133829A (en) 2020-02-27 2020-02-27 Vehicle control device

Country Status (3)

Country Link
US (1) US11753025B2 (en)
JP (1) JP2021133829A (en)
CN (1) CN113306509A (en)

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11252811A (en) * 1998-02-27 1999-09-17 Nippon Soken Inc Control apparatus for vehicle
JP4465905B2 (en) 2001-04-16 2010-05-26 株式会社デンソー Electronic control unit
JP4611740B2 (en) * 2002-09-16 2011-01-12 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング Method and computer system for driving at least two interconnected controllers
WO2012082792A2 (en) * 2010-12-13 2012-06-21 Fusion-Io, Inc. Apparatus, system, and method for auto-commit memory
JP5586554B2 (en) * 2011-09-28 2014-09-10 オムロンオートモーティブエレクトロニクス株式会社 Load control device
DE102012003328A1 (en) * 2012-02-15 2013-08-22 Getrag Getriebe- Und Zahnradfabrik Hermann Hagenmeyer Gmbh & Cie Kg Method and control unit for a powertrain component
US9135101B2 (en) * 2013-03-01 2015-09-15 Avago Technologies General Ip (Singapore) Pte Ltd Virtual function timeout for single root input/output virtualization controllers
JP5918723B2 (en) * 2013-05-23 2016-05-18 本田技研工業株式会社 Vehicle diagnostic system
US9563590B2 (en) * 2014-03-17 2017-02-07 Nxp Usa, Inc. Devices with arbitrated interface busses, and methods of their operation
KR102394153B1 (en) * 2017-09-11 2022-05-09 주식회사 만도 Integrated Electronic Control Unit
US10678243B2 (en) * 2018-02-13 2020-06-09 Chongqing Jinkang New Energy Vehicle Co., Ltd. Systems and methods for scalable electrical engineering (EE) architecture in vehicular environments
JP6964277B2 (en) * 2018-03-30 2021-11-10 パナソニックIpマネジメント株式会社 Communication blocking system, communication blocking method and program
KR102513941B1 (en) * 2018-06-19 2023-03-27 현대자동차주식회사 Automatic Driving control apparatus, vehicle having the same and method for controlling the same
EP3827562B1 (en) * 2018-07-25 2023-10-11 Continental Automotive Technologies GmbH Topology discovery in an automotive ethernet network
EP3626571B1 (en) * 2018-09-18 2022-08-17 KNORR-BREMSE Systeme für Nutzfahrzeuge GmbH Control architecture for a vehicle
KR20200056838A (en) * 2018-11-15 2020-05-25 현대자동차주식회사 Communication system for vehicle and control method of the same
KR20200141206A (en) * 2019-06-10 2020-12-18 현대자동차주식회사 Apparatus for management network of a vehicle, system having the same and method thereof
US11166250B2 (en) * 2019-10-14 2021-11-02 Rosemount Aerospace Inc. Time synchronization of distributed devices

Also Published As

Publication number Publication date
US11753025B2 (en) 2023-09-12
CN113306509A (en) 2021-08-27
US20210269050A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN104163158B (en) Remote vehicle control method and system thereof and the vehicle of Long-distance Control can be realized
JP5741496B2 (en) In-vehicle communication system
KR101283213B1 (en) A management system and method for ethernet communication network in vehicle
JP6332580B1 (en) Control device, program update method, and computer program
US9251632B2 (en) Vehicle diagnostic system
JP5141905B2 (en) Safety master
WO2003001306A1 (en) Safety network system, safety slave, and safety controller
JP6638489B2 (en) Relay device, control method of relay device, control program, and recording medium
CN103645678A (en) Real-time response type network control system
WO2014175438A1 (en) Control system, control device, control method, and program
WO2016111213A1 (en) In-vehicle relay device and relay method
CN112208467A (en) Vehicle-mounted network system
JP2021129245A (en) Communication system
JP2021133829A (en) Vehicle control device
CN106411574B (en) Management control method and device
CN105243736A (en) Household electrical appliance recycling device and household electrical appliance system
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
CN105843672A (en) Control method, device and system for application program
CN114454719A (en) Vehicle control method and device, medium, equipment and vehicle
JP2007137654A (en) Control system for elevator
CN112272955B (en) Control device and signal control method
JP7330315B2 (en) wireless communication system
JP7330314B2 (en) wireless communication system
JP7337205B2 (en) wireless communication system
JP7337206B2 (en) wireless communication system